Searched defs:str (Results 1 - 25 of 1209) sorted by last modified time

1234567891011>>

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c2106 prval(char *str, Counter val) argument
2108 (void) printf("\t%-20s=%6u", str, val);
2114 prval64(char *str, Counter64 val) argument
2116 (void) printf("\t%-20s=%6llu", str, val);
2122 pr_int_val(char *str, int val) argument
2124 (void) printf("\t%-20s=%6d", str, val);
2130 pr_sctp_rtoalgo(char *str, int val) argument
2132 (void) printf("\t%-20s=", str);
4097 char *str = flbuf; local
4100 *str
[all...]
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c370 char *str = buffer; local
374 (void) strcpy(str, "O_RDONLY");
377 (void) strcpy(str, "O_WRONLY");
380 (void) strcpy(str, "O_RDWR");
383 (void) strcpy(str, "O_SEARCH");
386 (void) strcpy(str, "O_EXEC");
389 (void) sprintf(str, "0x%x", flags & O_ACCMODE);
394 (void) strcat(str, "|O_NDELAY");
396 (void) strcat(str, "|O_NONBLOCK");
398 (void) strcat(str, "|O_APPEN
454 show_sockaddr(const char *str, const struct sockaddr *sa, socklen_t len) argument
521 show_ucred(const char *str, ucred_t *cred) argument
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c706 const char *str; local
710 str = "cannot fork";
713 str = "file is set-id or unreadable";
716 str = "cannot execute file";
719 str = "operation interrupted";
722 str = "program is _LP64, self is not";
725 str = "unanticipated system error";
728 str = "cannot find executable file";
731 str = "unknown error";
735 return (str);
1112 const char *str; local
3284 const char *str; local
[all...]
H A DPgcore.c1005 const char *str = shstrtab_data[i]; local
1006 size_t len = strlen(str) + 1;
1007 if (gc_pwrite64(pgc->pgc_fd, str, len, off + ndx) != 0)
1563 proc_str2content(const char *str, core_content_t *cp) argument
1565 const char *cur = str;
1570 for (cur = str; isalpha(*cur); cur++)
1573 if (STREQ(str, "default", cur - str)) {
1575 } else if (STREQ(str, "all", cur - str)) {
[all...]
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprvnops.c5339 char str[64]; local
5376 (void) strcpy(str, "a.out");
5378 pr_object_name(str, vp, &vattr);
5381 str, 0);
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dioctl.c471 char *str; local
473 if (!PyArg_ParseTuple(args, "s", &str))
476 (void) strlcpy(cmdstr, str, sizeof (cmdstr));
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcommon.c881 char *str; local
909 result = _sasl_strdup(value, &str, NULL);
912 str = NULL;
918 conn->external.auth_id = str;
935 result = _sasl_strdup(value, &str, NULL);
944 ((sasl_server_conn_t *)conn)->user_realm = str;
945 ((sasl_server_conn_t *)conn)->sparams->user_realm = str;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfakebop.c1474 char str[3]; local
1764 str[0] = (boot_device >> 4) + '0';
1765 str[1] = (boot_device & 0xf) + '0';
1766 str[2] = 0;
1767 bsetprops("bios-boot-device", str);
1802 str[0] = (boot_device >> 4) + '0';
1803 str[1] = (boot_device & 0xf) + '0';
1804 str[2] = 0;
1805 bsetprops("bios-boot-device", str);
2953 char str[BP_MAX_STRLE local
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c2335 #define CTD_CHECK(str) (str && str[0] == 'c' && isdigit(str[1]))
2342 ctd_check_path(char *str) argument
2347 if (str && str[0] == '/') {
2348 char *tmp = strrchr(str, '/');
2354 if (tmp != str && strcmp(tmp, "/old") == 0) {
2358 str
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c1582 zfs_strtonum(const char *str, char **nptr) argument
1588 while ((c = *str) != '\0') {
1599 str++;
1603 *nptr = (char *)str;
/illumos-gate/usr/src/test/util-tests/tests/libcustr/
H A Dcustr_remove.c24 expect(const char *var, custr_t *cu, const char *str, const char *file, argument
27 if (strcmp(custr_cstr(cu), str) == 0)
33 var, str, custr_cstr(cu), str);
H A Dcustr_trunc.c25 expect(const char *var, custr_t *cu, const char *str, const char *file, argument
28 if (strcmp(custr_cstr(cu), str) == 0)
34 var, str, custr_cstr(cu), str);
/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios.c108 smbios_test_table_append_string(smbios_test_table_t *table, const char *str) argument
110 size_t len = strlen(str) + 1;
111 (void) smbios_test_table_append_common(table, str, len);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_options.c64 char str[DTRACE_ATTR2STR_MAX]; local
71 dtrace_attr2str(attr, str, sizeof (str)));
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_mod.c916 topo_mod_clean_str(topo_mod_t *mod, const char *str) argument
918 if (str == NULL)
921 return (topo_cleanup_auth_str(mod->tm_hdl, str));
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_debug.c685 char *cont, *name, *str; local
690 str = get_container_name(container, x);
693 sm_msg("container: '%s' vs '%s' --> '%s'", cont, name, str);
H A Dcheck_debug.h59 static inline long long __smatch_type_rl_helper(long long type, const char *str, ...) argument
H A Dsmatch.c158 char *str; local
162 str = malloc(strlen(option) + 3);
163 snprintf(str, strlen(option) + 3, "--%s", option);
164 tmp = str;
170 if (!strcmp(arg, str))
172 free(str);
H A Dsmatch_db.c79 char *escape_newlines(const char *str) argument
85 for (i = 0, j = 0; str[i] != '\0' && j != sizeof(buf); i++, j++) {
86 if (str[i] != '\r' && str[i] != '\n') {
87 buf[j] = str[i];
99 return alloc_sname(str);
338 sm_msg("SQL: insert or ignore into constraints (str) values('%s');", escape_newlines(con));
2411 static char *get_next_string(char **str) argument
2415 char *p = *str;
2437 **str
[all...]
H A Dsmatch_expressions.c148 struct expression *string_expression(char *str) argument
154 len = strlen(str) + 1;
158 memcpy(string->data, str, len);
H A Dsmatch_function_hooks.c382 char *str; local
428 str = expr_to_chunk_sym_vsl(arg, NULL, NULL);
429 if (!str)
431 free_string(str);
495 char *str; local
500 str = strstr(ret_string, "==$");
501 if (!str)
503 str += 3;
504 param = strtoll(str, NULL, 10);
1031 * len = strlen(str);
[all...]
H A Dsmatch_helper.c31 char *alloc_string(const char *str) argument
35 if (!str)
37 tmp = malloc(strlen(str) + 1);
38 strcpy(tmp, str);
42 char *alloc_string_newline(const char *str) argument
47 if (!str)
49 len = strlen(str);
51 snprintf(tmp, len + 2, "%s\n", str);
55 void free_string(char *str) argument
57 free(str);
60 remove_parens(char *str) argument
371 char str[VAR_LEN]; member in struct:expr_str_cache_results
[all...]
H A Dsmatch_ranges.c209 static int str_to_comparison_arg_helper(const char *str, argument
214 const char *c = str;
288 int str_to_comparison_arg(const char *str, struct expression *call, int *comparison, struct expression **arg) argument
291 if (!*str)
293 if (*str == '[')
295 str++;
297 return str_to_comparison_arg_helper(str, call, comparison, arg, NULL);
533 static void str_to_rl_helper(struct expression *call, struct symbol *type, const char *str, const char **endp, struct range_list **rl) argument
542 c = str;
577 sm_debug("XXX: trouble parsing %s c = %s", str,
[all...]
/illumos-gate/usr/src/cmd/sort/common/
H A Dinitialize.c205 stream_t *str; local
208 str = stream_new(STREAM_SINGLE | STREAM_NOTFILE);
209 str->s_element_size = sizeof (char);
211 str = stream_new(STREAM_WIDE | STREAM_NOTFILE);
212 str->s_element_size = sizeof (wchar_t);
214 str->s_filename = (char *)filename_stdin;
215 stream_push_to_chain(&S->m_input_streams, str);
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c62 char *str; member in struct:slist
69 for (; slist->str != NULL; slist++) {
71 return (slist->str);

Completed in 346 milliseconds

1234567891011>>