HomeSort by: relevance | last modified time | path
    Searched defs:strings (Results 1 - 19 of 19) sorted by relevancy

  /src/usr.bin/mail/
strings.c 1 /* $NetBSD: strings.c,v 1.19 2024/03/17 21:48:02 andvar Exp $ */
35 static char sccsid[] = "@(#)strings.c 8.1 (Berkeley) 6/6/93";
37 __RCSID("$NetBSD: strings.c,v 1.19 2024/03/17 21:48:02 andvar Exp $");
45 * Strings handed out here are reclaimed at the top of the command
61 static struct strings { struct
79 struct strings *sp;
123 * Called to free all strings allocated
129 struct strings *sp;
151 struct strings *sp;
  /src/tests/lib/libexecinfo/
t_backtrace.c 71 char **strings; local in function:myfunc3
82 strings = backtrace_symbols_fmt(buffer, nptrs, "%n");
84 ATF_CHECK(strings != NULL);
90 printf("#%zu: %s\n", j, strings[j]);
95 ATF_CHECK_STREQ(strings[0], "myfunc3");
96 ATF_CHECK_STREQ(strings[1], "myfunc2");
99 ATF_CHECK_STREQ(strings[j], "myfunc1");
103 strcmp(strings[j], frames[i].name)) {
107 ATF_CHECK_STREQ(strings[j], frames[i].name);
110 free(strings);
    [all...]
t_sig_backtrace.c 138 char **strings = backtrace_symbols_fmt(array, size, "%n"); local in function:handler
152 strcmp(strings[i], "handler") == 0) {
157 strncmp(strings[i], "__sigtramp_siginfo_",
163 strncmp(strings[i], "the_loop", strlen("the_loop")) == 0) {
168 strcmp(strings[i], "atf_tp_main") == 0) {
  /src/lib/libterminfo/
tparm.c 55 char *strings[20]; member in struct:__anon229c9d520108
72 stack->strings[stack->offset] = string;
92 *string = stack->strings[stack->offset];
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
debugfs_gt_pm.c 523 static const char * const strings[] = { local in function:rps_power_to_str
529 if (power >= ARRAY_SIZE(strings) || !strings[power])
532 return strings[power];
  /src/usr.bin/config/
hash.c 58 * Interned strings are kept in a hash table. By making each string
59 * unique, the program can compare strings by comparing pointers.
79 static struct hashtab strings; variable in typeref:struct:hashtab
199 ht_init(&strings, 128);
215 ht = &strings;
  /src/sys/arch/xen/xenbus/
xenbus_xs.c 260 count_strings(const char *strings, unsigned int len)
265 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1)
292 split(char *strings, unsigned int len, unsigned int *num)
296 /* Count the strings. */
297 *num = count_strings(strings, len);
302 free(strings, M_DEVBUF);
305 memcpy(&ret[*num], strings, len);
306 free(strings, M_DEVBUF);
308 strings = (char *)&ret[*num]
320 char *strings, *path; local in function:xenbus_directory
    [all...]
  /src/usr.bin/gencat/
gencat.c 561 char *strings; local in function:MCReadCat
604 strings = (char *)msgcat + cat_hdr.__msg_txt_offset;
630 ((strings + msg_hdr->__offset) >
635 MCAddMsg(msgno, strings + msg_hdr->__offset);
661 char *strings; local in function:MCWriteCat
715 strings = (char *) msgcat +
732 memcpy(strings, msg->str, msg_len);
733 strings += msg_len;
  /src/sys/arch/amiga/dev/
kbdmap.h 113 #define KBD_MODE_STRING (1<<0) /* code is index into strings[] */
130 unsigned char strings[KBD_STRTAB_SIZE]; member in struct:kbdmap
  /src/sys/arch/atari/dev/
kbdmap.h 119 #define KBD_MODE_STRING (0x01) /* code is index into strings[] */
140 unsigned char strings[KBD_STRTAB_SIZE]; member in struct:kbdmap
  /src/sys/arch/sun3/include/
mon.h 71 char strings[100]; /* String table for string arguments */ member in struct:bootparam
76 char *fileName; /* File name, points into strings */
  /src/sys/arch/x68k/include/
kbdmap.h 87 #define KBD_MODE_STRING (1<<0) /* code is index into strings[] */
104 unsigned char strings[KBD_STRTAB_SIZE]; member in struct:kbdmap
  /src/sys/arch/x68k/usr.bin/loadkmap/
kbdmap.h 84 #define KBD_MODE_STRING (1<<0) /* code is index into strings[] */
101 unsigned char strings[KBD_STRTAB_SIZE]; member in struct:kbdmap
  /src/sys/dev/acpi/
acpi_util.c 394 * Pack _HID and _CID ID strings into an OpenFirmware-style
480 * of C strings. Room for 8 should be plenty, but we can allocate
510 const char *strings[ACPI_COMPATSTR_MAX * sizeof(const char *)]; local in function:acpi_compatible_match_dtlink
524 strings[0] = compatible;
525 rv = device_compatible_pmatch(strings, 1, dce);
530 /* Match from a list of strings in a _DSD value */
543 strings[n] = obj->Package.Elements[n].String.Pointer;
545 rv = device_compatible_pmatch(strings, n, dce);
568 const char *strings[ACPI_COMPATSTR_MAX * sizeof(const char *)]; local in function:acpi_compatible_match
580 strings[0] = ad->HardwareId.String
630 const char *strings[ACPI_COMPATSTR_MAX]; local in function:acpi_compatible_lookup
    [all...]
  /src/sys/arch/sparc/include/
oldmon.h 141 char strings[100]; /* String table for string arguments */ member in struct:om_bootparam
146 char *fileName; /* File name, points into strings */
  /src/sys/arch/sun68k/include/
mon.h 71 char strings[100]; /* String table for string arguments */ member in struct:bootparam
76 char *fileName; /* File name, points into strings */
  /src/sys/arch/pmax/include/
dec_prom.h 203 * The prom routines use the following structure to hold strings.
206 char *argPtr[16]; /* Pointers to the strings. */
207 char strings[256]; /* Buffer for the strings. */ member in struct:__anon39b661df0208
209 int num; /* Number of strings used. */
268 * DEC_PROM_STRCMP Compares strings (strcmp).
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_debugfs.c 1617 static const char * const strings[] = { local in function:rps_power_to_str
1623 if (power >= ARRAY_SIZE(strings) || !strings[power])
1626 return strings[power];
  /src/lib/libossaudio/
soundcard.h 615 char strings[OSS_ENUM_STRINGSIZE]; member in struct:oss_mixer_enuminfo

Completed in 63 milliseconds