Searched refs:strncmp (Results 51 - 75 of 1397) sorted by relevance

1234567891011>>

/freebsd-11-stable/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-stable/lib/libutil/
H A Dkld.c56 strncmp(fstat.name, name, ko - fstat.name) == 0)
/freebsd-11-stable/release/picobsd/tinyware/help/
H A Dhelp.c95 if (strncmp(aname, ARMAG, SARMAG)) return 1;
99 if (strncmp(ar.ar_fmag, ARFMAG, 2)) return 1;
106 if (!strncmp(ar.ar_name, aname, strlen(aname))) break;
135 if (strncmp(ar.ar_fmag, ARFMAG, 2)) break;
/freebsd-11-stable/crypto/heimdal/lib/wind/
H A Dtest-punycode.c62 if (strncmp(buf, "xn--", 4) == 0) {
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Doption-value-type.c47 // %compare-strncmp
132 if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
H A Doption-xat-attribute.c47 // %compare-strncmp
124 if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
/freebsd-11-stable/sys/geom/label/
H A Dg_label_gpt.c114 if (strncmp(pp->geom->class->name, PART_CLASS_NAME, sizeof(PART_CLASS_NAME)))
117 if (strncmp(tp->gpt_scheme->name, SCHEME_NAME, sizeof(SCHEME_NAME)))
147 if (strncmp(pp->geom->class->name, PART_CLASS_NAME, sizeof(PART_CLASS_NAME)))
150 if (strncmp(tp->gpt_scheme->name, SCHEME_NAME, sizeof(SCHEME_NAME)))
H A Dg_label_msdosfs.c96 if (strncmp(pfat_bsbpb->BS_FilSysType, "FAT", 3) != 0) {
106 if (strncmp(pfat_bsbpb->BS_VolLab, LABEL_NO_NAME,
122 if (strncmp(pfat32_bsbpb->BS_FilSysType, "FAT", 3) != 0) {
133 if (strncmp(pfat32_bsbpb->BS_VolLab, LABEL_NO_NAME,
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-beep.c45 return (strncmp(tstr1, str2, tl1) == 0 ? 1 : 0);
/freebsd-11-stable/usr.sbin/fstyp/
H A Dexfat.c64 if (ev == NULL || strncmp(ev->ev_fsname, "EXFAT ", 8) != 0)
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dopenpam_get_option.c70 if (strncmp(cur->optv[i], option, len) == 0) {
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_cstring.h64 #undef strncmp macro
89 using ::strncmp;
/freebsd-11-stable/contrib/file/src/
H A Dis_tar.c126 if (strncmp(header->header.magic, GNUTMAGIC,
130 if (strncmp(header->header.magic, TMAGIC,
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dconfig.c68 if (strncmp(str, *current, matchlen) == 0)
160 if (strncmp(name, *pp, len) == 0 &&
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dsave_file.c41 if (!strncmp(strings[0], "raw://", 6)) {
45 } else if (!strncmp(strings[0], "file://", 7)) {
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_arbiter.c286 if (!strncmp(tbuf, "TQ", 2)) {
291 } else if (!strncmp(tbuf, "SR", 2)) {
300 } else if (!strncmp(tbuf, "LA", 2)) {
305 } else if (!strncmp(tbuf, "LO", 2)) {
311 } else if (!strncmp(tbuf, "LH", 2)) {
317 } else if (!strncmp(tbuf, "DB", 2)) {
/freebsd-11-stable/sys/dev/uart/
H A Duart_subr.c81 if (strncmp(nm, *p, len) == 0) {
98 if (!strncmp(*p, "even", 4)) {
102 if (!strncmp(*p, "mark", 4)) {
106 if (!strncmp(*p, "none", 4)) {
110 if (!strncmp(*p, "odd", 3)) {
114 if (!strncmp(*p, "space", 5)) {
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_prtn_config.c277 if (!strncmp(flag, "mtu", len)) {
284 } else if (!strncmp(flag, "rate", len)) {
291 } else if (!strncmp(flag, "scope", len)) {
301 } else if (!strncmp(flag, "Q_Key", strlen(flag))) {
308 } else if (!strncmp(flag, "TClass", strlen(flag))) {
315 } else if (!strncmp(flag, "sl", len)) {
328 } else if (!strncmp(flag, "FlowLabel", len)) {
357 if (!strncmp(flag, "ipoib", len)) {
359 } else if (!strncmp(flag, "defmember", len)) {
360 if (!val || (strncmp(va
[all...]
/freebsd-11-stable/lib/libc/resolv/
H A Dres_init.c321 (!strncmp(line, name, sizeof(name) - 1) && \
612 if (!strncmp(cp, "ndots:", sizeof("ndots:") - 1)) {
622 } else if (!strncmp(cp, "timeout:", sizeof("timeout:") - 1)) {
633 } else if (!strncmp(cp, "retrans:", sizeof("retrans:") - 1)) {
640 } else if (!strncmp(cp, "retry:", sizeof("retry:") - 1)){
648 } else if (!strncmp(cp, "attempts:", sizeof("attempts:") - 1)){
658 } else if (!strncmp(cp, "debug", sizeof("debug") - 1)) {
667 } else if (!strncmp(cp, "no_tld_query",
669 !strncmp(cp, "no-tld-query",
672 } else if (!strncmp(c
[all...]
/freebsd-11-stable/contrib/pam_modules/pam_passwdqc/
H A Dpam_passwdqc.c202 if (!strncmp(*argv, "min=", 4)) {
205 if (!strncmp(p, "disabled", 8)) {
219 if (!strncmp(*argv, "max=", 4)) {
224 if (!strncmp(*argv, "passphrase=", 11)) {
229 if (!strncmp(*argv, "match=", 6)) {
234 if (!strncmp(*argv, "similar=", 8)) {
243 if (!strncmp(*argv, "random=", 7)) {
252 if (!strncmp(*argv, "enforce=", 8)) {
267 if (!strncmp(*argv, "retry=", 6)) {
272 if (!strncmp(*arg
[all...]
/freebsd-11-stable/contrib/gcc/config/
H A Ddarwin.c236 || (strncmp (name, "_OBJC_", 6) == 0));
1176 !strncmp (IDENTIFIER_POINTER (DECL_NAME (exp)), "_OBJC_", 6))
1180 if (!strncmp (name, "_OBJC_CLASS_METHODS_", 20))
1182 else if (!strncmp (name, "_OBJC_INSTANCE_METHODS_", 23))
1184 else if (!strncmp (name, "_OBJC_CATEGORY_CLASS_METHODS_", 20))
1186 else if (!strncmp (name, "_OBJC_CATEGORY_INSTANCE_METHODS_", 23))
1188 else if (!strncmp (name, "_OBJC_CLASS_VARIABLES_", 22))
1190 else if (!strncmp (name, "_OBJC_INSTANCE_VARIABLES_", 25))
1192 else if (!strncmp (name, "_OBJC_CLASS_PROTOCOLS_", 22))
1194 else if (!strncmp (nam
[all...]
/freebsd-11-stable/sys/contrib/dev/acpica/common/
H A Ddmswitch.c207 if (!strncmp(Temp, "_T_", 3))
249 if (!strncmp(Temp, (char *) (&Current->Op->Named.Name), 4))
392 if (strncmp ((char *) (NamePathOp->Common.Value.Name), "_T_", 3))
635 strncmp(CurrentOp->Common.Value.Name, "_T_", 3))
671 strncmp(CurrentOp->Common.Value.Name, "_T_", 3))
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_util.c137 if (strncmp(node, "pts/", sz) == 0 && node[sz] != '\0') {
150 if (strncmp(node, "dri/card", sz) == 0 && node[sz] != '\0') {
157 if (strncmp(node, "dri/controlD", sz) == 0 && node[sz] != '\0') {
164 if (strncmp(node, "dri/renderD", sz) == 0 && node[sz] != '\0') {
171 if (strncmp(node, "drm/", sz) == 0 && node[sz] != '\0') {
/freebsd-11-stable/contrib/wpa/src/common/
H A Dwpa_helpers.c53 if (strncmp(buf, "FAIL", 4) == 0) {
142 (strncmp(pos + 1, event, strlen(event)) == 0 ||
144 strncmp(pos + 1, event2, strlen(event2)) == 0)))
193 if (strncmp(pos, field, flen) != 0 || pos[flen] != '=') {
225 if (strncmp(ip, "169.254.", 8) != 0)

Completed in 360 milliseconds

1234567891011>>