/illumos-gate/usr/src/cmd/oawk/ |
H A D | lib.c | 372 while (*s == ' ' || *s == '\t' || *s == '\n') in isanumber() 376 if (*s == '+' || *s == '-') in isanumber() 382 if (!(iswdigit(*s) && iswascii(*s)) && *s != radixpoint) in isanumber() 384 if (iswdigit(*s) && iswascii(*s)) { in isanumber() 388 } while (iswdigit(*s) && iswascii(*s)); in isanumber() 396 if (iswdigit(*s) && iswascii(*s)) { in isanumber() 400 } while (iswdigit(*s) && iswascii(*s)); in isanumber() 406 if (*s == 'e' || *s == 'E') { in isanumber() 408 if (*s == '+' || *s == '-') in isanumber() 410 if (!(iswdigit(*s) && iswascii(*s))) in isanumber() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | strdup.c | 34 sm_strndup_x(s, n) 35 const char *s; 61 sm_strdup(s) in sm_strdup() argument 62 char *s; in sm_strdup() 67 l = strlen(s) + 1; 92 sm_strdup_x(s) in sm_strdup_x() argument 93 const char *s; in sm_strdup_x() 98 l = strlen(s) + 1; 120 sm_pstrdup_x(s) in sm_pstrdup_x() argument 121 const char *s; in sm_pstrdup_x() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lstrlib.c | 454 s = end_capture(ms, s, p + 1); in match() 460 s = (s == ms->src_end) ? s : NULL; /* check end of string */ in match() 466 s = matchbalance(ms, s, p + 2); in match() 490 s = match_capture(ms, s, uchar(*(p + 1))); in match() 525 s = max_expand(ms, s, p, ep); in match() 528 s = min_expand(ms, s, p, ep); in match() 539 return s; in match() 724 luaL_addlstring(b, s, e - s); in add_s() 868 if (*s == '"' || *s == '\\' || *s == '\n') { in addquoted() 872 else if (*s == '\0' || iscntrl(uchar(*s))) { in addquoted() [all …]
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | newscn.c | 59 Snode32 *s; in elf_newscn() local 62 if ((s = _elf32_snode()) == 0) { in elf_newscn() 66 s->sb_scn.s_elf = elf; in elf_newscn() 70 if ((s = _elf32_snode()) == 0) { in elf_newscn() 75 s->sb_scn.s_elf = elf; in elf_newscn() 82 tl = &s->sb_scn; in elf_newscn() 86 Snode64 *s; in elf_newscn() local 93 s->sb_scn.s_elf = elf; in elf_newscn() 97 if ((s = _elf64_snode()) == 0) { in elf_newscn() 102 s->sb_scn.s_elf = elf; in elf_newscn() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | io.h | 121 #define __OUT1(s,x) \ argument 129 #define __OUT(s,s1,x) \ argument 130 __OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \ 131 __OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); } \ 133 __OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); SLOW_DOWN_IO; } 135 #define __IN1(s,x) \ argument 140 #define __IN2(s,s1,s2) \ argument 144 __IN1(s,x) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \ 145 __IN1(s##c,x) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); return _v; } \ 149 #define __INS(s) \ argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regcoll.c | 55 if (size < 2 || (term = *s) != '.' && term != '=' || !*++s || *s == term && *(s + 1) == ']') in regcollate() 57 t = s; in regcollate() 58 w = mbchar(s); in regcollate() 61 if (*s++ != term || *s++ != ']') in regcollate() 65 if (*s == term && *(s + 1) == ']') in regcollate() 67 s += 2; in regcollate() 72 s = t; in regcollate() 91 r = s - t - 2; in regcollate() 112 *e = (char*)s; in regcollate() 115 s--; in regcollate() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | expand.c | 125 expstr(s) in expstr() argument 126 char *s; in expstr() 135 if (s == NULL || *s == '\0') 210 s = cp; 230 expsh(s); 250 expsh(s) in expsh() argument 251 char *s; in expsh() 258 cp = s; 494 for (s--; *s; s++) 573 for (s--; *s; s++) [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | vmstate.c | 73 register char* s; in key() local 75 if (!(s = fp->t_str) || streq(s, "size")) in key() 87 else if (streq(s, "flags")) in key() 89 *ps = s = fmtbuf(32); in key() 92 s = strcopy(s, "TRUST|"); in key() 95 s = strcopy(s, "TRACE|"); in key() 97 s = strcopy(s, "DBCHECK|"); in key() 99 s = strcopy(s, "DBABORT|"); in key() 100 if (s > *ps) in key() 101 *(s - 1) = 0; in key() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_negotiate.c | 408 s->smb31_enc_cipherid = 0; in smb31_decode_neg_ctxs() 519 s->dialect = smb2_version; in smb1_negotiate_smb2() 720 s->dialect = best_version; in smb2_newrq_negotiate() 780 s->srv_secmode = secmode; in smb2_negotiate_common() 791 s->s_cur_credits = s->s_max_credits = 1; in smb2_negotiate_common() 804 smb2_sign_init_mech(s); in smb2_negotiate_common() 880 s->srv_cap, /* l */ in smb2_negotiate_common() 982 if (smb2_find_best_dialect(s, dialects, num_dialects) != s->dialect) in smb2_nego_validate() 987 s->srv_cap, /* l */ in smb2_nego_validate() 991 s->dialect); /* w */ in smb2_nego_validate() [all …]
|
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | yy-sed | 26 s/yyact/fruact/g 28 s/yychk/fruchk/g 30 s/yydef/frudef/g 34 s/yylex/frulex/g 39 s/yypgo/frupgo/g 40 s/yyps/frups/g 41 s/yypv/frupv/g 42 s/yyr1/frur1/g 43 s/yyr2/frur2/g 45 s/yys/frus/g [all …]
|
/illumos-gate/usr/src/cmd/sgs/libelf/misc/ |
H A D | demangle.c | 98 s = prep_String(MSG_ORIG(MSG_STR_DBLCOL), s); in second() 99 s = nprep_String(c, s, n); in second() 108 s = app_String(s, MSG_ORIG(MSG_STR_OPENCLOSEPAR)); in second() 133 s = mk_String(s); in demangle() 134 s = set_String(s, MSG_ORIG(MSG_STR_EMPTY)); in demangle() 157 s = napp_String(s, c, i); in demangle() 193 s = app_String(s, MSG_ORIG(MSG_STR_OPERATOR_1)); in demangle() 194 s = app_String(s, x); in demangle() 209 s = app_String(s, MSG_ORIG(MSG_STR_OPERATOR_2)); in demangle() 242 s = napp_String(s, c, n); in demangle() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | ipath.c | 79 for (i = 0; ipp1[i].s != NULL && ipp2[i].s != NULL; i++) in ipath_cmp() 80 if (ipp1[i].s != ipp2[i].s) in ipath_cmp() 81 return (ipp2[i].s - ipp1[i].s); in ipath_cmp() 85 if (ipp1[i].s == NULL && ipp2[i].s == NULL) in ipath_cmp() 113 if (ipp[i].s != np->u.name.s) in ipath_epnamecmp() 114 return (np->u.name.s - ipp[i].s); in ipath_epnamecmp() 175 if (strcmp(ipp[0].s, np->u.name.last->u.name.s) == 0) in ipath_dummy() 179 ret[0].s = np->u.name.last->u.name.s; in ipath_dummy() 181 ret[1].s = NULL; in ipath_dummy() 204 ret[i].s = np2->u.name.s; in ipath_for_usednames() [all …]
|
/illumos-gate/usr/src/boot/forth/ |
H A D | menu-commands.4th | 235 s" off" 237 s" on" 319 0 of s" text" endof 366 1 of s" 1" endof 367 2 of s" 2" endof 368 3 of s" 4" endof 369 4 of s" 8" endof 394 s" nmi" getenv dup -1 <> if else drop s" panic" then 423 s" nmi_initial" getenv s" nmi" setenv 529 s" 1" s" zfs_be_currpage" setenv [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | df.xcl | 81 msgid "%s/%s/%s" 82 msgid "%s -F %s" 84 msgid "%s -F %s " 85 msgid " %s" 109 msgid "%s (%s)%s" 112 msgid " %s" 116 msgid "%s/%s/volcopy" 142 msgid "%s: %s\n" 143 msgid "%s:%s: " 147 msgid "%s" [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfstrtof.h | 176 S2F_function(s, get) void* s; S2F_get_f get; in S2F_function() 239 c = GET(s); 249 c = GET(s); 306 PUT(s); 349 PUT(s); 364 PUT(s); 373 PUT(s); 377 PUT(s); 383 PUT(s); 384 NON(s); [all …]
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | rules.c | 125 if (s == 0 || *s == 0 || *s == '#' || *s == '*') in read_rules() 161 s = lex(0); in read_rules() 163 if (s == 0) in read_rules() 183 s = lex(0); in read_rules() 185 if (s == 0) in read_rules() 206 s = lex(0); in read_rules() 208 if (s == 0) in read_rules() 261 if (*s) { in read_cmd() 554 if (s == 0) in add_restr() 556 if (s == 0) in add_restr() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | pptrace.c | 44 if (t = s) in pptokstr() 47 c = *t ? *t : *s; in pptokstr() 68 else if (s) return(s); in pptokstr() 153 s = buf; in ppflagstr() 160 if (s > buf) *s++ = '|'; in ppflagstr() 162 s += k; in ppflagstr() 165 *s = 0; in ppflagstr() 243 if ((s = pp.in->nextchr) && *s) in pptrace() 246 x = s + 256; in pptrace() 247 while (*s && s < x) in pptrace() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_util.c | 1092 s = s_realloc(s, len + 2); in append_dot() 1109 s = s_realloc(s, len + 2); in append_comma() 1774 while (s < end && is_whitespace(*s)) in get_next_object_dn_token() 1856 while (s < end_s && is_whitespace(*s)) in get_next_token() 1869 while (s < end_s && is_whitespace(*s)) in get_next_token() 1924 while (s < end_s && is_whitespace(*s)) in get_next_token() 1951 while (s < end_s && is_whitespace(*s)) in skip_token() 1953 c = (s == end_s) ? 0 : *s; in skip_token() 2085 for (; s < s_end; s++) { in get_next_extract_format_item() 2518 s = realloc(s, size); in s_realloc() [all …]
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | netif.c | 105 int d, u, s; in netif_select() local 127 for (s = 0; s < drv->netif_ifs[u].dif_nsel; s++) { in netif_select() 295 return (s); in socktodesc_impl() 322 if (s == NULL) { in netif_open() 325 s = calloc(1, sizeof (*s)); in netif_open() 326 if (s == NULL) in netif_open() 363 bzero(&s->destip, sizeof (s->destip)); in netif_close() 364 bzero(&s->myip, sizeof (s->myip)); in netif_close() 366 s->myport = 0; in netif_close() 367 s->xid = 0; in netif_close() [all …]
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | solaris-int.h | 304 LBER_SOCKET s ); 306 LBER_SOCKET s ); 521 LDAP_API(int) LDAP_CALL ldap_utf8isalnum( char* s ); 531 #define LDAP_UTF8LEN(s) ((0x80 & *(unsigned char*)(s)) ? ldap_utf8len (s) : 1) argument 532 #define LDAP_UTF8NEXT(s) ((0x80 & *(unsigned char*)(s)) ? ldap_utf8next(s) : (s)+1) argument 533 #define LDAP_UTF8INC(s) ((0x80 & *(unsigned char*)(s)) ? s=ldap_utf8next(s) : ++s) argument 535 #define LDAP_UTF8PREV(s) ldap_utf8prev(s) argument 536 #define LDAP_UTF8DEC(s) (s=ldap_utf8prev(s)) argument 538 #define LDAP_UTF8COPY(d,s) ((0x80 & *(unsigned char*)(s)) ? ldap_utf8copy(d,s) : ((*(d) = *(s)), 1)) argument 539 #define LDAP_UTF8GETCC(s) ((0x80 & *(unsigned char*)(s)) ? ldap_utf8getcc (&s) : *s++) argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | wc.c | 39 *t = *s; in mbtowc() 52 return mbtowc(t, s, n); in mbrtowc() 56 *t = *s; in mbrtowc() 84 if (s) in wctomb() 85 *s = c; in wctomb() 98 return wctomb(s, c); in wcrtomb() 100 if (s) in wcrtomb() 101 *s = c; in wcrtomb() 111 wcslen(const wchar_t* s) in wcslen() argument 117 return p - s; in wcslen() [all …]
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/exception/ |
H A D | SuccinctStackTraceFormatter.java | 51 s.append("("); in formatWithDescription() 57 s.append(", "); in formatWithDescription() 61 trace[i], s); in formatWithDescription() 63 s.append(", "); in formatWithDescription() 65 s.append(")"); in formatWithDescription() 72 return (s.toString()); in formatWithDescription() 102 s.append("."); in appendStackTraceElement() 104 s.append("&."); in appendStackTraceElement() 108 s.append(":"); in appendStackTraceElement() 112 s.append(":"); in appendStackTraceElement() [all …]
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_send.c | 193 if (s < 0) { 213 s = -1; 233 s = -1; 253 s = -1; 295 s = -1; 473 s = -1; 496 s = -1; 501 if (s >= 0) { 503 s = -1; 525 if (s != -1) { in _res_close() [all …]
|
/illumos-gate/usr/src/uts/common/kiconv/kiconv_emea/ |
H A D | kiconv_emea.c | 107 kiconv_state_t s; in open_to_720() local 119 kiconv_state_t s; in open_to_737() local 131 kiconv_state_t s; in open_to_852() local 143 kiconv_state_t s; in open_to_857() local 155 kiconv_state_t s; in open_to_862() local 167 kiconv_state_t s; in open_to_866() local 179 kiconv_state_t s; in open_to_1250() local 191 kiconv_state_t s; in open_to_1251() local 203 kiconv_state_t s; in open_to_1253() local 215 kiconv_state_t s; in open_to_1254() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | strmatch.c | 94 #define getsource(s,e) (((s)>=(e))?0:mbgetchar(s)) argument 124 if (*s == '!' || *s == '^') in gobble() 126 b = s; in gobble() 128 else if (*s == '.' || *s == '=' || *s == ':') in gobble() 129 c = *s; in gobble() 160 return s; in gobble() 186 olds = s; in onematch() 204 s = olds; in onematch() 253 } while (s < e && mbgetchar(s)); in onematch() 555 match.last_s = e = s + strlen(s); in strgrpmatch() [all …]
|