Home
last modified time | relevance | path

Searched refs:str (Results 301 – 325 of 1657) sorted by relevance

1...<<11121314151617181920>>...67

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_io.c1117 const char *str; in iob_bits2str() local
1229 const char *str; in iob_doprnt() member
1294 u.str = symstr; in iob_doprnt()
1313 u.str = "?"; in iob_doprnt()
1327 u.str = c; in iob_doprnt()
1432 if (u.str == NULL) in iob_doprnt()
1501 u.str = iob_getvar(u.str + 1, in iob_doprnt()
1521 u.str = "%"; in iob_doprnt()
1542 u.str = c; in iob_doprnt()
1545 len = u.str != NULL ? strlen(u.str) : 0; in iob_doprnt()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dcurses.ed901 #define addstr(str) waddstr(stdscr, str)
916 #define getstr(str) wgetstr(stdscr, str)
932 #define addchstr(str) waddchstr(stdscr, str)
933 #define addchnstr(str, n) waddchnstr(stdscr, str, n)
934 #define instr(str) winstr(stdscr, (str))
935 #define innstr(str, n) winnstr(stdscr, (str), (n))
936 #define inchstr(str) winchstr(stdscr, str)
937 #define inchnstr(str, n) winchnstr(stdscr, str, n)
943 #define addwchstr(str) waddwchstr(stdscr, str)
954 #define inwchnstr(str, n) winwchnstr(stdscr, str, n)
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Denv.c120 int env_add(Env_t *ep, const char *str, int flags) in env_add() argument
122 Evar_t *vp = (Evar_t*)dtmatch(ep->dt,(void*)str); in env_add()
123 if(vp && strcmp(str,vp->un.ptr)==0) in env_add()
126 str = strdup(str); in env_add()
131 vp->un.ptr = (char*)str; in env_add()
148 vp->un.ptr = (void*)str; in env_add()
166 int env_delete(Env_t *ep, const char *str) in env_delete() argument
168 Evar_t *vp = (Evar_t*)dtmatch(ep->dt,(void*)str); in env_delete()
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_array_condition.c33 char *str; in match_condition() local
43 str = expr_to_str(expr); in match_condition()
44 sm_warning("this array is probably non-NULL. '%s'", str); in match_condition()
45 free_string(str); in match_condition()
/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_err.c49 const char *str = NULL; in mcamd_strerror() local
52 str = _mcamd_errlist[err - EMCAMD_BASE]; in mcamd_strerror()
54 return (str == NULL ? "Unknown error" : str); in mcamd_strerror()
/illumos-gate/usr/src/cmd/sgs/libcrle/common/
H A Daudit.c74 char *str; in la_version() local
80 if ((str = getenv(MSG_ORIG(MSG_ENV_AUD_FD))) == NULL) in la_version()
82 pfd = atoi(str); in la_version()
88 if ((str = getenv(MSG_ORIG(MSG_ENV_AUD_FLAGS))) == NULL) { in la_version()
92 dlflag |= atoi(str); in la_version()
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dpkcs11_uri.c63 read_id(char *str, unsigned char *output, int out_len) in read_id() argument
68 len = strlen(str); in read_id()
77 if (sscanf(str + i, "%1x", &x1) != 1) in read_id()
81 if (sscanf(str + i, "%1x", &x2) == 1) { in read_id()
93 if (str[i] != ':') in read_id()
126 pkcs11_parse_uri(const char *str, pkcs11_uri_t *uri) in pkcs11_parse_uri() argument
136 if (strncmp(str, PK11_URI_PREFIX, strlen(PK11_URI_PREFIX)) != 0) in pkcs11_parse_uri()
139 if ((str2 = strdup(str + strlen(PK11_URI_PREFIX))) == NULL) in pkcs11_parse_uri()
/illumos-gate/usr/src/cmd/captoinfo/
H A Dotermcap.c387 tdecode(char *str, char **area) in tdecode() argument
395 while ((c = *str++) != '\0' && c != ':') { in tdecode()
399 c = *str++ & 037; in tdecode()
404 c = *str++; in tdecode()
416 c <<= 3, c |= *str++ - '0'; in tdecode()
417 while (--i && isdigit(*str)) in tdecode()
425 str = *area; in tdecode()
427 return (str); in tdecode()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_inherit_003_pos.ksh100 typeset str=$3
110 if [[ ${str:1:1} != "n" ]]; then
117 if [[ (${obj:0:1} == "f" && ${str:1:1} != "n") ||
120 if [[ ${str:1:1} != "n" ]]; then
174 if [[ ${str:1:1} == "n" ]]; then
215 "$inherit ($str)"
235 for str in "${strategy_flag[@]}"; do
270 verify_inherit $inherit $obj $str
H A Dzfs_acl_chmod_inherit_001_pos.ksh108 typeset str=$2
114 if [[ $str != *"inherit_only"* ]]; then
121 if [[ $str != *"no_propagate"* ]]; then
129 if [[ $str != *"no_propagate"* ]]; then
149 for str in "${strategy_flag[@]}"; do
170 verify_inherit $obj $str
/illumos-gate/usr/src/cmd/bnu/
H A Danlwrk.c81 static char str[MAXRQST]; /* the string which wvec points to */ in anlwrk() local
123 if (fgets(str, MAXRQST, fp) == NULL) in anlwrk()
130 if (fgets(str, MAXRQST, fp) == NULL) { in anlwrk()
139 nargs = getargs(str, wvec, wcount); in anlwrk()
142 if ((str[0] != 'R' && str[0] != 'S') /* legal wrktypes are R and S */ in anlwrk()
143 || (str[0] == 'R' && nargs < 6) /* R lines need >= 6 entries */ in anlwrk()
144 || (str[0] == 'S' && nargs < 7)) { /* S lines need >= 7 entries */ in anlwrk()
/illumos-gate/usr/src/cmd/ctrun/
H A Dctrun.c132 if (strncmp(str, options->opt_name, len) == 0) in str2bit()
149 const char *ptr, *next = str; in opt2bits()
154 while (*str) { in opt2bits()
157 ptr = strpbrk(str, ", "); in opt2bits()
159 len = ptr - str; in opt2bits()
162 len = strlen(str); in opt2bits()
163 next = str + len; in opt2bits()
169 bit = str2bit(options, match, str, len); in opt2bits()
176 len, str); in opt2bits()
185 "specified twice\n"), len, str); in opt2bits()
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioFile.cc215 char *str; in OpenPath() local
250 if (str == NULL) in OpenPath()
251 str = (char *)path; in OpenPath()
253 if (str != NULL) { in OpenPath()
256 (void) strcpy(wrk, str); in OpenPath()
257 str = wrk; in OpenPath()
260 for (prefix = str; in OpenPath()
262 prefix = str) { in OpenPath()
263 str = strchr(str, ':'); in OpenPath()
264 if (str != NULL) in OpenPath()
[all …]
/illumos-gate/usr/src/cmd/valtools/
H A Dckrange.c100 char *str; in prog_name() local
103 str = arg0 + strlen(arg0); in prog_name()
104 while (str > arg0 && *--str == '/') in prog_name()
105 *str = '\0'; in prog_name()
106 if ((str = strrchr(arg0, '/')) != NULL) in prog_name()
107 return (str + 1); in prog_name()
/illumos-gate/usr/src/uts/common/krtld/
H A Dbootrd_cpio.c100 for (v = 0; len > 0; len--, str++) { in __get_uint64()
101 const uint8_t c = *str; in __get_uint64()
113 get_uint64(const uint8_t *str, size_t len, uint64_t *out) in get_uint64() argument
115 *out = __get_uint64(str, len, NBBY * sizeof (*out)); in get_uint64()
120 get_int64(const uint8_t *str, size_t len, int64_t *out) in get_int64() argument
124 tmp = __get_uint64(str, len, NBBY * sizeof (*out) - 1); in get_int64()
132 get_uint32(const uint8_t *str, size_t len, uint32_t *out) in get_uint32() argument
136 tmp = __get_uint64(str, len, NBBY * sizeof (*out)); in get_uint32()
144 get_int32(const uint8_t *str, size_t len, int32_t *out) in get_int32() argument
148 tmp = __get_uint64(str, len, NBBY * sizeof (*out) - 1); in get_int32()
[all …]
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c169 find_bootprop(const char *str, const char *bprop) in find_bootprop() argument
174 assert(str); in find_bootprop()
178 s = str; in find_bootprop()
180 while ((str = strstr(s, " -B")) != NULL || in find_bootprop()
181 (str = strstr(s, "\t-B")) != NULL) { in find_bootprop()
182 s = str + 3; in find_bootprop()
243 if ((bfs = find_bootprop(str, BPROP_ZFSBOOTFS)) == NULL || in update_bootpath()
244 find_bootprop(str, BPROP_BOOTPATH) != NULL) in update_bootpath()
247 n = bfs - str; in update_bootpath()
250 bcopy(str, buf, n); in update_bootpath()
[all …]
/illumos-gate/usr/src/ucbhead/
H A Dcurses.h108 #define addstr(str) VOID(waddstr(stdscr, str)) argument
109 #define getstr(str) VOID(wgetstr(stdscr, str)) argument
130 #define mvwaddstr(win, y, x, str) VOID(wmove(win, y, x) == ERR? \ argument
131 ERR:waddstr(win, str))
132 #define mvwgetstr(win, y, x, str) VOID(wmove(win, y, x) == ERR? \ argument
133 ERR:wgetstr(win, str))
141 #define mvaddstr(y, x, str) mvwaddstr(stdscr, y, x, str) argument
142 #define mvgetstr(y, x, str) mvwgetstr(stdscr, y, x, str) argument
/illumos-gate/usr/src/cmd/truss/
H A Dprint.c408 char str[32]; in prt_pfd() local
414 (void) snprintf(str, sizeof (str), "[%d,%d]", fds[0], fds[1]); in prt_pfd()
711 *str = '\0'; in mmap_protect()
1613 char str[1024]; in prt_psflags() local
1620 *str = '\0'; in prt_psflags()
1622 (void) strlcat(str, "|PROC_SEC_ASLR", sizeof (str)); in prt_psflags()
2392 *str = '\0'; in access_flags()
2754 *str = '\0'; in door_flags()
2920 char *str; in prt_fxf() local
2928 *str = '\0'; in prt_fxf()
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_names.c416 proc_str2flt(const char *str, int *fltnum) in proc_str2flt() argument
421 i = strtol(str, &next, 0); in proc_str2flt()
430 if (s && (strcasecmp(s, str) == 0 || in proc_str2flt()
431 strcasecmp(s + 3, str) == 0)) { in proc_str2flt()
446 proc_str2sig(const char *str, int *signum) in proc_str2sig() argument
448 if (strncasecmp(str, "SIG", 3) == 0) in proc_str2sig()
449 str += 3; /* skip prefix */ in proc_str2sig()
451 return (str2sig(str, signum)); in proc_str2sig()
459 proc_str2sys(const char *str, int *sysnum) in proc_str2sys() argument
464 i = strtol(str, &next, 0); in proc_str2sys()
[all …]
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Dlex.l66 {symbol} {yylval.str = strdup(yytext); return (SYMBOL);}
68 yylval.str = strdup(yytext + 1);
72 yylval.str = strdup(yytext + 1);
73 if (yylval.str[yyleng - 2] == '"')
74 yylval.str[yyleng - 2] = '\0';
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dgetline.c22 getaline(char *str, size_t size, FILE *file, int *linenum) in getaline() argument
28 for (p = str, s = size; ; p += (len - 1), s -= (len - 1)) { in getaline()
51 } while (*str == '\0'); in getaline()
52 return (str); in getaline()
/illumos-gate/usr/src/cmd/backup/dump/
H A Dpartial.c85 char *str; in devfromopts() local
87 str = hasmntopt(mnt, MNTINFO_DEV); in devfromopts()
88 if (str != NULL && (str = strchr(str, '='))) in devfromopts()
89 return ((dev_t)strtol(str + 1, (char **)NULL, 16)); in devfromopts()
/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Ddst_internal.h66 #define EREPORT(str) printf str argument
68 #define EREPORT(str) (void)0 argument
92 int (*from_dns_key)(DST_KEY *key, const u_int8_t *str,
120 int dst_s_calculate_bits( const u_int8_t *str, const int max_bits);
121 int dst_s_verify_str( const char **buf, const char *str);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_mount.c288 char *str; local
292 str = "OK";
293 else if ((str = strerror(status)) == (char *)NULL)
294 str = "";
295 (void) strcpy(line, str);
305 char *str; in detail_mountstat() local
309 str = "OK"; in detail_mountstat()
310 else if ((str = strerror(status)) == (char *)NULL) in detail_mountstat()
311 str = ""; in detail_mountstat()
313 (void) sprintf(get_line(0, 0), "Status = %d (%s)", status, str); in detail_mountstat()
/illumos-gate/usr/src/lib/libdemangle/common/
H A Drust-v0.c205 str = "u8"; in rustv0_parse_uint_type()
208 str = "u16"; in rustv0_parse_uint_type()
211 str = "u32"; in rustv0_parse_uint_type()
214 str = "u64"; in rustv0_parse_uint_type()
248 str = "i8"; in rustv0_parse_basic_type()
257 str = "f64"; in rustv0_parse_basic_type()
260 str = "str"; in rustv0_parse_basic_type()
263 str = "f32"; in rustv0_parse_basic_type()
275 str = "_"; in rustv0_parse_basic_type()
281 str = "()"; in rustv0_parse_basic_type()
[all …]

1...<<11121314151617181920>>...67