/illumos-gate/usr/src/cmd/make/bin/ |
H A D | read2.cc | 67 * enter_name(string, tail_present, string_start, string_end, 70 * Take one string and enter it as a name. The string is passed in 71 * two parts. A make string and possibly a C string to append to it. 81 * tail_present Indicates if both C and make string was passed 82 * string_start C string 83 * string_end Pointer to char after last in C string 84 * string make style string wit 95 enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen) argument 338 register wchar_t *string = ALLOC_WC(length + 1); local 1742 wchar_t *string; local [all...] |
/illumos-gate/usr/src/cmd/make/lib/mksh/ |
H A D | macro.cc | 106 * Recursively expands all macros in the string value. 129 * Make sure to get a string allocated even if it 157 sourceb.string.text.p = sourceb.string.buffer.start = wcsdup(vals.get_string()); 158 sourceb.string.free_after_use = true; 159 sourceb.string.text.end = 160 sourceb.string.buffer.end = 161 sourceb.string.text.p + value->hash.length; 170 /* We parse the string in segments */ 185 /* Save the plain string w 264 String_rec string; local [all...] |
H A D | misc.cc | 51 #include <string.h> /* strerror() */ 87 static void expand_string(register String string, register int length); 144 * Hash a name string to the corresponding nameblock. 147 * The Name block for the string 150 * name The string we want to internalize 151 * len The length of that string 169 * First figure out how long the string is. 185 /* Look for the string */ 337 * An error message string 371 * format printf type format string 744 expand_string(register String string, register int length) argument [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_send.c | 109 #include <string.h> 1063 Aerror(const res_state statp, FILE *file, const char *string, int error, argument 1081 string, hbuf, sbuf, strerror(error)); 1087 Perror(const res_state statp, FILE *file, const char *string, int error) { argument 1092 string, strerror(error));
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_sec.c | 43 #include <string.h> 62 char *string; member in struct:sc_data 113 * getvalue() searches for the given string in the given array, 114 * and returns the integer value associated with the string. 123 for (i = 0; sc_data[i].string; i++) { 124 if (strcmp(sc_data[i].string, cp) == 0) { 132 * shift1left() moves all characters in the string over 1 to
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_diff.c | 36 #include <string.h> 133 stream_bytes(FILE *fp, const char *string) argument 137 while ((c = *string++) != '\0') {
|
/illumos-gate/usr/src/common/util/ |
H A D | string.c | 32 * Implementations of the functions described in vsnprintf(3C) and string(3C), 45 #include <string.h> 49 #include "string.h" 59 * Given a buffer 'buf' of size 'buflen', render as much of the string 60 * described by <fmt, args> as possible. The string will always be 61 * null-terminated, so the maximum string length is 'buflen - 1'. 63 * entire string, not including null terminator (just like vsnprintf(3S)). 181 sp = "<null string>"; 535 strpbrk(const char *string, const char *brkset) argument 540 for (p = brkset; *p != '\0' && *p != *string; 612 strspn(const char *string, const char *charset) argument 628 strcspn(const char *string, const char *charset) argument 692 strtok(char *string, const char *sepset) argument [all...] |
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | papi.h | 99 char *string; /* PAPI_STRING value */ member in union:__anon4313 263 int flags, char *name, char *string); 320 int flags, char *string);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | deltat.c | 1119 krb5_string_to_deltat(char *string, krb5_deltat *deltatp) 1123 p.p = string; 1116 krb5_string_to_deltat(char *string, krb5_deltat *deltatp) argument
|
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | edit.c | 576 * This routine sets up the prompt string 580 * - if the prompt string starts with "%\r, or contains \r%\r", where % 916 * put <string> of length <nbyte> onto lookahead stack 921 static int putstack(Edit_t *ep,char string[], register int nbyte, int type) argument 925 char *endp, *p=string; 992 c = string[--nbyte] & STRIP; 1436 * find the string length of <str>
|
H A D | emacs.c | 713 genchar string[LBUF]; local 716 genncpy(string,out,sizeof(string)/sizeof(*string)); 730 genncpy(out,string,sizeof(string)/sizeof(*string)); 1180 register genchar *string = drawbuff; local 1183 genncpy(str_buff,string,sizeof(str_buff)/sizeof(*str_buff)); 1184 string[ [all...] |
H A D | history.c | 886 * each new-line character is replaced with string <nl>. 915 * find index for last line with given string 916 * If flag==0 then line must begin with string 920 Histloc_t hist_find(register History_t*hp,char *string,register int index1,int flag,int direction) argument 934 index2 = *string; 936 string++; 940 string++; 960 if((location.hist_line=hist_match(hp,offset,string,coffset))>=0) 975 * search for <string> in history file starting at location <offset> 976 * If coffset==0 then line must begin with string 980 hist_match(register History_t *hp,off_t offset,char *string,int *coffset) argument 1067 hist_word(char *string,int size,int word) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | lex.c | 755 /* check for multi-line single-quoted string */ 1713 /* check for and strip quoted characters in delimiter string */ 1921 * generates string for given token 2039 * If <mode> is zero, gets rid of quoting and consider argument as string 2043 * If mode==2, the each $"" string is printed on standard output 2311 * This code gets called whenever an end of string is found with alias 2318 * This code gets called whenever an end of string is found with alias 2363 static void setupalias(Lex_t *lp, const char *string,Namval_t *np) argument 2385 iop = sfopen(NIL(Sfio_t*),(char*)string,"s");
|
/illumos-gate/usr/src/lib/libfru/libfrupicl/ |
H A D | frupicl.c | 31 #include <string.h> 100 * picl like function which gets a string property with the proper length 104 get_strprop_by_name(picl_nodehdl_t handle, char *prop_name, char **string) argument 127 *string = tmp_buf;
|
/illumos-gate/usr/src/lib/libfru/libfrupicltree/ |
H A D | frupicltree.c | 33 #include <string.h> 104 * picl like function which gets a string property with the proper length 108 get_strprop_by_name(picl_nodehdl_t handle, char *prop_name, char **string) argument 139 *string = tmp_buf;
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.c | 41 #include <string.h> 60 * string. These are linked into lists to record strings, with all but 62 * of a string is terminated within the GLH_SEG_SIZE characters with a 67 GlhLineSeg *next; /* The next sub-string of the history line */ 68 char s[GLH_SEG_SIZE]; /* The sub-string. Beware that only the final */ 95 int used; /* The number of times this string is pointed to by */ 206 static int _glh_decode_timestamp(char *string, char **endp, time_t *timestamp); 406 int empty; /* True if the string is empty */ 429 * How long is the string to be recorded, being careful not to include 574 * prefix string tha 1310 _glh_decode_timestamp(char *string, char **endp, time_t *timestamp) argument [all...] |
/illumos-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 31 #include <string.h> 916 _tz_match(const char *expr, const char *string) argument 927 ret = regexec((const regex_t *)®, string, N_MATCH, pmatch, 0); 930 printf("OK matched - %s\n", string); 936 printf("NOT matched - %s\n", string);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_parse.h | 84 * string Pointer to a NUL-terminated string 95 * berString Pointer to a string containing a single formatting 100 char *string; member in union:__anon3592 124 * mmt_string string 289 * doElide Should the last character of the (string) value be 292 * element.split Item value string split into multiple values 295 * element.extract Extraction of a sub-string from an item value 303 * (1) String value consisting of the string "{crypt}" followed by the 376 * doElide Should the last character of the (string) valu [all...] |
/illumos-gate/usr/src/cmd/pcitool/ |
H A D | pcitool.c | 88 char *string; member in struct:__anon1053 174 * Print string based on PCItool status returned from driver. 181 for (i = 0; pcitool_stat_str[i].string != NULL; i++) { 184 return (pcitool_stat_str[i].string);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/bsc/ |
H A D | picllom.c | 50 #include <string.h> 99 static int lookup_led_status(int8_t state, const char **string); 678 * look up function to convert led status into string 681 lookup_led_status(int8_t state, const char **string) argument 688 *string = ledstate_lkup[i].str_ledstate; 693 *string = ""; 717 const char *string; local 796 res = lookup_led_status(led_data.state, &string); 797 (void) strlcpy(buf, string, max_state_size); 1063 fixstate(uint8_t state, const char *string, in argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/ |
H A D | piclenvmon.c | 52 #include <string.h> 108 static int lookup_led_status(int8_t state, const char **string); 109 static int lookup_key_posn(envmon_keysw_pos_t pos, const char **string); 115 static void fixstate(uint8_t state, const char *string, int *max_len); 116 static void fixkeyposn(envmon_keysw_pos_t keyposn, const char *string, 245 * the -1's are replaced by the max size of a condition string 498 * look for a name which starts with the string at *ptr 869 * look up function to convert led status into string 872 lookup_led_status(int8_t state, const char **string) argument 879 *string 889 lookup_key_posn(envmon_keysw_pos_t pos, const char **string) argument 1352 fixstate(uint8_t state, const char *string, int *max_len) argument 1372 fixkeyposn(envmon_keysw_pos_t keyposn, const char *string, int *max_len) argument [all...] |
/illumos-gate/usr/src/cmd/ptools/plgrp/ |
H A D | plgrp.c | 227 * Return string name for given lgroup affinity 357 * Parse lgroup affinity from given string 359 * Return lgroup affinity or LGRP_AFF_INVALID if string doesn't match any 361 * string. 364 parse_lgrp_affinity(char *string, char **next) argument 368 if (string == NULL) 374 if (string[0] == DELIMIT_AFF) 375 string++; 378 * Return lgroup affinity matching string 380 if (strncmp(string, LGRP_AFF_NONE_ST [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rshd.c | 59 #include <string.h> 1359 * Add a string to the environment of the new process. 1363 add_to_envinit(char *string) argument 1372 if (string == NULL) 1384 envinit[index++] = string; 1477 &version); /* application version string */
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.file.c | 152 * Push string contents back into tty queue 155 pushback(tchar *string, int echoflag) argument 172 for (p = string; *p; p++) { 197 * Des is a string whose maximum length is count. 413 * Erase that silly ^[ and print the recognized part of the string. 522 * Perform a RECOGNIZE or LIST command on string "word".
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | gprof.h | 38 #include <string.h> 345 * structure for various string lists 349 char *string; member in struct:stringlist
|