/freebsd-11.0-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | validate.c | 100 return ((strncmp(mime_type, "text/", 5) != 0) 101 && (len != 15 || strncmp(mime_type, "image/x-xbitmap", len) != 0) 102 && (len != 15 || strncmp(mime_type, "image/x-xpixmap", len) != 0)
|
/freebsd-11.0-release/sys/riscv/riscv/ |
H A D | db_disasm.c | 335 if (strncmp("d", p, 1) == 0) 338 else if (strncmp("s", p, 1) == 0) 341 else if (strncmp("t", p, 1) == 0) 344 else if (strncmp(">", p, 1) == 0) 347 else if (strncmp("E", p, 1) == 0) { 352 } else if (strncmp("Z", p, 1) == 0) 355 else if (strncmp("<", p, 1) == 0) 358 else if (strncmp("j", p, 1) == 0) 361 else if (strncmp("u", p, 1) == 0) 364 else if (strncmp(" [all...] |
/freebsd-11.0-release/sys/dev/acpi_support/ |
H A D | acpi_asus.c | 594 if (strncmp("ODEM", th.OemTableId, 4) == 0) { 602 if (strncmp("ASUS010", rstr, 7) == 0) { 618 if (strncmp(Obj->String.Pointer, model->name, 3) == 0) { 641 else if (strncmp(model->name, "xxN", 3) == 0 && 642 (strncmp(Obj->String.Pointer, "M3N", 3) == 0 || 643 strncmp(Obj->String.Pointer, "S1N", 3) == 0)) 645 else if (strncmp(model->name, "A1x", 3) == 0 && 646 strncmp(Obj->String.Pointer, "A1", 2) == 0) 648 else if (strncmp(model->name, "A2x", 3) == 0 && 649 strncmp(Ob [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/roken/ |
H A D | putenv.c | 69 if(strncmp(string, environ[i], len) == 0) {
|
/freebsd-11.0-release/contrib/ipfilter/lib/ |
H A D | checkrev.c | 42 if (strncmp(IPL_VERSION, fio.f_version, sizeof(fio.f_version))) {
|
H A D | parsewhoisline.c | 32 if (strncmp(s, "(NET", 4)) { 58 if (s == NULL || strncmp(s, " - ", 3)) 105 if (s == NULL || strncmp(s, " - ", 3))
|
/freebsd-11.0-release/usr.sbin/fstyp/ |
H A D | msdosfs.c | 77 if (strncmp(pfat_bsbpb->BS_FilSysType, "FAT", 3) != 0) { 82 if (strncmp(pfat_bsbpb->BS_VolLab, LABEL_NO_NAME, 95 if (strncmp(pfat32_bsbpb->BS_FilSysType, "FAT", 3) != 0) { 102 if (strncmp(pfat32_bsbpb->BS_VolLab, LABEL_NO_NAME,
|
/freebsd-11.0-release/sys/dev/vnic/ |
H A D | thunder_bgx_fdt.c | 92 if (strncmp(&qlm_mode[CONN_TYPE_OFFSET], "sgmii", size) == 0) 96 if (strncmp(&qlm_mode[CONN_TYPE_OFFSET], "xaui", size) == 0) 98 if (strncmp(&qlm_mode[CONN_TYPE_OFFSET], "dxaui", size) == 0) 102 if (strncmp(&qlm_mode[CONN_TYPE_OFFSET], "raui", size) == 0) 106 if (strncmp(&qlm_mode[CONN_TYPE_OFFSET], "xfi", size) == 0) 110 if (strncmp(&qlm_mode[CONN_TYPE_OFFSET], "xlaui", size) == 0) 114 if (strncmp(&qlm_mode[CONN_TYPE_OFFSET], "xfi-10g-kr", size) == 0) 118 if (strncmp(&qlm_mode[CONN_TYPE_OFFSET], "xlaui-40g-kr", size) == 0) 158 if ((err > 0) && (strncmp(node_name, name, len) == 0)) {
|
/freebsd-11.0-release/contrib/opie/libopie/ |
H A D | parsechallenge.c | 48 for (a = algorithms; a->name && strncmp(buffer, a->name, (int)(c - buffer)); a++); 76 if (*c && !strncmp(c, "ext", 3))
|
/freebsd-11.0-release/lib/libc/arm/string/ |
H A D | Makefile.inc | 6 strncmp.S strrchr.c swab.c wcschr.c wcscmp.c wcslen.c wmemchr.c
|
/freebsd-11.0-release/lib/libc/i386/string/ |
H A D | Makefile.inc | 5 memset.S strcat.S strchr.S strcmp.S strcpy.S strncmp.S strrchr.S \
|
/freebsd-11.0-release/lib/libc/mips/string/ |
H A D | Makefile.inc | 7 strncat.c strncmp.c strncpy.c strrchr.S strpbrk.c strsep.c \
|
/freebsd-11.0-release/contrib/groff/src/libs/libgroff/ |
H A D | putenv.c | 61 if (!strncmp(*ep, string, size) && (*ep)[size] == '=') 75 if (!strncmp(*ep, string, name_end - string)
|
/freebsd-11.0-release/usr.bin/patch/ |
H A D | common.h | 52 #define strnNE(s1,s2,l) (strncmp(s1, s2, l)) 53 #define strnEQ(s1,s2,l) (!strncmp(s1, s2, l))
|
/freebsd-11.0-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_prtn_config.c | 139 if (!strncmp(flag, "ipoib", len)) { 141 } else if (!strncmp(flag, "mtu", len)) { 147 } else if (!strncmp(flag, "rate", len)) { 153 } else if (!strncmp(flag, "scope", len)) { 162 } else if (!strncmp(flag, "sl", len)) { 174 } else if (!strncmp(flag, "defmember", len)) { 175 if (!val || (strncmp(val, "limited", strlen(val)) 176 && strncmp(val, "full", strlen(val)))) 182 conf->full = strncmp(val, "full", strlen(val)) == 0; 199 if (!name || !*name || !strncmp(nam [all...] |
/freebsd-11.0-release/contrib/tcsh/ |
H A D | vms.termcap.c | 110 if (strncmp(name, tmp, len) == 0) { 123 if (strncmp(name, tmp, len) == 0) { 161 if (strncmp(cp, id, CAPABLEN) == 0) { 193 if (strncmp(cp, id, CAPABLEN) == 0) 220 if (strncmp(cp, id, CAPABLEN) == 0) {
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/ttyio/ |
H A D | t_ptm.c | 77 ATF_REQUIRE_MSG(strncmp(ptm.cn, "/dev/pty", 8) == 0 78 || strncmp(ptm.cn, "/dev/null", 9) == 0, 81 ATF_REQUIRE_MSG(strncmp(ptm.sn, "/dev/tty", 8) == 0 82 || strncmp(ptm.sn, "/dev/pts/", 9) == 0, 85 if (strncmp(ptm.cn, "/dev/null", 9) != 0) {
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_getopt.c | 56 if (strncmp(line, "load:", 5) == 0) { 66 } else if (strncmp(line, "args:", 5) == 0) { 85 } else if (strncmp(line, "result:", 7) == 0) {
|
/freebsd-11.0-release/contrib/openpam/lib/libpam/ |
H A D | openpam_get_option.c | 70 if (strncmp(cur->optv[i], option, len) == 0) {
|
/freebsd-11.0-release/contrib/opie/libmissing/ |
H A D | getutline.c | 54 if (!strncmp(utmp->ut_line, u.ut_line, sizeof(u.ut_line) - 1)) {
|
H A D | pututline.c | 46 if (!strncmp(utmp->ut_line, u.ut_line, sizeof(u.ut_line) - 1)) {
|
/freebsd-11.0-release/contrib/tcpdump/ |
H A D | print-beep.c | 36 return (strncmp(tstr1, str2, tl1) == 0 ? 1 : 0);
|
/freebsd-11.0-release/crypto/heimdal/lib/wind/ |
H A D | test-punycode.c | 62 if (strncmp(buf, "xn--", 4) == 0) {
|
/freebsd-11.0-release/contrib/libstdc++/include/c_compatibility/ |
H A D | string.h | 44 using std::strncmp;
|
/freebsd-11.0-release/contrib/ncurses/progs/ |
H A D | transform.c | 78 return (len_a == len_b) && (strncmp(a, b, len_a) == 0);
|