Home
last modified time | relevance | path

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

12345678

/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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 …]
/titanic_41/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
/titanic_41/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 …]
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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).
/titanic_41/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
/titanic_41/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c237 (const char *)mp->strings + symp->st_name); in do_relocate()
271 sdt_reloc_resolve(mp, mp->strings + in do_relocate()
278 tnf_reloc_resolve(mp->strings + in do_relocate()
285 mp->strings + in do_relocate()
325 (const char *)mp->strings + symref->st_name, in do_relocate()
/titanic_41/usr/src/tools/depcheck/
H A DDependencyCheck.txt66 At a high level, this tool uses /usr/bin/ldd and /usr/bin/strings to figure
71 The strings command will not be run on binaries if the user specifies the
104 If the ldd returns nothing, then a "strings" command is run on the kernel
105 module. Again, the output of the strings is compared against /kernel and
109 Note, if the ldd succeeds, then a strings will not run on the kernel module.
114 Binary files have both the ldd and strings command run on them. The output of
118 If the user specifies the -cons option on get_depend_info, then the strings
/titanic_41/usr/src/lib/libsasl/
H A DREADME39 For globalization, it should be noted that there are three classes of strings
40 that need to be i18n'ed. The first are the error strings returned by
41 sasl_errstring(), the second are the strings returned by sasl_errdetail(),
43 in sasl_chalprompt_t. The error strings returned by sasl_errdetail() are
/titanic_41/usr/src/uts/sun4u/io/
H A Dppm_xgsubr.c140 cinfo->name, &cinfo->strings, &cinfo->cnt); in ppm_get_confdata()
163 if ((*cdp)->strings) { in ppm_attach_err()
164 ddi_prop_free((*cdp)->strings); in ppm_attach_err()
165 (*cdp)->strings = NULL; in ppm_attach_err()
236 for (dev_namep = devdata.strings, dom_namep = domdata.strings; in ppm_create_db()
/titanic_41/usr/src/cmd/sgs/librtld/common/
H A Dlibrtld.msg51 # Basic strings
59 # The following strings represent reserved section and symbol names. Reference
60 # to these strings is via the MSG_ORIG() macro, and thus no translations are

12345678