/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_findenv.c | 64 if (strncmp(pamh->env[i], name, len) == 0 &&
|
/freebsd-11-stable/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-stable/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-stable/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-stable/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-stable/crypto/heimdal/lib/roken/ |
H A D | putenv.c | 69 if(strncmp(string, environ[i], len) == 0) {
|
/freebsd-11-stable/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-stable/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-stable/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-stable/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-stable/lib/libc/i386/string/ |
H A D | Makefile.inc | 17 strncmp.S \
|
/freebsd-11-stable/usr.bin/patch/ |
H A D | common.h | 51 #define strnNE(s1,s2,l) (strncmp(s1, s2, l) != 0) 52 #define strnEQ(s1,s2,l) (strncmp(s1, s2, l) == 0)
|
/freebsd-11-stable/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-stable/contrib/tcsh/ |
H A D | vms.termcap.c | 109 if (strncmp(name, tmp, len) == 0) { 122 if (strncmp(name, tmp, len) == 0) { 160 if (strncmp(cp, id, CAPABLEN) == 0) { 192 if (strncmp(cp, id, CAPABLEN) == 0) 219 if (strncmp(cp, id, CAPABLEN) == 0) {
|
/freebsd-11-stable/contrib/sendmail/include/libsmdb/ |
H A D | smdb.h | 327 # define SMDB_IS_TYPE_HASH(type) (strncmp(type, SMDB_TYPE_HASH, SMDB_TYPE_HASH_LEN) == 0) 328 # define SMDB_IS_TYPE_BTREE(type) (strncmp(type, SMDB_TYPE_BTREE, SMDB_TYPE_BTREE_LEN) == 0) 329 # define SMDB_IS_TYPE_NDBM(type) (strncmp(type, SMDB_TYPE_NDBM, SMDB_TYPE_NDBM_LEN) == 0) 330 # define SMDB_IS_TYPE_CDB(type) (strncmp(type, SMDB_TYPE_CDB, SMDB_TYPE_CDB_LEN) == 0) 333 || (strncmp(type, SMDB_TYPE_IMPL, SMDB_TYPE_IMPL_LEN) == 0) \
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_getopt.c | 60 if (strncmp(line, "load:", 5) == 0) { 70 } else if (strncmp(line, "args:", 5) == 0) { 89 } else if (strncmp(line, "result:", 7) == 0) {
|
/freebsd-11-stable/contrib/ncurses/progs/ |
H A D | transform.c | 78 return (len_a == len_b) && (strncmp(a, b, len_a) == 0);
|
/freebsd-11-stable/contrib/libreadline/examples/ |
H A D | rl-fgets.c | 297 if ( ! strncmp ( name, text, len ) ) { 347 if ( ! strncmp(my_fgets_line, "_fgets_reset_", 13) ) { 353 if ( ! strncmp(my_fgets_line, "_fgets_dump_", 12) ) { 359 if ( ! strncmp(my_fgets_line, "_fgets_debug_", 13) ) {
|
/freebsd-11-stable/contrib/libreadline/ |
H A D | histlib.h | 34 : ((a)[0] == (b)[0]) && (strncmp ((a), (b), (n)) == 0))
|
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/ |
H A D | string.h | 44 using std::strncmp;
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | kod-cisco.c | 154 if (! strncmp (&command[3], "a500005a", 8)) 178 if (strncmp (buffer, "KAL,", 4)) 277 if (strncmp (buffer, "KAI,", 4)) 284 if (strncmp (&buffer[off], sync_ids[i], 8)
|
H A D | nbsd-tdep.c | 108 && strncmp (func_name, "__sigtramp", 10) == 0);
|
/freebsd-11-stable/contrib/binutils/gas/ |
H A D | listing.c | 306 if (strncmp (segname, ".debug", sizeof ".debug" - 1) == 0 307 || strncmp (segname, ".line", sizeof ".line" - 1) == 0) 410 if (strncmp (segname, ".debug", sizeof ".debug" - 1) == 0 411 || strncmp (segname, ".line", sizeof ".line" - 1) == 0) 907 if (strncmp (line, "def", 3) == 0) 909 if (strncmp (line, "val", 3) == 0) 911 if (strncmp (line, "scl", 3) == 0) 913 if (strncmp (line, "line", 4) == 0) 915 if (strncmp (line, "endef", 5) == 0) 917 if (strncmp (lin [all...] |
/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpi_quirk.c | 106 return (strncmp(actual, possible, strlen(possible)) == 0); 161 if (!strncmp(match->sig, "FADT", ACPI_NAME_SIZE)) 163 else if (!strncmp(match->sig, ACPI_SIG_DSDT, ACPI_NAME_SIZE)) 165 else if (!strncmp(match->sig, ACPI_SIG_XSDT, ACPI_NAME_SIZE))
|