/src/lib/libc/string/ |
Lint_strncmp.c | 12 strncmp(const char *s1, const char *s2, size_t len) function in typeref:typename:int
|
strnstr.c | 67 } while (strncmp(s, find, len) != 0);
|
/src/lib/libc/arch/m68k/string/ |
Makefile.inc | 5 strncmp.S strncpy.S \
|
/src/sys/arch/amd64/include/ |
csan.h | 76 !strncmp(name, "Xtrap", 5) || 77 !strncmp(name, "Xintr", 5) || 78 !strncmp(name, "Xhandle", 7) || 79 !strncmp(name, "Xresume", 7) || 80 !strncmp(name, "Xstray", 6) || 81 !strncmp(name, "Xhold", 5) || 82 !strncmp(name, "Xrecurse", 8) || 84 !strncmp(name, "Xsoft", 5)) {
|
/src/sys/arch/sparc/stand/common/ |
isfloppy.c | 7 return strncmp(dev, "fd", 2) == 0 ||
|
/src/tests/lib/libc/stdlib/ |
h_getopt_long.c | 59 if (strncmp(line, "optstring:", 10) == 0) { 67 } else if (strncmp(line, "longopts:", 9) == 0) { 95 } else if (strncmp(line, "longopt:", 8) == 0) { 114 if (strncmp(longopt, "0", 1) == 0 || 115 strncmp(longopt, "no_argument", 2) == 0) 117 else if (strncmp(longopt, "1", 1) == 0 || 118 strncmp(longopt, "required_argument", 8) == 0) 120 else if (strncmp(longopt, "2", 1) == 0 || 121 strncmp(longopt, "optional_argument", 8) == 0) 131 strncmp(longopt, "NULL", 4) != 0 [all...] |
/src/games/hack/ |
hack.options.c | 113 while ((*opts == '!') || !strncmp(opts, "no", 2)) { 121 if (!strncmp(opts, "standout", 8)) { 125 if (!strncmp(opts, "null", 3)) { 129 if (!strncmp(opts, "tombstone", 4)) { 133 if (!strncmp(opts, "news", 4)) { 137 if (!strncmp(opts, "time", 4)) { 142 if (!strncmp(opts, "restonspace", 4)) { 146 if (!strncmp(opts, "fixinv", 4)) { 153 if (!strncmp(opts, "male", 4)) { 157 if (!strncmp(opts, "female", 6)) [all...] |
/src/sys/arch/arc/stand/boot/ |
devopen.c | 71 if (strncmp(cp, "rdisk", 5) == 0 || 72 strncmp(cp, "fdisk", 5) == 0) { 91 if (strncmp(cp, "pci", 3) == 0) { 103 if (strncmp(cp, "scsi", 4) == 0) { 105 } else if (strncmp(cp, "dksc", 4) == 0) {
|
/src/usr.sbin/umcpmioctl/ |
putflash.c | 81 if (strncmp(argv[argcount], "GP0", 4) == 0) { 84 if (strncmp(argv[argcount], "GP1", 4) == 0) { 87 if (strncmp(argv[argcount], "GP2", 4) == 0) { 90 if (strncmp(argv[argcount], "GP3", 4) == 0) { 102 if (strncmp(argv[argcount], "GPIO_PIN_INPUT", 15) == 0) { 107 if (strncmp(argv[argcount], "GPIO_PIN_OUTPUT", 16) == 0) { 111 if (strncmp(argv[argcount], "GPIO_PIN_ALT0", 14) == 0) { 117 if (strncmp(argv[argcount], "GPIO_PIN_ALT1", 14) == 0) { 123 if (strncmp(argv[argcount], "GPIO_PIN_ALT2", 14) == 0) { 129 if (strncmp(argv[argcount], "GPIO_PIN_ALT3", 14) == 0) [all...] |
/src/lib/libc/arch/i386/string/ |
Makefile.inc | 6 strcmp.S strcpy.S strlen.S strncmp.S strrchr.S swab.S
|
/src/lib/libc/arch/x86_64/string/ |
Makefile.inc | 6 strcmp.S strcpy.S strlen.S strncmp.S strrchr.S swab.S
|
/src/sys/lib/libkern/arch/mips/ |
Makefile.inc | 10 strncasecmp.c strncmp.c strncpy.c strtoul.c
|
/src/common/lib/libc/string/ |
strncmp.c | 1 /* $NetBSD: strncmp.c,v 1.3 2018/02/04 20:22:17 mrg Exp $ */ 35 static char sccsid[] = "@(#)strncmp.c 8.1 (Berkeley) 6/4/93"; 37 __RCSID("$NetBSD: strncmp.c,v 1.3 2018/02/04 20:22:17 mrg Exp $"); 49 strncmp(const char *s1, const char *s2, size_t n) function in typeref:typename:int
|
/src/sbin/restore/ |
interactive.c | 134 if (strncmp(cmd, "add", strlen(cmd)) != 0) 149 if (strncmp(cmd, "cd", strlen(cmd)) != 0) 164 if (strncmp(cmd, "delete", strlen(cmd)) != 0) 177 if (strncmp(cmd, "extract", strlen(cmd)) != 0) 190 if (strncmp(cmd, "help", strlen(cmd)) != 0) 218 if (strncmp(cmd, "ls", strlen(cmd)) != 0) 226 if (strncmp(cmd, "pwd", strlen(cmd)) != 0) 237 if (strncmp(cmd, "quit", strlen(cmd)) != 0) 241 if (strncmp(cmd, "xit", strlen(cmd)) != 0) 248 if (strncmp(cmd, "verbose", strlen(cmd)) != 0 [all...] |
/src/common/lib/libc/arch/arm/string/ |
strncmp.S | 1 /* $NetBSD: strncmp.S,v 1.2 2013/08/19 00:57:25 matt Exp $ */ 33 RCSID("$NetBSD: strncmp.S,v 1.2 2013/08/19 00:57:25 matt Exp $") 35 ENTRY(strncmp) function 77 END(strncmp)
|
/src/sys/arch/evbppc/virtex/ |
consinit.c | 88 if (strncmp("xlcom", KGDB_NAME, 5)) { 97 if (strncmp("xlcom", CONS_NAME, 5) == 0) {
|
/src/sys/lib/libsa/ |
bootcfg.c | 193 if (!strncmp(key, "menu", 4)) { 216 } else if (!strncmp(key, "banner", 6)) { 219 } else if (!strncmp(key, "timeout", 7)) { 224 } else if (!strncmp(key, "default", 7)) { 226 } else if (!strncmp(key, "consdev", 7)) { 228 } else if (!strncmp(key, "root", 4)) { 230 } else if (!strncmp(key, "format", 6)) { 250 } else if (!strncmp(key, "clear", 5)) {
|
/src/sys/arch/amiga/stand/bootblock/txlt/ |
txlt.l | 18 if ((!strncmp(s, "fp", 2) || 19 !strncmp(s, "sp", 2) ||
|
/src/sys/arch/vax/include/ |
tc_machdep.h | 83 (strncmp( (ta)->ta_modname, (name), TC_ROM_LLEN+1) == 0)
|
/src/sys/arch/x68k/stand/libsa/ |
devopen.c | 57 if (strncmp(s, "spc0@", 5) == 0) { 60 } else if (strncmp(s, "spc1@", 5) == 0) { 63 } else if (strncmp(s, "mha0@", 5) == 0) { 71 if (strncmp (devspec[i].ds_name, s,
|
/src/usr.bin/m4/ |
stdd.h | 48 * STREQN is an optimised strncmp(a,b,n)==0; assumes n > 0 51 #define STREQN(a, b, n) ((a)[0] == (b)[0] && strncmp(a, b, n) == 0)
|
/src/sys/arch/ews4800mips/ews4800mips/ |
autoconf.c | 93 if (strncmp(p, "sd", 2) == 0) { 101 } else if (strncmp(p, "nfs", 3) == 0) { 103 } else if (strncmp(p, "mem", 3) == 0) {
|
/src/sys/arch/sgimips/stand/common/ |
devopen.c | 69 if (strncmp(cp, "pci", 3) == 0) { 81 if (strncmp(cp, "scsi", 4) == 0) { 83 } else if (strncmp(cp, "dksc", 4) == 0) {
|
/src/sys/dev/acpi/ |
acpi_quirks.c | 185 if (strncmp(aq->aq_tabletype, ACPI_SIG_DSDT, 4) == 0) 187 else if (strncmp(aq->aq_tabletype, ACPI_SIG_XSDT, 4) == 0) 189 else if (strncmp(aq->aq_tabletype, ACPI_SIG_FADT, 4) == 0) 197 if (strncmp(aq->aq_oemid, hdr->OemId, len) != 0) 206 if (strncmp(aq->aq_tabid, hdr->OemTableId, len) != 0)
|
/src/sys/arch/bebox/stand/boot/ |
devopen.c | 59 if (strncmp(fname, devdir, strlen(devdir)) != 0) 63 if (strncmp(p, floppy, strlen(floppy)) == 0) { 73 } else if (strncmp(p, ide, strlen(ide)) == 0) { 83 if (strncmp(p, master, strlen(master)) == 0) { 86 } else if (strncmp(p, slave, strlen(slave)) == 0) { 105 } else if (strncmp(p, scsi, strlen(scsi)) == 0) {
|