/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppprintf.c | 34 Sfio_t* sp; local 36 if (!(sp = sfnew(NiL, pp.outp, MAXTOKEN, -1, SF_WRITE|SF_STRING))) 39 sfvprintf(sp, format, ap); 41 pp.outp += sfseek(sp, 0L, SEEK_CUR); 43 sfclose(sp);
|
H A D | ppincref.c | 34 register struct ppinstk* sp; local 42 for (sp = pp.in; sp; sp = sp->prev) 43 if (sp->type == IN_FILE)
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | index.c | 49 * Return the ptr in sp at which the character c appears; 53 index(const char *sp, int c) argument 55 return (strchr(sp, c));
|
H A D | rindex.c | 49 * Return the ptr in sp at which the character c last 53 rindex(const char *sp, int c) argument 55 return (strrchr(sp, c));
|
H A D | strchr.c | 38 * 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 D | strrchr.c | 38 * 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++);
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | waddnwstr.c | 43 char *sp; local 46 if ((sp = _strcode2byte(code, NULL, n)) == NULL) 50 return (waddnstr(win, sp, -1));
|
H A D | winsnwstr.c | 44 char *sp; local 47 if ((sp = _strcode2byte(code, NULL, n)) == NULL) 51 return (winsnstr(win, sp, -1));
|
H A D | mbcharlen.c | 43 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 D | mbdisplen.c | 43 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);
|
/osnet-11/usr/src/lib/libast/common/stdio/ |
H A D | getline.c | 31 getline(char** sp, size_t* np, Sfio_t* f) argument 33 STDIO_INT(f, "getline", ssize_t, (char**, size_t*, Sfio_t*), (sp, np, f)) 35 return getdelim(sp, np, '\n', f);
|
/osnet-11/usr/src/lib/libast/common/hash/ |
H A D | hashview.c | 47 register Hash_bucket_t** sp; local 61 sp = &top->table[0]; 62 while (sp < sx) 63 for (b = *sp++; b; b = b->next) 76 sp = &top->table[0]; 77 while (sp < sx) 78 for (b = *sp++; b; b = b->next)
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | optesc.c | 27 * escape optget() special chars in s and write to sp 35 optesc(Sfio_t* sp, register const char* s, int esc) argument 45 sfprintf(sp, "%-.*s", c - 4, s + 3); 58 sfputc(sp, '\b'); 59 sfwrite(sp, m, s - m); 60 sfputc(sp, '\b'); 61 sfwrite(sp, s, 3); 65 sfwrite(sp, m, s - m); 78 sfputc(sp, '\b'); 79 sfwrite(sp, [all...] |
/osnet-11/usr/src/lib/libc/port/i18n/ |
H A D | wschr.c | 33 * 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 D | wsrchr.c | 33 * 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));
|
/osnet-11/usr/src/lib/scsi/plugins/ses/LSILOGIC-SASX28-A.0/common/ |
H A D | lsilogic.c | 37 lsilogic_parse_node(ses_plugin_t *sp, ses_node_t *np) argument 56 _ses_init(ses_plugin_t *sp) argument 62 return (ses_plugin_register(sp, LIBSES_PLUGIN_VERSION,
|
/osnet-11/usr/src/lib/scsi/plugins/ses/SUN-SAS2-X16DBP/common/ |
H A D | sun_sas2_x16dbp.c | 37 sun_sas2_x16dbp_parse_node(ses_plugin_t *sp, ses_node_t *np) argument 56 _ses_init(ses_plugin_t *sp) argument 62 return (ses_plugin_register(sp, LIBSES_PLUGIN_VERSION,
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | lwp.c | 53 _lwp_sema_init(lwp_sema_t *sp, int count) argument 55 sp->sema_count = count; 56 sp->sema_waiters = 0; 57 sp->type = USYNC_PROCESS; 62 _lwp_sema_wait(lwp_sema_t *sp) argument 64 return (___lwp_sema_timedwait(sp, NULL, 0));
|
H A D | ucontext.c | 55 setustack(stack_t *sp) argument 57 return (syscall(SYS_context, 3, sp));
|
/osnet-11/usr/src/lib/libc/sparc/gen/ |
H A D | siglongjmp.c | 93 struct frame *sp = (struct frame *)(bp->sjs_sp + STACK_BIAS); local 94 sp->fr_savfp = (struct frame *)fp; 95 sp->fr_savpc = i7;
|
/osnet-11/usr/src/lib/libc/sparcv9/gen/ |
H A D | siglongjmp.c | 92 struct frame *sp = (struct frame *)(bp->sjs_sp + STACK_BIAS); local 93 sp->fr_savfp = (struct frame *)fp; 94 sp->fr_savpc = i7;
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | initscr.c | 67 SCREEN *sp; local 71 sp = newterm(NULL, stdout, stdin); 73 if (sp == NULL) { 79 (void) set_term(sp); 113 (void) delscreen(sp);
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mdcf.c | 49 mdsetname_t *sp, 62 if (!metaislocalset(sp)) 82 if (meta_print_all(sp, tname, NULL, tfp, options, NULL, ep) != 0) 48 meta_update_md_cf( mdsetname_t *sp, md_error_t *ep ) argument
|
H A D | meta_mount.c | 40 mdsetname_t *sp, 52 assert(sp != NULL); 80 if ((mnp = metaname(&sp, mnt_special, UNKNOWN, ep)) == NULL) { 39 meta_get_mountp( mdsetname_t *sp, mdname_t *np, md_error_t *ep ) argument
|
H A D | meta_replace.c | 40 mdsetname_t *sp, 51 assert(sp != NULL); 52 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev))); 62 return (meta_raid_replace(sp, np, oldnp, newnp, options, ep)); 64 return (meta_mirror_replace(sp, np, oldnp, newnp, options, ep)); 76 mdsetname_t *sp, 86 assert(sp != NULL); 87 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev))); 97 return (meta_raid_enable(sp, np, compnp, options, ep)); 99 return (meta_mirror_enable(sp, n 39 meta_replace_byname( mdsetname_t *sp, mdname_t *np, mdname_t *oldnp, mdname_t *newnp, mdcmdopts_t options, md_error_t *ep ) argument 75 meta_enable_byname( mdsetname_t *sp, mdname_t *np, mdname_t *compnp, mdcmdopts_t options, md_error_t *ep ) argument [all...] |