/freebsd-11.0-release/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.0-release/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.0-release/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.0-release/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.0-release/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.0-release/sys/libkern/ |
H A D | strncmp.c | 31 __FBSDID("$FreeBSD: releng/11.0/sys/libkern/strncmp.c 274636 2014-11-17 21:01:35Z delphij $"); 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.0-release/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.0-release/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.0-release/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.0-release/lib/libc/arm/string/ |
H A D | strncmp.S | 1 /* $NetBSD: strncmp.S,v 1.2 2003/04/05 23:08:52 bjh21 Exp $ */ 33 __FBSDID("$FreeBSD: releng/11.0/lib/libc/arm/string/strncmp.S 288373 2015-09-29 16:09:58Z kib $"); 35 ENTRY(strncmp) 58 END(strncmp)
|
/freebsd-11.0-release/lib/libc/string/ |
H A D | strncmp.c | 31 static char sccsid[] = "@(#)strncmp.c 8.1 (Berkeley) 6/4/93"; 34 __FBSDID("$FreeBSD: releng/11.0/lib/libc/string/strncmp.c 251069 2013-05-28 20:57:40Z emaste $"); 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.0-release/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_getopt_long.c | 62 if (strncmp(line, "optstring:", 10) == 0) { 70 } else if (strncmp(line, "longopts:", 9) == 0) { 98 } else if (strncmp(line, "longopt:", 8) == 0) { 117 if (strncmp(longopt, "0", 1) == 0 || 118 strncmp(longopt, "no_argument", 2) == 0) 120 else if (strncmp(longopt, "1", 1) == 0 || 121 strncmp(longopt, "required_argument", 8) == 0) 123 else if (strncmp(longopt, "2", 1) == 0 || 124 strncmp(longopt, "optional_argument", 8) == 0) 134 strncmp(longop [all...] |
/freebsd-11.0-release/contrib/libpcap/ |
H A D | pcap-snoop.c | 242 if (strncmp("et", p->opt.source, 2) == 0 || /* Challenge 10 Mbit */ 243 strncmp("ec", p->opt.source, 2) == 0 || /* Indigo/Indy 10 Mbit, 245 strncmp("ef", p->opt.source, 2) == 0 || /* O200/2000 10/100 Mbit */ 246 strncmp("eg", p->opt.source, 2) == 0 || /* Octane/O2xxx/O3xxx Gigabit */ 247 strncmp("gfe", p->opt.source, 3) == 0 || /* GIO 100 Mbit */ 248 strncmp("fxp", p->opt.source, 3) == 0 || /* Challenge VME Enet */ 249 strncmp("ep", p->opt.source, 2) == 0 || /* Challenge 8x10 Mbit EPLEX */ 250 strncmp("vfe", p->opt.source, 3) == 0 || /* Challenge VME 100Mbit */ 251 strncmp("fa", p->opt.source, 2) == 0 || 252 strncmp("qa [all...] |
/freebsd-11.0-release/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.0-release/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.0-release/crypto/heimdal/lib/roken/ |
H A D | unsetenv.c | 63 if (strncmp(*p, name, len) == 0 && (*p)[len] == '=')
|
/freebsd-11.0-release/contrib/openpam/lib/libpam/ |
H A D | openpam_findenv.c | 65 if (strncmp(pamh->env[i], name, len) == 0 &&
|
/freebsd-11.0-release/contrib/elftoolchain/libelf/ |
H A D | _libelf_ar.h | 45 (strncmp((const char *) (NAME), \
|
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libuutil/common/ |
H A D | uu_string.c | 55 return (strncmp(a, b, strlen(b)) == 0);
|
/freebsd-11.0-release/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)
|