Searched defs:string (Results 351 - 374 of 374) sorted by relevance

<<1112131415

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c460 "'%s' must be a string"), propname);
1888 * This provides a very minimal check whether a given string is likely a
1889 * c#t#d# style string. Users of this are expected to do their own
1909 * component of the string instead.
1969 * but included in the string, so this matches around it.
1972 * Otherwise, all other searches are simple string compares.
3251 * Convert from a devid string to a path.
3284 * Convert from a path to a devid string.
3582 zfs_save_arguments(int argc, char **argv, char *string, int len) argument
3584 (void) strlcpy(string, basenam
[all...]
/illumos-gate/usr/src/cmd/zonestat/zonestat/
H A Dzonestat.c1914 char string[ZS_TIME_STRLEN]; local
1926 format_ts(&ts, string, sizeof (string), B_TRUE);
1928 string);
1955 format_ts(&ts, string, sizeof (string), B_TRUE);
1957 g_count, string);
2106 char *next, *string; local
2108 string = strdup(names);
2109 if (string
2155 zonestat_parse_time(char *string, boolean_t *formatted) argument
[all...]
/illumos-gate/usr/src/cmd/init/
H A Dinit.c124 #include <string.h>
154 * MAXCMDL The maximum length of a command string in inittab.
159 * EXEC The length of the prefix string added to all comamnds
1509 * the shell command string. When the end of inittab is reached, FALSE
1688 * Null terminate the string in shcmd buffer and
1794 * there is a null string in the command field.
2723 * Perform special accounting. Insert the special string into the
2816 prog_name(char *string) argument
2824 while (*string == ' ' || *string
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c579 * string = property string pointer.
585 ql_get_prop(qlge_t *qlge, char *string) argument
591 (void) sprintf(buf, "hba%d-%s", qlge->instance, string);
599 string, (int)0xffffffff);
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfctl.c2065 * WWN to string goodie. Unpredictable results will happen
4622 char string[(FCTL_WWN_SIZE(port_wwn) << 1) + 1]; local
4625 fc_wwn_to_str(port_wwn, string);
4633 " OLD D_ID = %x", port->fp_instance, string,
6058 * We would have added the a string with "=>" above and so,
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c1812 /* Copy the WWPN as a string into the local buffer */
1847 /* Copy the WWPN as a string into the local buffer */
1877 /* Copy the serial number string (right most 16 chars) */
4530 (void) strncpy(parm->label, cfg->string,
4587 if (len == strlen(cfg->string) &&
4589 cfg->string) == 0)) {
4591 cfg->string,
4649 /* Find matching parameter string */
4650 if (len == strlen(cfg->string) &&
4652 cfg->string)
6688 char string[256]; local
7632 char string[256]; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs4.c32 #include <string.h>
827 * at the end of the string.
941 * at the end of the string.
1141 * component_name: return a printable string for the given component4. I'm
1164 * stable_how4_name: return a string for "how".
1191 * sum_open_share_access: return a string corresponding to the
1222 * sum_open_share_deny: return a string corresponding to the
1339 * sum_createhow4: return the string name of "how".
2184 * number of bytes in the bitmap. "prefix" is an initial string that is
2252 * include a "..." at the end of the string
4731 static utf8string string; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c46 * p="string" set prompt to string
59 #include <string.h>
452 "No prompt string\n");
1016 case '"': /* character string */
1732 printf("string too long\n");
1867 printf("\t\tp=\"string\" set prompt to string\n");
1965 * match - return false if the input does not match string up to
1969 match(char *string, in argument
2989 char *string = &scratch[0]; local
4497 char *string = &scratch[0]; local
[all...]
/illumos-gate/usr/src/cmd/make/include/mksh/
H A Ddefs.h31 #include <string.h> /* strcmp() */
201 * The String struct defines a string with the following layout
234 struct _String string; member in class:Wstring
245 return wcslen(string.buffer.start);
250 return string.buffer.start;
254 return string.buffer.start + off;
403 * is translated into a string iff it is referenced.
423 char *string_mb; /* Multi-byte name string */
717 source->string.text.p = source_p; \
720 source_p = source->string
737 struct _String string; member in struct:_Source
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.c286 // Note: don't include any spaces in the format string below. This
764 // The C string contains the label as-is, with no escaping, etc.
786 // The C string is in conventional DNS syntax:
866 // MakeDomainLabelFromLiteralString makes a single domain label from a single literal C string (with no escaping).
868 // If unable to convert the whole string to a legal domain label (i.e. because length is more than 63 bytes) then
869 // MakeDomainLabelFromLiteralString makes a legal domain label from the first 63 bytes of the string and returns mDNSfalse.
881 // MakeDomainNameFromDNSNameString makes a native DNS-format domainname from a C string.
882 // The C string is in conventional DNS syntax:
891 return(AppendDNSNameString(name, cstr)); // And then add this string to it
917 *ptr = 0; // Null-terminate the string
1228 TruncateUTF8ToLength(mDNSu8 *string, mDNSu32 length, mDNSu32 max) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c198 string(Cache *refsec, Word ndx, Cache *strsec, const char *file, Word name) function
201 * If an error in this routine is due to a property of the string
220 * We only print a diagnostic regarding a bad string table once per
229 /* Verify that strsec really is a string table */
240 * Is the string table offset within range of the available strings?
244 * Do we have a empty string table?
259 * Return the empty string so that the calling function can
285 name = string(csec, symndx, strsec, file, sym->st_name);
289 * string. Note, although section symbol table entries typically have
290 * a NULL name pointer, entries do exist that point into the string
[all...]
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c112 * Each SHELP_ should be a simple string.
838 * Each string below should have \t follow \n whenever needed; the
939 * Parameters: path string, file name, output string.
966 *s = '\0'; /* Terminate the output string */
1113 "details of the <interface> string.\n"));
1147 pt_to_str(PT_NAME), gettext("<string>"));
1179 (void) fprintf(fp, "\t%s %s=string\n",
1182 pt_to_str(PT_VALUE), gettext("<string>"));
1418 * zone_perror() expects a single string, bu
7198 string_to_yyin(char *string) argument
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c45 #include <string.h>
64 * Handle the different sources of terminal control string and size
398 char *prompt; /* The current prompt string */
399 int prompt_len; /* The length of the prompt string */
401 int prompt_style; /* How the prompt string is displayed */
456 const char *left; /* The string that moves the cursor 1 character */
458 const char *right; /* The string that moves the cursor 1 character */
460 const char *up; /* The string that moves the cursor 1 character */
462 const char *down; /* The string that moves the cursor 1 character */
464 const char *home; /* The string tha
3834 gl_displayed_string_width(GetLine *gl, const char *string, int nc, int term_curpos) argument
3873 gl_print_raw_string(GetLine *gl, int buffered, const char *string, int n) argument
3917 gl_print_control_sequence(GetLine *gl, int nline, const char *string) argument
4075 char string[TAB_WIDTH + 4]; /* A work area for composing compound strings */ local
4160 gl_print_string(GetLine *gl, const char *string, char pad) argument
8478 gl_record_string(char **sptr, const char *string) argument
11303 gl_display_text(GetLine *gl, int indentation, const char *prefix, const char *suffix, int fill_char, int def_width, int start, const char *string) argument
[all...]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c1679 const char *string; local
1762 pool_value_get_string(vals[0], &string) != PO_SUCCESS)
1765 (void) strlcpy(psetname, string, namelen);
1838 pool_value_get_string(vals[0], &string) != PO_SUCCESS)
1841 if (strcmp(string, "on-line") != 0 &&
1842 strcmp(string, "no-intr") != 0)
2051 const char *string; local
2088 pool_value_get_string(vals[0], &string) != PO_SUCCESS)
2090 (void) strlcpy(poolname, (char *)string, sizeof (poolname));
2116 pool_value_get_string(vals[0], &string) !
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c33 #include <string.h>
72 /* Max length of tunnel interface string identifier */
133 * string ("", stored in the char value "all_polheads") for all policy heads
312 const char *string; member in struct:str_val
317 const char *string; member in struct:str_tval
1665 for (j = 0; pattern_table[j].string != NULL; j++) {
1667 (void) printf("%s ", pattern_table[j].string);
2475 * a INDEX string and thus confusing ipsec_conf_view.
2903 for (i = 0; table[i].string; i++) {
2904 if (strcmp(str, table[i].string)
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c219 #include <string.h>
541 char *string; variable
662 string = optarg;
663 if (strcmp(string, "ufs") != 0)
675 string = optarg;
676 while (*string != '\0') {
711 opt = checkopt(string);
713 mtb = checkmtb(string);
732 } else if (*string == '\0') {
736 "illegal option: %s\n"), string);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c238 static int in_string_table(char *stable[], int size, char *string);
258 * Macros to produce a quoted string containing the value of a
277 {"string", IPQOS_DATA_TYPE_STRING},
323 * o MT_ENOSTR (error message with system error string appended)
352 /* fill in format string */
385 * prefix message with appropriate severity string
407 * for errno message type suffix message with errno string
1857 /* action name / string */
3127 (void) fprintf(fp, "%s", name_val->sv.string);
3130 (void) fprintf(fp, ", %s", name_val->sv.string);
4093 add_str_val_entry( str_val_nd_t **sv_entrys, char *string, uint32_t val) argument
4157 str_val_list_lookup( str_val_nd_t *svs, char *string, uint32_t *val) argument
9161 in_string_table(char *stable[], int size, char *string) argument
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Droff.c27 #include <string.h>
36 /* Maximum number of string expansions per line, to break infinite loops. */
289 * An incredibly-simple string buffer.
768 * the nil-terminated string name could be found.
1060 n->string = roff_strdup(man->roff, word);
1077 mandoc_asprintf(&newstr, "%s %s", n->string, addstr);
1079 free(n->string);
1080 n->string = newstr;
1202 free(n->string);
1230 cp = n->string;
2258 char *string; local
3208 roff_setstr(struct roff *r, const char *name, const char *string, int append) argument
3217 roff_setstrn(struct roffkv **r, const char *name, size_t namesz, const char *string, size_t stringsz, int append) argument
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c574 static void fcp_ascii_to_wwn(caddr_t string, uchar_t bytes[], unsigned int);
575 static void fcp_wwn_to_ascii(uchar_t bytes[], char *string);
15187 fcp_ascii_to_wwn(caddr_t string, uchar_t bytes[], unsigned int byte_len) argument
15193 while (*string) {
15194 byte = FCP_ATOB(*string); string++;
15195 byte = byte << 4 | FCP_ATOB(*string); string++;
15205 fcp_wwn_to_ascii(uchar_t wwn[], char *string) argument
15210 (void) sprintf(string
[all...]
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c42 #include <string.h>
124 * we store filesize in an 8-char hexadecimal string and use
207 static char *skipslashes(char *string, char *start);
430 *Efil_p, /* -E pattern file string */
434 *Hdr_p, /* -H header type string */
435 *IOfil_p, /* -I/-O input/output archive string */
440 *Own_p, /* New owner login id string */
1624 /* make name null string */
1643 /* make name null string */
2640 /* The string shoul
9044 skipslashes(char *string, char *start) argument
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c595 * is a string consisting of concatenated vid (vendor), pid (product/model)
597 * the parts of the string are as defined by the sizes in the scsi_inquiry
598 * structure. Device type is searched as far as the device_id string is
603 * These do not have a specific vendor, and the string which follows
609 * sd_disk_table entry of " NEC CDROM " to match a device's id string
1236 static char *sd_strtok_r(char *string, const char *sepset, char **lasts);
2566 * fmt - error string and format to be logged
2615 * fmt - info string and format to be logged
2665 * fmt - trace string and format to be logged
3814 * The <vid+pid> is the string tha
4015 sd_strtok_r(char *string, const char *sepset, char **lasts) argument
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c6900 char string[80], curr[80], prev[80]; local
6927 string[0] = 0;
6932 (void) sprintf(string, " added");
6954 (void) sprintf(string, " not responding, "
6981 (void) sprintf(string, " not responding, "
6992 enc_handle, expd_handle, string));
7013 string[0] = 0;
7316 (void) sprintf(&string[strlen(string)], "link "
7322 (void) sprintf(&string[strle
7612 char string[80]; local
7669 char string[80]; local
[all...]
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c55 #include <string.h>
539 static char *skipslashes(char *string, char *start);
770 * Search the operand string looking for the first digit or an 'f'.
1312 * tmpdir string, plus 6 times the size of the tname
1313 * string, plus a value that is known to be greater
1314 * than the command pipeline string.
4207 * directory. So instead, just do simple string
4775 * modify the path string passed to it.
5601 * Compute a hash from a string.
6006 /* strtok(3C) modifies the string, s
8339 skipslashes(char *string, char *start) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_api.h2069 char *string; member in struct:cmd_table_entry

Completed in 506 milliseconds

<<1112131415