Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/onnv-gate/usr/src/lib/libc/port/gen/
H A Dgetusershell.c80 static char **shells, *strings; variable
107 if (strings != NULL) in endusershell()
108 (void) free(strings); in endusershell()
109 strings = NULL; in endusershell()
130 if (strings != NULL) in initshells()
131 (void) free(strings); in initshells()
132 strings = NULL; in initshells()
148 ((strings = malloc((size_t)statb.st_size + 1)) == NULL)) { in initshells()
155 (void) free(strings); in initshells()
156 strings = NULL; in initshells()
[all …]
/onnv-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetusershell.c24 static char **shells, *strings; variable
52 if (strings != NULL) in endusershell()
53 free(strings); in endusershell()
54 strings = NULL; in endusershell()
75 if (strings != NULL) in initshells()
76 free(strings); in initshells()
77 strings = NULL; in initshells()
84 if ((strings = malloc((unsigned)statb.st_size + 1)) == NULL) { in initshells()
91 free(strings); in initshells()
92 strings = NULL; in initshells()
[all …]
/onnv-gate/usr/src/lib/libtsol/common/
H A Dsetflabel.c184 size_t strings; in zonecopy() local
199 strings = remote_dir_len + filename_len + local_dir_len + display_len; in zonecopy()
201 datasize = CALL_SIZE(zcopy_call_t, strings - BUFSIZE); in zonecopy()
212 strings = 0; in zonecopy()
217 clcall.remote_dir = strings; in zonecopy()
218 strings += remote_dir_len; in zonecopy()
219 clcall.filename = strings; in zonecopy()
220 strings += filename_len; in zonecopy()
221 clcall.local_dir = strings; in zonecopy()
222 strings += local_dir_len; in zonecopy()
[all …]
/onnv-gate/usr/src/cmd/xstr/
H A Dxstr.c51 char *strings = "strings"; variable
96 strings = savestr("/tmp/xstrXXXXXX"); in main()
97 tmpfd = mkstemp(strings); in main()
99 perror(strings); in main()
100 (void) free(strings); in main()
269 FILE *mesgread = fopen(strings, "r"); in inithash()
354 mesgwrit = fopen(strings, old ? "r+" : "w"); in flushsh()
356 perror(strings), (void) cleanup(), exit(4); in flushsh()
365 perror(strings); in flushsh()
372 perror(strings), (void) cleanup(), exit(4); in flushsh()
[all …]
/onnv-gate/usr/src/cmd/vi/misc/
H A Dxstr.c69 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"); in inithash()
350 mesgwrit = fopen(strings, old ? "r+" : "w"); in flushsh()
359 perror(strings); in flushsh()
402 register FILE *strf = fopen(strings, "r"); in xsdotc()
406 perror(strings), exit(5); in xsdotc()
[all …]
/onnv-gate/usr/src/cmd/sgs/ld/common/
H A Dld.c92 static const char *strings[ERR_NUM]; in veprintf() local
107 if (strings[ERR_WARNING_NF] == NULL) in veprintf()
108 strings[ERR_WARNING_NF] = MSG_INTL(MSG_ERR_WARNING); in veprintf()
111 if (strings[ERR_WARNING] == NULL) in veprintf()
112 strings[ERR_WARNING] = MSG_INTL(MSG_ERR_WARNING); in veprintf()
115 if (strings[ERR_GUIDANCE] == NULL) in veprintf()
116 strings[ERR_GUIDANCE] = MSG_INTL(MSG_ERR_GUIDANCE); in veprintf()
119 if (strings[ERR_FATAL] == NULL) in veprintf()
120 strings[ERR_FATAL] = MSG_INTL(MSG_ERR_FATAL); in veprintf()
123 if (strings[ERR_ELF] == NULL) in veprintf()
[all …]
/onnv-gate/usr/src/lib/libparted/common/libparted/
H A Ddebug.c96 char **strings, **string; in ped_assert() local
98 strings = backtrace_symbols(stack, size); in ped_assert()
100 if (strings) { in ped_assert()
102 for (string = strings; size > 0; size--, string++) in ped_assert()
105 free(strings); in ped_assert()
/onnv-gate/usr/src/cmd/sgs/mcs/common/
H A Dutils.c420 char *strings; in compress() local
428 strings = malloc(str_size); in compress()
430 if (hash_key == NULL || hash_str == NULL || strings == NULL) { in compress()
450 if ((strings = (char *) in compress()
451 realloc(strings, str_size)) == NULL) { in compress()
457 strings[next_str++] = c; in compress()
462 if ((strings = (char *) in compress()
463 realloc(strings, str_size)) == NULL) { in compress()
469 strings[next_str++] = NULL; in compress()
475 hash = dohash(pos + strings); in compress()
[all …]
/onnv-gate/usr/src/common/openssl/doc/crypto/
H A DERR_load_crypto_strings.pod6 load and free error strings
21 ERR_load_crypto_strings() registers the error strings for all
23 but also registers the B<libssl> error strings.
29 ERR_free_strings() frees all previously loaded error strings.
/onnv-gate/usr/src/cmd/mailx/
H A Dstralloc.c57 static struct strings *lastsp; /* last string space allocated from */
72 register struct strings *sp; in salloc()
128 register struct strings *sp = lastsp; in srealloc()
161 register struct strings *sp; in sreset()
/onnv-gate/usr/src/common/openssl/crypto/ui/
H A Dui_lib.c91 ret->strings=NULL; in UI_new_method()
120 sk_UI_STRING_pop_free(ui->strings,free_string); in UI_free()
127 if (ui->strings == NULL) in allocate_string_stack()
129 ui->strings=sk_UI_STRING_new_null(); in allocate_string_stack()
130 if (ui->strings == NULL) in allocate_string_stack()
179 ret=sk_UI_STRING_push(ui->strings, s); in general_allocate_string()
228 ret=sk_UI_STRING_push(ui->strings, s); in general_allocate_boolean()
464 if (i >= sk_UI_STRING_num(ui->strings)) in UI_get0_result()
469 return UI_get0_result_string(sk_UI_STRING_value(ui->strings, i)); in UI_get0_result()
498 for(i=0; i<sk_UI_STRING_num(ui->strings); i++) in UI_process()
[all …]
/onnv-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) in dump_flags() argument
519 if (strings[i] == NULL) in dump_flags()
528 linel += strlen(strings[i]) + 3; in dump_flags()
531 linel = strlen(strings[i]) + 1 + 8; in dump_flags()
533 mdb_printf("%s", strings[i]); in dump_flags()
575 dump_state_str(char *name, uintptr_t addr, char **strings) in dump_state_str() argument
577 mdb_printf("%s: %s (%l#r)\n", name, strings[(unsigned long)addr], addr); in dump_state_str()
/onnv-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-misc.c83 char ***strings) in papiAttributeListGetLPStrings() argument
98 if (*strings != NULL) in papiAttributeListGetLPStrings()
99 freelist(*strings); in papiAttributeListGetLPStrings()
100 *strings = values; in papiAttributeListGetLPStrings()
/onnv-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) in dump_flags() argument
379 if (strings[i] == NULL) in dump_flags()
388 linel += strlen(strings[i]) + 3; in dump_flags()
391 linel = strlen(strings[i]) + 1 + 8; in dump_flags()
393 mdb_printf("%s", strings[i]); in dump_flags()
492 dump_state_str(char *name, uintptr_t addr, char **strings) in dump_state_str() argument
494 mdb_printf("%s: %s (%l#r)\n", name, strings[(unsigned long)addr], addr); in dump_state_str()
/onnv-gate/usr/src/lib/libc/sparc/gen/
H A Dascii_strcasecmp.s118 ! both strings a byte at a time until the source ptr is aligned to
129 bz .stringsequal ! yup, done, strings equal
171 bz .done ! yup, done, strings equal
266 ! this means the strings must be equal
269 restore %g0, %g0, %o0 ! return 0, i.e. strings are equal
306 ! this means the strings must be equal
309 restore %g0, %g0, %o0 ! return 0, i.e. strings are equal
318 bz .done ! yup, done, strings equal
327 bz .done ! yup, done, strings equal
335 bz .stringsequal ! yup, done, strings equal
[all …]
/onnv-gate/usr/src/cmd/vi/port/
H A Dport.mk.7075 ${PRINTF} bcopy.o ex_extern.o strings.o
85 ${MKSTR} - ex${VERSION}strings x $*.c
99 # -L ex_put.o ex_subr.o ${PRINTF} strings.o \
108 ex_vput.o ex_put.o ex_subr.o ${PRINTF} strings.o \
119 strings.o: strings
123 ${AS} -o strings.o xs.s
140 -rm -f a.out exrecover expreserve strings core errs trace
147 # -cp ex${VERSION}strings ${LIBDIR}/ex${VERSION}strings
163 # cp ex${VERSION}strings ${DESTDIR}${LIBDIR}/ex${VERSION}strings
H A Dport.mk.c7066 printf.o bcopy.o strings.o
84 ${MKSTR} - ex${VERSION}strings x $*.c
111 ${MKSTR} - ex${VERSION}strings x $*.c
121 strings.o: strings
125 ${AS} -o strings.o xs.s
142 -rm -f a.out exrecover expreserve strings core errs trace
149 # -cp ex${VERSION}strings ${LIBDIR}/ex${VERSION}strings
166 # cp ex${VERSION}strings ${DESTDIR}${LIBDIR}/ex${VERSION}strings
/onnv-gate/usr/src/uts/intel/ia32/krtld/
H A Dkobj_reloc.c183 (const char *)mp->strings + symp->st_name); in do_relocate()
216 sdt_reloc_resolve(mp, mp->strings + in do_relocate()
221 tnf_reloc_resolve(mp->strings + in do_relocate()
228 mp->strings + in do_relocate()
260 (const char *)mp->strings + symref->st_name, in do_relocate()
/onnv-gate/usr/src/uts/common/xen/io/
H A Dxenbus_xs.c373 count_strings(const char *strings, unsigned int len) in count_strings() argument
378 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) in count_strings()
404 split(char *strings, unsigned int len, unsigned int *num) in split() argument
409 if ((*num = count_strings(strings, len - 1)) == 0) in split()
414 (void) memcpy(&ret[*num], strings, len - 1); in split()
415 kmem_free(strings, len); in split()
417 strings = (char *)&ret[*num]; in split()
418 for (p = strings, *num = 0; p < strings + (len - 1); in split()
430 char *strings, *path; in xenbus_directory() local
435 err = xs_single(t, XS_DIRECTORY, path, (void **)&strings, &len); in xenbus_directory()
[all …]
/onnv-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c188 (const char *)mp->strings + symp->st_name); in do_relocate()
221 sdt_reloc_resolve(mp, mp->strings + in do_relocate()
226 tnf_reloc_resolve(mp->strings + in do_relocate()
233 mp->strings + in do_relocate()
266 (const char *)mp->strings + symref->st_name, in do_relocate()
/onnv-gate/usr/src/lib/libsecdb/common/
H A Dsecdb.c325 _argv_to_csl(char **strings) in _argv_to_csl() argument
331 if (strings == NULL) in _argv_to_csl()
333 for (i = 0; strings[i] != NULL; i++) { in _argv_to_csl()
334 len += strlen(strings[i]) + 1; in _argv_to_csl()
338 for (i = 0; strings[i] != NULL; i++) { in _argv_to_csl()
339 (void) strcat(newstr, strings[i]); in _argv_to_csl()
/onnv-gate/usr/src/cmd/praudit/
H A DREADME26 Message catalogs are created by processing all strings in the source
27 files. If new strings are added which do not belong in the message catalog,
28 these strings must be added to the exclude file "praudit.xcl". See xgettext(1).
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/lib/
H A Dfilter-util.pl22 my($filename, @strings) = @_ ;
26 foreach (@strings)
/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/lib/
H A Ddd_opt.c64 free(opt->u.ret.data.strings[i]); in dd_freeopt()
66 free(opt->u.ret.data.strings); in dd_freeopt()
110 opt->u.ret.data.strings = in newopt()
112 if (opt->u.ret.data.strings == NULL) { in newopt()
315 opt->u.ret.data.strings[0] = strdup(""); in get_dns_domain()
317 opt->u.ret.data.strings[0] = in get_dns_domain()
319 if (opt->u.ret.data.strings[0] == NULL) { in get_dns_domain()
552 opt->u.ret.data.strings[0] = strdup(d); in get_nis_domain()
553 if (opt->u.ret.data.strings[0] == NULL) { in get_nis_domain()
/onnv-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrcmp.s57 ! a different compare for non-aligned strings is used.
120 ! this means the strings must be equal
123 mov %g0, %o0 ! return 0, i.e. strings are equal
141 ! this means the strings must be equal
145 mov %g0, %o0 ! return 0, i.e. strings are equal
159 bz,pn %xcc, .done ! yup, strings match

12345678910>>...12