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

<<1112131415

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c73 * Macros to produce a quoted string containing the value of a
444 char *prop_name, *string; local
459 string = NULL;
487 if ((string = strdup(tokbuf)) == NULL)
498 confent->parent = string;
506 confent->name = string;
514 confent->class = string;
522 confent->unit_address = string;
530 if (strcmp(string, "yes") == 0)
532 else if (strcmp(string, "n
[all...]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dlabeld.h96 /* DIA label to string */
100 /* DIA string to label */
106 typedef uint_t bufp_t; /* offset into buf[] in/out string buffer */
194 char string[BUFSIZE]; member in struct:__anon4156
204 char string[BUFSIZE]; member in struct:__anon4158
226 bufp_t string; member in struct:__anon4161
314 char string[BUFSIZE]; member in struct:__anon4175
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c38 #include <string.h>
1019 * We need to know how much space to allocate for our string, so
1214 * bu2string: Maps a print basic unit type to a string.
1215 * returns : The string mapping or "unknown basic unit type".
1225 char *string; member in struct:bu_map_ent
1243 return (gettext(bu_map[i].string));
1251 * eventmodifier2string: Maps event modifier flags to a readable string.
1252 * returns: The string mapping or "none".
1262 char *string; member in struct:em_map_ent
1290 (void) strlcat(modstring, em_map[i].string, modle
[all...]
/illumos-gate/usr/src/cmd/raidctl/
H A Draidctl.c38 #include <string.h>
198 static int size_to_string(uint64_t size, char *string, int len);
756 * We need check if the raid_level string is fully numeric. If user
757 * input string with unsupported letters, such as "s10", atoi() will
758 * return zero because it is an illegal string, but it doesn't mean
2351 * This function parses the string of disk argument, and gets the disks tag
2352 * and separators from the string. Then it translates the tag to handle, and
2453 * This function parses string of single disk with "ctd" format, for example,
2510 * This function translates controller string to tag. The return value is
2511 * SUCCESS if the string ha
2931 size_to_string(uint64_t size, char *string, int len) argument
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dsvm_rcm.c30 #include <string.h>
82 * Macros to produce a quoted string containing the value of a preprocessor
193 char *add_to_usage(char ** usagep, char *string);
194 char *add_to_usage_fmt(char **usagep, char *fmt, char *string);
278 * Return a string describing this module.
402 * rcm_info_t **infop ptr to info string
539 * rcm_info_t **infop ptr to info string
604 * rcm_info_t **infop ptr to info string
606 * char **infop pass back info string
642 *usagep = NULL; /* Initialise usage string */
2483 add_to_usage(char ** usagep, char *string) argument
2522 add_to_usage_fmt(char **usagep, char *fmt, char *string) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dtelnet.c248 char *string; local
266 string = va_arg(ap, char *);
268 ring_supply_data(ring, string, strlen(string));
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.h96 /* length of string buffer used for storing an integer as a string */
105 /* max length of value string in types file */
118 /* must be a numeric literal for use in scanf() format string */
200 char *string; member in struct:str_val
/illumos-gate/usr/src/cmd/more/
H A Dmore.c106 #include <string.h>
657 ** string "string"
661 tailequ(char *path, char *string) argument
663 return (!strcmp(basename(path), string));
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsyms.c37 #include <string.h>
77 string(Ofl_desc *ofl, Ifl_desc *ifl, Sym *sym, const char *strs, size_t strsize, function
132 * If the symbol has a non-null name, then the string returned by
134 * single quotes. For null names, a descriptive string giving
138 * string. The value returned is usable by the caller until the next
227 * Get the string table associated with the symbol table.
1565 * Update the symbol count and the associated name string size.
1992 * There is no string table section in this input file
2064 if ((name = string(ofl, ifl, sym, strs, strsize, ndx,
2234 * that only the symbol type and the string
[all...]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk3.c112 * Assign a string directly to a NODE without creating an intermediate
118 strassign(NODE *np, STRING string, int flags, size_t length) argument
125 (void) nassign(np, stringnode(string, flags, length));
134 (void) memcpy((void *)np->n_string, string, length);
136 np->n_string = string;
324 * Make a node for a string.
353 * Save a copy of a string.
870 * Return a string from an expression tree.
907 * Convert number to string.
944 * routine, which allocates a large enough string whe
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dcu.c239 * rddev() will compare the string to the D_TYPE
285 char *string; local
307 if ((string = strrchr(argv[0], '/')) != NULL)
308 string++;
310 string = argv[0];
311 if (strlcpy(Progname, string, NAMESIZE) >= NAMESIZE) {
429 string=s;
431 string = strdup(argv[optind++]);
432 Cucall.telno = string;
433 if ( strlen(string) !
[all...]
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Didmap.c66 #define IS_NAME 0x100 /* mask for string name types */
167 * commands. MAPPING_NAME prefers the string names of the user over
676 /* Convert numeric expression of the direction to it's string form */
703 * type string in front of them. On the other hand, '*' and ':' are
736 * Quote any shell meta-characters in the given string. If 'quote' is
737 * true then use double-quotes to quote the whole string, else use
740 * The resulting string is placed in *res. Callers must free *res if the
741 * return value isn't 0 (even if the given string had no meta-chars).
745 shell_app(char **res, char *string, int quote) argument
751 size_t len_orig = strlen(string);
1615 pid_convert(char *string, uid_t *number, int type, cmd_pos_t *pos) argument
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dcommon.c92 char *string, int value1, void *value2 );
1838 * (the whole string) and divide it into oid, criticality
2115 * malloc'd string.
2388 ldaptool_fortezza_alert( void *arg, PRBool onOpen, char *string, argument
2392 fprintf( stderr, string, value1, value2 );
2408 * into a human-readable string.
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c500 * Determine if the given string is an IP address (IPv4 or IPv6).
2283 " hostname %s to string, "
2292 " hostname %s to string, "
2366 "corresponding auth type string\n"));
3616 * Count number of tokens in string which has tokens separated by colons.
3625 count_tokens(char *string, char delim) argument
3628 char *s = string;
3630 if (string == NULL || *string == '\0')
/illumos-gate/usr/src/ucbcmd/tset/
H A Dtset.c235 * 7/80 -- '-S' added. '-m' mapping added. TERMCAP string
355 char *string; member in struct:__anon4485
402 int NoInit; /* don't output initialization string */
891 for (i = 0; speeds[i].string; i++)
948 /* output startup string */
1378 * routine to output the string for the environment TERMCAP variable
1517 for (i = 0; speeds[i].string; i++)
1518 if (sequal(speeds[i].string, buf))
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_dbg.c207 * Prints string plus buffer.
210 ql_dump_buf(char *string, uint8_t *buffer, uint8_t wd_size, argument
215 if (strcmp(string, "") != 0)
216 ql_printf(string);
774 * Print a formated string
788 * Read all control registers value and save in a string
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A DiscsiAuthClient.c28 * makes use of only limited library functions, presently only string.h.
430 return (TRUE); /* error, odd string length */
649 char *string; local
675 string = &keyBlock->stringBlock[keyBlock->blockLength];
677 if (iscsiAuthClientStringCopy(string, keyValue, length)) {
683 keyBlock->key[keyType].string = string;
697 return (keyBlock->key[keyType].string);
H A DiscsiAuthClient.h211 char *string; member in struct:iscsiAuthKey_t
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c1042 /* clean string of non-printing chars */
1347 * Lookup the 'prop_name' string array property and walk thru its list of
1348 * tuple values looking for a tuple who's VID/PID string (first part of tuple)
1353 * kmem_free(string, strlen(string) + 1);
1367 char *trs; /* tuple return string */
1389 /* split into vid/pid and return-string */
1399 /* match, dup return-string */
1417 * paired strings ("vendor_info", "options_property_name") from the string
1430 char *string; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Discsi_authclient.h212 char *string; member in struct:iscsiAuthKey_t
H A Dlom_io.h550 * The driver will return the whole event string, but include the code
559 char string[MAX_EVENTS][MAX_EVENT_STR]; member in struct:__anon8090
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_names.c1589 * the string 'setname/' in front of the
1636 md_make_devname(struct nm_name *n, set_t setno, char *string, size_t max_size) argument
1654 (void) strcpy(strcpy(string, dir_name) + dir_len, n->n_name);
3508 ddi_devid_t did, /* pointer to did string */
3509 ushort_t *did_size /* pointer to size of did string */
3690 * returns a key (used to get the string back).
3725 * database, to the string which it represents.
3730 char *string; local
3746 string = (char *)getshared_name(setno, shrkey, 0L);
3749 return (string);
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fct.c846 * Convert an ASCII decimal numeric string to integer.
850 emlxs_str_atoi(uint8_t *string) argument
855 while (string[i]) {
856 if (!emlxs_is_digit(string[i])) {
860 num = num * 10 + (string[i++] - '0');
/illumos-gate/usr/src/cmd/prctl/
H A Dprctl.c33 #include <string.h>
56 /* Maximum string length for deferred errors */
108 /* -v argument string */
119 /* -v argument string converted to uint64_t */
125 /* -e/-d argument string */
460 /* parse -v value string */
1393 char *string; local
1517 string = "inf";
1519 string = "max";
1522 string
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c35 #include <string.h>
1733 /* first get lib string */
1741 /* now actually get the string */
1747 /* now get key string */
1881 * Print the pri->pname[] string, if any.
2260 * Report psargs string.
2283 char string[41]; local
2285 string[40] = '\0';
2286 if (pri->str_bsize == 0) /* initial allocation of string buffer */
2288 my_malloc(pri->str_bsize = 16, "string buffe
[all...]

Completed in 996 milliseconds

<<1112131415