Searched refs:sp (Results 1 - 25 of 1183) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dtypesign.c1 static unsigned int * s_to_u_return(signed int *sp) argument
3 return sp;
11 static unsigned int * s_to_u_init(signed int *sp) argument
13 unsigned int *up = sp;
19 signed int *sp = up; local
20 return sp;
23 static unsigned int * s_to_u_assign(signed int *sp) argument
26 up = sp;
32 signed int *sp; local
33 sp
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPisadep.h63 #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)
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/files/sparc/sun4v/
H A Dsp.esc32 event fault.sp.failed@sp;
34 event ereport.chassis.sp.unavailable@chassis;
36 prop fault.sp.failed@sp ->
37 ereport.chassis.sp.unavailable@chassis;
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dstdio_c99.c31 clearerr_unlocked(Sfio_t* sp) argument
33 clearerr(sp);
37 feof_unlocked(Sfio_t* sp) argument
39 return feof(sp);
43 ferror_unlocked(Sfio_t* sp) argument
45 return ferror(sp);
49 fflush_unlocked(Sfio_t* sp) argument
51 return fflush(sp);
55 fgetc_unlocked(Sfio_t* sp) argument
57 return fgetc(sp);
61 fgets_unlocked(char* buf, int size, Sfio_t* sp) argument
67 fileno_unlocked(Sfio_t* sp) argument
73 fputc_unlocked(int c, Sfio_t* sp) argument
79 fputs_unlocked(char* buf, Sfio_t* sp) argument
85 fread_unlocked(void* buf, size_t size, size_t n, Sfio_t* sp) argument
91 fwrite_unlocked(void* buf, size_t size, size_t n, Sfio_t* sp) argument
97 getc_unlocked(Sfio_t* sp) argument
109 putc_unlocked(int c, Sfio_t* sp) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrchr.c38 * Return the ptr in sp at which the character c appears;
43 strchr(const char *sp, int c) argument
46 if (*sp == (char)c)
47 return ((char *)sp);
48 } while (*sp++);
H A Dstrrchr.c38 * Return the ptr in sp at which the character c last
42 strrchr(const char *sp, int c) argument
47 if (*sp == (char)c)
48 r = (char *)sp;
49 } while (*sp++);
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dindex.c45 * Return the ptr in sp at which the character c appears;
54 index(char *sp, char c) argument
58 if (*sp == c)
59 return (sp);
60 } while (*sp++);
H A Drindex.c48 * Return the ptr in sp at which the character c last
53 rindex(char *sp, char c) argument
59 if (*sp == c)
60 r = sp;
61 } while (*sp++);
/illumos-gate/usr/src/lib/libpp/common/
H A Dppincref.c34 register struct ppinstk* sp; local
42 for (sp = pp.in; sp; sp = sp->prev)
43 if (sp->type == IN_FILE)
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwschr.c33 * Return the ptr in sp at which the character c appears;
45 wcschr(const wchar_t *sp, wchar_t c) argument
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) argument
57 return (wcschr(sp, c));
H A Dwsrchr.c33 * Return the ptr in sp at which the character c last appears;
45 wcsrchr(const wchar_t *sp, wchar_t c) argument
50 if (*sp == c)
51 r = sp; /* found c in sp */
52 } while (*sp++);
57 wsrchr(const wchar_t *sp, wchar_t c) argument
59 return (wcsrchr(sp, c));
/illumos-gate/usr/src/cmd/mailx/
H A Dstralloc.c72 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
128 register struct strings *sp = lastsp; local
161 register struct strings *sp; local
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dsnapshot.c55 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) argument
70 assert(sp->rs_refcnt == 0 && sp
92 rc_snapshot_hold(rc_snapshot_t *sp) argument
101 rc_snapshot_rele(rc_snapshot_t *sp) argument
118 rc_snapshot_t *sp = lvl->rsl_parent; local
129 rc_snapshot_t *sp = lvl->rsl_parent; local
159 rc_snapshot_t *sp; local
174 snapshot_insert_unlocked(snapshot_bucket_t *bp, rc_snapshot_t *sp) argument
186 snapshot_remove_unlocked(snapshot_bucket_t *bp, rc_snapshot_t *sp) argument
215 rc_snapshot_t *sp; local
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dmemchr.c33 * 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);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_strtab.c39 dt_strtab_grow(dt_strtab_t *sp) argument
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
64 dt_strtab_t *sp = malloc(sizeof (dt_strtab_t)); local
99 dt_strtab_destroy(dt_strtab_t *sp) argument
145 dt_strtab_compare(dt_strtab_t *sp, dt_strhash_t *hp, const char *str, size_t len) argument
172 dt_strtab_copyin(dt_strtab_t *sp, const char *str, size_t len) argument
207 dt_strtab_index(dt_strtab_t *sp, const char *str) argument
227 dt_strtab_insert(dt_strtab_t *sp, const char *str) argument
267 dt_strtab_size(const dt_strtab_t *sp) argument
273 dt_strtab_write(const dt_strtab_t *sp, dt_strtab_write_f *func, void *private) argument
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dstats.c98 stats_delete(struct stats *sp) argument
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) argument
137 if (sp == NULL)
140 ASSERT(sp->t == STATS_COUNTER);
142 sp
146 stats_counter_add(struct stats *sp, int n) argument
157 stats_counter_reset(struct stats *sp) argument
168 stats_counter_value(struct stats *sp) argument
188 stats_elapse_start(struct stats *sp) argument
199 stats_elapse_stop(struct stats *sp) argument
219 stats_string_set(struct stats *sp, const char *s) argument
237 struct stats *sp; local
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbcharlen.c43 mbcharlen(char *sp) argument
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);
H A Dmbdisplen.c43 mbdisplen(char *sp) argument
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);
H A Dwaddnwstr.c43 char *sp; local
46 if ((sp = _strcode2byte(code, NULL, n)) == NULL)
50 return (waddnstr(win, sp, -1));
H A Dwinsnwstr.c44 char *sp; local
47 if ((sp = _strcode2byte(code, NULL, n)) == NULL)
51 return (winsnstr(win, sp, -1));
/illumos-gate/usr/src/uts/common/os/
H A Dsession.c75 sess_rele(sess_t *sp, boolean_t pidlock_held) argument
79 mutex_enter(&sp->s_lock);
81 ASSERT(sp->s_ref != 0);
82 if (--sp->s_ref > 0) {
83 mutex_exit(&sp->s_lock);
86 ASSERT(sp->s_ref == 0);
103 if (sp == &session0)
104 panic("sp == &session0");
107 ASSERT(sp->s_cnt == 0);
110 ASSERT(!sp
131 sess_t *sp; local
187 tty_rele(sess_t *sp) argument
204 sess_t *sp, *old_sp; local
249 sess_ctty_clear(sess_t *sp, stdata_t *stp) argument
272 sess_ctty_set(proc_t *p, sess_t *sp, stdata_t *stp) argument
301 sess_t *sp; local
386 sess_t *sp; local
489 freectty_signal(proc_t *p, sess_t *sp, stdata_t *stp, boolean_t at_exit) argument
539 sess_t *sp; local
683 sess_t *sp; local
[all...]
/illumos-gate/usr/src/cmd/saf/
H A Dreadtab.c58 struct sactab *sp; /* working pointer to move through PM info */ local
83 for (sp = Sactab; sp; sp = sp->sc_next)
84 sp->sc_valid = 0;
90 while (sp = read_entry(fp))
91 insert(sp, startflag);
107 register struct sactab *sp; /* working pointer */ local
126 sp
254 register struct sactab *sp; /* working pointer */ local
332 register struct sactab *sp; /* working pointer */ local
[all...]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_client.c86 auclnt_set_rate(audio_stream_t *sp, int rate) argument
95 if (rate != sp->s_user_parms->p_rate) {
97 rv = auimpl_engine_setup(sp, 0, &parms, FORMAT_MSK_RATE);
103 auclnt_get_rate(audio_stream_t *sp) argument
105 return (sp->s_user_parms->p_rate);
109 auclnt_get_fragsz(audio_stream_t *sp) argument
111 return (sp->s_fragbytes);
115 auclnt_get_framesz(audio_stream_t *sp) argument
117 return (sp->s_framesz);
121 auclnt_get_nfrags(audio_stream_t *sp) argument
127 auclnt_get_nframes(audio_stream_t *sp) argument
133 auclnt_set_latency(audio_stream_t *sp, uint_t frags, uint_t bytes) argument
142 auclnt_get_head(audio_stream_t *sp) argument
148 auclnt_get_tail(audio_stream_t *sp) argument
154 auclnt_get_hidx(audio_stream_t *sp) argument
160 auclnt_get_tidx(audio_stream_t *sp) argument
178 auclnt_get_count(audio_stream_t *sp) argument
191 auclnt_consume(audio_stream_t *sp, uint_t n) argument
212 auclnt_consume_data(audio_stream_t *sp, caddr_t dst, uint_t n) argument
259 auclnt_produce(audio_stream_t *sp, uint_t n) argument
280 auclnt_produce_data(audio_stream_t *sp, caddr_t src, uint_t n) argument
330 audio_stream_t *sp = &c->c_istream; local
405 audio_stream_t *sp = &c->c_ostream; local
490 audio_stream_t *sp; local
532 audio_stream_t *sp = &c->c_ostream; local
564 auclnt_set_format(audio_stream_t *sp, int fmt) argument
621 auclnt_get_format(audio_stream_t *sp) argument
639 auclnt_set_channels(audio_stream_t *sp, int nchan) argument
658 auclnt_get_channels(audio_stream_t *sp) argument
665 auimpl_set_gain_master(audio_stream_t *sp, uint8_t gain) argument
727 auclnt_set_gain(audio_stream_t *sp, uint8_t gain) argument
761 auclnt_get_gain(audio_stream_t *sp) argument
767 auclnt_set_muted(audio_stream_t *sp, boolean_t muted) argument
789 auclnt_get_muted(audio_stream_t *sp) argument
795 auclnt_is_running(audio_stream_t *sp) argument
801 auclnt_start(audio_stream_t *sp) argument
809 auclnt_stop(audio_stream_t *sp) argument
834 auclnt_set_paused(audio_stream_t *sp) argument
850 auclnt_clear_paused(audio_stream_t *sp) argument
862 auclnt_is_paused(audio_stream_t *sp) argument
868 auclnt_flush(audio_stream_t *sp) argument
909 auimpl_stream_init(audio_stream_t *sp, audio_client_t *c) argument
972 audio_stream_fini(audio_stream_t *sp) argument
990 audio_stream_t *sp; local
1010 audio_stream_t *sp; local
1289 audio_stream_t *sp; local
1459 auclnt_get_samples(audio_stream_t *sp) argument
1470 auclnt_set_samples(audio_stream_t *sp, uint64_t n) argument
1478 auclnt_get_errors(audio_stream_t *sp) argument
1488 auclnt_set_errors(audio_stream_t *sp, uint64_t n) argument
[all...]
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_Q_get_rp_rd.s32 add %sp,-SA(MINFRAME),%sp
33 st %fsr,[%sp+ARGPUSH]
34 ld [%sp+ARGPUSH],%o0 ! o0 = fsr
37 add %sp,SA(MINFRAME),%sp
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A D_Q_get_rp_rd.s32 add %sp,-SA(MINFRAME),%sp
33 st %fsr,[%sp+STACK_BIAS+ARGPUSH]
34 ld [%sp+STACK_BIAS+ARGPUSH],%o0 ! o0 = fsr
37 add %sp,SA(MINFRAME),%sp

Completed in 91 milliseconds

1234567891011>>