/illumos-gate/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_cr_6805795_negative_zero.sh | 74 typeset str 77 str=$( 86 str=$( 100 [[ "${str}" == "-0" ]] || err_exit "Expected c == -0, got ${str}" 104 str=$( 117 str=$( 129 [[ "${str}" == "1" ]] || err_exit "Expected c == 1, got ${str}" 134 str=$( 147 [[ "${str}" == -0x* ]] || err_exit "Expected c == -0x*, got ${str}" 152 str=$( [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | cexpand.c | 74 if (str == NULL) in rmpadding() 80 if (*str == '<') { in rmpadding() 85 for (; *str && isdigit(*str); str++) { in rmpadding() 92 if (*str == '.') { in rmpadding() 93 str++; in rmpadding() 96 str++) { in rmpadding() 103 for (; (*str == '*') || (*str == '/'); in rmpadding() 104 str++) { in rmpadding() 105 if (*str == '*') in rmpadding() 120 str = svbufptr; in rmpadding() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | pppoe.c | 170 char *str; in cat_save_env() local 181 cp = str; in cat_save_env() 202 char *str; in handle_motm_hurl() local 207 str = NULL; in handle_motm_hurl() 248 char *str; in handle_ip_route_add() local 257 str = NULL; in handle_ip_route_add() 286 str = strchr(str, ' '); in handle_ip_route_add() 289 str = strchr(str, ' '); in handle_ip_route_add() 292 str = strchr(str, ' '); in handle_ip_route_add() 313 char *str; in handle_pppoe_input() local [all …]
|
/illumos-gate/usr/src/cmd/tr/ |
H A D | str.c | 89 s->str += clen; 147 s->str += 2; 149 s->str = p + 1; 156 s->str += 2; 165 s->str += 1; 202 s->str += 2; 262 s->str += clen; in genrange() 320 s->str += clen; 331 ++s->str; 365 ++s->str; in backslash() [all …]
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | mkdirp.c | 54 str = simplify(d); in mkdirp() 58 if (str == NULL) in mkdirp() 63 if (mkdir(str, mode) == 0) { in mkdirp() 64 free(str); in mkdirp() 68 free(str); in mkdirp() 72 slash = strrchr(str, '/'); in mkdirp() 95 free(str); in mkdirp() 115 free(str); in mkdirp() 119 free(str); in mkdirp() 136 simplify(const char *str) in simplify() argument [all …]
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | monetary.c | 42 char *str; in add_monetary_str() local 63 mon.positive_sign = str; in add_monetary_str() 66 mon.negative_sign = str; in add_monetary_str() 69 free(str); in add_monetary_str() 78 char *str = NULL; in add_monetary_num() local 81 if (str == NULL) { in add_monetary_num() 91 mon.frac_digits = str; in add_monetary_num() 94 mon.p_cs_precedes = str; in add_monetary_num() 106 mon.p_sign_posn = str; in add_monetary_num() 109 mon.n_sign_posn = str; in add_monetary_num() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | multilink.c | 290 return str; 299 q = str; 313 return str; 336 str += sl; 345 str); 348 str = endp; 355 if (*str != ':' && *str != '.') { 359 ++str; 377 p = str; 392 if (*str == ':' || *str == '.') [all …]
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_po.y | 35 char *str; member 46 %token <str> STR 79 och1.str = $2.str; 85 och2.str = $4.str; 104 free($2.str); 105 free($4.str); 143 $$.str = $1; 149 char *str; variable 159 (void) memcpy(str, $1.str, len1); 163 $$.str = str; [all …]
|
H A D | gnu_handle.c | 353 (memcmp(dupmsg->str, str->str, str->len) == 0)) { in handle_message() 363 free(str->str); in handle_message() 379 free(str->str); in handle_message() 380 if (str->pos) in handle_message() 393 free(str->str); in handle_message() 400 if (str->len == str->no) { in handle_message() 406 free(str->str); in handle_message() 422 charset = strstr(str->str, CHARSET_STR); in handle_message() 445 nplurals = strstr(str->str, NPLURALS_STR); in handle_message() 465 if (str->pos) in handle_message() [all …]
|
/illumos-gate/usr/src/uts/sun/sys/scsi/adapters/ |
H A D | fasvar.h | 751 #define EPRINTF(str) if (EDEBUGGING) fas_dprintf(fas, str) argument 752 #define EPRINTF1(str, a) if (EDEBUGGING) fas_dprintf(fas, str, a) argument 753 #define EPRINTF2(str, a, b) if (EDEBUGGING) fas_dprintf(fas, str, a, b) argument 762 #define DPRINTF(str) if (DDEBUGGING) fas_dprintf(fas, str) argument 763 #define DPRINTF1(str, a) if (DDEBUGGING) fas_dprintf(fas, str, a) argument 764 #define DPRINTF2(str, a, b) if (DDEBUGGING) fas_dprintf(fas, str, a, b) argument 773 #define IPRINTF(str) if (IDEBUGGING) fas_dprintf(fas, str) argument 774 #define IPRINTF1(str, a) if (IDEBUGGING) fas_dprintf(fas, str, a) argument 786 #define EPRINTF(str) 793 #define DPRINTF(str) [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | config_elf.c | 173 str); in elf_config_validate() 204 const char *str; in elf_config() local 213 str++; in elf_config() 218 str = path; in elf_config() 225 if (str) { in elf_config() 244 str = NULL; in elf_config() 326 str = conv_config_upm(str, MSG_ORIG(MSG_PTH_USRLIB_64), in elf_config() 329 str = conv_config_upm(str, MSG_ORIG(MSG_PTH_USRLIB), in elf_config() 341 str = conv_config_upm(str, in elf_config() 345 str = conv_config_upm(str, MSG_ORIG(MSG_PTH_USRLIBSE), in elf_config() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | arith.c | 246 str++; in arith() 254 while(xp=str, c=mbchar(str), isaname(c)); in arith() 258 str = nv_endsubscript((Namval_t*)0,str,0); in arith() 302 *str = 0; in arith() 316 str = nv_endsubscript(np,str,0); in arith() 327 str++; in arith() 328 while(xp=str, c=mbchar(str), isaname(c)); in arith() 358 *str = c; in arith() 374 while(xp=str, c=mbchar(str), isaname(c)); in arith() 378 str = nv_endsubscript(np,str,0); in arith() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios_test_strprop.c | 28 smb_strprop_t str; in smbios_test_strprop_mktable_basic() local 31 str.smbstrp_hdr.smbh_len = sizeof (str); in smbios_test_strprop_mktable_basic() 33 str.smbstrp_prop_val = 1; in smbios_test_strprop_mktable_basic() 36 (void) smbios_test_table_append(table, &str, sizeof (str)); in smbios_test_strprop_mktable_basic() 47 smb_strprop_t str; in smbios_test_strprop_mktable_badstr() local 50 str.smbstrp_hdr.smbh_len = sizeof (str); in smbios_test_strprop_mktable_badstr() 55 (void) smbios_test_table_append(table, &str, sizeof (str)); in smbios_test_strprop_mktable_badstr() 80 smb_strprop_t str; in smbios_test_strprop_mktable_invlen2() local 84 str.smbstrp_hdr.smbh_len = sizeof (str) + 1; in smbios_test_strprop_mktable_invlen2() 86 str.smbstrp_prop_val = 0; in smbios_test_strprop_mktable_invlen2() [all …]
|
/illumos-gate/usr/src/cmd/genmsg/ |
H A D | genmsg.y | 47 char *str; member 55 %token <str> STR 57 %token <str> QSTR 60 %type <str> catd, arg_list, arg_def, arg_func, arg_exp, str, 102 | str 106 | str '(' ')' 107 | str '(' str ')' 108 | str '(' cast_digit ')' 113 | str INC 117 str: '(' str ')' { $$ = $2; } [all …]
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_scan.c | 324 p = *str; in findstrconst() 336 *str = p; in findstrconst() 345 p = *str; in findchrconst() 358 *str = p; in findchrconst() 367 p = *str; in findconst() 382 *str = p; in findconst() 418 char *str; in findkind() local 423 if (strncmp(str, s->str, len) == 0) { in findkind() 424 if (!isalnum(str[len]) && str[len] != '_') { in findkind() 426 tokp->str = s->str; in findkind() [all …]
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioHdrParse.cc | 41 char *str) in to_lowercase() argument 69 char *str; in RateString() local 92 return (str); in RateString() 99 char *str; in ChannelString() local 116 return (str); in ChannelString() 123 char *str; in EncodingString() local 174 return (str); in EncodingString() 181 char *str; in FormatString() local 201 char *str) in RateParse() argument 256 char *str) in ChannelParse() argument [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | match.c | 45 sm_match(str, pat) 46 const char *str; 60 if (*str == '\0') 63 ++str; 76 if (*str == '\0') 78 ++str; 111 if (*str >= c && *str <= c2) 116 if (*str == c) 123 ++str; 130 if (*pat != *str) [all …]
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | time.c | 282 len = strlen(str); in parse_time() 287 if (*str++ != '+') { in parse_time() 303 str); in parse_time() 321 if (strlen(str) != strspn(str, "0123456789")) { in parse_time() 335 lnum = atol(str); in parse_time() 385 len = strlen(str); in derive_date() 389 do_invalid(), str); in derive_date() 395 do_invalid(), str); in derive_date() 413 if ((str[0] != '1' || str[1] != '9') && /* 19XX */ in derive_date() 414 (str[0] != '2' || str[1] != '0')) { /* 20XX */ in derive_date() [all …]
|
/illumos-gate/usr/src/lib/libsmedia/library/common/ |
H A D | l_defines.h | 56 #define DPRINTF(str) (void) printf(str) argument 57 #define DPRINTF1(str, a) (void) printf(str, a) argument 58 #define DPRINTF2(str, a, b) (void) printf(str, a, b) argument 59 #define DPRINTF3(str, a, b, c) (void) printf(str, a, b, c) argument 60 #define DPRINTF4(str, a, b, c, d) (void) printf(str, a, b, c, d) argument 62 #define DPRINTF(str) argument 63 #define DPRINTF1(str, a) argument 64 #define DPRINTF2(str, a, b) argument 65 #define DPRINTF3(str, a, b, c) argument 66 #define DPRINTF4(str, a, b, c, d) argument
|
/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | demangle.c | 38 const char *str; member 53 return (lang_tbl[i].str); in langstr() 64 if (strcmp(str, lang_tbl[i].str) == 0) { in sysdem_parse_lang() 78 is_mangled(const char *str, size_t n) in is_mangled() argument 82 sv_init_str(&sv, str, str + n); in is_mangled() 116 DEMDEBUG("name = '%s'", (str == NULL) ? "(NULL)" : str); in sysdemangle() 119 if (str == NULL) { in sysdemangle() 124 slen = strlen(str); in sysdemangle() 161 if (!is_mangled(str, slen)) { in sysdemangle() 175 res = rust_demangle(str, slen, ops); in sysdemangle() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.substr.d | 41 str = "foobarbazbop"; 66 command[i].index = strlen(str) - 1; 70 command[i].index = strlen(str); 74 command[i].index = strlen(str) + 1; 142 command[i].index = -2 * strlen(str); 143 command[i].length = 2 * strlen(str); 147 command[i].length = strlen(str); 155 command[i].length = strlen(str); 181 this->str = command[i].alt ? altstr : str; 185 str, command[i].index); [all …]
|
H A D | tst.strchr.d | 31 str = "fooeyfooeyfoo"; 35 printf("strchr(\"%s\", '%c') = \"%s\"\n", str, c, strchr(str, c)); 36 printf("strrchr(\"%s\", '%c') = \"%s\"\n", str, c, strrchr(str, c)); 39 printf("strchr(\"%s\", '%c') = \"%s\"\n", str, c, strchr(str, c)); 40 printf("strrchr(\"%s\", '%c') = \"%s\"\n", str, c, strrchr(str, c)); 42 printf("strrchr(\"%s\", '%c') = \"%s\"\n", strchr(str, c), c, 43 strrchr(strchr(str, c), c)); 55 /strchr(str, 'a') != NULL/ 61 /strrchr(str, 'a') != NULL/
|
/illumos-gate/usr/src/cmd/ptools/pflags/ |
H A D | pflags.c | 370 *str = '\0'; in prflags() 423 if (*str == '|') in prflags() 424 str++; in prflags() 426 return (str); in prflags() 433 char *str; in prwhy() local 446 str = "PR_SYSEXIT"; in prwhy() 452 str = "PR_FAULTED"; in prwhy() 458 str = buf; in prwhy() 463 return (str); in prwhy() 470 char *str; in prwhat() local [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | search.c | 60 char *str ); 427 str++; in put_complex_filter() 480 str++; in ldap_put_filter() 487 if ( (str = put_complex_filter( ber, str, in ldap_put_filter() 498 if ( (str = put_complex_filter( ber, str, in ldap_put_filter() 509 if ( (str = put_complex_filter( ber, str, in ldap_put_filter() 556 str++; in ldap_put_filter() 561 str++; in ldap_put_filter() 593 while ( *str && isspace( *str ) ) in put_filter_list() 594 str++; in put_filter_list() [all …]
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | util.c | 139 while (isspace(*str)) in atoi_sym_process() 140 str++; in atoi_sym_process() 142 tail = str + strlen(str); in atoi_sym_process() 146 cmp_len = tail - str; in atoi_sym_process() 166 while (isspace(*str)) in atoui_sym_process() 167 str++; in atoui_sym_process() 169 tail = str + strlen(str); in atoui_sym_process() 173 cmp_len = tail - str; in atoui_sym_process() 244 *v = strtoll(str, &endptr, 0); in elfedit_atoi2() 270 *v = strtoull(str, &endptr, 0); in elfedit_atoui2() [all …]
|