| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| index.c | 26 * Return the ptr in sp at which the character c appears; 33 index(sp, c) 34 register char *sp, c; 38 if (*sp == c) 39 return (sp); 40 } while (*sp++);
|
| strchr.c | 29 * Return the ptr in sp at which the character c appears; 36 strchr(sp, c) 37 register char *sp, c; 40 if(*sp == c) 41 return(sp); 42 } while(*sp++);
|
| memchr.c | 29 * Return the ptr in sp at which the character c appears; 33 memchr(sp, c, n) 34 register char *sp, c; 38 if (*sp++ == c) 39 return (--sp);
|
| rindex.c | 26 * Return the ptr in sp at which the character c last 33 rindex(sp, c) 34 register char *sp, c; 40 if (*sp == c) 41 r = sp; 42 } while (*sp++);
|
| strrchr.c | 29 * Return the ptr in sp at which the character c last 36 strrchr(sp, c) 37 register char *sp, c; 43 if(*sp == c) 44 r = sp; 45 } while(*sp++);
|
| /onnv/onnv-gate/usr/src/tools/ctf/cvt/ |
| stack.c | 53 stk_t *sp; local 55 sp = xmalloc(sizeof (stk_t)); 56 sp->st_nument = STACK_SEEDSIZE; 57 sp->st_top = -1; 58 sp->st_data = xmalloc(sizeof (void *) * sp->st_nument); 59 sp->st_free = freep; 61 return (sp); 65 stack_free(stk_t *sp) 69 if (sp->st_free) [all...] |
| /onnv/onnv-gate/usr/src/lib/libproc/common/ |
| Pisadep.h | 63 #define PSTACK_ALIGN32(sp) ((sp) & ~(2 * sizeof (int64_t) - 1)) 64 #define PSTACK_ALIGN64(sp) (sp) 67 #define PSTACK_ALIGN32(sp) (sp) 68 #define PSTACK_ALIGN64(sp) ALIGN32(sp) 71 #define PSTACK_ALIGN32(sp) ((sp) & ~(2 * sizeof (int32_t) - 1) [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/stdio/ |
| stdio_c99.c | 31 clearerr_unlocked(Sfio_t* sp) 33 clearerr(sp); 37 feof_unlocked(Sfio_t* sp) 39 return feof(sp); 43 ferror_unlocked(Sfio_t* sp) 45 return ferror(sp); 49 fflush_unlocked(Sfio_t* sp) 51 return fflush(sp); 55 fgetc_unlocked(Sfio_t* sp) 57 return fgetc(sp); [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| strchr.c | 38 * Return the ptr in sp at which the character c appears; 43 strchr(const char *sp, int c) 46 if (*sp == (char)c) 47 return ((char *)sp); 48 } while (*sp++);
|
| strrchr.c | 38 * Return the ptr in sp at which the character c last 42 strrchr(const char *sp, int c) 47 if (*sp == (char)c) 48 r = (char *)sp; 49 } while (*sp++);
|
| /onnv/onnv-gate/usr/src/ucblib/libucb/port/gen/ |
| index.c | 45 * Return the ptr in sp at which the character c appears; 54 index(char *sp, char c) 58 if (*sp == c) 59 return (sp); 60 } while (*sp++);
|
| rindex.c | 48 * Return the ptr in sp at which the character c last 53 rindex(char *sp, char c) 59 if (*sp == c) 60 r = sp; 61 } while (*sp++);
|
| /onnv/onnv-gate/usr/src/lib/libc/port/i18n/ |
| wschr.c | 33 * Return the ptr in sp at which the character c appears; 45 wcschr(const wchar_t *sp, wchar_t c) 48 if (*sp == c) 49 return ((wchar_t *)sp); /* found c in sp */ 50 } while (*sp++); 55 wschr(const wchar_t *sp, wchar_t c) 57 return (wcschr(sp, c));
|
| /onnv/onnv-gate/usr/src/lib/libpp/common/ |
| ppincref.c | 34 register struct ppinstk* sp; local 42 for (sp = pp.in; sp; sp = sp->prev) 43 if (sp->type == IN_FILE)
|
| /onnv/onnv-gate/usr/src/cmd/mailx/ |
| stralloc.c | 72 register struct strings *sp; local 86 for (sp = &stringdope[0]; sp < &stringdope[NSPACE]; sp++) { 87 if (sp->s_topFree == NOSTR && (STRINGSIZE << index) >= s) 89 if (sp->s_nleft >= s) 93 if (sp >= &stringdope[NSPACE]) 95 if (sp->s_topFree == NOSTR) { 96 index = sp - &stringdope[0]; 97 sp->s_topFree = (char *) calloc(STRINGSIZE << index 128 register struct strings *sp = lastsp; local 161 register struct strings *sp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/svc/configd/ |
| snapshot.c | 55 rc_snapshot_t *sp; local 56 sp = uu_zalloc(sizeof (*sp)); 58 (void) pthread_mutex_init(&sp->rs_lock, NULL); 59 (void) pthread_cond_init(&sp->rs_cv, NULL); 61 sp->rs_refcnt++; 62 return (sp); 66 snapshot_free(rc_snapshot_t *sp) 70 assert(sp->rs_refcnt == 0 && sp->rs_childref == 0) 118 rc_snapshot_t *sp = lvl->rsl_parent; local 129 rc_snapshot_t *sp = lvl->rsl_parent; local 159 rc_snapshot_t *sp; local 215 rc_snapshot_t *sp; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/comp/ |
| memchr.c | 33 * Return the ptr in sp at which the character c appears; 40 register const char* sp = (char*)asp; 41 register const char* ep = sp + n; 43 while (sp < ep) 44 if (*sp++ == c) 45 return(--sp);
|
| /onnv/onnv-gate/usr/src/lib/libdtrace/common/ |
| dt_strtab.c | 39 dt_strtab_grow(dt_strtab_t *sp) 43 if ((ptr = malloc(sp->str_bufsz)) == NULL) 46 bufs = realloc(sp->str_bufs, (sp->str_nbufs + 1) * sizeof (char *)); 53 sp->str_nbufs++; 54 sp->str_bufs = bufs; 55 sp->str_ptr = ptr; 56 sp->str_bufs[sp->str_nbufs - 1] = sp->str_ptr 64 dt_strtab_t *sp = malloc(sizeof (dt_strtab_t)); local [all...] |
| /onnv/onnv-gate/usr/src/cmd/agents/snmp/agent/ |
| subtree.c | 53 static void subtree_free(Subtree *sp); 64 Subtree *sp; local 95 for(sp = first_subtree; sp; sp = sp->next_subtree) 97 ret = SSAOidCmp(&(new->name), &(sp->name)); 101 SSAOidString(&(sp->name)), 102 sp->agent->name); 112 last = sp; 145 Subtree *sp; local 244 Subtree *sp; local 290 Subtree *sp = first_subtree; local 316 Subtree *sp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/eversholt/common/ |
| stats.c | 98 stats_delete(struct stats *sp) 102 if (sp == NULL) 106 if (s == sp) 120 FREE((void *)sp->name); 121 FREE((void *)sp->desc); 122 FREE(sp); 135 stats_counter_bump(struct stats *sp) 137 if (sp == NULL) 140 ASSERT(sp->t == STATS_COUNTER); 142 sp->u.counter++ 237 struct stats *sp; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libcurses/screen/ |
| mbcharlen.c | 43 mbcharlen(char *sp) 49 for (; *sp != '\0'; ++sp, ++n) 50 if (ISMBIT(*sp)) { 51 c = RBYTE(*sp); 54 for (sp += 1, k = 1; *sp != '\0' && k <= m; ++k, 55 ++sp) { 56 c = RBYTE(*sp);
|
| mbdisplen.c | 43 mbdisplen(char *sp) 49 for (; *sp != '\0'; ++sp) { 50 if (!ISMBIT(*sp)) 53 c = RBYTE(*sp); 56 for (sp += 1, k = 1; *sp != '\0' && k <= m; 57 ++k, ++sp) { 58 c = RBYTE(*sp);
|
| /onnv/onnv-gate/usr/src/uts/common/io/audio/impl/ |
| audio_input.c | 41 auimpl_import_##NAME(audio_engine_t *eng, audio_stream_t *sp) \ 46 int32_t *out = (void *)sp->s_cnv_src; \ 49 int vol = sp->s_gain_eff; \ 93 auimpl_produce_fragment(audio_stream_t *sp, unsigned count) 100 nframes = sp->s_nframes; 101 framesz = sp->s_framesz; 103 ASSERT(sp->s_head >= sp->s_tail); 104 ASSERT(sp->s_hidx < nframes); 105 ASSERT(sp->s_tidx < nframes) [all...] |
| audio_client.c | 87 auclnt_set_rate(audio_stream_t *sp, int rate) 96 mutex_enter(&sp->s_lock); 97 parms = *sp->s_user_parms; 100 rv = auimpl_format_setup(sp, &parms); 102 mutex_exit(&sp->s_lock); 107 auclnt_get_rate(audio_stream_t *sp) 109 return (sp->s_user_parms->p_rate); 113 auclnt_get_fragsz(audio_stream_t *sp) 115 return (sp->s_fragbytes); 119 auclnt_get_framesz(audio_stream_t *sp) 334 audio_stream_t *sp = &c->c_istream; local 402 audio_stream_t *sp = &c->c_ostream; local 472 audio_stream_t *sp; local 514 audio_stream_t *sp = &c->c_ostream; local 975 audio_stream_t *sp; local 995 audio_stream_t *sp; local 1241 audio_stream_t *sp; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/sockfs/ |
| sockparams.c | 119 struct sockparams *sp = ksp->ks_private; local 125 sps->sps_nactive.value.ui64 = sp->sp_refcnt; 134 sockparams_kstat_init(struct sockparams *sp) 138 (void) snprintf(name, KSTAT_STRLEN, "socket_%d_%d_%d", sp->sp_family, 139 sp->sp_type, sp->sp_protocol); 141 sp->sp_kstat = kstat_create("sockfs", 0, name, "misc", KSTAT_TYPE_NAMED, 145 if (sp->sp_kstat == NULL) 148 sp->sp_kstat->ks_data = &sp->sp_stats 197 struct sockparams *sp = NULL; local 362 struct sockparams *sp; local 402 struct sockparams *sp = NULL; local 585 struct sockparams *sp; local 639 struct sockparams *sp; local 716 struct sockparams *sp = NULL; local [all...] |