/freebsd-11-stable/crypto/heimdal/appl/login/ |
H A D | tty.c | 47 if (strncmp (res, _PATH_DEV, strlen(_PATH_DEV)) == 0) 49 if (strncmp (res, "pty/", 4) == 0) 51 if (strncmp (res, "ptym/", 5) == 0) 65 if (strncmp (res, "pts/", 4) == 0) 67 if (strncmp (res, "tty", 3) == 0)
|
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | strstr.c | 26 extern int strncmp (const void *, const void *, size_t); 37 if (strncmp (p, s2, len) == 0)
|
H A D | strncmp.c | 0 /* strncmp -- compare two strings, stop after n bytes. 6 @deftypefn Supplemental int strncmp (const char *@var{s1}, const char *@var{s2}, size_t @var{n}) 19 strncmp(const char *s1, const char *s2, register size_t n) function
|
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | load_url.c | 16 if (strncmp(url, "file://", 7) == 0) { 26 } else if (strncmp(url, "http://", 7) == 0) {
|
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | strstr.c | 26 extern int strncmp (const void *, const void *, size_t); 37 if (strncmp (p, s2, len) == 0)
|
H A D | strncmp.c | 0 /* strncmp -- compare two strings, stop after n bytes. 6 @deftypefn Supplemental int strncmp (const char *@var{s1}, const char *@var{s2}, size_t @var{n}) 19 strncmp(const char *s1, const char *s2, register size_t n) function
|
/freebsd-11-stable/crypto/openssl/crypto/engine/ |
H A D | eng_fat.c | 108 if (!strncmp(alg, "ALL", len)) 110 else if (!strncmp(alg, "RSA", len)) 112 else if (!strncmp(alg, "DSA", len)) 114 else if (!strncmp(alg, "ECDH", len)) 116 else if (!strncmp(alg, "ECDSA", len)) 118 else if (!strncmp(alg, "DH", len)) 120 else if (!strncmp(alg, "RAND", len)) 122 else if (!strncmp(alg, "CIPHERS", len)) 124 else if (!strncmp(alg, "DIGESTS", len)) 126 else if (!strncmp(al [all...] |
/freebsd-11-stable/sys/libkern/ |
H A D | strncmp.c | 36 strncmp(const char *s1, const char *s2, size_t n) function
|
H A D | strstr.c | 59 } while (strncmp(s, find, len) != 0);
|
/freebsd-11-stable/contrib/gdb/gdb/cli/ |
H A D | cli-setshow.c | 46 if (strncmp (arg, "on", length) == 0 47 || strncmp (arg, "1", length) == 0 48 || strncmp (arg, "yes", length) == 0 49 || strncmp (arg, "enable", length) == 0) 51 else if (strncmp (arg, "off", length) == 0 52 || strncmp (arg, "0", length) == 0 53 || strncmp (arg, "no", length) == 0 54 || strncmp (arg, "disable", length) == 0) 56 else if (strncmp (arg, "auto", length) == 0 57 || (strncmp (ar [all...] |
/freebsd-11-stable/contrib/opie/libopie/ |
H A D | insecure.c | 85 if (!strncmp("unix", display_name, n)) 87 else if (!strncmp("localhost", display_name, n)) 89 else if (!strncmp("loopback", display_name, n)) 91 else if (!strncmp("127.0.0.1", display_name, n)) 97 if (!strncmp(utsname.nodename, display_name, n)) 104 if (!strncmp(utsname.nodename, display_name, n2)) 147 if (!strncmp(host, display_name, n)) 155 if (!strncmp(host, display_name, n))
|
/freebsd-11-stable/lib/libc/arm/string/ |
H A D | Makefile.inc | 13 strncmp.S
|
H A D | strncmp.S | 1 /* $NetBSD: strncmp.S,v 1.2 2003/04/05 23:08:52 bjh21 Exp $ */ 35 ENTRY(strncmp) 58 END(strncmp)
|
/freebsd-11-stable/lib/libdpv/ |
H A D | dialogrc.c | 155 if (strncmp(cp, "red,", 4) == 0) attrbuf[0] = '1'; 156 else if (strncmp(cp, "green,", 6) == 0) attrbuf[0] = '2'; 157 else if (strncmp(cp, "yellow,", 7) == 0) attrbuf[0] = '3'; 158 else if (strncmp(cp, "blue,", 5) == 0) attrbuf[0] = '4'; 159 else if (strncmp(cp, "magenta,", 8) == 0) attrbuf[0] = '5'; 160 else if (strncmp(cp, "cyan,", 5) == 0) attrbuf[0] = '6'; 161 else if (strncmp(cp, "white,", 6) == 0) attrbuf[0] = '7'; 162 else if (strncmp(cp, "black,", 6) == 0) attrbuf[0] = '8'; 172 if (strncmp(cp, "red,", 4) == 0) attrbuf[1] = '1'; 173 else if (strncmp(c [all...] |
/freebsd-11-stable/lib/libc/string/ |
H A D | strncmp.c | 31 static char sccsid[] = "@(#)strncmp.c 8.1 (Berkeley) 6/4/93"; 39 strncmp(const char *s1, const char *s2, size_t n) function
|
H A D | strstr.c | 57 } while (strncmp(s, find, len) != 0);
|
H A D | strnstr.c | 61 } while (strncmp(s, find, len) != 0);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_getopt_long.c | 66 if (strncmp(line, "optstring:", 10) == 0) { 74 } else if (strncmp(line, "longopts:", 9) == 0) { 102 } else if (strncmp(line, "longopt:", 8) == 0) { 121 if (strncmp(longopt, "0", 1) == 0 || 122 strncmp(longopt, "no_argument", 2) == 0) 124 else if (strncmp(longopt, "1", 1) == 0 || 125 strncmp(longopt, "required_argument", 8) == 0) 127 else if (strncmp(longopt, "2", 1) == 0 || 128 strncmp(longopt, "optional_argument", 8) == 0) 138 strncmp(longop [all...] |
/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap-snoop.c | 249 if (strncmp("et", p->opt.device, 2) == 0 || /* Challenge 10 Mbit */ 250 strncmp("ec", p->opt.device, 2) == 0 || /* Indigo/Indy 10 Mbit, 252 strncmp("ef", p->opt.device, 2) == 0 || /* O200/2000 10/100 Mbit */ 253 strncmp("eg", p->opt.device, 2) == 0 || /* Octane/O2xxx/O3xxx Gigabit */ 254 strncmp("gfe", p->opt.device, 3) == 0 || /* GIO 100 Mbit */ 255 strncmp("fxp", p->opt.device, 3) == 0 || /* Challenge VME Enet */ 256 strncmp("ep", p->opt.device, 2) == 0 || /* Challenge 8x10 Mbit EPLEX */ 257 strncmp("vfe", p->opt.device, 3) == 0 || /* Challenge VME 100Mbit */ 258 strncmp("fa", p->opt.device, 2) == 0 || 259 strncmp("qa [all...] |
/freebsd-11-stable/sbin/restore/ |
H A D | interactive.c | 130 if (strncmp(cmd, "add", strlen(cmd)) != 0) 143 if (strncmp(cmd, "cd", strlen(cmd)) != 0) 158 if (strncmp(cmd, "delete", strlen(cmd)) != 0) 171 if (strncmp(cmd, "extract", strlen(cmd)) != 0) 184 if (strncmp(cmd, "help", strlen(cmd)) != 0) 210 if (strncmp(cmd, "ls", strlen(cmd)) != 0) 218 if (strncmp(cmd, "pwd", strlen(cmd)) != 0) 229 if (strncmp(cmd, "quit", strlen(cmd)) != 0) 233 if (strncmp(cmd, "xit", strlen(cmd)) != 0) 240 if (strncmp(cm [all...] |
/freebsd-11-stable/crypto/heimdal/lib/gssapi/ |
H A D | test_oid.c | 56 ret = strncmp(data.value, "1 2 840 113554 1 2 2", data.length); 65 ret = strncmp(data.value, "1 3 6 1 5 6 4", data.length);
|
/freebsd-11-stable/contrib/elftoolchain/libelf/ |
H A D | _libelf_ar.h | 45 (strncmp((const char *) (NAME), \
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/ |
H A D | uu_string.c | 55 return (strncmp(a, b, strlen(b)) == 0);
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | unsetenv.c | 63 if (strncmp(*p, name, len) == 0 && (*p)[len] == '=')
|
/freebsd-11-stable/usr.bin/m4/ |
H A D | stdd.h | 50 * STREQN is an optimised strncmp(a,b,n)==0; assumes n > 0 53 #define STREQN(a, b, n) ((a)[0] == (b)[0] && strncmp(a, b, n) == 0)
|