/src/common/lib/libc/stdlib/ |
getopt.c | 77 getopt(int nargc, char * const nargv[], const char *ostr) 83 _DIAGASSERT(ostr != NULL); 104 if (strchr(ostr, '-') == NULL) 112 if (optopt == ':' || (oli = strchr(ostr, optopt)) == NULL) { 115 if (opterr && *ostr != ':') 142 if (*ostr == ':')
|
/src/usr.bin/pr/ |
egetopt.c | 56 * Non standard additions to the ostr specs are: 73 egetopt(int nargc, char * const *nargv, const char *ostr) 111 !(oli = strchr(ostr, eoptopt))) { 118 if (strchr(ostr, '#') && (isdigit(eoptopt) ||
|
/src/lib/libcurses/ |
getstr.c | 164 char *ostr, ec, kc; local in function:__wgetnstr 170 ostr = str; 185 if (str != ostr) { 210 } else { /* str == ostr */ 220 if (str != ostr) { 224 while (str != ostr) {
|
get_wstr.c | 160 wchar_t *ostr, ec, kc, sc[ 2 ]; local in function:__wgetn_wstr 168 ostr = wstr; 188 if (wstr != ostr) { 207 } else { /* str == ostr */ 216 if (wstr != ostr) { 220 while (wstr != ostr) {
|
/src/lib/libterminfo/ |
tparm.c | 191 char c, fmt[64], *fp, *ostr; local in function:_ti_tiparm 343 pop(NULL, &ostr, &stack); 344 if (ostr != NULL) { 347 l = strlen(ostr); 353 fmt, ostr); 359 pop(NULL, &ostr, &stack); 360 if (ostr == NULL) 363 l = strlen(ostr);
|
/src/sys/arch/alpha/common/ |
shared_intr.c | 491 char *ostr = intr[num].intr_string; local in function:alpha_shared_intr_set_string 493 kmem_strfree(ostr);
|