/illumos-gate/usr/src/uts/intel/io/vgatext/ |
H A D | vgatext.c | 1002 * display a string on the screen at (row, col) 1009 unsigned char *string; local 1035 string = da->data; 1039 addr->ch = string[i];
|
/illumos-gate/usr/src/lib/libshare/nfs/ |
H A D | libshare_nfs.c | 31 #include <string.h> 292 * is the specified mode string a valid one for use with NFS? 427 * concatenate str1 and str2 into a new string using sep as a separate 567 * search option string for any invalid sec= type. 688 * we need to step through each option in the string and then 819 * is the string a number in one of the forms we want to use? 991 /* valid index file string */ 1432 * string. If hier is non-zero, walk up the tree to get inherited 2482 char *string; member in union:proto_option_defs::__anon231 2593 * convert a string t [all...] |
/illumos-gate/usr/src/man/man3head/ |
H A D | Makefile | 84 string.h.3head \ 173 string.3head \ 262 string.3head := LINKSRC = string.h.3head
|
/illumos-gate/usr/src/common/ficl/ |
H A D | primitives.c | 317 * Ficl ( c-string -- length ) 319 * Returns the length of a C-style (zero-terminated) string. 335 * a "format" string. Each character in the format string is copied verbatim 339 * s - read a C-ADDR U-LENGTH string from the stack and copy it to 341 * d - read a ficlCell from the stack, format it as a string (base-10, 350 * If SPRINTF runs out of space in the buffer to store the formatted string, 799 * calculates hashcode of specified string and leaves it on the stack 895 * runtime for a precompiled parse step - pop a counted string off the 1289 * move HERE past string s 1999 ficlString string; local [all...] |
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.c | 52 #include <string.h> 132 * may blindly render the string along the lines of the above examples, 920 restarter_string_to_state(char *string) argument 922 assert(string != NULL); 924 if (strcmp(string, SCF_STATE_STRING_NONE) == 0) 926 else if (strcmp(string, SCF_STATE_STRING_UNINIT) == 0) 928 else if (strcmp(string, SCF_STATE_STRING_MAINT) == 0) 930 else if (strcmp(string, SCF_STATE_STRING_OFFLINE) == 0) 932 else if (strcmp(string, SCF_STATE_STRING_DISABLED) == 0) 934 else if (strcmp(string, SCF_STATE_STRING_ONLIN 944 restarter_state_to_string(restarter_instance_state_t state, char *string, size_t len) argument [all...] |
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 32 #include <string.h> 585 dprintf_find_string(const char *string) argument 588 int len = strlen(string); 591 * Find out if this is a string we want to print. 596 if (strncmp(tmp_str, string, len) == 0 && 1059 * Do not change the length of the returned string; it must be freed
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | scf_tmpl.c | 172 * template describes. The allocated string must be freed with free(). 213 * Given a propertygroup, returns an allocated string containing the 214 * type. The string must be freed with free(). 243 * Given a property, returns the name in an allocated string. The string must 273 * Given a property, returns the type in an allocated string. The string must 375 * returns an allocated string. The string must be freed with free(). 428 * Reads the property type and returns it as an allocated string 3633 _separate_by_separator(char *string, const char *sep, char **array, int size) argument [all...] |
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 80 * The error string *what should be dgettext()'d before calling bail(). 125 * of bytes to be converted is more than 1K, it will produce readable string 127 * Maximum length of the returned string is 14 characters (not including 138 /* Return empty string in case of out-of-memory. */ 162 * Convert 64-bit number to human readable string. Useful mainly for the 164 * Able to convert up to Exabytes. Maximum length of the string produced 199 * string in parentheses, store it in the original buffer and return the 210 /* Return empty string in case of out-of-memory. */ 234 * Convert number of seconds to human readable string. Useful mainly for 367 * key string, readin 915 strtok_d(char *string, const char *sepset, char *delim) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/ |
H A D | psvcobj.c | 38 * routines with the object's string ID specified as an argument. 45 #include <string.h> 438 char string[BUFSZ]; local 443 while ((ret = fscanf(fp, "%s", string)) == 1) { 444 if (strncmp(end, string, strlen(end)) == 0)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 464 char *string; member in struct:toktable 574 for (tp = tokens; tp->string != NULL; tp++) 575 if (strcmp(value, tp->string) == 0) 804 * Parse a hex character for a key. A string will take the form: 807 * xxxxxxxxx == a string of hex characters ([0-9][a-f][A-F]) 809 * is assumed that the hex string will be rounded to the nearest 899 "string '%s' not a hex value.\n"), input); 3297 for (i = 0; tokens[i].string != NULL; i++) { 3300 (void) printf(" %-15.15s", tokens[i].string);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 42 #include <string.h> 152 * retrieve the string representation. 549 * To fill in the rest of a string when user types the tab key. 550 * First digital number is the length of the string, the second digital number 551 * is the min number of chars that is needed to uniquely identify a string. 611 /* Returns "loc", "enm", "wlan" or "ncp" as string */ 619 /* Returns "ncu" as string */ 648 /* Given an enm property and value, returns it as a string */ 659 /* Given an int for a prop, returns it as string */ 667 /* Return B_TRUE if string start 932 string_to_yyin(char *string) argument [all...] |
/illumos-gate/usr/src/cmd/ed/ |
H A D | ed.c | 36 #include <string.h> 59 "search string not found", /* 13 */ 84 "replacement string too long", /* 38 */ 87 "no remembered search string", /* 41 */ 101 "no remembered replacement string", /* 55 */ 113 "Encryption of string failed", /* 63 */ 425 "Usage: ed [- | -s] [-p string] [-x] [-C] [file]\n" 426 " red [- | -s] [-p string] [-x] [-C] [file]\n")); 2012 * If there isn't a remembered string, it is an error; 2644 eopen(char *string, in argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 33 #include <string.h> 955 * Fill in the type string of the FAT 3442 char *string; local 3456 string = optarg; 3457 if (strcmp(string, "pcfs") != 0) 3481 string = optarg; 3482 parse_suboptions(string);
|
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt.h | 472 char *string; member in struct:string_table_entry
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 52 #include <string.h> 3138 * return name string if OK. 3261 * This function passes back string type property. 4199 * Converts a string of WWN ASCII characters to a 4202 * Input: string - pointer to uchar_t array 4213 string_to_wwn(uchar_t *string, uchar_t *wwn) argument 4223 c = ctoi(*string++); 4224 c1 = ctoi(*string++); 4238 * port WWN string. 4616 *char_ptr = '\0'; /* Terminate string */ [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | cpu.c | 2982 * Free any previously allocated string and if the kstat 2993 * Allocate the new string and set the pointer. 3074 * Return processor_info(2) state as a string. 3079 const char *string; local 3083 string = PS_ONLINE; 3086 string = PS_POWEROFF; 3089 string = PS_NOINTR; 3092 string = PS_SPARE; 3095 string = PS_FAULTED; 3098 string [all...] |
H A D | modsysfile.c | 460 * value is an ascii string meaningful for the command. 493 static char bad_op[] = "illegal operator '%s' used on a string"; 622 /* string variable */ 628 kobj_file_err(CE_WARN, file, "string garbled"); 633 * sysparam_print_warning() that this is a string 959 * Translate a sysparam type value to a string. 1022 * If a string token is set, print out the string 1329 * The next item on the line is a string value. Allocate memory for 1330 * it and copy the string 1567 char *string; member in union:val_list::__anon6835 [all...] |
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_os.h | 544 char string[48]; member in struct:emlxs_table
|
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | reglib.h | 82 #define REX_NULL 0 /* null string (internal) */ 439 * REX_NEG catcher determines what string lengths can be matched, 523 String_t string; /* string/kmp */ member in union:Rex_s::__anon2663 533 unsigned char* beg; /* beginning of string */ 534 unsigned char* end; /* end of string */
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dfc.c | 235 char string[32]; member in struct:__anon5378 351 return (emlxs_dfc_table[i].string); 377 emlxs_dfc_table[i].string); 403 return (emlxs_dfc_event_table[i].string); 699 char string[32]; member in struct:__anon5379 759 return (emlxs_fcio_table[i].string); 783 emlxs_fcio_table[i].string); 5458 (void) strncpy(cfgparam[i].a_string, cfg[i].string,
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | util.c | 46 #include <string.h> 501 * not, 'where" will provide the insertion point for the new string. 517 * Inspect the generic string AVL tree for the given string. If the string is 518 * not present, duplicate it, and insert the string in the AVL tree. Return the 519 * duplicated string to the caller. 523 * FullPathNode and not-found path names use the same string pointer 524 * established for this string. 546 * Determine the string siz 2692 const char *string = local [all...] |
/illumos-gate/usr/src/cmd/zic/ |
H A D | zic.c | 108 static long gethms(const char *string, const char *errstrng, int signable); 259 static struct lookup const *byword(const char *string, 398 error(string) 399 const char * const string; 407 filename, linenum, string); 416 warning(string) 417 const char * const string; 422 cp = ecatalloc(cp, string); 914 * Convert a string of one of the forms 917 * A null string map 2232 newabbr(const char * const string) argument [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandoc.h | 111 MANDOCERR_OP_EMPTY, /* missing option string, using "": OP */ 137 MANDOCERR_STR_UNDEF, /* undefined string, using "": name */ 261 TBL_DATA_DATA, /* consists of data/string */ 269 * A cell within a row of data. The "string" field contains the actual 270 * string value that's in the cell. The rest is layout. 276 char *string; /* data (NULL if not TBL_DATA_DATA) */ member in struct:tbl_dat
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_parser.c | 85 * In this state, the node is of type D string. The string type is really 119 char yyintsuffix[4]; /* int token suffix string [uU][lL] */ 182 case DT_TOK_STRING: return ("<string>"); 202 break; /* empty string or single token remaining */ 216 * Copy the original string up to the start of this 426 (void) snprintf(buf, len, "string constant \"%s\"", 993 return (1); /* promote char pointer to string */ 998 return (1); /* promote char array to string */ 1012 return (0); /* string ar 1284 dt_node_string(char *string) argument [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 38 #include <string.h> 700 * Return a printable string corresponding to a Pcreate() error return. 1106 * Return a printable string corresponding to a Pgrab() error return. 2184 char string[STRSZ + 1]; local 2196 string[STRSZ] = '\0'; 2199 if ((nbyte = P->ops.pop_pread(P, string, STRSZ, addr, 2204 if ((nbyte = strlen(string)) > 0) { 2207 (void) strncpy(buf + leng, string, nbyte); 3277 * Return a printable string corresponding to an Lgrab() error return.
|