/illumos-gate/usr/src/lib/libxcurses/h/ |
H A D | m_nls.h | 42 #define m_textstr(id, str, cls) #id "##" str argument 43 extern void m_textdomain(char * str); 44 extern char *m_textmsg(int id, const char *str, char *cls); 45 extern char *m_strmsg(const char *str);
|
/illumos-gate/usr/src/cmd/sort/ |
H A D | streams_stdio.h | 49 extern int stream_stdio_open_for_write(stream_t *str); 50 extern int stream_stdio_is_closable(stream_t *str); 51 extern int stream_stdio_close(stream_t *str); 52 extern int stream_stdio_unlink(stream_t *str); 53 extern int stream_stdio_free(stream_t *str);
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | unctime.c | 46 unctime(str) in unctime() argument 47 char *str; in unctime() 53 (void) strncpy(dbuf, str, 24); 72 lookup(str) in lookup() argument 73 char *str; in lookup() 77 for (cp = months, cp2 = str; *cp != 0; cp += 3)
|
/illumos-gate/usr/src/uts/sun4u/excalibur/io/ |
H A D | xcalppm.c | 307 char *str = "xcppm_attach"; in xcppm_attach() local 564 char *str = "xcppm_set_level"; in xcppm_set_level() local 602 char *str = "xcppm_gpio_port2"; in xcppm_gpio_port2() local 618 str, buf8)); in xcppm_gpio_port2() 770 char *str = "xcppm_ccp"; in xcppm_change_cpu_power() local 886 str, chstr, data16)); in xcppm_change_cpu_power() 915 char *str = "xcppm_manage_cpus"; in xcppm_manage_cpus() local 1037 char *str = "xcppm_manage_fet"; in xcppm_manage_fet() local 1068 str, ppmd->path, old, new)); in xcppm_manage_fet() 1096 str, ppmd->path)); in xcppm_manage_fet() [all …]
|
/illumos-gate/usr/src/lib/libfru/libgenutil/ |
H A D | Str.cc | 37 Str::Str(const char *str) in Str() argument 38 : str_(strcpy(new char[strlen(str)+1], str)), in Str() 42 Str::Str(const char *str, int len) in Str() argument 46 strlcpy(str_, str, len+1); in Str() 69 Str::operator = (const char *str) in operator =() argument 72 str_ = strcpy(new char[strlen(str)+1], str); in operator =()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | waddnstr.c | 58 unsigned char *str = (unsigned char *)tstr; in waddnstr() local 66 fprintf(outf, "\"%s\")\n", str); in waddnstr() 80 while (((ch = *str) != 0) && (i-- > 0)) { in waddnstr() 94 for (k = 1; str[k] != '\0' && k <= m; ++k) in waddnstr() 95 if (!ISMBIT(str[k])) in waddnstr() 101 for (k = 0; k <= m; ++k, ++str) { in waddnstr() 103 RBYTE(*str))) == ERR) in waddnstr() 143 str++; in waddnstr()
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | map_core.c | 669 *str = s; in advance_to_eol() 680 *str = '\0'; in null_patch_set() 734 return (str); in ident_delimit() 1098 for (; *str; str++) { in cexp_eval_expr() 1102 str++; in cexp_eval_expr() 1103 if (!*str) in cexp_eval_expr() 1109 if (*(str + 1) != *str) in cexp_eval_expr() 1116 str++; in cexp_eval_expr() 1185 if ((*str == '0') || (*str == '1')) { in cexp_eval_expr() 1617 while (*str = tolower(*str)) in ld_map_lowercase() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nis.c | 551 char *str; in sum_ypstat() local 556 case YP_TRUE: str = "OK"; break; in sum_ypstat() 558 case YP_FALSE: str = "Fail"; break; in sum_ypstat() 559 case YP_NOMAP: str = "No such map"; break; in sum_ypstat() 560 case YP_NODOM: str = "No such domain"; break; in sum_ypstat() 561 case YP_NOKEY: str = "No such key"; break; in sum_ypstat() 563 case YP_BADDB: str = "Bad database"; break; in sum_ypstat() 564 case YP_YPERR: str = "Server error"; break; in sum_ypstat() 565 case YP_BADARGS:str = "Bad args"; break; in sum_ypstat() 568 str = buff; in sum_ypstat() [all …]
|
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_error.c | 59 const char *str; in smbios_errmsg() local 62 str = _smb_errlist[error - ESMB_BASE]; in smbios_errmsg() 64 str = smb_strerror(error); in smbios_errmsg() 66 return (str != NULL ? str : "Unknown error"); in smbios_errmsg()
|
/illumos-gate/usr/src/cmd/valtools/ |
H A D | ckkeywd.c | 66 char *str; in prog_name() local 69 str = arg0 + strlen(arg0); in prog_name() 70 while (str > arg0 && *--str == '/') in prog_name() 71 *str = '\0'; in prog_name() 72 if ((str = strrchr(arg0, '/')) != NULL) in prog_name() 73 return (str + 1); in prog_name()
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | percent_x.c | 51 char *str = string; local 60 while (*str) { 61 if (*str == '%' && (ch = str[1]) != 0) { 62 str += 2; 80 expansion = str++;
|
/illumos-gate/usr/src/cmd/mailx/hdr/ |
H A D | def.h | 431 extern int Sendm(char *str); 432 extern int Sput(char str[]); 456 extern int dopipe(char str[]); 457 extern int dosh(char *str); 468 extern int field(char str[]); 544 extern void panic(char *str); 568 extern int save(char str[]); 571 extern int schdir(char *str); 574 extern int sendm(char *str); 580 extern int shell(char *str); [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_typedef.c | 88 if (*str == '\0') in typedef_valid_identifier() 91 if (*str != '_' && in typedef_valid_identifier() 92 (*str < 'A' || *str > 'Z') && in typedef_valid_identifier() 93 (*str < 'a' || *str > 'z')) in typedef_valid_identifier() 95 str++; in typedef_valid_identifier() 97 while (*str != '\0') { in typedef_valid_identifier() 98 if (*str != '_' && in typedef_valid_identifier() 99 (*str < '0' || *str > '9') && in typedef_valid_identifier() 100 (*str < 'A' || *str > 'Z') && in typedef_valid_identifier() 101 (*str < 'a' || *str > 'z')) in typedef_valid_identifier() [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/mdbmod/common/ |
H A D | rtld.c | 190 return (str); in String() 226 char *str; in dcmd_Bind() local 339 char *str; in dcmd_Depends() local 384 char *str; in dcmd_Callers() local 430 char *str; in dcmd_rtmap() local 500 char *str; in rtmap_format() local 657 char *str; in dcmd_Setenv() local 1015 char *str; in dcmd_GrpDesc() local 1055 char *str; in dcmd_GrpHdl() local 1145 char *str; in dcmd_Handles() local [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_strings.c | 38 char *str = NULL; in get_string_from_mtag() local 40 run_sql(get_str, &str, in get_string_from_mtag() 44 if ((unsigned long)str == -1UL) in get_string_from_mtag() 46 return str; in get_string_from_mtag() 51 char *str; in fake_string_from_mtag() local 55 str = get_string_from_mtag(tag); in fake_string_from_mtag() 56 if (!str) in fake_string_from_mtag() 58 return string_expression(str); in fake_string_from_mtag()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 62 xmlChar *str; in xmlattr_to_stab() local 93 xmlFree(str); in xmlattr_to_stab() 96 xmlFree(str); in xmlattr_to_stab() 104 xmlChar *str; in xmlattr_to_int() local 121 xmlFree(str); in xmlattr_to_int() 129 xmlChar *str; in xmlattr_to_double() local 144 xmlFree(str); in xmlattr_to_double() 152 xmlChar *str; in xmlattr_to_fmri() local 162 xmlFree(str); in xmlattr_to_fmri() 170 xmlChar *str; in xmlattr_to_type() local [all …]
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | dis_riscv.c | 886 #define DIS_RISCV_R32(str, op, f3, f7) \ argument 888 #define DIS_RISCV_I32(str, op, f3) \ argument 890 #define DIS_RISCV_S32(str, op, f3) \ argument 892 #define DIS_RISCV_B32(str, op, f3) \ argument 894 #define DIS_RISCV_U32(str, op) \ argument 896 #define DIS_RISCV_J32(str, op) \ argument 907 #define DIS_RISCV_CSR(str, op, f3) \ argument 909 #define DIS_RISCV_CSRI(str, op, f3) \ argument 911 #define DIS_RISCV_LOAD(str, op, f3) \ argument 921 #define DIS_RISCV_A32(str, op, f3, f5) \ argument [all …]
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | arch.c | 82 const char *str; in conv_check_native() local 88 if (((str = getenv(MSG_ORIG(MSG_LD_NOEXEC64))) != NULL) && *str) in conv_check_native() 91 if ((str = getexecname()) != NULL) in conv_check_native() 92 (void) isaexec(str, argv, envp); in conv_check_native()
|
H A D | config.c | 182 conv_config_upm(const char *str, const char *old, const char *new, in conv_config_upm() argument 190 for (curstr = ptr = str; *ptr; ptr++) { in conv_config_upm() 248 return (str); in conv_config_upm() 258 (uintptr_t)ptr - (uintptr_t)str)) == 0) in conv_config_upm() 259 return (str); in conv_config_upm() 262 for (len = (uintptr_t)curold - (uintptr_t)str; len; len--) in conv_config_upm() 263 *(newstr++) = *(str++); /* copy up to */ in conv_config_upm() 268 for (len = (uintptr_t)ptr - (uintptr_t)str; len; len--) in conv_config_upm() 269 *(newstr++) = *(str++); /* add remaining */ in conv_config_upm()
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioDebug.cc | 59 const char *str) // additional message string in AudioStderrMsg() argument 80 id, str, name, code.msg()); in AudioStderrMsg() 84 name, code.msg(), str); in AudioStderrMsg() 90 name, code.msg(), str); in AudioStderrMsg() 97 name, str, code.msg()); in AudioStderrMsg() 105 name, str, code.msg()); in AudioStderrMsg()
|
/illumos-gate/usr/src/common/ficl/emu/ |
H A D | loader_emu.c | 162 str++; in backslash() 175 str++; in backslash() 180 str++; in backslash() 185 str++; in backslash() 190 str++; in backslash() 195 str++; in backslash() 200 str++; in backslash() 205 str++; in backslash() 217 if (*str >= '0' && *str <= '3' && in backslash() 218 *(str + 1) >= '0' && *(str + 1) <= '7' && in backslash() [all …]
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | ts.c | 47 numb(char *str) in numb() argument 51 for (k=0; *str >= '0' && *str <= '9'; str++) in numb() 52 k = k*10 + *str - '0'; in numb()
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | set_pitch.c | 49 char * str, in set_pitch() argument 54 set_pitch (str, which, putout) in set_pitch() 55 char *str; in set_pitch() 107 xpi = strtod(str, &rest); 108 if (which == 'H' && STREQU(str, NAME_PICA)) 111 else if (which == 'H' && STREQU(str, NAME_ELITE)) 117 STREQU(str, NAME_COMPRESSED)
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | DATable.java | 388 String str = (String)o; in validateScopes() local 390 if (str.length() <= 0) { in validateScopes() 400 str = str.toLowerCase(locale).trim(); in validateScopes() 406 new StringTokenizer(str, ServiceLocationAttribute.WHITESPACE); in validateScopes() 422 str = buf.toString(); in validateScopes() 426 if (ht.get(str) == null) { in validateScopes() 427 ht.put(str, str); in validateScopes() 428 scopes.setElementAt(str, i); in validateScopes()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_inherit_002_neg.ksh | 101 typeset str=$3 118 if [[ $str == *"no_propagate"* ]]; then 125 if [[ $str == *"no_propagate"* ]]; then 132 if [[ $str == *"no_propagate"* ]]; then 208 "$node, $inherit ($str)" 218 "$node, $inherit ($str)" 236 log_fail "Unexpected ACE: $node, $inherit ($str)" 255 for str in "${strategy_flag[@]}"; do 290 log_note "verify_inherit $inherit $obj $str" 291 log_must verify_inherit $inherit $obj $str
|