Searched defs:strings (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetusershell.c24 static char **shells, *strings; variable
52 if (strings != NULL)
53 free(strings);
54 strings = NULL;
75 if (strings != NULL)
76 free(strings);
77 strings = NULL;
84 if ((strings = malloc((unsigned)statb.st_size + 1)) == NULL) {
91 free(strings);
92 strings
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetusershell.c80 static char **shells, *strings; variable
107 if (strings != NULL)
108 (void) free(strings);
109 strings = NULL;
130 if (strings != NULL)
131 (void) free(strings);
132 strings = NULL;
148 ((strings = malloc((size_t)statb.st_size + 1)) == NULL)) {
155 (void) free(strings);
156 strings
[all...]
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-misc.c83 char ***strings)
98 if (*strings != NULL)
99 freelist(*strings);
100 *strings = values;
82 papiAttributeListGetLPStrings(papi_attribute_t **attributes, char *key, char ***strings) argument
/illumos-gate/usr/src/lib/libtsol/common/
H A Dsetflabel.c36 #include <strings.h>
184 size_t strings; local
199 strings = remote_dir_len + filename_len + local_dir_len + display_len;
201 datasize = CALL_SIZE(zcopy_call_t, strings - BUFSIZE);
212 strings = 0;
217 clcall.remote_dir = strings;
218 strings += remote_dir_len;
219 clcall.filename = strings;
220 strings += filename_len;
221 clcall.local_dir = strings;
[all...]
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c53 #define EMPTY strings[EMPTY_S]
54 #define LDSO strings[LDSO_S]
55 #define ZERO strings[ZERO_S]
68 * of strings. The vector is "well-known" to us, and consists of pointers
70 * order to run, save for the pointers of constant strings. This second
76 __rtld(Elf32_Boot *ebp, const char *strings[], int (*funcs[])()) argument
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A D_rtld.c53 #define EMPTY strings[EMPTY_S]
54 #define LDSO strings[LDSO_S]
55 #define ZERO strings[ZERO_S]
66 * of strings. The vector is "well-known" to us, and consists of pointers
68 * order to run, save for the pointers of constant strings. This second
74 __rtld(Elf32_Boot *ebp, const char *strings[], int (*funcs[])()) argument
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dsecdb.c28 #include <strings.h>
325 _argv_to_csl(char **strings) argument
331 if (strings == NULL)
333 for (i = 0; strings[i] != NULL; i++) {
334 len += strlen(strings[i]) + 1;
338 for (i = 0; strings[i] != NULL; i++) {
339 (void) strcat(newstr, strings[i]);
/illumos-gate/usr/src/cmd/vi/misc/
H A Dxstr.c54 * xstr - extract and hash strings in a C program
69 char *strings = "strings"; variable
110 strings = savestr("/tmp/xstrXXXXXX");
111 tmpfd = mkstemp(strings);
113 perror(strings);
114 (void) free(strings);
266 register FILE *mesgread = fopen(strings, "r");
350 mesgwrit = fopen(strings, old ? "r+" : "w");
359 perror(strings);
[all...]
/illumos-gate/usr/src/cmd/xstr/
H A Dxstr.c26 * xstr - extract and hash strings in a C program
51 char *strings = "strings"; variable
96 strings = savestr("/tmp/xstrXXXXXX");
97 tmpfd = mkstemp(strings);
99 perror(strings);
100 (void) free(strings);
269 FILE *mesgread = fopen(strings, "r");
354 mesgwrit = fopen(strings, old ? "r+" : "w");
356 perror(strings), (voi
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmdi.c52 static void dump_flags(unsigned long long flags, char **strings);
56 static void dump_state_str(char *name, uintptr_t addr, char **strings);
513 dump_flags(unsigned long long flags, char **strings) argument
519 if (strings[i] == NULL)
528 linel += strlen(strings[i]) + 3;
531 linel = strlen(strings[i]) + 1 + 8;
533 mdb_printf("%s", strings[i]);
575 dump_state_str(char *name, uintptr_t addr, char **strings) argument
577 mdb_printf("%s: %s (%l#r)\n", name, strings[(unsigned long)addr], addr);
/illumos-gate/usr/src/cmd/sgs/ld/common/
H A Dld.c31 #include <strings.h>
92 static const char *strings[ERR_NUM]; local
107 if (strings[ERR_WARNING_NF] == NULL)
108 strings[ERR_WARNING_NF] = MSG_INTL(MSG_ERR_WARNING);
111 if (strings[ERR_WARNING] == NULL)
112 strings[ERR_WARNING] = MSG_INTL(MSG_ERR_WARNING);
115 if (strings[ERR_GUIDANCE] == NULL)
116 strings[ERR_GUIDANCE] = MSG_INTL(MSG_ERR_GUIDANCE);
119 if (strings[ERR_FATAL] == NULL)
120 strings[ERR_FATA
[all...]
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dutils.c267 * mdata field is dereferenced. Accepting null strings in
420 char *strings; local
428 strings = malloc(str_size);
430 if (hash_key == NULL || hash_str == NULL || strings == NULL) {
450 if ((strings = (char *)
451 realloc(strings, str_size)) == NULL) {
457 strings[next_str++] = c;
462 if ((strings = (char *)
463 realloc(strings, str_size)) == NULL) {
469 strings[next_st
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c48 char shstrings[sizeof (ksyms_shstrtab)]; /* shstrtab strings */
88 char *strings = (char *)strhdr->sh_addr; local
94 char *name = strings + sym->st_name;
140 * Compute the size of the header, locals, globals, and strings.
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_set_prv.c454 nodesuniq(mdsetname_t *sp, int cnt, char **strings, md_error_t *ep) argument
459 if (strcmp(strings[i], strings[j]) == 0)
461 sp->setno, strings[i], NULL, sp->setname));
/illumos-gate/usr/src/cmd/mdb/common/modules/scsi_vhci/
H A Dscsi_vhci.c69 static void dump_flags(unsigned long long flags, char **strings);
70 static void dump_state_str(char *name, uintptr_t addr, char **strings);
373 dump_flags(unsigned long long flags, char **strings) argument
379 if (strings[i] == NULL)
388 linel += strlen(strings[i]) + 3;
391 linel = strlen(strings[i]) + 1 + 8;
393 mdb_printf("%s", strings[i]);
492 dump_state_str(char *name, uintptr_t addr, char **strings) argument
494 mdb_printf("%s: %s (%l#r)\n", name, strings[(unsigned long)addr], addr);
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_writer.c764 * Array of strings and derivatives
768 tnf_string_array_1(tnf_ops_t *ops, char **strings, tnf_record_p reference, argument
780 if (!strings)
784 tmp = strings;
794 tmp = strings;
/illumos-gate/usr/src/uts/common/sys/
H A Dkobj.h65 char *symspace; /* symbols + strings + hashtbl, or NULL */
76 char *strings; member in struct:module
H A Dppmvar.h81 char **strings; /* string array */ member in struct:ppm_cdata
/illumos-gate/usr/src/cmd/vgrind/
H A Dvfontedpr.c31 #define STRLEN 10 /* length of strings introducing things */
141 char strings[2 * BUFSIZ]; local
262 cp = strings;
269 cp = strings;
/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/
H A Dqlc.c80 * local adapter state flags strings
140 * local task daemon flags strings
3356 * strings - text to print when flag is set
3366 ql_dump_flags(uint64_t flags, int8_t **strings) argument
3374 if (strings[i] == NULL)
3382 linel += (int32_t)strlen(strings[i]) + 3;
3385 linel = (int32_t)strlen(strings[i]) + 1 + 8;
3387 mdb_printf("%s", strings[i]);
/illumos-gate/usr/src/cmd/format/
H A Dio.c441 * values and prompt strings.
455 char **str, **strings; local
523 strings = (char **)param->io_charlist;
524 for (i = 0, str = strings; i < *deflt; i++, str++)
937 * string must exactly match one of the strings passed in
945 strings = (char **)param->io_charlist;
947 * Walk through the legal strings, seeing if any of them
951 for (str = strings; *str != NULL; str++)
953 return (str - strings);
965 * string must either match one of the strings passe
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_xs.c373 count_strings(const char *strings, unsigned int len) argument
378 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1)
404 split(char *strings, unsigned int len, unsigned int *num) argument
408 /* Count the strings. */
409 if ((*num = count_strings(strings, len - 1)) == 0)
414 (void) memcpy(&ret[*num], strings, len - 1);
415 kmem_free(strings, len);
417 strings = (char *)&ret[*num];
418 for (p = strings, *nu
430 char *strings, *path; local
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.c184 * schemes, like the one based on widthshow, strings containing several
222 * all numbers are character strings
355 char *chname; /* special character strings */
474 * Characters are accumulated and saved in PostScript strings that are eventually
476 * of individual strings collected but not yet processed, and is primarily used to
478 * we've started accumulating strings and need to generate a call to PostScript
485 int textcount = 0; /* strings accumulated so far */
493 * remember an entire line before doing any output. The strings that make up the
494 * line can be saved in array strings[] and accessed by fields in line[]. *strptr
495 * points to the next free slot in strings[]
500 char strings[STRINGSPACE]; variable
[all...]
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Ddef.h87 #define MAXARGC 1024 /* Maximum list of raw strings */
401 struct strings { struct
/illumos-gate/usr/src/man/man3head/
H A DMakefile85 strings.h.3head \
174 strings.3head \
263 strings.3head := LINKSRC = strings.h.3head

Completed in 129 milliseconds

12