/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getusershell.c | 80 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 …]
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | setflabel.c | 182 size_t strings; in zonecopy() local 197 strings = remote_dir_len + filename_len + local_dir_len + display_len; in zonecopy() 199 datasize = CALL_SIZE(zcopy_call_t, strings - BUFSIZE); in zonecopy() 210 strings = 0; in zonecopy() 215 clcall.remote_dir = strings; in zonecopy() 216 strings += remote_dir_len; in zonecopy() 217 clcall.filename = strings; in zonecopy() 218 strings += filename_len; in zonecopy() 219 clcall.local_dir = strings; in zonecopy() 220 strings += local_dir_len; in zonecopy() [all …]
|
/illumos-gate/usr/src/cmd/xstr/ |
H A D | xstr.c | 49 char *strings = "strings"; variable 94 strings = savestr("/tmp/xstrXXXXXX"); in main() 95 tmpfd = mkstemp(strings); in main() 97 perror(strings); in main() 98 (void) free(strings); in main() 363 perror(strings); in flushsh() 405 FILE *strf = fopen(strings, "r"); in xsdotc() 409 perror(strings), exit(5); in xsdotc() 420 perror(strings); in xsdotc() 482 if (strings[0] == '/') { in cleanup() [all …]
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | utils.c | 423 char *strings; in compress() local 431 strings = malloc(str_size); in compress() 453 if ((strings = (char *) in compress() 460 strings[next_str++] = c; in compress() 465 if ((strings = (char *) in compress() 466 realloc(strings, str_size)) == NULL) { in compress() 472 strings[next_str++] = '\0'; in compress() 478 hash = dohash(pos + strings); in compress() 482 if (strcmp(pos + strings, hash_str[i] + strings) == 0) in compress() 521 (void) memcpy(str, strings, next_str); in compress() [all …]
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | stralloc.c | 55 static struct strings *lastsp; /* last string space allocated from */ 70 register struct strings *sp; in salloc() 126 register struct strings *sp = lastsp; in srealloc() 159 register struct strings *sp; in sreset()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | mdi.c | 50 static void dump_flags(unsigned long long flags, char **strings); 54 static void dump_state_str(char *name, uintptr_t addr, char **strings); 511 dump_flags(unsigned long long flags, char **strings) in dump_flags() argument 517 if (strings[i] == NULL) in dump_flags() 526 linel += strlen(strings[i]) + 3; in dump_flags() 529 linel = strlen(strings[i]) + 1 + 8; in dump_flags() 531 mdb_printf("%s", strings[i]); in dump_flags() 573 dump_state_str(char *name, uintptr_t addr, char **strings) in dump_state_str() argument 575 mdb_printf("%s: %s (%l#r)\n", name, strings[(unsigned long)addr], addr); in dump_state_str()
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-misc.c | 81 char ***strings) in papiAttributeListGetLPStrings() argument 96 if (*strings != NULL) in papiAttributeListGetLPStrings() 97 freelist(*strings); in papiAttributeListGetLPStrings() 98 *strings = values; in papiAttributeListGetLPStrings()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/scsi_vhci/ |
H A D | scsi_vhci.c | 69 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()
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | ascii_strcasecmp.S | 118 ! 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 …]
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xenbus_xs.c | 373 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 437 if (err != 0 || strings == NULL) { in xenbus_directory() [all …]
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | secdb.c | 325 _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()
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_reloc.c | 194 (const char *)mp->strings + symp->st_name); in do_relocate() 227 sdt_reloc_resolve(mp, mp->strings + in do_relocate() 232 smap_reloc_resolve(mp, mp->strings + in do_relocate() 241 mp->strings + in do_relocate() 274 (const char *)mp->strings + symref->st_name, in do_relocate()
|
/illumos-gate/usr/src/cmd/praudit/ |
H A D | README | 26 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).
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | strcmp.S | 57 ! 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
|
H A D | ascii_strcasecmp.S | 118 ! both strings a byte at a time until the source ptr is aligned to 129 bz,pn %ncc, .stringsequal ! yup, done, strings equal 171 bz,pn %ncc, .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 307 ! this means the strings must be equal 310 restore %g0, %g0, %o0 ! return 0, i.e. strings are equal
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | ppm_xgsubr.c | 140 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()
|
/illumos-gate/usr/src/lib/libsasl/ |
H A D | README | 39 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
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_reloc.c | 187 (const char *)mp->strings + symp->st_name); in do_relocate() 221 sdt_reloc_resolve(mp, mp->strings + in do_relocate() 232 mp->strings + in do_relocate() 273 (const char *)mp->strings + symref->st_name, in do_relocate()
|
/illumos-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | librtld.msg | 51 # 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
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_020_pos.ksh | 105 REF=$(strings /etc/zfs/zpool.cache | grep ${TESTPOOL}) 108 strings /etc/zfs/zpool.cache
|
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 53 #define EMPTY strings[EMPTY_S] 54 #define LDSO strings[LDSO_S] 55 #define ZERO strings[ZERO_S] 76 __rtld(Elf32_Boot *ebp, const char *strings[], int (*funcs[])()) in __rtld() argument
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 53 #define EMPTY strings[EMPTY_S] 54 #define LDSO strings[LDSO_S] 55 #define ZERO strings[ZERO_S] 74 __rtld(Elf32_Boot *ebp, const char *strings[], int (*funcs[])()) in __rtld() argument
|
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-us3/common/ |
H A D | memcmp.S | 98 retl ! strings compare equal 102 retl ! strings aren't equal 157 sub %g0, %g0, %o0 ! strings compare equal
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | syminfo.msg | 59 # 1-line description strings 66 # Command option description strings 97 # Help strings 163 # The following strings represent reserved words, files, pathnames and symbols. 164 # Reference to this strings is via the MSG_ORIG() macro, and thus no message 176 # Format strings
|
H A D | str.msg | 35 # Format strings 74 # 1-line description strings 82 # Command option description strings 146 # Help strings 160 The strings are displayed within double quotes. These quotes are\n\ 216 \tat the end, reserved for adding new strings to the table.\n\ 273 \tat the end, reserved for adding new strings to the table.\n\ 284 # The following strings represent reserved words, files, pathnames and symbols. 285 # Reference to this strings is via the MSG_ORIG() macro, and thus no message 308 # Format strings
|