Searched refs:strncmp (Results 26 - 50 of 1355) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/subversion/subversion/libsvn_subr/
H A Dvalidate.c100 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 Ddb_disasm.c335 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 Dacpi_asus.c594 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 Dputenv.c69 if(strncmp(string, environ[i], len) == 0) {
/freebsd-11.0-release/contrib/ipfilter/lib/
H A Dcheckrev.c42 if (strncmp(IPL_VERSION, fio.f_version, sizeof(fio.f_version))) {
H A Dparsewhoisline.c32 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 Dmsdosfs.c77 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 Dthunder_bgx_fdt.c92 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 Dparsechallenge.c48 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 DMakefile.inc6 strncmp.S strrchr.c swab.c wcschr.c wcscmp.c wcslen.c wmemchr.c
/freebsd-11.0-release/lib/libc/i386/string/
H A DMakefile.inc5 memset.S strcat.S strchr.S strcmp.S strcpy.S strncmp.S strrchr.S \
/freebsd-11.0-release/lib/libc/mips/string/
H A DMakefile.inc7 strncat.c strncmp.c strncpy.c strrchr.S strpbrk.c strsep.c \
/freebsd-11.0-release/contrib/groff/src/libs/libgroff/
H A Dputenv.c61 if (!strncmp(*ep, string, size) && (*ep)[size] == '=')
75 if (!strncmp(*ep, string, name_end - string)
/freebsd-11.0-release/usr.bin/patch/
H A Dcommon.h52 #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 Dosm_prtn_config.c139 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 Dvms.termcap.c110 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 Dt_ptm.c77 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 Dh_getopt.c56 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 Dopenpam_get_option.c70 if (strncmp(cur->optv[i], option, len) == 0) {
/freebsd-11.0-release/contrib/opie/libmissing/
H A Dgetutline.c54 if (!strncmp(utmp->ut_line, u.ut_line, sizeof(u.ut_line) - 1)) {
H A Dpututline.c46 if (!strncmp(utmp->ut_line, u.ut_line, sizeof(u.ut_line) - 1)) {
/freebsd-11.0-release/contrib/tcpdump/
H A Dprint-beep.c36 return (strncmp(tstr1, str2, tl1) == 0 ? 1 : 0);
/freebsd-11.0-release/crypto/heimdal/lib/wind/
H A Dtest-punycode.c62 if (strncmp(buf, "xn--", 4) == 0) {
/freebsd-11.0-release/contrib/libstdc++/include/c_compatibility/
H A Dstring.h44 using std::strncmp;
/freebsd-11.0-release/contrib/ncurses/progs/
H A Dtransform.c78 return (len_a == len_b) && (strncmp(a, b, len_a) == 0);

Completed in 315 milliseconds

1234567891011>>