bin/csh/csh.h
491
#define Strncmp(a, b, c) strncmp(a, b, c)
bin/df/df.c
314
if (!strncmp(type, *av, len))
bin/ksh/emacs.c
1005
return (strncmp(str, pat+1, strlen(pat+1)) == 0) ? 0 : -1;
bin/ksh/expr.c
527
&& strncmp(cp, opinfo[i].name, opinfo[i].len) == 0)
bin/ksh/history.c
524
if ((anchored && strncmp(*hp, str, len) == 0)
bin/ksh/jobs.c
1612
if (strncmp(cp, j->proc_list->command, len) == 0) {
bin/ksh/sh.h
153
# define FILENCMP(s1, s2, n) strncmp(s1, s2, n)
bin/ksh/trap.c
117
(strlen(name) > 3 && !strncmp("SIG",
bin/mt/mt.c
148
if (strncmp(p, cp->c_name, clen) == 0) {
bin/pax/ar_subs.c
178
if (strncmp(buf, cwdpath, cwdpathlen) != 0) {
bin/pax/cpio.c
269
(strncmp(blk, AMAGIC, sizeof(AMAGIC) - 1) != 0))
bin/pax/cpio.c
511
(strncmp(blk, AVMAGIC, sizeof(AVMAGIC) - 1) != 0))
bin/pax/cpio.c
528
(strncmp(blk, AVCMAGIC, sizeof(AVCMAGIC) - 1) != 0))
bin/pax/options.c
1265
if (strncmp(str, "-C ", 3) == 0) {
bin/pax/options.c
1366
if (strncmp(str, "-C ", 3) == 0) {
bin/pax/pat_rep.c
473
(strncmp(pt->pstr, arcn->name, pt->plen) == 0))
bin/pax/tables.c
422
if (!strncmp(ckname, arcn->name, namelen))
bin/pax/tar.c
397
if (strncmp(uhd->magic, TMAGIC, TMAGLEN - 1) == 0) {
bin/pax/tar.c
794
if (strncmp(hd->magic, TMAGIC, TMAGLEN - 1) != 0)
bin/pax/tar.c
797
if (strncmp(hd->magic, "ustar ", 8) == 0 && !is_gnutar &&
bin/ps/print.c
230
!strncmp(name, title, namelen) &&
bin/ps/ps.c
168
else if (strncmp(ttname, "pts/", 4) == 0 ||
bin/ps/ps.c
169
strncmp(ttname, "tty", 3) == 0) {
bin/ps/ps.c
186
if (pts != NODEVMAJOR && strncmp(ttname, "pts/", 4) == 0) {
bin/sh/eval.c
1018
if (strncmp(sp->text, PATH, sizeof(PATH) - 1) == 0)
bin/sh/histedit.c
904
if (*s == *p && strncmp(s, p, plen) == 0) {
bin/sh/histedit.c
963
if (strncmp(entry->d_name, text, curpos) != 0)
bin/sh/redir.c
1058
if (len >= fn->minch && strncmp(s,fn->name,len) == 0) {
bin/stty/stty.c
143
if (!strncmp(*argv, "gfmt1", sizeof("gfmt1") - 1)) {
common/lib/libc/string/strstr.c
68
} while (strncmp(s, find, len) != 0);
common/lib/libprop/prop_intern.c
703
#define MATCH(str) (strncmp(&data[1], str, strlen(str)) == 0)
crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
2457
if (strncmp(in, "0s", 2) != 0) {
crypto/dist/ipsec-tools/src/racoon/handler.c
1509
if (strncmp(p->mode_cfg->login, login, LOGINLEN) == 0)
crypto/dist/ipsec-tools/src/racoon/handler.c
1527
if (strncmp(p->mode_cfg->login, login, LOGINLEN) == 0) {
crypto/dist/ipsec-tools/src/racoon/localconf.c
248
strncmp(buf, "*", 2) == 0 ||
crypto/dist/ipsec-tools/src/racoon/localconf.c
250
(strncmp(buf, str, len) == 0 && buf[len] == '\0')) {
crypto/dist/ipsec-tools/src/racoon/localconf.c
258
if (strncmp(p, "0x", 2) == 0) {
crypto/dist/ipsec-tools/src/racoon/privsep.c
1454
if (strncmp(*e, *be, strlen(*be)) == 0) {
crypto/dist/ipsec-tools/src/racoon/privsep.c
1493
if (strncmp(path, rpath, len) != 0)
crypto/dist/ipsec-tools/src/racoon/vendorid.c
138
if (strncmp(all_vendor_ids[i].hash->v, hash,
dist/pf/sbin/pfctl/parse.y
2284
if (strncmp($2, "pflog", 5)) {
dist/pf/sbin/pfctl/parse.y
3351
if (!strncmp($1, "0x", 2)) {
dist/pf/sbin/pfctl/parse.y
4523
if (!strncmp(a->qname, tqueue->queue, PF_QNAME_SIZE) &&
dist/pf/sbin/pfctl/parse.y
4525
(!interface->not && !strncmp(interface->ifname,
dist/pf/sbin/pfctl/parse.y
4527
(interface->not && strncmp(interface->ifname,
dist/pf/sbin/pfctl/pfctl.c
1946
if (!strncmp(cmd, *list, strlen(cmd)))
dist/pf/sbin/pfctl/pfctl_altq.c
107
if (strncmp(ifname, altq->ifname, IFNAMSIZ) == 0 &&
dist/pf/sbin/pfctl/pfctl_altq.c
120
if (strncmp(ifname, altq->ifname, IFNAMSIZ) == 0 &&
dist/pf/sbin/pfctl/pfctl_altq.c
121
strncmp(qname, altq->qname, PF_QNAME_SIZE) == 0)
dist/pf/sbin/pfctl/pfctl_altq.c
139
if (strncmp(qname, altq->qname, PF_QNAME_SIZE) == 0)
dist/pf/sbin/pfctl/pfctl_altq.c
347
if (strncmp(altq->ifname, pa->ifname,
dist/pf/sbin/pfctl/pfctl_altq.c
350
strncmp(altq->parent, pa->parent,
dist/pf/sbin/pfctl/pfctl_altq.c
522
if (strncmp(altq->ifname, pa->ifname, IFNAMSIZ) != 0)
dist/pf/sbin/pfctl/pfctl_altq.c
593
if (strncmp(altq->ifname, pa->ifname, IFNAMSIZ) == 0 &&
dist/pf/sbin/pfctl/pfctl_altq.c
616
if (strncmp(altq->ifname, pa->ifname, IFNAMSIZ) != 0)
dist/pf/sbin/pfctl/pfctl_altq.c
713
if (strncmp(altq->ifname, pa->ifname, IFNAMSIZ) != 0)
dist/pf/sbin/pfctl/pfctl_altq.c
726
if (strncmp(altq->parent, pa->parent, PF_QNAME_SIZE) != 0)
dist/pf/sbin/pfctl/pfctl_altq.c
807
if (strncmp(altq->ifname, pa->ifname, IFNAMSIZ) != 0)
dist/pf/sbin/pfctl/pfctl_altq.c
824
if (strncmp(altq->ifname, pa->ifname, IFNAMSIZ) != 0)
dist/pf/sbin/pfctl/pfctl_altq.c
828
if (strncmp(altq->parent, def->qname, PF_QNAME_SIZE) == 0) {
dist/pf/sbin/pfctl/pfctl_parser.c
1253
if (n->af == AF_LINK && !strncmp(n->ifname, ifa_name, IFNAMSIZ))
dist/pf/sbin/pfctl/pfctl_parser.c
1317
if (!strncmp(ifa_name, "self", IFNAMSIZ))
dist/pf/sbin/pfctl/pfctl_parser.c
1404
if (strncmp(p->ifname, filter, n))
dist/pf/sbin/pfctl/pfctl_parser.c
1494
if (ifa_exists(ps) || !strncmp(ps, "self", IFNAMSIZ)) {
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
958
if ((s->cmd == CMD_PASV && strncmp("227 ", linebuf, 4) == 0) ||
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
959
(s->cmd == CMD_EPSV && strncmp("229 ", linebuf, 4) == 0))
games/adventure/extern.h
104
#define weq(str1, str2) (!strncmp((str1), (str2), 5))
games/hack/hack.do_name.c
339
if (!strncmp(bp, "the ", 4))
games/hack/hack.do_name.c
358
if (!strncmp(bp, "The ", 4)) {
games/hack/hack.end.c
403
strncmp(t1->name, t0->name, NAMSZ) == 0 &&
games/hack/hack.end.c
463
strncmp(t1->name, t0->name, NAMSZ)))
games/hack/hack.end.c
531
if (!strncmp("escaped", t1->death, 7)) {
games/hack/hack.end.c
541
if (!strncmp(t1->death, "quit", 4)) {
games/hack/hack.end.c
553
} else if (!strncmp(t1->death, "starv", 5)) {
games/hack/hack.end.c
580
(!strncmp(t1->death, "trick", 5) || !strncmp(t1->death, "the ", 4))
games/hack/hack.end.c
709
if (argc > 1 && !strncmp(argv[1], "-s", 2)) {
games/hack/hack.end.c
754
strncmp(t1->name, players[i], NAMSZ) == 0 ||
games/hack/hack.end.c
791
strncmp(t1->name, players[i], NAMSZ) == 0 ||
games/hack/hack.engrave.c
117
if (!strncmp(s, t, n))
games/hack/hack.main.c
126
if (argc > 1 && !strncmp(argv[1], "-d", 2)) {
games/hack/hack.main.c
169
if (argc > 1 && !strncmp(argv[1], "-s", 2)) {
games/hack/hack.main.c
262
if (!*plname || !strncmp(plname, "player", 4)
games/hack/hack.main.c
263
|| !strncmp(plname, "games", 4))
games/hack/hack.objnam.c
306
if (!strncmp(" of ", p, 4)) {
games/hack/hack.objnam.c
355
if (strncmp(bp, "cheap ", 6))
games/hack/hack.objnam.c
463
if (!strncmp(bp, "the ", 4)) {
games/hack/hack.objnam.c
466
} else if (!strncmp(bp, "an ", 3)) {
games/hack/hack.objnam.c
469
} else if (!strncmp(bp, "a ", 2)) {
games/hack/hack.objnam.c
514
if (!strncmp(p, " named ", 7)) {
games/hack/hack.objnam.c
519
if (!strncmp(p, " called ", 8)) {
games/hack/hack.objnam.c
524
if (!strncmp(p, " labeled ", 9)) {
games/hack/hack.objnam.c
532
if (!strncmp(p, "s of ", 5)) {
games/hack/hack.objnam.c
586
if (!strncmp(bp, wrp[ii], j)) {
games/hack/hack.objnam.c
589
if (!strncmp(bp, " of ", 4))
games/hack/hack.options.c
113
while ((*opts == '!') || !strncmp(opts, "no", 2)) {
games/hack/hack.options.c
121
if (!strncmp(opts, "standout", 8)) {
games/hack/hack.options.c
125
if (!strncmp(opts, "null", 3)) {
games/hack/hack.options.c
129
if (!strncmp(opts, "tombstone", 4)) {
games/hack/hack.options.c
133
if (!strncmp(opts, "news", 4)) {
games/hack/hack.options.c
137
if (!strncmp(opts, "time", 4)) {
games/hack/hack.options.c
142
if (!strncmp(opts, "restonspace", 4)) {
games/hack/hack.options.c
146
if (!strncmp(opts, "fixinv", 4)) {
games/hack/hack.options.c
153
if (!strncmp(opts, "male", 4)) {
games/hack/hack.options.c
157
if (!strncmp(opts, "female", 6)) {
games/hack/hack.options.c
162
if (!strncmp(opts, "name", 4)) {
games/hack/hack.options.c
174
if (!strncmp(opts, "endgame", 3)) {
games/hack/hack.options.c
210
if (!strncmp(opts, "help", 4)) {
games/hack/hack.rip.c
102
!strncmp(killer, "the ", 4) ? "" :
games/hack/hack.shk.c
317
strncmp(ESHK(shopkeeper)->customer, plname, PL_NSIZ)) {
games/hack/hack.shk.c
362
strncmp(ESHK(shopkeeper)->customer, plname, PL_NSIZ))
games/hack/hack.shk.c
524
if (strncmp(ESHK(shkp)->customer, plname, PL_NSIZ)
games/hack/hack.shk.c
961
if (strncmp(ESHK(shkp)->customer, plname, PL_NSIZ)) {
games/hack/hack.topl.c
235
strncmp(bp, "You ", 4)) {
games/hack/makedefs.c
117
if (!strncmp(string, "RIN_", 4)) {
games/hack/makedefs.c
125
if (!strncmp(string, "WORTHLESS_PIECE_OF_", 19))
games/hunt/hunt/hunt.c
665
if (strncmp(envp, "cloak,", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
669
else if (strncmp(envp, "scan,", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
673
else if (strncmp(envp, "fly,", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
677
else if (strncmp(envp, "nobeep,", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
681
else if (strncmp(envp, "name=", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
693
else if (strncmp(envp, "port=", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
703
else if (strncmp(envp, "host=", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
712
else if (strncmp(envp, "message=", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
722
else if (strncmp(envp, "team=", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
733
else if (strncmp(envp, "mapkey=", s - envp + 1) == 0) {
games/hunt/huntd/answer.c
410
&& strncmp(ip->i_name, name, WIRE_NAMELEN) == 0)
games/monop/execute.c
466
if (!strncmp(txt, "NetBSD monop format v", 21)) {
games/rogue/init.c
293
if (!strncmp(eptr, "fruit=", 6)) {
games/rogue/init.c
296
} else if (!strncmp(eptr, "file=", 5)) {
games/rogue/init.c
299
} else if (!strncmp(eptr, "jump", 4)) {
games/rogue/init.c
301
} else if (!strncmp(eptr, "name=", 5)) {
games/rogue/init.c
304
} else if (!strncmp(eptr, "noaskquit", 9)) {
games/rogue/init.c
306
} else if (!strncmp(eptr, "noskull", 5) ||
games/rogue/init.c
307
!strncmp(eptr,"notomb", 6)) {
games/rogue/init.c
309
} else if (!strncmp(eptr, "passgo", 5)) {
games/rogue/inventory.c
667
if (!strncmp(db.buf, "an ", 3)) {
games/rogue/zap.c
239
if (!strncmp(buf, "\247\104\126\272\115\243\027", 7)) {
games/warp/warp.h
147
#define strnNE(s1,s2,l) (strncmp(s1,s2,l))
games/warp/warp.h
148
#define strnEQ(s1,s2,l) (!strncmp(s1,s2,l))
include/string.h
106
int strncmp(const char *, const char *, size_t);
lib/libc/citrus/citrus_db.c
74
if (strncmp(dhx->dhx_magic, magic, _CITRUS_DB_MAGIC_SIZE) != 0)
lib/libc/citrus/citrus_module.c
224
if (strncmp(dp->d_name, lname, (size_t)len) != 0)
lib/libc/citrus/citrus_module.c
226
if (strncmp(dp->d_name+len, ".so.", 4) != 0)
lib/libc/citrus/modules/citrus_hz.c
649
} else if (strncmp("94*", s, 3) == 0) {
lib/libc/citrus/modules/citrus_hz.c
651
} else if (strncmp("96*", s, 3) == 0) {
lib/libc/citrus/modules/citrus_iso2022.c
175
if (!strncmp(p, "94$", 3) && p[3] && !p[4]) {
lib/libc/citrus/modules/citrus_iso2022.c
180
} else if (!strncmp(p, "96$", 3) && p[3] && !p[4]) {
lib/libc/citrus/modules/citrus_iso2022.c
185
} else if (!strncmp(p, "94", 2) && p[2] && !p[3]) {
lib/libc/citrus/modules/citrus_iso2022.c
190
} else if (!strncmp(p, "96", 2) && p[2] && !p[3]) {
lib/libc/citrus/modules/citrus_iso2022.c
271
if (strncmp("INIT", &token[0], 4) ||
lib/libc/gen/ctype_.c
209
if (strncmp(*envp, vareq, strlen(vareq)) == 0) {
lib/libc/gen/devname.c
127
if (strncmp(fe->fts_path, path_dev, len_dev))
lib/libc/gen/getttyent.c
129
#define scmp(e) !strncmp(p, e, sizeof(e) - 1) && (isspace((unsigned char) p[sizeof(e) - 1]) || p[sizeof(e) - 1] == '\0')
lib/libc/gen/getttyent.c
130
#define vcmp(e) !strncmp(p, e, sizeof(e) - 1) && p[sizeof(e) - 1] == '='
lib/libc/gen/opendir.c
142
if (!strncmp(sfb.f_fstypename, MOUNT_UNION,
lib/libc/gen/opendir.c
150
if (!strncmp(sfb.f_fstypename, MOUNT_NFS, sizeof(sfb.f_fstypename))) {
lib/libc/gen/utmpx.c
228
if (strncmp(ut.ut_line, utx->ut_line,
lib/libc/regex/regcomp.c
1105
if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", 6) == 0) {
lib/libc/regex/regcomp.c
1110
if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", 6) == 0) {
lib/libc/regex/regcomp.c
1392
if (strncmp(cp->name, sp, len) == 0 && strlen(cp->name) == len)
lib/libc/resolv/res_init.c
357
(!strncmp(line, name, sizeof(name) - 1) && \
lib/libc/resolv/res_init.c
625
if (!strncmp(cp, "ndots:", sizeof("ndots:") - 1)) {
lib/libc/resolv/res_init.c
635
} else if (!strncmp(cp, "timeout:", sizeof("timeout:") - 1)) {
lib/libc/resolv/res_init.c
646
} else if (!strncmp(cp, "retrans:", sizeof("retrans:") - 1)) {
lib/libc/resolv/res_init.c
653
} else if (!strncmp(cp, "retry:", sizeof("retry:") - 1)){
lib/libc/resolv/res_init.c
661
} else if (!strncmp(cp, "attempts:", sizeof("attempts:") - 1)){
lib/libc/resolv/res_init.c
671
} else if (!strncmp(cp, "debug", sizeof("debug") - 1)) {
lib/libc/resolv/res_init.c
680
} else if (!strncmp(cp, "no_tld_query",
lib/libc/resolv/res_init.c
682
!strncmp(cp, "no-tld-query",
lib/libc/resolv/res_init.c
685
} else if (!strncmp(cp, "inet6", sizeof("inet6") - 1)) {
lib/libc/resolv/res_init.c
687
} else if (!strncmp(cp, "rotate", sizeof("rotate") - 1)) {
lib/libc/resolv/res_init.c
689
} else if (!strncmp(cp, "no-check-names",
lib/libc/resolv/res_init.c
692
} else if (!strncmp(cp, "check-names",
lib/libc/resolv/res_init.c
697
else if (!strncmp(cp, "edns0", sizeof("edns0") - 1)) {
lib/libc/resolv/res_init.c
701
else if (!strncmp(cp, "dname", sizeof("dname") - 1)) {
lib/libc/resolv/res_init.c
704
else if (!strncmp(cp, "nibble:", sizeof("nibble:") - 1)) {
lib/libc/resolv/res_init.c
712
else if (!strncmp(cp, "nibble2:", sizeof("nibble2:") - 1)) {
lib/libc/resolv/res_init.c
720
else if (!strncmp(cp, "v6revmode:", sizeof("v6revmode:") - 1)) {
lib/libc/resolv/res_init.c
723
if (!strncmp(cp, "single", sizeof("single") - 1)) {
lib/libc/resolv/res_init.c
725
} else if (!strncmp(cp, "both", sizeof("both") - 1)) {
lib/libc/rpc/getnetconfig.c
476
strncmp(stringp, netid, len) == 0) {
lib/libc/stdlib/_env.c
262
if (strncmp(environ[num_entries], name, l_name) == 0 &&
lib/libc/stdlib/getopt_long.c
391
if (strncmp(current_argv, long_options[i].name,
lib/libc/stdlib/unsetenv.c
88
if (strncmp(environ[r_offset], name, l_name) != 0 ||
lib/libc/string/strnstr.c
67
} while (strncmp(s, find, len) != 0);
lib/libc/time/localtime.c
1056
&& strncmp(relname, tzdirslash, tzdirslashlen) == 0)
lib/libc/time/zdump.c
265
to += strncmp(*e, TZeq, TZeqlen) != 0;
lib/libcompat/regexp/regexp.c
818
if (strncmp(s, prog->regmust,
lib/libcompat/regexp/regexp.c
957
if (len > 1 && strncmp(opnd, reginput,
lib/libcrypt/crypt-argon2.c
289
if (strncmp(a, "v=", 2) == 0) {
lib/libcrypt/crypt-sha1.c
134
if (!strncmp(salt, magic, strlen(magic))) {
lib/libcrypt/hmac.c
185
if (strncmp(v, "0x", 2) == 0) { \
lib/libcrypt/md5crypt.c
56
if (strncmp(sp, MD5_MAGIC, MD5_MAGIC_LEN) == 0)
lib/libcurses/keyname.c
500
if (!strncmp(name, "M-", 2)) {
lib/libcurses/setterm.c
291
if (!strncmp(capptr, "\x1b[", 2)) {
lib/libdm/libdm_ioctl.c
225
if ((strncmp(command, cmd_ver[i].cmd, slen)) == 0) {
lib/libedit/TEST/tc1.c
108
if (strncmp(dp->d_name, ptr, len) == 0) {
lib/libedit/TEST/wtc1.c
90
if (strncmp(dp->d_name, buf, mblen) == 0) {
lib/libedit/filecomplete.c
418
&& strncmp(entry->d_name, filename,
lib/libedit/history.c
70
#define Strncmp(d, s, n) strncmp(d, s, n)
lib/libedit/history.c
794
if (strncmp(line, hist_cookie, (size_t)sz) != 0)
lib/libedit/readline.c
540
if (*s == *what && !strncmp(s, what, what_len)) {
lib/libedit/readline.c
553
if (*s == *what && !strncmp(s, what, what_len)) {
lib/libedit/tty.c
1255
if ((p ? strncmp(m->m_name, ct_encode_string(d,
lib/libform/type_enum.c
200
cur_match = (strncmp(&choices[i][enum_start],
lib/libmenu/internals.c
352
if (strncmp(menu->items[i]->name.string,
lib/libnpf/npf.c
558
return strncmp(name, NPF_RULESET_MAP_PREF,
lib/libossaudio/oss3_mixer.c
360
!strncmp(di->names[i], label->name, sizeof di->names[i])) {
lib/libpam/libpam/pam_std_option.c
105
else if (strncmp(argv[j], options->opt[i].name, arglen)
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
96
if (len == ulen && strncmp(user, line, len) == 0)
lib/libpam/modules/pam_guest/pam_guest.c
67
strncmp(list, str, len) == 0)
lib/libpam/modules/pam_lastlog/pam_lastlog.c
164
if (strncmp(tty, _PATH_DEV, strlen(_PATH_DEV)) == 0)
lib/libpam/modules/pam_lastlog/pam_lastlog.c
220
if (strncmp(tty, _PATH_DEV, strlen(_PATH_DEV)) == 0)
lib/libpam/modules/pam_login_access/login_access.c
231
&& strncmp(tok, string, tok_len) == 0) {
lib/libpam/modules/pam_securetty/pam_securetty.c
95
if (tty != NULL && strncmp(TTY_PREFIX, tty, sizeof(TTY_PREFIX)) == 0) {
lib/libpam/modules/pam_ssh/pam_ssh.c
254
if (len < 4 || strncmp(line, "SSH_", 4) != 0)
lib/libperfuse/ops.c
459
if (strncmp(path, "..", len) != 0)
lib/libperfuse/perfuse.c
132
if (strncmp(opt, fdopt, strlen(fdopt)) == 0) {
lib/libperfuse/subr.c
225
if (strncmp(attrname, system_ns[i], strlen(system_ns[i])) == 0)
lib/libperfuse/subr.c
254
if (strncmp(attrname, pnm->pnm_ns, pnm->pnm_nslen) != 0)
lib/libpthread/pthread.c
1410
if (strncmp(name, environ[offset], l_name) == 0 &&
lib/libpuffs/paths.c
198
rv = strncmp(c1->po_path, c2->po_path, clen);
lib/libpuffs/puffs.c
592
if (strncmp(dir, rp, rplen) != 0 ||
lib/librefuse/refuse_opt.c
191
if (strlen(opt) >= cmp_len && strncmp(templ, opt, cmp_len) == 0) {
lib/libresolv/support.c
67
if (s > b || strncmp(*buf, str, s)) /*%< check if same */
lib/librmt/rmtlib.c
614
if (strncmp(path + 1, "/dev/", 5) == 0) {
lib/librt/shm.c
76
if (strncmp(sv.f_fstypename, MOUNT_SHMFS, sizeof(sv.f_fstypename)))
lib/librumphijack/hijack.c
1097
if (strncmp(path, rumpprefix, rumpprefixlen) == 0
lib/librumphijack/hijack.c
1104
if (strncmp(path, blanket[i].pfx, blanket[i].len) == 0)
lib/librumphijack/hijack.c
688
if (strncmp(buf, "all", strlen("all")) == 0) {
lib/librumphijack/hijack.c
699
if (strncmp(p, "no", strlen("no")) == 0) {
lib/librumphijack/hijack.c
803
if (strncmp(buf, "all", strlen("all")) == 0) {
lib/librumphijack/hijack.c
812
if (strncmp(p, "no", strlen("no")) == 0) {
lib/librumphijack/hijack.c
936
if (strncmp(hijackparse[i].name, p,
lib/librumpuser/rumpuser_dl.c
325
if (strncmp(cursymname, "rump", 4) != 0 &&
lib/librumpuser/rumpuser_dl.c
326
strncmp(cursymname, "RUMP", 4) != 0 &&
lib/librumpuser/rumpuser_dl.c
327
strncmp(cursymname, "__", 2) != 0) {
lib/libskey/put.c
2214
if ((j = strncmp (w, Wp[i], 4)) == 0)
lib/libskey/put.c
2219
if (strncmp (w, Wp[high], 4) == 0)
lib/libtelnet/sra.c
462
if (strncmp(ttyn, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0)
lib/libukfs/ukfs.c
1208
if (strncmp(result->d_name, RUMPFSMOD_PREFIX,
lib/libusbhid/usage.c
226
if (strncmp(pages[k].name, name, len) == 0)
lib/libutil/getdiskrawname.c
119
if (strncmp("/dev/zvol/", name, 10) == 0)
lib/libutil/getfsspecname.c
140
if (strncmp(dk, "dk", 2) != 0)
lib/libutil/logout.c
65
if (!ut.ut_name[0] || strncmp(ut.ut_line, line,
lib/libutil/parsedate.y
997
if (strncmp(buff, tp->name, 3) == 0) {
lib/libutil/passwd.c
605
if (strncmp(key, line, strlen(key)) != 0 ||
lib/libutil/passwd.c
621
if (!strncmp(p, option, strlen(option))) {
lib/libutil/ttyaction.c
89
if (!strncmp(tty, "/dev/", (size_t)5))
lib/libutil/ttymsg.c
92
ptr = strncmp(line, "pts/", (size_t)4) == 0 ? line + 4 : line;
lib/libwrap/hosts_access.c
324
} else if (strncmp(tok, "{RBL}.", 6) == 0) { /* RBL lookup in domain */
libexec/comsat/comsat.c
229
if (strncmp(cr, "pts/", 4) == 0)
libexec/comsat/comsat.c
312
if (strncmp(line, "From ", 5) == 0) {
libexec/ftpd/logutmp.c
144
|| strncmp(ut.ut_line, line, UT_LINESIZE))
libexec/httpd/bozohttpd.c
417
if (strncmp(target, *cur, len) == 0) {
libexec/httpd/cgi-bozo.c
430
strncmp(url + 1, CGIBIN_PREFIX, CGIBIN_PREFIX_LEN) != 0) {
libexec/httpd/cgi-bozo.c
483
nph = strncmp(command, "nph-", 4) == 0;
libexec/ld.elf_so/expand.c
139
if (strncmp(bltn[i].name, p, s) == 0) {
libexec/ld.elf_so/rtld.c
1000
} else if (strncmp(*env, preload_var, LEN(preload_var)) == 0) {
libexec/ld.elf_so/rtld.c
983
} else if (strncmp(*env, debug_var, LEN(debug_var)) == 0) {
libexec/ld.elf_so/rtld.c
990
} else if (strncmp(*env, bind_var, LEN(bind_var)) == 0) {
libexec/ld.elf_so/rtld.c
995
} else if (strncmp(*env, path_var, LEN(path_var)) == 0) {
libexec/makewhatis/makewhatis.c
659
if (strncmp(buffer, "NAME", 4) == 0)
libexec/makewhatis/makewhatis.c
705
if (strncmp(from, ".\\\"", 3) == 0)
libexec/telnetd/state.c
1060
strncmp(varp, "LD_", strlen("LD_")) && /* most systems */
libexec/telnetd/state.c
1061
strncmp(varp, "_RLD_", strlen("_RLD_")) && /* IRIX */
libexec/telnetd/state.c
1066
strncmp(varp, "KRB5", strlen("KRB5")) && /* Krb5 */
libexec/telnetd/sys_term.c
745
if(strncmp(*cpp, *p, strlen(*p)) == 0) {
libexec/telnetd/sys_term.c
753
if(strncmp(*cpp, *p, strlen(*p)) == 0)
libexec/telnetd/telnetd.c
604
if ((strncmp(last, terminaltype, sizeof(last)) == 0) ||
libexec/telnetd/telnetd.c
610
if (strncmp(first, terminaltype, sizeof(first)) == 0)
libexec/telnetd/telnetd.c
618
if (strncmp(first, terminaltype, sizeof(first)) != 0) {
libexec/tftpd/tftpd.c
801
(!strncmp(filename, dirp->name, dirp->len) &&
libexec/tftpd/tftpd.c
824
if (!strncmp(filename, "../", 3))
sbin/brconfig/brconfig.c
290
if (strncmp(bridge, "bridge", 6) != 0 ||
sbin/ccdconfig/ccdconfig.c
541
if (strncmp(dev, "/dev/", 5) == 0)
sbin/cgdconfig/cgdconfig.c
1691
if (strncmp(dp->d_name, "rcgd", 4) != 0)
sbin/disklabel/interact.c
620
if (strncmp(line, cmd->name, strlen(cmd->name)) == 0) {
sbin/dump/itime.c
149
if (strncmp(fname, ddp->dd_name, sizeof (ddp->dd_name)) != 0)
sbin/dump/itime.c
190
if (strncmp(fname, dtwalk->dd_name,
sbin/dump/optr.c
502
if (strncmp(lastname, dtwalk->dd_name,
sbin/dump/optr.c
531
diff = strncmp(d1->dd_name, d2->dd_name, sizeof(d1->dd_name));
sbin/fsck/preen.c
304
if (strncmp(d->d_name, name, len) == 0 && d->d_name[len] == 0)
sbin/fsck_ext2fs/dir.c
384
strncmp(dirp->e2d_name, idesc->id_name, (int)namlen))
sbin/fsck_ext2fs/pass2.c
316
strncmp(dirp->e2d_name, "..", 2) == 0) {
sbin/fsck_ext2fs/pass2.c
330
strncmp(dirp->e2d_name, ".", 1) != 0) {
sbin/fsck_udf/main.c
1174
if (strncmp((const char *) vrs->identifier, VRS_BEA01, 5) == 0)
sbin/fsck_udf/main.c
1176
if (strncmp((const char *) vrs->identifier, VRS_NSR02, 5) == 0)
sbin/fsck_udf/main.c
1178
if (strncmp((const char *) vrs->identifier, VRS_NSR03, 5) == 0)
sbin/fsck_udf/main.c
1180
if (strncmp((const char *) vrs->identifier, VRS_TEA01, 5) == 0) {
sbin/fsck_udf/main.c
1855
error = strncmp(regid_name, "*UDF Virtual Alloc Tbl", 22);
sbin/fsck_udf/main.c
2425
if (strncmp(domain_name, "*OSTA UDF Compliant", 20)) {
sbin/fsck_udf/main.c
2478
if (strncmp(map_name, check_name, len) == 0) {
sbin/fsck_udf/main.c
2486
if (strncmp(map_name, check_name, len) == 0) {
sbin/fsck_udf/main.c
2498
if (strncmp(map_name, check_name, len) == 0) {
sbin/fsck_v7fs/pathname.c
186
if (strncmp(dir->name, "..", 2) != 0)
sbin/ifconfig/agr.c
79
return strncmp(ifname, "agr", 3) != 0 ||
sbin/ifconfig/l2tp.c
110
return strncmp(ifname, "l2tp", 4) != 0 ||
sbin/ifconfig/lagg.c
242
if (strncmp(ifname, "lagg", 4) != 0)
sbin/ifconfig/lagg.c
375
if (strncmp(proto, laggprotostr[i], proto_len) == 0)
sbin/ifconfig/vlan.c
91
return strncmp(ifname, "vlan", 4) != 0 ||
sbin/iscsid/iscsid_targets.c
852
if (strncmp((char *)tp, "TargetName=", 11) != 0) {
sbin/iscsid/iscsid_targets.c
863
while (*tp && strncmp((char *)tp, "TargetAddress=", 14) == 0) {
sbin/ldconfig/ldconfig.c
232
if (!strncmp(dir, _PATH_EMUL_AOUT, sizeof(_PATH_EMUL_AOUT)-1))
sbin/mount/mount.c
416
if (strncmp(mountedtype,
sbin/mount/mount.c
426
if (strncmp(name, sfp[i].f_mntonname, MNAMELEN) == 0 &&
sbin/mount/mount.c
427
strncmp(vfstype, mountedtype, cmplen) == 0) {
sbin/mount/mount.c
459
strncmp(vfstype, PUFFS_TYPEPREFIX, sizeof(PUFFS_TYPEPREFIX)-1) == 0)
sbin/mount_portal/conf.c
333
if (strncmp(p->p_key, key, strlen(p->p_key)) == 0)
sbin/mount_portal/pt_filter.c
126
if (!strncmp(v[1], key, strlen(v[1])))
sbin/mount_qemufwcfg/virtdir.c
201
if (strncmp(dirp->tp->v[dirp->i].name, dirp->dirname,
sbin/mount_tmpfs/mount_tmpfs.c
187
if (strncmp(optarg, "ram/", 4) == 0)
sbin/mount_tmpfs/mount_tmpfs.c
189
else if (strncmp(optarg, "ram%", 4) == 0)
sbin/mount_union/mount_union.c
145
if ((strncmp(p, dir, l) == 0) && (p[l] == '/' || p[l] == '\0'))
sbin/newfs/newfs.c
529
if (strncmp(_PATH_DEV, s1, len) == 0)
sbin/newfs/newfs.c
534
if (strncmp(_PATH_DEV, s2, len) == 0) {
sbin/newfs/newfs.c
729
!strncmp(sf.f_mntonname, mounttoname,
sbin/newfs_ext2fs/newfs_ext2fs.c
272
if (strncmp(_PATH_DEV, s1, len) == 0)
sbin/newfs_ext2fs/newfs_ext2fs.c
277
if (strncmp(_PATH_DEV, s2, len) == 0) {
sbin/newfs_msdos/mkfs_msdos.c
789
if (!strncmp(s1, _PATH_DEV, len))
sbin/newfs_msdos/mkfs_msdos.c
794
if (!strncmp(s2, _PATH_DEV, len))
sbin/newfs_udf/udf_core.c
1868
if (strncmp(target, mntonname, mntonnamelen) == 0) {
sbin/newfs_udf/udf_core.c
1913
if ((compnamelen == 2) && (strncmp(compnamepos, "..", 2) == 0))
sbin/newfs_udf/udf_core.c
2178
if (strncmp((char *) implext->imp_id.id, "*UDF", 4) == 0) {
sbin/newfs_udf/udf_core.c
2192
if (strncmp((char *) implext->imp_id.id, "*UDF", 4) == 0) {
sbin/ping/ping.c
426
if (!strncmp("in", optarg, 2)) {
sbin/ping/ping.c
430
} else if (!strncmp("out", optarg, 3)) {
sbin/ping6/ping6.c
539
if (!strncmp("in", optarg, 2)) {
sbin/ping6/ping6.c
542
} else if (!strncmp("out", optarg, 3)) {
sbin/pppoectl/pppoectl.c
385
#define startswith(a,s) strncmp(a, s, (off = strlen(s))) == 0
sbin/raidctl/raidctl.c
157
if (strncmp(argv[2],"create",6)==0) {
sbin/raidctl/raidctl.c
659
if (strncmp(name, "component", 9) == 0)
sbin/raidctl/raidctl.c
756
if (strncmp(component_name, device_config.devs[i].devname,
sbin/raidctl/raidctl.c
764
if (strncmp(component_name,
sbin/raidctl/rf_configure.c
200
if (!strncmp(cp, "START", sizeof("START") - 1))
sbin/raidctl/rf_configure.c
522
if (!strncmp(p, "START", strlen("START"))) {
sbin/raidctl/rf_configure.c
525
if (!strncmp(p, string, strlen(string)))
sbin/raidctl/rf_configure.c
610
if (!strncmp(buf, targString, strlen(targString)))
sbin/rcorder/rcorder.c
444
if (strncmp(REQUIRE_STR, buf, REQUIRE_LEN) == 0)
sbin/rcorder/rcorder.c
446
else if (strncmp(REQUIRES_STR, buf, REQUIRES_LEN) == 0)
sbin/rcorder/rcorder.c
448
else if (strncmp(PROVIDE_STR, buf, PROVIDE_LEN) == 0)
sbin/rcorder/rcorder.c
450
else if (strncmp(PROVIDES_STR, buf, PROVIDES_LEN) == 0)
sbin/rcorder/rcorder.c
452
else if (strncmp(BEFORE_STR, buf, BEFORE_LEN) == 0)
sbin/rcorder/rcorder.c
454
else if (strncmp(KEYWORD_STR, buf, KEYWORD_LEN) == 0)
sbin/rcorder/rcorder.c
456
else if (strncmp(KEYWORDS_STR, buf, KEYWORDS_LEN) == 0)
sbin/restore/dirs.c
331
} while (dp->d_namlen != len || strncmp(dp->d_name, name, len) != 0);
sbin/restore/interactive.c
134
if (strncmp(cmd, "add", strlen(cmd)) != 0)
sbin/restore/interactive.c
149
if (strncmp(cmd, "cd", strlen(cmd)) != 0)
sbin/restore/interactive.c
164
if (strncmp(cmd, "delete", strlen(cmd)) != 0)
sbin/restore/interactive.c
177
if (strncmp(cmd, "extract", strlen(cmd)) != 0)
sbin/restore/interactive.c
190
if (strncmp(cmd, "help", strlen(cmd)) != 0)
sbin/restore/interactive.c
218
if (strncmp(cmd, "ls", strlen(cmd)) != 0)
sbin/restore/interactive.c
226
if (strncmp(cmd, "pwd", strlen(cmd)) != 0)
sbin/restore/interactive.c
237
if (strncmp(cmd, "quit", strlen(cmd)) != 0)
sbin/restore/interactive.c
241
if (strncmp(cmd, "xit", strlen(cmd)) != 0)
sbin/restore/interactive.c
248
if (strncmp(cmd, "verbose", strlen(cmd)) != 0)
sbin/restore/interactive.c
262
if (strncmp(cmd, "setmodes", strlen(cmd)) != 0)
sbin/restore/interactive.c
270
if (strncmp(cmd, "what", strlen(cmd)) != 0)
sbin/restore/interactive.c
278
if (strncmp(cmd, "Debug", strlen(cmd)) != 0)
sbin/restore/interactive.c
464
if (strcmp(rawname, ".") == 0 || strncmp(rawname, "./", 2) == 0)
sbin/restore/interactive.c
500
if (np - cp == 2 && strncmp(cp, "..", 2) == 0) {
sbin/routed/trace.c
337
&& (strncmp(filename, _PATH_TRACE, sizeof(_PATH_TRACE)-1)
sbin/savecore/savecore.c
357
if (strncmp(ddname, "/dev/cons", 8) == 0 ||
sbin/savecore/savecore.c
358
strncmp(ddname, "/dev/tty", 7) == 0 ||
sbin/savecore/savecore.c
359
strncmp(ddname, "/dev/pty", 7) == 0 ||
sbin/savecore/savecore.c
360
strncmp(ddname, "/dev/pts", 7) == 0) {
sbin/scsictl/scsictl.c
260
if (strncmp("primary", argv[i], 7) == 0) {
sbin/scsictl/scsictl.c
264
if (strncmp("grown", argv[i], 5) == 0) {
sbin/scsictl/scsictl.c
277
if (strncmp("block", argv[i], 5) == 0) {
sbin/scsictl/scsictl.c
281
else if (strncmp("byte", argv[i], 4) == 0) {
sbin/scsictl/scsictl.c
285
else if (strncmp("physical", argv[i], 4) == 0) {
sbin/scsictl/scsictl.c
570
if (argc > 1 && strncmp(argv[1], "imm", 3) == 0) {
sbin/scsictl/scsictl.c
742
if (strncmp("vpd", argv[i], 3) == 0) {
sbin/slattach/slattach.c
122
if (strncmp(_PATH_DEV, dev, sizeof(_PATH_DEV) - 1)) {
sbin/sysctl/sysctl.c
870
if (strncmp(key + 2, "create", 6) == 0 &&
sbin/sysctl/sysctl.c
873
else if (strncmp(key + 2, "destroy", 7) == 0 &&
sbin/sysctl/sysctl.c
876
else if (strncmp(key + 2, "describe", 8) == 0 &&
sbin/umount/umount.c
259
if (!strncmp(type, MOUNT_NFS,
sbin/umount/umount.c
485
if (strncmp(dev, "/dev/vnd", sizeof("/dev/vnd") - 1)) {
share/examples/refuse/dmesgfs/dmesgfs.c
204
if (strncmp(devices.v[i].dev, s, len) == 0 &&
share/examples/refuse/ian/libfetch/ftp.c
218
if (*len > 7 && strncmp(s + *len - 7, ";type=", 6) == 0) {
share/examples/refuse/ian/libfetch/http.c
417
if (strncmp(conn->buf, "HTTP", 4) != 0)
share/examples/refuse/virtdir/virtdir.c
231
if (strncmp(dirp->tp->v[dirp->i].name, dirp->dirname,
share/man/tools/noso.c
30
if (strncmp(buf, ".so", 3))
sys/arch/aarch64/include/asan.h
223
if (!strncmp(name, "el0_trap", 8) ||
sys/arch/aarch64/include/asan.h
224
!strncmp(name, "el1_trap", 8)) {
sys/arch/acorn32/acorn32/autoconf.c
84
if (strncmp(name, "/dev/", 5) == 0)
sys/arch/acorn32/podulebus/asc.c
169
strncmp(pa->pa_podule->description, "MCS", 3) != 0)
sys/arch/acorn32/podulebus/cosc.c
100
strncmp(pa->pa_podule->description, "MCS", 3) == 0)
sys/arch/acorn32/stand/boot32/boot32.c
709
if (strncmp(argv[i], "root=",5) ==0) root_specified = 1;
sys/arch/acorn32/stand/boot32/boot32.c
782
if (!strncmp(name, ModuleName_UtilityModule,
sys/arch/alpha/alpha/autoconf.c
128
if (strlen(cp) > devlen && strncmp(cp, "/dev/", devlen) == 0) {
sys/arch/alpha/stand/standtest/test.c
202
if (strncmp(buf, try->cmd, nonwhitespace) == 0) {
sys/arch/alpha/stand/standtest/test.c
237
if (strncmp(match, try->cmd, matchlen) == 0)
sys/arch/alpha/tc/ioasic.c
133
if (strncmp("FLAMG-IO", ta->ta_modname, TC_ROM_LLEN))
sys/arch/alpha/tc/mcclock_ioasic.c
75
if (strncmp("TOY_RTC ", d->iada_modname, TC_ROM_LLEN))
sys/arch/alpha/tc/tcasic.c
232
if (strncmp(tcname, cnboards[i].cb_tcname, TC_ROM_LLEN) == 0)
sys/arch/amd64/amd64/db_machdep.c
239
if (!strncmp(name, "Xintr", 5) ||
sys/arch/amd64/amd64/db_machdep.c
240
!strncmp(name, "Xhandle", 7) ||
sys/arch/amd64/amd64/db_machdep.c
241
!strncmp(name, "Xresume", 7) ||
sys/arch/amd64/amd64/db_machdep.c
242
!strncmp(name, "Xstray", 6) ||
sys/arch/amd64/amd64/db_machdep.c
243
!strncmp(name, "Xhold", 5) ||
sys/arch/amd64/amd64/db_machdep.c
244
!strncmp(name, "Xrecurse", 8) ||
sys/arch/amd64/amd64/db_machdep.c
246
!strncmp(name, "Xsoft", 5)) {
sys/arch/amd64/include/asan.h
246
!strncmp(name, "Xtrap", 5) ||
sys/arch/amd64/include/asan.h
247
!strncmp(name, "Xintr", 5) ||
sys/arch/amd64/include/asan.h
248
!strncmp(name, "Xhandle", 7) ||
sys/arch/amd64/include/asan.h
249
!strncmp(name, "Xresume", 7) ||
sys/arch/amd64/include/asan.h
250
!strncmp(name, "Xstray", 6) ||
sys/arch/amd64/include/asan.h
251
!strncmp(name, "Xhold", 5) ||
sys/arch/amd64/include/asan.h
252
!strncmp(name, "Xrecurse", 8) ||
sys/arch/amd64/include/asan.h
254
!strncmp(name, "Xsoft", 5)) {
sys/arch/amd64/include/csan.h
76
!strncmp(name, "Xtrap", 5) ||
sys/arch/amd64/include/csan.h
77
!strncmp(name, "Xintr", 5) ||
sys/arch/amd64/include/csan.h
78
!strncmp(name, "Xhandle", 7) ||
sys/arch/amd64/include/csan.h
79
!strncmp(name, "Xresume", 7) ||
sys/arch/amd64/include/csan.h
80
!strncmp(name, "Xstray", 6) ||
sys/arch/amd64/include/csan.h
81
!strncmp(name, "Xhold", 5) ||
sys/arch/amd64/include/csan.h
82
!strncmp(name, "Xrecurse", 8) ||
sys/arch/amd64/include/csan.h
84
!strncmp(name, "Xsoft", 5)) {
sys/arch/amd64/include/msan.h
227
!strncmp(name, "Xtrap", 5) ||
sys/arch/amd64/include/msan.h
228
!strncmp(name, "Xintr", 5) ||
sys/arch/amd64/include/msan.h
229
!strncmp(name, "Xhandle", 7) ||
sys/arch/amd64/include/msan.h
230
!strncmp(name, "Xresume", 7) ||
sys/arch/amd64/include/msan.h
231
!strncmp(name, "Xstray", 6) ||
sys/arch/amd64/include/msan.h
232
!strncmp(name, "Xhold", 5) ||
sys/arch/amd64/include/msan.h
233
!strncmp(name, "Xrecurse", 8) ||
sys/arch/amd64/include/msan.h
235
!strncmp(name, "Xsoft", 5)) {
sys/arch/amiga/dev/ite.c
1602
if (!strncmp(ip->argbuf, "61\"", 3))
sys/arch/amiga/dev/ite.c
1604
else if (!strncmp(ip->argbuf, "63;1\"", 5)
sys/arch/amiga/dev/ite.c
1605
|| !strncmp(ip->argbuf, "62;1\"", 5))
sys/arch/amiga/dev/ite.c
1988
if (!strncmp(ip->argbuf, "15", 2))
sys/arch/amiga/dev/ite.c
1992
else if (!strncmp(ip->argbuf, "25", 2))
sys/arch/amiga/dev/ite.c
1996
else if (!strncmp(ip->argbuf, "26", 2))
sys/arch/amiga/stand/binpatch/binpatch.c
126
if (!strncmp(optarg, "0x", 2)) {
sys/arch/amiga/stand/binpatch/binpatch.c
153
if (!strncmp(optarg, "0x", 2)) {
sys/arch/amiga/stand/binpatch/binpatch.c
171
if (!strncmp(optarg, "0x", 2)) {
sys/arch/amiga/stand/binpatch/binpatch.c
471
if (!strncmp(cn, "0x", 2)) {
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
316
if (strncmp(shstrtab + be32toh(sh[i].sh_name), ".rela", 5) != 0)
sys/arch/arc/arc/autoconf.c
184
if (strncmp(cp, dp->attachment, strlen(dp->attachment)) == 0)
sys/arch/arc/stand/boot/devopen.c
103
if (strncmp(cp, "scsi", 4) == 0) {
sys/arch/arc/stand/boot/devopen.c
105
} else if (strncmp(cp, "dksc", 4) == 0) {
sys/arch/arc/stand/boot/devopen.c
71
if (strncmp(cp, "rdisk", 5) == 0 ||
sys/arch/arc/stand/boot/devopen.c
72
strncmp(cp, "fdisk", 5) == 0) {
sys/arch/arc/stand/boot/devopen.c
91
if (strncmp(cp, "pci", 3) == 0) {
sys/arch/arm/altera/cycv_clkmgr.c
334
if (strncmp(name, cand->name, strlen(cand->name)) == 0)
sys/arch/arm/altera/cycv_clkmgr.c
361
if (strncmp(cand->base.name, name, strlen(name)) == 0)
sys/arch/arm/altera/cycv_clkmgr.c
474
if (strncmp(clk->base.name, "mpuclk@", strlen("mpuclk@")) == 0)
sys/arch/arm/altera/cycv_clkmgr.c
476
else if (strncmp(clk->base.name, "mainclk@", strlen("mainclk@")) == 0)
sys/arch/arm/altera/cycv_clkmgr.c
478
else if (strncmp(clk->base.name, "dbgatclk@", strlen("dbgatclk@")) == 0)
sys/arch/arm/amlogic/meson_dwmac.c
247
if (strncmp(phy_mode, "rgmii", 5) == 0) {
sys/arch/arm/amlogic/meson_platform.c
283
if (status == NULL || strncmp(status, "ok", 2) == 0) {
sys/arch/arm/arm/bootconfig.c
178
return strncmp(s, val, strlen(val)) == 0;
sys/arch/arm/arm/bootconfig.c
95
if (strncmp(optstart, opt, (ptr - optstart)) == 0) {
sys/arch/arm/broadcom/bcm283x_platform.c
1488
BOOTOPT_TYPE_STRING, &ptr) && strncmp(ptr, "fb", 2) == 0) {
sys/arch/arm/broadcom/bcm283x_platform.c
905
if (strncmp(s, "disable", 7) == 0)
sys/arch/arm/include/asan.h
246
if (!strncmp(name, vectors[i], strlen(vectors[i])))
sys/arch/arm/rockchip/rk_eqos.c
372
if (strncmp(phy_mode, "rgmii", 5) == 0) {
sys/arch/arm/rockchip/rk_gmac.c
509
if (strncmp(phy_mode, "rgmii", 5) == 0) {
sys/arch/arm/rockchip/rk_gmac.c
520
if (strncmp(phy_mode, "rgmii", 5) == 0) {
sys/arch/arm/rockchip/rk_gmac.c
531
if (strncmp(phy_mode, "rgmii", 5) == 0) {
sys/arch/arm/rockchip/rk_platform.c
94
if (status == NULL || strncmp(status, "ok", 2) == 0) {
sys/arch/arm/samsung/exynos_gpio.c
427
if (!strncmp(bank->bank_name, name,
sys/arch/arm/sunxi/sunxi_emac.c
996
if (strncmp(phy_type, "rgmii", 5) == 0)
sys/arch/arm/sunxi/sunxi_gmac.c
181
} else if (strncmp(phy_mode, "rgmii", 5) == 0) {
sys/arch/arm/sunxi/sunxi_platform.c
288
if (status == NULL || strncmp(status, "ok", 2) == 0) {
sys/arch/arm/xilinx/zynq_platform.c
235
if (status == NULL || strncmp(status, "ok", 2) == 0) {
sys/arch/atari/dev/ite.c
1697
if (! strncmp (sc->argbuf, "61\"", 3))
sys/arch/atari/dev/ite.c
1699
else if (! strncmp (sc->argbuf, "63;1\"", 5)
sys/arch/atari/dev/ite.c
1700
|| ! strncmp (sc->argbuf, "62;1\"", 5))
sys/arch/atari/dev/ite.c
2109
if (! strncmp (sc->argbuf, "15", 2))
sys/arch/atari/dev/ite.c
2113
else if (! strncmp (sc->argbuf, "25", 2))
sys/arch/atari/dev/ite.c
2117
else if (! strncmp (sc->argbuf, "26", 2))
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
210
if (!strncmp(g_local[i].p_id, "XGM", 3)) {
sys/arch/atari/stand/tostools/chg_pid/chg_pid.c
223
if (!strncmp(g_root->parts[j].p_id, "XGM", 3)) {
sys/arch/atari/stand/tostools/file2swp/file2swp.c
197
if (!strncmp(pt.parts[i].id, "NBD", 3)) {
sys/arch/atari/stand/tostools/file2swp/file2swp.c
204
if (!strncmp(pt.parts[i].id, "SWP", 3))
sys/arch/bebox/bebox/autoconf.c
123
if (strncmp(p, "/dev/disk/", 10) != 0)
sys/arch/bebox/bebox/autoconf.c
127
if (strncmp(p, "scsi/", 5) == 0) {
sys/arch/bebox/bebox/autoconf.c
139
} else if (strncmp(p, "ide/", 4) == 0) {
sys/arch/bebox/bebox/autoconf.c
146
if (strncmp(p, "master/", 7) == 0) {
sys/arch/bebox/bebox/autoconf.c
149
} else if (strncmp(p, "slave/", 6) == 0) {
sys/arch/bebox/stand/boot/devopen.c
105
} else if (strncmp(p, scsi, strlen(scsi)) == 0) {
sys/arch/bebox/stand/boot/devopen.c
59
if (strncmp(fname, devdir, strlen(devdir)) != 0)
sys/arch/bebox/stand/boot/devopen.c
63
if (strncmp(p, floppy, strlen(floppy)) == 0) {
sys/arch/bebox/stand/boot/devopen.c
73
} else if (strncmp(p, ide, strlen(ide)) == 0) {
sys/arch/bebox/stand/boot/devopen.c
83
if (strncmp(p, master, strlen(master)) == 0) {
sys/arch/bebox/stand/boot/devopen.c
86
} else if (strncmp(p, slave, strlen(slave)) == 0) {
sys/arch/cats/cats/autoconf.c
76
if (strncmp(name, "/dev/", 5) == 0)
sys/arch/cats/cats/cats_machdep.c
531
if (strncmp(console, "fcom", 4) == 0
sys/arch/cats/cats/cats_machdep.c
532
|| strncmp(console, "diag", 4) == 0)
sys/arch/cats/cats/cats_machdep.c
535
else if (strncmp(console, "vga", 3) == 0) {
sys/arch/cats/cats/cats_machdep.c
545
else if (strncmp(console, "com", 3) == 0) {
sys/arch/dreamcast/dev/g2/gapspci.c
73
if (strncmp((const char *)idbuf, "GAPSPCI_BRIDGE_2", 16))
sys/arch/emips/emips/autoconf.c
106
if (strncmp(cp, "tftp(", 5) == 0) {
sys/arch/evbarm/evbarm/autoconf.c
72
if (strncmp(name, "/dev/", 5) == 0)
sys/arch/evbarm/gumstix/gumstix_machdep.c
528
if (!strncmp(argv[i], busheader_name, strlen(busheader_name))) {
sys/arch/evbarm/gumstix/gumstix_machdep.c
537
if (!strncmp(argv[i], expansion_name, strlen(expansion_name))) {
sys/arch/evbarm/gumstix/gumstix_machdep.c
545
if (!strncmp(argv[i], console_name, strlen(console_name))) {
sys/arch/evbarm/gumstix/gumstix_machdep.c
662
if (strncmp(console, "ttyS", 4) == 0 && console[5] == ',') {
sys/arch/evbarm/gumstix/gumstix_machdep.c
681
strncmp(console, "ttyS0,", 6) == 0)
sys/arch/evbarm/iyonix/iyonix_machdep.c
837
if (strncmp(boot_consdev, "genfb", 5) &&
sys/arch/evbarm/iyonix/iyonix_machdep.c
838
strncmp(boot_consdev, "com", 3))
sys/arch/evbarm/iyonix/iyonix_machdep.c
841
if (!strncmp(boot_consdev, "com", 3))
sys/arch/evbarm/netwalker/netwalker_machdep.c
687
BOOTOPT_TYPE_STRING, &ptr) && strncmp(ptr, "fb", 2) == 0) {
sys/arch/evbarm/stand/boot2440/devopen.c
80
if (strncmp("net:", name, 4) == 0 ||
sys/arch/evbarm/stand/boot2440/devopen.c
81
strncmp("nfs:", name, 4) == 0 ) {
sys/arch/evbarm/stand/boot2440/devopen.c
90
} else if (strncmp("tftp:", name, 5) == 0) {
sys/arch/evbarm/stand/boot2440/main.c
180
if (strncmp(argv[i], "mac=", 4) == 0) {
sys/arch/evbmips/cavium/autoconf.c
110
if (strncmp(rootspec, "cnmac", 5) == 0) {
sys/arch/evbmips/cavium/autoconf.c
99
if (strncmp(rootspec, "octeth", 6) == 0) {
sys/arch/evbmips/cavium/machdep.c
447
if (strncmp(arg, "root=", 5) == 0)
sys/arch/evbmips/gdium/machdep.c
267
if (!strncmp(envp[i], "cpuclock=", 9)) {
sys/arch/evbmips/loongson/generic2e_machdep.c
409
strncmp(bootdev, "usb", 3) == 0 &&
sys/arch/evbmips/loongson/machdep.c
397
if (strncmp(env, f->prefix, strlen(f->prefix)) ==
sys/arch/evbmips/loongson/machdep.c
419
if (strncmp(env, "1.2.", 4) == 0) {
sys/arch/evbmips/loongson/yeeloong_machdep.c
589
strncmp(bootdev, "usb", 3) == 0 &&
sys/arch/evbppc/nintendo/autoconf.c
127
} else if (strncmp(cp, "root=", 5) == 0) {
sys/arch/evbppc/sam460ex/autoconf.c
192
if (strncmp(device_xname(dev), bootspec, len) == 0 &&
sys/arch/evbppc/sam460ex/machdep.c
387
} else if (strncmp(cp, "root=", 5) == 0) {
sys/arch/evbppc/sam460ex/machdep.c
398
} else if (strncmp(cp, "console=", 8) == 0) {
sys/arch/evbppc/sam460ex/machdep.c
413
else if (strncmp(cbuf, "pci", 3) == 0) {
sys/arch/evbppc/stand/wii/sdmmc.c
185
if (strncmp(full_path, DEFAULT_DEVICE, 3) != 0) {
sys/arch/evbppc/virtex/consinit.c
88
if (strncmp("xlcom", KGDB_NAME, 5)) {
sys/arch/evbppc/virtex/consinit.c
97
if (strncmp("xlcom", CONS_NAME, 5) == 0) {
sys/arch/evbppc/virtex/design_gsrd1.c
403
if (strncmp(xname, "xlcom", 5) == 0) {
sys/arch/evbppc/virtex/design_gsrd2.c
452
if (strncmp(xname, "xlcom", 5) == 0) {
sys/arch/evbppc/virtex/design_gsrd2.c
489
if (strncmp(device_xname(dev), "tft0", 4) == 0) {
sys/arch/ews4800mips/ews4800mips/autoconf.c
101
} else if (strncmp(p, "nfs", 3) == 0) {
sys/arch/ews4800mips/ews4800mips/autoconf.c
103
} else if (strncmp(p, "mem", 3) == 0) {
sys/arch/ews4800mips/ews4800mips/autoconf.c
93
if (strncmp(p, "sd", 2) == 0) {
sys/arch/ews4800mips/stand/common/devopen.c
135
if (strncmp(fname, "sd", 2) == 0) {
sys/arch/hp300/stand/common/devopen.c
92
if (dp->dv_name && strncmp(dp->dv_name, d, len) == 0) {
sys/arch/hp300/stand/common/if_le.c
221
if (name && !strncmp(le_driver.netif_bname, name, 2))
sys/arch/hpcarm/hpcarm/autoconf.c
83
if (strncmp(name, "/dev/", 5) == 0)
sys/arch/hpcmips/hpcmips/autoconf.c
109
if (strncmp(name, "/dev/", 5) == 0)
sys/arch/hpcsh/hpcsh/autoconf.c
144
if (strncmp(name, "/dev/", 5) == 0)
sys/arch/hppa/hppa/db_disasm.c
975
#define Match(s) (strncmp(s,i->mnem,sizeof(s)-1) == 0)
sys/arch/hppa/stand/common/dev_hppa.c
270
if (strncmp(name, cdevs[i], no - name + 1) == 0)
sys/arch/hppa/stand/common/dev_hppa.c
85
if (!strncmp(fname, dp->name, sizeof(dp->name)-1))
sys/arch/i386/i386/db_machdep.c
285
if (!strncmp(name, "Xintr", 5) ||
sys/arch/i386/i386/db_machdep.c
286
!strncmp(name, "Xresume", 7) ||
sys/arch/i386/i386/db_machdep.c
287
!strncmp(name, "Xstray", 6) ||
sys/arch/i386/i386/db_machdep.c
288
!strncmp(name, "Xhold", 5) ||
sys/arch/i386/i386/db_machdep.c
289
!strncmp(name, "Xrecurse", 8) ||
sys/arch/i386/i386/db_machdep.c
296
} else if (!strncmp(name, "Xtss_", 5)) {
sys/arch/i386/i386/multiboot.c
493
if (strncmp(Multiboot_Loader_Name, "GNU GRUB ",
sys/arch/i386/i386/multiboot.c
545
if (strncmp(bi.devname, "com", sizeof(bi.devname)) == 0) {
sys/arch/i386/i386/multiboot.c
566
} else if (strncmp(bi.devname, "pc", sizeof(bi.devname)) == 0)
sys/arch/i386/pnpbios/pckbc_pnpbios.c
114
if (strncmp(aa->idstr, "PNP03", 5) == 0) {
sys/arch/i386/stand/dosboot/main.c
176
int floppy = strncmp(default_devname, "fd", 2) == 0;
sys/arch/i386/stand/efiboot/boot.c
632
match = (strncmp(arg, cdp->name, devname_len) == 0);
sys/arch/i386/stand/efiboot/devopen.c
132
if (strncmp(name, "net", len) == 0)
sys/arch/i386/stand/efiboot/devopen.c
136
if (strncmp(name, netboot_fstab[i].name, len) == 0)
sys/arch/i386/stand/efiboot/devopen.c
255
strncmp(fname, "net", fsnamelen) == 0) {
sys/arch/i386/stand/lib/bootinfo_biosgeom.c
136
if (strncmp(cp, ed.host_bus,
sys/arch/i386/stand/lib/bootinfo_biosgeom.c
149
if (strncmp(cp, ed.iface_type,
sys/arch/i386/stand/lib/vbe.c
439
} else if (strncmp(arg, "0x", 2) == 0) {
sys/arch/i386/stand/pxeboot/devopen.c
112
if (strncmp(fname, pxeboot_fstab[i].fst_name,
sys/arch/ia64/acpi/madt.c
151
if (strncmp(table->Header.Signature, ACPI_SIG_MADT,
sys/arch/ia64/acpi/madt.c
245
if (strncmp(table->Header.Signature, ACPI_SIG_MADT,
sys/arch/ia64/ia64/mainbus.c
98
if (strncmp(sig, ACPI_SIG_MADT, ACPI_NAMESEG_SIZE) != 0)
sys/arch/ia64/stand/common/interp.c
229
if (strncmp(input+strspn(input, " "), "\\ ", 2) == 0)
sys/arch/ia64/stand/efi/libefi/devicename.c
107
if (!strncmp(devspec, devsw[i].dv_name, strlen(devsw[i].dv_name))) {
sys/arch/ia64/stand/efi/libefi/devicename.c
120
if (!strncmp("disk", dv->dv_name, 4)) dv_type = DEVT_DISK;
sys/arch/ia64/stand/efi/libefi/devicename.c
121
if (!strncmp("net", dv->dv_name, 3)) dv_type = DEVT_DISK;
sys/arch/ia64/stand/ia64/ski/devicename.c
103
if (!strncmp(devspec, devsw[i].dv_name, strlen(devsw[i].dv_name))) {
sys/arch/iyonix/iyonix/iyonix_machdep.c
809
if (strncmp(boot_consdev, "genfb", 5) &&
sys/arch/iyonix/iyonix/iyonix_machdep.c
810
strncmp(boot_consdev, "com", 3))
sys/arch/iyonix/iyonix/iyonix_machdep.c
813
if (!strncmp(boot_consdev, "com", 3))
sys/arch/landisk/landisk/autoconf.c
139
strncmp(label.d_packname, bid->label.packname, 16) == 0)
sys/arch/mac68k/nubus/grf_nubus.c
225
if (strncmp(cardname, "Samsung 768", 11) == 0)
sys/arch/mac68k/nubus/grf_nubus.c
227
else if (strncmp(cardname, "Toby frame", 10) != 0)
sys/arch/mac68k/nubus/if_ae_nubus.c
438
if (strncmp(nubus_get_card_name(bst, bsh, na->fmt),
sys/arch/mac68k/nubus/if_sn_nubus.c
279
strncmp(nubus_get_card_name(bst, bsh, na->fmt),
sys/arch/macppc/dev/cuda.c
279
if (strncmp(name, "adb", 4) == 0) {
sys/arch/macppc/dev/cuda.c
289
} else if (strncmp(name, "rtc", 4) == 0) {
sys/arch/macppc/dev/pm_direct.c
265
if (sl == targlen && (strncmp(targ, str, sl) == 0))
sys/arch/macppc/dev/pmu.c
311
if (strncmp(model, "PowerMac", 8) == 0) {
sys/arch/macppc/dev/pmu.c
314
if (strncmp(model, "RackMac1", 8) == 0) {
sys/arch/macppc/dev/pmu.c
349
if (strncmp(name, "pmu-i2c", 8) == 0) {
sys/arch/macppc/dev/pmu.c
358
if (strncmp(name, "adb", 4) == 0) {
sys/arch/macppc/dev/pmu.c
371
if (strncmp(name, "rtc", 4) == 0) {
sys/arch/macppc/dev/pmu.c
379
if (strncmp(name, "battery", 8) == 0) {
sys/arch/macppc/macppc/disksubr.c
187
if (strncmp(PART_TYPE_DRIVER, typestr, strlen(PART_TYPE_DRIVER)) == 0 ||
sys/arch/macppc/macppc/machdep.c
140
ofw_quiesce = strncmp(model_name, "PowerMac11,2", 12) == 0 ||
sys/arch/macppc/macppc/machdep.c
141
strncmp(model_name, "PowerMac12,1", 12) == 0 ||
sys/arch/macppc/macppc/machdep.c
142
strncmp(model_name, "PowerMac7,2", 10) == 0;
sys/arch/macppc/macppc/machdep.c
145
if (strncmp(model_name, "PowerMac7,", 10) == 0) {
sys/arch/macppc/macppc/machdep.c
172
if (strncmp(model_name, "PowerMac8,", 10) == 0) {
sys/arch/mips/pmon/pmon.c
93
if (strncmp(envstr, var, varlen) == 0 &&
sys/arch/mips/rmi/rmixl_cpu.c
158
if (strncmp(ca->ca_name, cf->cf_name, strlen(cf->cf_name)) == 0
sys/arch/mips/rmi/rmixl_cpucore.c
73
if (strncmp(na->na_name, cf->cf_name, strlen(cf->cf_name)) == 0
sys/arch/mips/rmi/rmixl_obio.c
92
if (strncmp(aa->ma_name, cf->cf_name, strlen(cf->cf_name)) == 0)
sys/arch/mipsco/mipsco/autoconf.c
155
if (strncmp(cp, "dk", 2) == 0 && cp[4] == '(') { /* Disk */
sys/arch/mvme68k/stand/installboot/installboot.c
263
if (strncmp(statvfsbuf.f_fstypename, "ffs",
sys/arch/mvme68k/stand/installboot/installboot.c
265
strncmp(statvfsbuf.f_fstypename, "ufs",
sys/arch/netwinder/netwinder/netwinder_machdep.c
893
if (strncmp(console, "igsfb", 5) == 0) {
sys/arch/netwinder/netwinder/netwinder_machdep.c
928
if (strncmp(console, "com", 3) != 0) {
sys/arch/newsmips/newsmips/machdep.c
215
if (strncmp(bspec, "scsi", 4) == 0) {
sys/arch/newsmips/stand/boot/boot.c
117
if (strncmp(bootdev, "tftp", 4) == 0)
sys/arch/newsmips/stand/boot/boot.c
202
if (machine != NULL && (strncmp(machine, "news4000", 8) == 0))
sys/arch/newsmips/stand/boot/devopen.c
94
if (strncmp(romdev.devname, "sonic", 5) == 0)
sys/arch/next68k/dev/nextdma.c
208
if (strncmp(device_xname(dev), "nextdma", 7) == 0) {
sys/arch/next68k/next68k/disksubr.c
132
if (strncmp(ondisk->cd_partitions[i].cp_type,
sys/arch/next68k/next68k/disksubr.c
231
(!strncmp (ondisk->cd_partitions[t].cp_type,
sys/arch/next68k/stand/boot/devopen.c
45
if (dp->dv_name && strncmp(dp->dv_name, d, len) == 0)
sys/arch/ofppc/ofppc/machdep.c
203
if (strncmp(model_name, "FirePower,", 10) == 0) {
sys/arch/ofppc/ofppc/machdep.c
211
if (strncmp(model_name, "IBM,7044", 8) == 0) {
sys/arch/ofppc/ofppc/machdep.c
219
if (strncmp(model_name, "Pegasos", 7) == 0) {
sys/arch/ofppc/ofppc/machdep.c
235
&& strncmp(buf, "display", 7) == 0) {
sys/arch/pmax/ibus/ibus_3max.c
60
return (strncmp("KN02SYS ", ta->ta_modname, TC_ROM_LLEN) == 0);
sys/arch/pmax/include/tc_machdep.h
83
(strncmp( (ta)->ta_modname, (name), TC_ROM_LLEN+1) == 0)
sys/arch/pmax/pmax/autoconf.c
123
if (strncmp(cp, "tftp(", 5) == 0) {
sys/arch/pmax/pmax/autoconf.c
127
if (strncmp(cp, "mop(", 4) == 0) {
sys/arch/pmax/pmax/autoconf.c
140
else if (strncmp(cp+2, "tftp", 4) == 0)
sys/arch/pmax/pmax/autoconf.c
142
else if (strncmp(cp+2, "mop", 3) == 0)
sys/arch/pmax/tc/asc_ioasic.c
113
if (strncmp("asc", d->iada_modname, TC_ROM_LLEN))
sys/arch/pmax/tc/ioasic.c
115
if (strncmp("IOCTL ", ta->ta_modname, TC_ROM_LLEN))
sys/arch/pmax/tc/tcbus.c
228
if (strncmp(tcname, cnboards[i].cb_tcname, TC_ROM_LLEN) == 0)
sys/arch/powerpc/booke/e500_intr.c
1578
if (!strncmp(intrid, is->is_source, sizeof(is->is_source) - 1))
sys/arch/powerpc/oea/ofw_autoconf.c
203
if ((strncmp(lastp, "sd@", 3) == 0
sys/arch/powerpc/oea/ofw_autoconf.c
204
&& strncmp(last, "sd@", 3) == 0) ||
sys/arch/powerpc/oea/ofw_autoconf.c
205
(strncmp(lastp, "disk@", 5) == 0
sys/arch/powerpc/oea/ofw_autoconf.c
206
&& strncmp(last, "disk@", 5) == 0))
sys/arch/powerpc/oea/ofw_autoconf.c
356
strncmp(model_name, "Pegasos", 7) == 0) {
sys/arch/powerpc/oea/ofw_autoconf.c
467
strncmp(cp, "/ethernet/port", 14) != 0)
sys/arch/powerpc/pci/pci_machdep_ofw.c
111
if (strncmp(name, "interrupt-controller", 20) == 0)
sys/arch/powerpc/pci/pci_machdep_ofw.c
500
if (strncmp(model_name, "Pegasos2", 8) == 0) {
sys/arch/powerpc/pci/pci_machdep_ofw.c
93
if (strncmp(name, "interrupt-controller", 20) == 0)
sys/arch/powerpc/powerpc/ofw_machdep.c
325
if (strncmp(model_name, "Pegasos", 7) == 0) {
sys/arch/powerpc/tools/chrpicon/chrpicontoppm/chrpicontoppm.c
175
if (strncmp(line, BITMAP_TAG, strlen(BITMAP_TAG)) == 0) {
sys/arch/prep/pnpbus/nvram_pnpbus.c
288
if ((strncmp(name, cp, len) == 0) && (cp[len] == '='))
sys/arch/prep/pnpbus/nvram_pnpbus.c
305
if ((strncmp(name, cp, len) == 0) && (cp[len] == '='))
sys/arch/prep/pnpbus/nvram_pnpbus.c
324
if ((strncmp(name, cp, len) == 0) && (cp[len] == '='))
sys/arch/prep/prep/autoconf.c
346
if (strncmp(prop_string_cstring_nocopy(str), bootpath,
sys/arch/riscv/starfive/jh71x0_eth.c
159
if (strncmp(phy_mode, "rgmii-id", 8) == 0) {
sys/arch/sandpoint/stand/altboot/devopen.c
68
if (strncmp("mem:", name, 4) == 0) {
sys/arch/sandpoint/stand/altboot/devopen.c
75
if (strncmp("net:", name, 4) == 0 || strncmp("nfs:", name, 4) == 0) {
sys/arch/sandpoint/stand/altboot/devopen.c
83
if (strncmp("tftp:", name, 5) == 0) {
sys/arch/sandpoint/stand/altboot/main.c
202
if (strncmp(p, "altboot:", 8) == 0) {
sys/arch/sandpoint/stand/altboot/main.c
220
if (strncmp(argv[n], "ide:", 4) == 0 &&
sys/arch/sandpoint/stand/altboot/main.c
278
if (strncmp(argv[n], "ide:", 4) == 0)
sys/arch/sandpoint/stand/altboot/main.c
667
if (strncmp(s, "nfs:", 4) == 0 || strncmp(s, "net:", 4) == 0 ||
sys/arch/sandpoint/stand/altboot/main.c
668
strncmp(s, "tftp:", 5) == 0 || strncmp(s, "mem:", 4) == 0)
sys/arch/sgimips/dev/zs.c
282
strncmp(promconsdev, "serial", 6) == 0 &&
sys/arch/sgimips/dev/zs.c
749
strncmp(consdev, "serial", 6) != 0)
sys/arch/sgimips/sgimips/autoconf.c
111
if (strncmp(cp, "scsi(", 5) == 0) {
sys/arch/sgimips/sgimips/autoconf.c
115
if (strncmp(cp, ")disk(", 6) == 0) {
sys/arch/sgimips/sgimips/autoconf.c
121
if (strncmp(cp, ")rdisk(0)partition(", 19) == 0) {
sys/arch/sgimips/sgimips/autoconf.c
132
if (strncmp(cp, "dksc(", 5) == 0) {
sys/arch/sgimips/sgimips/autoconf.c
151
if (strncmp(cp, "bootp(", 6) == 0) {
sys/arch/sgimips/sgimips/autoconf.c
99
if (strncmp(cp, "pci(", 4) == 0) {
sys/arch/sgimips/sgimips/console.c
134
if ((strlen(consdev) == 9) && (!strncmp(consdev, "serial", 6)) &&
sys/arch/sgimips/sgimips/console.c
150
if ((strlen(consdev) == 9) && (!strncmp(consdev, "serial", 6)) &&
sys/arch/sgimips/sgimips/console.c
209
if ((strlen(consdev) == 9) && (!strncmp(consdev, "serial", 6)) &&
sys/arch/sgimips/sgimips/machdep.c
444
if (strncmp(argv[i], "OSLoadPartition=", 15) == 0)
sys/arch/sgimips/sgimips/machdep.c
454
if (strncmp(argv[i], "SystemPartition", 15) == 0)
sys/arch/sgimips/stand/common/devopen.c
69
if (strncmp(cp, "pci", 3) == 0) {
sys/arch/sgimips/stand/common/devopen.c
81
if (strncmp(cp, "scsi", 4) == 0) {
sys/arch/sgimips/stand/common/devopen.c
83
} else if (strncmp(cp, "dksc", 4) == 0) {
sys/arch/sgimips/stand/haudfw/haudfw.c
215
} else if (strncmp(line, "_START", 6) == 0) {
sys/arch/sgimips/stand/haudfw/haudfw.c
217
} else if (strncmp(line, "_END", 4) == 0) {
sys/arch/sgimips/stand/haudfw/haudfw.c
224
} else if (strncmp(line, "_DATA", 5) == 0) {
sys/arch/sgimips/stand/sgivol/sgivol.c
284
cmp = strncmp(volhdr->voldir[slot].name, b,
sys/arch/sgimips/stand/sgivol/sgivol.c
398
if (strncmp(vfilename, volhdr->voldir[i].name,
sys/arch/sgimips/stand/undist/undist.c
963
strncmp(ent->dstfile, fileprefix, strlen(fileprefix))) {
sys/arch/shark/shark/autoconf.c
100
if (strncmp(name, "/dev/", 5) == 0)
sys/arch/shark/shark/shark_machdep.c
463
if (!strncmp(name, &boot_component[1], i)
sys/arch/sparc/stand/common/isfloppy.c
7
return strncmp(dev, "fd", 2) == 0 ||
sys/arch/sparc/stand/ofwboot/ofdev.c
399
strncmp(buf, dev, strlen(buf)) != 0) {
sys/arch/sparc/stand/ofwboot/ofdev.c
611
if (!strncmp(*file,"/tftp:",6)) {
sys/arch/sparc64/dev/iommu.c
143
if (strncmp(name, "pyro", 4) == 0) {
sys/arch/sparc64/dev/lom.c
1021
strncmp(sc->sc_hostname, hostname, sizeof(hostname)) != 0) {
sys/arch/sparc64/dev/pcf8591_envctrl.c
181
if (strncmp(desc, "CPU", 3) == 0) {
sys/arch/sparc64/dev/pcf8591_envctrl.c
187
} else if (strncmp(desc, "PS", 2) == 0) {
sys/arch/sparc64/dev/pcf8591_envctrl.c
419
return strncmp(edata->desc, "CPU", 3) == 0;
sys/arch/sparc64/sparc64/machdep.c
2715
if (strncmp(model, "medany", len) == 0 ||
sys/arch/sparc64/sparc64/machdep.c
2716
strncmp(model, "medmid", len) == 0)
sys/arch/sun68k/stand/libsa/netif_sun.c
440
if (!strncmp(rev, "Rev ", 4))
sys/arch/sun68k/stand/libsa/netif_sun.c
442
if (!strncmp(rev, "3.", 2)) {
sys/arch/usermode/usermode/machdep.c
159
if (strncmp(argv[i], "net=", strlen("net=")) == 0) {
sys/arch/usermode/usermode/machdep.c
177
} else if (strncmp(argv[i], "audio=",
sys/arch/usermode/usermode/machdep.c
190
} else if (strncmp(argv[i], "vnc=",
sys/arch/usermode/usermode/machdep.c
210
} else if (strncmp(argv[i], "disk=",
sys/arch/usermode/usermode/machdep.c
222
} else if (strncmp(argv[i], "vdev=",
sys/arch/usermode/usermode/machdep.c
248
} else if (strncmp(argv[i], "root=",
sys/arch/vax/include/tc_machdep.h
83
(strncmp( (ta)->ta_modname, (name), TC_ROM_LLEN+1) == 0)
sys/arch/x68k/dev/ite.c
1606
if (!strncmp(ip->argbuf, "61\"", 3))
sys/arch/x68k/dev/ite.c
1608
else if (!strncmp(ip->argbuf, "63;1\"", 5) ||
sys/arch/x68k/dev/ite.c
1609
!strncmp(ip->argbuf, "62;1\"", 5))
sys/arch/x68k/dev/ite.c
2116
if (!strncmp(ip->argbuf, "15", 2))
sys/arch/x68k/dev/ite.c
2119
else if (!strncmp(ip->argbuf, "25", 2))
sys/arch/x68k/dev/ite.c
2122
else if (!strncmp(ip->argbuf, "26", 2))
sys/arch/x68k/stand/boot/switch.c
241
} else if (strncmp(arg, "inscsi", 6) == 0) {
sys/arch/x68k/stand/boot/switch.c
246
} else if (strncmp(arg, "exscsi", 6) == 0) {
sys/arch/x68k/stand/boot/switch.c
251
} else if (strncmp(arg, "fd", 2) == 0) {
sys/arch/x68k/stand/boot/switch.c
275
if (strncmp(arg, "inscsi", 6) == 0) {
sys/arch/x68k/stand/boot/switch.c
279
} else if (strncmp(arg, "exscsi", 6) == 0) {
sys/arch/x68k/stand/installboot/installboot.c
103
if (strncmp(name + strlen(name) - 4, "fd", 2) == 0)
sys/arch/x68k/stand/installboot/installboot.c
139
if (strncmp((const char *)bootblock, "X68SCSI1", 8) != 0)
sys/arch/x68k/stand/libsa/devopen.c
57
if (strncmp(s, "spc0@", 5) == 0) {
sys/arch/x68k/stand/libsa/devopen.c
60
} else if (strncmp(s, "spc1@", 5) == 0) {
sys/arch/x68k/stand/libsa/devopen.c
63
} else if (strncmp(s, "mha0@", 5) == 0) {
sys/arch/x68k/stand/libsa/devopen.c
71
if (strncmp (devspec[i].ds_name, s,
sys/arch/x68k/stand/libsa/sdcd.c
148
if (strncmp((char *)buffer, "X68SCSI1", 8) != 0) {
sys/arch/x68k/stand/libsa/sdcd.c
201
if (strncmp(buffer, "X68K", 4) != 0)
sys/arch/x68k/stand/libsa/sdcd.c
253
if (strncmp(buffer, "X68K", 4) != 0)
sys/arch/x68k/stand/newdisk/newdisk.c
114
if (strncmp(buf, "X68SCSI1", 8) == 0 && !force)
sys/arch/x68k/x68k/disksubr.c
151
if (strncmp(bp->b_data, "X68K", 4) != 0) {
sys/arch/x86/x86/identcpu.c
1214
if (strncmp(p, "VMware-", 7) == 0 || strncmp(p, "VMW", 3) == 0) {
sys/arch/x86/x86/intr.c
370
if (strncmp(intrid, isp->is_intrid, INTRIDBUF - 1) == 0)
sys/arch/x86/x86/intr.c
944
if (strncmp(intrstr, isp->is_intrid, INTRIDBUF - 1) == 0
sys/arch/x86/x86/multiboot2.c
394
if (strncmp(bic.devname, "com", sizeof(bic.devname)) == 0) {
sys/arch/x86/x86/multiboot2.c
418
if (strncmp(bic.devname, "pc", sizeof(bic.devname)) == 0)
sys/arch/x86/x86/x86_autoconf.c
317
strncmp(label.d_packname, bid->label.packname, 16) == 0)
sys/arch/x86/x86/x86_autoconf.c
370
if (strncmp(cd->cf_name, biv->devname, len) == 0 &&
sys/arch/xen/x86/autoconf.c
258
if (strncmp(xcp.xcp_bootdev, device_xname(dev),
sys/arch/xen/xen/hypervisor.c
548
if (strncmp(haa->haa_busname, "hypervisor", sizeof("hypervisor")) != 0)
sys/arch/xen/xen/pciback.c
424
if (strncmp("0000", str, 4) == 0) {
sys/arch/xen/xen/xen_machdep.c
175
if (!strncmp(s, "xennet", 6))
sys/arch/xen/xen/xen_machdep.c
177
else if (!strncmp(s, "eth", 3))
sys/arch/xen/xen/xen_machdep.c
549
if (strncmp(xcp.xcp_bootdev, devname, strlen(devname)))
sys/arch/xen/xenbus/xenbus_probe.c
250
if (strncmp(xdev->xbusd_otherend, vec[XS_WATCH_PATH],
sys/arch/zaurus/zaurus/autoconf.c
127
strncmp(label.d_packname, bid->label.packname, 16) == 0)
sys/arch/zaurus/zaurus/autoconf.c
160
if (strncmp(cd->cf_name, biv->devname, len) == 0 &&
sys/coda/cnode.h
176
&& strncmp(name, CODA_CONTROL, l) == 0)
sys/compat/freebsd/freebsd_exec_elf32.c
75
if (strncmp(itp, wantInterp, sizeof(wantInterp) - 1))
sys/compat/linux/arch/alpha/linux_osf1.c
141
if (!strncmp(MOUNT_FFS, bsfs->f_fstypename, sizeof(bsfs->f_fstypename)))
sys/compat/linux/arch/alpha/linux_osf1.c
143
else if (!strncmp(MOUNT_NFS, bsfs->f_fstypename, sizeof(bsfs->f_fstypename)))
sys/compat/linux/arch/alpha/linux_osf1.c
145
else if (!strncmp(MOUNT_MFS, bsfs->f_fstypename, sizeof(bsfs->f_fstypename)))
sys/compat/linux/common/linux_exec_elf32.c
426
if (!strncmp(itp, "/lib/ld-linux", 13) ||
sys/compat/linux/common/linux_exec_elf32.c
428
!strncmp(itp, "/lib64/ld-linux", 15) ||
sys/compat/linux/common/linux_exec_elf32.c
430
!strncmp(itp, "/lib/ld.so.", 11))
sys/compat/linux/common/linux_socket.c
1351
if (strncmp(lreq.ifr_name, "eth", 3) != 0) {
sys/compat/linux32/common/linux32_socket.c
579
if (strncmp(lreq.ifr_name, "eth", 3) == 0) {
sys/compat/ossaudio/ossaudio.c
890
!strncmp(di->names[i], label->name, sizeof di->names[i])) {
sys/compat/sunos32/sunos32_misc.c
442
if (strncmp(fsname, "nfs", sizeof fsname) == 0) {
sys/ddb/db_sym.c
164
} while (strncmp(p, find, len) != 0);
sys/dev/acpi/acpi_quirks.c
185
if (strncmp(aq->aq_tabletype, ACPI_SIG_DSDT, 4) == 0)
sys/dev/acpi/acpi_quirks.c
187
else if (strncmp(aq->aq_tabletype, ACPI_SIG_XSDT, 4) == 0)
sys/dev/acpi/acpi_quirks.c
189
else if (strncmp(aq->aq_tabletype, ACPI_SIG_FADT, 4) == 0)
sys/dev/acpi/acpi_quirks.c
197
if (strncmp(aq->aq_oemid, hdr->OemId, len) != 0)
sys/dev/acpi/acpi_quirks.c
206
if (strncmp(aq->aq_tabid, hdr->OemTableId, len) != 0)
sys/dev/acpi/acpica/OsdMisc.c
188
if (strncmp(ExistingTable->Signature, "DSDT", 4) == 0)
sys/dev/acpi/qcomsmptp.c
245
if (strncmp(sc->sc_in->entries[i].name, e->e_name,
sys/dev/acpi/sony_acpi.c
445
strncmp(devinfo->HardwareId.String, "SNY6001", 7) == 0)
sys/dev/ata/ata_raid_intel.c
184
if (strncmp(info->intel_id, INTEL_MAGIC, strlen(INTEL_MAGIC))) {
sys/dev/ata/ata_raid_jmicron.c
160
if (strncmp(info->signature, JMICRON_MAGIC, 2)) {
sys/dev/ata/ata_raid_nvidia.c
170
if (strncmp(info->nvidia_id, NV_MAGIC, strlen(NV_MAGIC)) != 0) {
sys/dev/ata/ata_raid_promise.c
107
if (strncmp(info->promise_id, PR_MAGIC, sizeof(PR_MAGIC)) != 0) {
sys/dev/dkwedge/dkwedge_tos.c
126
if (!strncmp(part.type, TOS_XGM_PARTITION, TOS_PART_TYPE_LEN)) {
sys/dev/dkwedge/dkwedge_tos.c
136
if (strncmp(part.type, TOS_GEM_PARTITION, TOS_PART_TYPE_LEN) &&
sys/dev/dkwedge/dkwedge_tos.c
137
strncmp(part.type, TOS_BGM_PARTITION, TOS_PART_TYPE_LEN)) {
sys/dev/dm/dm_dev.c
138
if (strncmp(dm_dev_name, dmv->name, slen) == 0)
sys/dev/dm/dm_dev.c
164
if (strncmp(dm_dev_uuid, dmv->uuid, strlen(dmv->uuid)) == 0)
sys/dev/dm/dm_pdev.c
73
if (strncmp(dm_pdev_name, dm_pdev->name, slen) == 0)
sys/dev/dm/dm_target.c
141
if (strncmp(dm_target_name, dm_target->name, slen) == 0)
sys/dev/eisa/eisa.c
235
match = (strncmp(edp->id, id, 3) == 0);
sys/dev/fdt/ausoc.c
539
if (strncmp(name, "simple-audio-card,dai-link", len) != 0)
sys/dev/fdt/ausoc.c
550
if (strncmp(name, "simple-audio-card,dai-link", len) != 0)
sys/dev/fdt/fdt_subr.c
345
return strncmp(prop, "ok", 2) == 0;
sys/dev/flash/flash_mtdparts.c
126
if (strncmp(partdef, "ro", 2) == 0) {
sys/dev/hyperv/hvs.c
765
!strncmp(vendor, "Msft", 4))
sys/dev/i2c/pcagpio.c
213
if (!strncmp(nptr, "LED ", 4))
sys/dev/i2c/pcagpio.c
215
if (!strncmp(nptr, "INDICATOR ", 10)) {
sys/dev/i2c/pcf8574.c
193
if (!strncmp(nptr, "LED ", 4)) {
sys/dev/i2c/pcf8574.c
197
if (!strncmp(nptr, "INDICATOR ", 10)) {
sys/dev/i2c/pcf8574.c
202
if (!strncmp(nptr, "ALERT ", 6)) {
sys/dev/i2c/sht3x.c
1243
if (strncmp(repeatability, sht3x_repeatability_ss[i].text,
sys/dev/i2c/sht3x.c
461
if (strncmp(sc->sc_repeatability,
sys/dev/i2c/sht3x.c
463
strncmp(sc->sc_periodic_rate, sht3x_periodic_rate[i].rate,
sys/dev/i2c/sht3x.c
743
is_ss = strncmp(node.sysctl_data, "single-shot", SHT3X_MODE_NAME) == 0;
sys/dev/i2c/sht3x.c
744
is_periodic = strncmp(node.sysctl_data, "periodic", SHT3X_MODE_NAME)
sys/dev/i2c/sht3x.c
787
if (strncmp(node.sysctl_data, sht3x_repeatability_ss[i].text,
sys/dev/i2c/sht3x.c
822
if (strncmp(node.sysctl_data, sht3x_periodic_rate[i].rate,
sys/dev/i2c/sht4x.c
247
if (strncmp(node.sysctl_data, sht4x_resolutions[i].text,
sys/dev/i2c/sht4x.c
322
if (strncmp(node.sysctl_data, sht4x_heaterpulses[i].length,
sys/dev/i2c/sht4x.c
672
if (strncmp(resolution, sht4x_resolutions[i].text,
sys/dev/i2c/sht4x.c
684
strncmp(heaterpulse, sht4x_heateron_commands[i].pulselength,
sys/dev/ic/aha.c
866
if (!strncmp(sc->sc_model, "1542C", 5)) {
sys/dev/isa/wss.c
465
strncmp(ac->chip_name, "CS4248", 6) == 0 ||
sys/dev/isa/wss.c
466
strncmp(ac->chip_name, "CS4231", 6) == 0 ? 0x02 : 0;
sys/dev/ofw/ofbus.c
171
if (strncmp(type, "display", sizeof(type)) != 0)
sys/dev/ofw/ofbus.c
197
if (strncmp(type, "display", sizeof(type)) == 0)
sys/dev/pci/bktr/bktr_audio.c
488
if (strncmp("3430G", bktr->msp_version_string, 5) == 0 ||
sys/dev/pci/bktr/bktr_audio.c
489
strncmp("3435G", bktr->msp_version_string, 5) == 0) {
sys/dev/pci/bktr/bktr_audio.c
502
else if (((strncmp("3415D", bktr->msp_version_string, 5) == 0)
sys/dev/pci/if_bge.c
1295
if (strncmp(ifp->if_xname, namebuf, namelen) != 0)
sys/dev/pci/pci_subr.c
769
} else if (strncmp(interfacep->name, "", 1) != 0)
sys/dev/pci/pci_subr.c
958
&& (strncmp(interfacep->name, "", 1) != 0))
sys/dev/pci/qat/qat_ae.c
1851
if (cur < uch && !strncmp(uch->uch_id, id, UOF_OBJ_ID_LEN))
sys/dev/pci/qat/qat_ae.c
1947
if (strncmp(much->much_id, id, MOF_OBJ_ID_LEN))
sys/dev/pci/qat/qat_ae.c
2064
if (!strncmp(mfch->mfch_id, SYM_OBJS, MOF_OBJ_ID_LEN)) {
sys/dev/pci/qat/qat_ae.c
2084
} else if (!strncmp(mfch->mfch_id, UOF_OBJS, MOF_OBJ_ID_LEN)) {
sys/dev/pci/qat/qat_ae.c
2093
} else if (!strncmp(mfch->mfch_id, SUOF_OBJS, MOF_OBJ_ID_LEN)) {
sys/dev/pci/qat/qat_ae.c
2291
if (!strncmp(ufch->ufch_id, UOF_OBJS, UOF_OBJ_ID_LEN)) {
sys/dev/podulebus/hcide.c
73
strncmp(pa->pa_descr, "IDE", 3) == 0)
sys/dev/podulebus/hcsc.c
126
strncmp(pa->pa_descr, "SCSI", 4) == 0)
sys/dev/podulebus/sec.c
153
strncmp(pa->pa_descr, "MCS", 3) != 0)
sys/dev/raidframe/rf_netbsdkintf.c
462
if (strncmp(devname, "dk", 2) == 0) {
sys/dev/raidframe/rf_netbsdkintf.c
468
if (strncmp(devname, bootname, len) == 0) {
sys/dev/raidframe/rf_netbsdkintf.c
575
if (strncmp(devname, "dk", 2) != 0)
sys/dev/raidframe/rf_netbsdkintf.c
585
if (strncmp(parent, bootname, len) != 0)
sys/dev/sbus/dbri.c
242
if (strncmp(DBRI_ROM_NAME_PREFIX, sa->sa_name, 9))
sys/dev/scsipi/ses.c
120
#define STRNCMP strncmp
sys/dev/stbi/stb_image.c
4856
if (strncmp(token, "-Y ", 3)) return epf("unsupported data layout", "Unsupported HDR format");
sys/dev/stbi/stb_image.c
4860
if (strncmp(token, "+X ", 3)) return epf("unsupported data layout", "Unsupported HDR format");
sys/dev/sysmon/sysmon_envsys.c
491
if (strncmp(sme->sme_name, "acpi", 4) == 0)
sys/dev/tc/asc_tc.c
118
if (strncmp("PMAZ-AA ", d->ta_modname, TC_ROM_LLEN))
sys/dev/tc/cfb.c
238
if (strncmp("PMAG-BA ", ta->ta_modname, TC_ROM_LLEN) != 0)
sys/dev/tc/if_le_ioasic.c
92
if (strncmp("PMAD-BA ", d->iada_modname, TC_ROM_LLEN) != 0)
sys/dev/tc/if_le_tc.c
78
if (strncmp("PMAD-AA ", d->ta_modname, TC_ROM_LLEN) != 0)
sys/dev/tc/mfb.c
216
if (strncmp("PMAG-AA ", ta->ta_modname, TC_ROM_LLEN) != 0)
sys/dev/tc/px.c
121
return (strncmp("PMAG-CA ", ta->ta_modname, TC_ROM_LLEN) == 0);
sys/dev/tc/pxg.c
120
if (strncmp(pxg_types[i], ta->ta_modname, TC_ROM_LLEN) == 0)
sys/dev/tc/sfb.c
251
if (strncmp("PMAGB-BA", ta->ta_modname, TC_ROM_LLEN) != 0)
sys/dev/tc/sfbplus.c
242
if (strncmp("PMAGD ", ta->ta_modname, TC_ROM_LLEN) != 0)
sys/dev/tc/tcds.c
132
if (strncmp(td->td_name, modname, TC_ROM_LLEN) == 0)
sys/dev/tc/tcu.c
96
if (strncmp("TC-USB ", ta->ta_modname, TC_ROM_LLEN))
sys/dev/tc/tfb.c
270
if (strncmp("PMAG-RO ", ta->ta_modname, TC_ROM_LLEN) != 0
sys/dev/tc/tfb.c
271
&& strncmp("PMAG-JA ", ta->ta_modname, TC_ROM_LLEN) != 0)
sys/dev/tc/xcfb.c
206
if (strncmp("PMAG-DV ", ta->ta_modname, TC_ROM_LLEN) != 0)
sys/dev/tc/zs_ioasic.c
207
if (strncmp(d->iada_modname, "z8530 ", TC_ROM_LLEN) != 0 &&
sys/dev/tc/zs_ioasic.c
208
strncmp(d->iada_modname, "scc", TC_ROM_LLEN) != 0)
sys/dev/usb/if_athn_usb.c
274
if (strncmp(product, "wb193", 5) == 0)
sys/dev/usb/ulpt.c
914
if (strncmp(p, "MFG:", 4) == 0 ||
sys/dev/usb/ulpt.c
915
strncmp(p, "MANUFACTURER:", 14) == 0 ||
sys/dev/usb/ulpt.c
916
strncmp(p, "MDL:", 4) == 0 ||
sys/dev/usb/ulpt.c
917
strncmp(p, "MODEL:", 6) == 0) {
sys/dev/usb/umcpmio.c
1002
if (strncmp(cbuf, buf, MCP2221_VREF_NAME) == 0) {
sys/dev/usb/umcpmio.c
1075
if (strncmp(node.sysctl_data, mcp2221_dc_names[i].text,
sys/dev/usb/umcpmio.c
1084
if (strncmp(cbuf, buf, MCP2221_DC_NAME) == 0) {
sys/dev/usb/umcpmio.c
1179
if (strncmp(node.sysctl_data, mcp2221_cd_names[i].text,
sys/dev/usb/umcpmio.c
1188
if (strncmp(cbuf, buf, MCP2221_CD_NAME) == 0) {
sys/dev/usb/umcpmio.c
923
if (strncmp(node.sysctl_data, mcp2221_vref_names[i].text,
sys/dev/usb/umcpmio.c
932
if (strncmp(cbuf, buf, MCP2221_VREF_NAME) == 0) {
sys/dev/usb/umcpmio.c
993
if (strncmp(node.sysctl_data, mcp2221_vref_names[i].text,
sys/dev/usb/umcpmio_gpio.c
412
if (strncmp(newvref, mcp2221_vref_puts[i].tname,
sys/dev/usb/umcpmio_gpio.c
470
if (strncmp(newvref, mcp2221_vref_puts[i].tname,
sys/dev/usb/umcpmio_gpio.c
524
if (strncmp(new_dc, mcp2221_dc_puts[i].tname,
sys/dev/usb/umcpmio_gpio.c
606
if (strncmp(new_cd, mcp2221_cd_puts[i].tname,
sys/dev/videomode/edid.c
441
} else if ((strncmp((char*)edid->edid_vendor, "IVM", 3) == 0) &&
sys/dev/vmt/vmt_subr.c
426
if (strncmp(sc->sc_hostname, hostname, sizeof(sc->sc_hostname)) != 0) {
sys/dev/vmt/vmt_subr.c
709
if (strncmp(iface->if_xname, "lo", 2) == 0 &&
sys/dist/pf/net/pf_if.c
703
return (strncmp(p->pfik_name, q->pfik_name, IFNAMSIZ));
sys/dist/pf/net/pf_if.c
795
if (strncmp(p->pfik_name, filter, n))
sys/dist/pf/net/pf_ioctl.c
2287
if (strncmp(a->ifname, altq->ifname,
sys/dist/pf/net/pf_ruleset.c
390
if (strncmp(a, r->anchor->path, strlen(a))) {
sys/dist/pf/net/pf_table.c
1993
if ((d = strncmp(p->pfrkt_name, q->pfrkt_name, PF_TABLE_NAME_SIZE)))
sys/fs/efs/efs_subr.c
288
(strncmp(cn->cn_nameptr, de->de_name, cn->cn_namelen) == 0)){
sys/fs/nfs/common/nfs_diskless.c
134
else if (strncmp(o, "rsize=", 6) == 0) {
sys/fs/nfs/common/nfs_diskless.c
140
} else if (strncmp(o, "wsize=", 6) == 0) {
sys/fs/nilfs/nilfs_subr.c
917
if (strncmp(ndirent->name, name, namelen) == 0) {
sys/fs/ntfs/ntfs_subr.c
138
(strncmp(name, vap->va_name, namelen) == 0)) {
sys/fs/ntfs/ntfs_subr.c
741
strncmp(sys, adp->ad_name, syslen) != 0)
sys/fs/ntfs/ntfs_vfsops.c
299
if (strncmp(ntmp->ntm_bootfile.bf_sysid, NTFS_BBID, NTFS_BBIDLEN)) {
sys/fs/sysvbfs/bfs.c
538
(strncmp(file->name, fname, BFS_FILENAME_MAXLEN) ==0))
sys/fs/udf/udf_subr.c
1917
if (strncmp(domain_name, "*OSTA UDF Compliant", 20)) {
sys/fs/udf/udf_subr.c
1980
if (strncmp(map_name, check_name, len) == 0) {
sys/fs/udf/udf_subr.c
1987
if (strncmp(map_name, check_name, len) == 0) {
sys/fs/udf/udf_subr.c
1996
if (strncmp(map_name, check_name, len) == 0) {
sys/fs/udf/udf_subr.c
2339
if (strncmp(implext->imp_id.id, "*UDF", 4) == 0) {
sys/fs/udf/udf_subr.c
2354
if (strncmp(implext->imp_id.id, "*UDF", 4) == 0) {
sys/fs/udf/udf_subr.c
2997
error = strncmp(regid_name, "*UDF Virtual Alloc Tbl", 22);
sys/fs/udf/udf_subr.c
3620
if (strncmp(vrs->identifier, VRS_CD001, 5) == 0)
sys/fs/udf/udf_subr.c
3622
if (strncmp(vrs->identifier, VRS_CDW02, 5) == 0)
sys/fs/udf/udf_subr.c
3624
if (strncmp(vrs->identifier, VRS_BEA01, 5) == 0)
sys/fs/udf/udf_subr.c
3626
if (strncmp(vrs->identifier, VRS_NSR02, 5) == 0)
sys/fs/udf/udf_subr.c
3628
if (strncmp(vrs->identifier, VRS_NSR03, 5) == 0)
sys/fs/udf/udf_subr.c
3630
if (strncmp(vrs->identifier, VRS_TEA01, 5) == 0)
sys/fs/udf/udf_subr.c
4651
if (strncmp(dirent->d_name, s_dirent->d_name, s_dirent->d_namlen) == 0) {
sys/fs/udf/udf_subr.c
4884
if (strncmp(dirent->d_name, s_dirent->d_name, s_dirent->d_namlen) == 0) {
sys/fs/udf/udf_subr.c
5048
if (strncmp(dirent->d_name, name, namelen) == 0) {
sys/fs/udf/udf_vnops.c
1625
if (strncmp(target, mntonname, mntonnamelen) == 0) {
sys/fs/udf/udf_vnops.c
1667
if ((compnamelen == 2) && (strncmp(compnamepos, "..", 2) == 0))
sys/fs/v7fs/v7fs_file.c
116
if (strncmp((const char *)dir->name, name, V7FS_NAME_MAX) == 0)
sys/fs/v7fs/v7fs_file.c
243
if (strncmp(filename, "..", V7FS_NAME_MAX) == 0) {
sys/fs/v7fs/v7fs_file.c
397
if (strncmp(p->name,
sys/fs/v7fs/v7fs_file_util.c
219
if (strncmp(p->name, (const char *)dir->name, V7FS_NAME_MAX)
sys/fs/v7fs/v7fs_file_util.c
340
if (strncmp(dir->name, "..", V7FS_NAME_MAX) != 0)
sys/kern/exec_script.c
144
strncmp(hdrstr, EXEC_SCRIPT_MAGIC, EXEC_SCRIPT_MAGICLEN))
sys/kern/kern_entropy.c
2671
if (strncmp(rs->name, nstat->name, n) == 0)
sys/kern/kern_entropy.c
2702
if (strncmp(rs->name, enstat->name, n) == 0)
sys/kern/kern_entropy.c
2738
if (strncmp(rs->name, rndctl->name, n) != 0)
sys/kern/kern_hook.c
338
if (strncmp(hd->hk_prefix, spec, hd->hk_prefixlen) == 0) {
sys/kern/kern_ksyms.c
266
strncmp(db_symtab, SYMTAB_FILLER, sizeof(SYMTAB_FILLER))) {
sys/kern/kern_ksyms.c
567
if (strncmp(".SUNW_ctf", &shstr[shdr[i].sh_name], 10)
sys/kern/kern_prot.c
632
strncmp(newname, sp->s_login, sizeof sp->s_login) != 0)
sys/kern/kern_tc.c
293
strncmp(newname, tc->tc_name, sizeof(newname)) == 0)
sys/kern/subr_devsw.c
1007
if (strncmp(conv->d_name, name, len) != 0)
sys/kern/subr_devsw.c
1055
if (strncmp(conv->d_name, name, len) != 0)
sys/kern/subr_kobj.c
1042
strncmp(name, "__start_link_set_", 17) == 0 ||
sys/kern/subr_kobj.c
1043
strncmp(name, "__stop_link_set_", 16) == 0) {
sys/kern/sys_mqueue.c
261
if (strncmp(mq->mq_name, name, MQ_NAMELEN) == 0) {
sys/kern/vfs_getcwd.c
566
if (!strncmp(bp, curp->p_emul->e_path, elen))
sys/kern/vfs_lookup.c
101
!strncmp((str), &cp[i], VNL(str))
sys/kern/vfs_lookup.c
561
} else if (!strncmp(ndp->ni_pnbuf, "/../", 4)) {
sys/kern/vfs_mount.c
194
if (!strncmp(vfsp->vfs_name, fstypename,
sys/kern/vfs_syscalls.c
1325
if (strncmp(bp, sp->f_mntonname, len) == 0 &&
sys/kern/vfs_xattr.c
802
#define MATCH_NS(ns, key) (strncmp(ns, key, sizeof(ns) - 1) == 0)
sys/lib/libkern/libkern.h
414
int strncmp(const char *, const char *, size_t);
sys/lib/libsa/bootcfg.c
193
if (!strncmp(key, "menu", 4)) {
sys/lib/libsa/bootcfg.c
216
} else if (!strncmp(key, "banner", 6)) {
sys/lib/libsa/bootcfg.c
219
} else if (!strncmp(key, "timeout", 7)) {
sys/lib/libsa/bootcfg.c
224
} else if (!strncmp(key, "default", 7)) {
sys/lib/libsa/bootcfg.c
226
} else if (!strncmp(key, "consdev", 7)) {
sys/lib/libsa/bootcfg.c
228
} else if (!strncmp(key, "root", 4)) {
sys/lib/libsa/bootcfg.c
230
} else if (!strncmp(key, "format", 6)) {
sys/lib/libsa/bootcfg.c
250
} else if (!strncmp(key, "clear", 5)) {
sys/lib/libsa/loadfile_elf32.c
581
if (strncmp(&shstr[shp[i].sh_name],
sys/lib/libsa/ustarfs.c
292
if(strncmp(formatid, ustf->uas_1cyl, strlen(formatid))) {
sys/lib/libsa/ustarfs.c
422
if(strncmp(ustf->uas_active.ust_magic, "ustar", 5)) {
sys/lib/libsa/ustarfs.c
429
if(strncmp(ustf->uas_active.ust_name, metaname,
sys/lib/libsa/ustarfs.c
437
if(strncmp(ustf->uas_active.ust_name, path,
sys/miscfs/procfs/procfs.h
237
return (strncmp(emulname, "linux", 5) == 0);
sys/miscfs/procfs/procfs_linux.c
700
if (strncmp(emulname, "linux", 5) == 0) {
sys/miscfs/procfs/procfs_status.c
117
if (strncmp(emulname, "linux", 5) == 0) {
sys/miscfs/procfs/procfs_status.c
256
if (strncmp(emulname, "linux", 5) == 0) {
sys/net/if_wg.c
5629
if (strncmp(tun_name, "tun", 3) != 0)
sys/net/npf/npf_rproc.c
247
if (strncmp(rp->rp_name, name, RPROC_NAME_LEN) == 0)
sys/net/npf/npf_ruleset.c
221
if (strncmp(rl->r_name, name, NPF_RULE_MAXNAMELEN) == 0)
sys/netbt/hci_ioctl.c
181
if (strncmp(device_xname(unit->hci_dev),
sys/netinet/portalgo.c
881
strncmp(newalgo, algos[*algo].name, sizeof(newalgo)) == 0)
sys/netinet/tcp_usrreq.c
1802
strncmp(newname, tcp_congctl_global_name, sizeof(newname)) == 0)
sys/rump/librump/rumpkern/kobj_rename.c
60
if (strncmp(norentab[i], name, strlen(norentab[i])) == 0)
sys/rump/librump/rumpkern/threads.c
173
matched = strncmp(thrstore, nothreads[i].t_name,
sys/rump/librump/rumpvfs/rumpfs.c
314
&& strncmp(key, et->et_key, et->et_keylen) == 0) {
sys/rump/librump/rumpvfs/rumpfs.c
595
strncmp(rd->rd_name, cnp->cn_nameptr,
sys/rump/librump/rumpvfs/rumpfs.c
777
strncmp(rd->rd_name, cnp->cn_nameptr,
sys/stand/efiboot/efinet.c
541
if (strncmp(full_path, "net", 3) != 0)
sys/ufs/ext2fs/ext2fs_xattr.c
233
if (l > 0 && strncmp(ap->a_name, prefix, l) == 0 &&
sys/ufs/ext2fs/ext2fs_xattr.c
97
strncmp(e->e_name, name, e->e_name_len) != 0)
sys/ufs/lfs/lfs_bio.c
570
if (strncmp(&mp->mnt_stat.f_fstypename[0], MOUNT_LFS,
sys/ufs/lfs/lfs_kclean.c
838
if (strncmp(mp->mnt_stat.f_fstypename, MOUNT_LFS,
sys/ufs/lfs/lfs_vfsops.c
485
if (strncmp(mp->mnt_stat.f_fstypename, MOUNT_LFS,
sys/ufs/lfs/ulfs_extattr.c
318
if (!(strncmp(attrname, search_attribute->uele_attrname,
sys/ufs/ufs/ufs_extattr.c
318
if (!(strncmp(attrname, search_attribute->uele_attrname,
tests/dev/audio/audiotest.c
359
if (strncmp(arg, name, strlen(arg)) == 0)
tests/fs/common/fstest_lfs.c
239
if (strncmp(s, "Alternate", 9) == 0)
tests/fs/common/fstest_lfs.c
241
if (strncmp(s, "ROLL ", 5) == 0)
tests/fs/ffs/t_extattr.c
74
if (strncmp(&buf[p], attrs[i], l) != 0)
tests/fs/lfs/util.c
154
if (strncmp(s, "Alternate", 9) == 0)
tests/fs/lfs/util.c
156
if (strncmp(s, "ROLL ", 5) == 0)
tests/fs/puffs/h_dtfs/dtfs_subr.c
169
&& strncmp(dirent->dfd_name, fname, fnlen) == 0)
tests/fs/puffs/h_dtfs/dtfs_vfsops.c
151
if (strncmp(rtypes[i].tstr, typestr,
tests/lib/libbluetooth/t_sdp_get.c
568
ATF_CHECK(len == 4 && strncmp(str, "STR8", 4) == 0);
tests/lib/libbluetooth/t_sdp_get.c
575
ATF_CHECK(len == 5 && strncmp(str, "STR16", 5) == 0);
tests/lib/libbluetooth/t_sdp_get.c
578
ATF_CHECK(len == 5 && strncmp(str, "STR32", 5) == 0);
tests/lib/libbluetooth/t_sdp_get.c
613
ATF_CHECK(len == 4 && strncmp(url, "URL8", 4) == 0);
tests/lib/libbluetooth/t_sdp_get.c
620
ATF_CHECK(len == 5 && strncmp(url, "URL16", 5) == 0);
tests/lib/libbluetooth/t_sdp_get.c
623
ATF_CHECK(len == 5 && strncmp(url, "URL32", 5) == 0);
tests/lib/libc/gen/t_glob.c
166
if (strncmp(buf, d[i].name, dir_len) != 0)
tests/lib/libc/regex/main.c
212
if (strncmp(erbuf, badpat, SHORT-1) != 0 || erbuf[SHORT-1] != '\0' ||
tests/lib/libc/regex/main.c
492
if (len != shlen || strncmp(p, should, (size_t)shlen) != 0) {
tests/lib/libc/regex/main.c
505
if (strncmp(p, at, shlen) != 0) {
tests/lib/libc/stdio/t_fopen.c
236
ATF_REQUIRE(strncmp(buf, "garbagegarbage", 14) == 0);
tests/lib/libc/stdio/t_fopen.c
577
ATF_REQUIRE(strncmp(buf, "garbagegarbage", 14) == 0);
tests/lib/libc/stdio/t_fputc.c
81
ATF_REQUIRE(strncmp(buf, str, 10) == 0);
tests/lib/libc/stdio/t_open_memstream.c
67
ATF_CHECK(strncmp(buf, start, sizeof(start)-1) == 0);
tests/lib/libc/stdlib/h_getopt.c
53
if (strncmp(line, "load:", 5) == 0) {
tests/lib/libc/stdlib/h_getopt.c
63
} else if (strncmp(line, "args:", 5) == 0) {
tests/lib/libc/stdlib/h_getopt.c
82
} else if (strncmp(line, "result:", 7) == 0) {
tests/lib/libc/stdlib/h_getopt_long.c
114
if (strncmp(longopt, "0", 1) == 0 ||
tests/lib/libc/stdlib/h_getopt_long.c
115
strncmp(longopt, "no_argument", 2) == 0)
tests/lib/libc/stdlib/h_getopt_long.c
117
else if (strncmp(longopt, "1", 1) == 0 ||
tests/lib/libc/stdlib/h_getopt_long.c
118
strncmp(longopt, "required_argument", 8) == 0)
tests/lib/libc/stdlib/h_getopt_long.c
120
else if (strncmp(longopt, "2", 1) == 0 ||
tests/lib/libc/stdlib/h_getopt_long.c
121
strncmp(longopt, "optional_argument", 8) == 0)
tests/lib/libc/stdlib/h_getopt_long.c
131
strncmp(longopt, "NULL", 4) != 0)
tests/lib/libc/stdlib/h_getopt_long.c
148
} else if (strncmp(line, "args:", 5) == 0) {
tests/lib/libc/stdlib/h_getopt_long.c
160
} else if (strncmp(line, "result:", 7) == 0) {
tests/lib/libc/stdlib/h_getopt_long.c
59
if (strncmp(line, "optstring:", 10) == 0) {
tests/lib/libc/stdlib/h_getopt_long.c
67
} else if (strncmp(line, "longopts:", 9) == 0) {
tests/lib/libc/stdlib/h_getopt_long.c
95
} else if (strncmp(line, "longopt:", 8) == 0) {
tests/lib/libc/stdlib/t_a64l.c
79
ATF_REQUIRE(strncmp(str, t[i].str, t[i].len) == 0);
tests/lib/libc/stdlib/t_a64l.c
99
ATF_REQUIRE(strncmp(buf, t[i].str, t[i].len) == 0);
tests/lib/libc/stdlib/t_mktemp.c
109
ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
tests/lib/libc/stdlib/t_mktemp.c
130
ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
tests/lib/libc/stdlib/t_mktemp.c
156
ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
tests/lib/libc/stdlib/t_mktemp.c
180
ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
tests/lib/libc/stdlib/t_mktemp.c
212
ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
tests/lib/libc/stdlib/t_mktemp.c
248
ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
tests/lib/libc/stdlib/t_mktemp.c
98
ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
tests/lib/libc/string/t_memcpy.c
123
ATF_CHECK(strncmp(buf, "foo bar", 7) == 0);
tests/lib/libc/string/t_memcpy.c
126
ATF_CHECK(strncmp(buf, "xxxxxxx", 7) == 0);
tests/lib/libc/sys/t_mmap.c
183
if (strncmp(dk, "dk", 2) == 0)
tests/lib/libc/sys/t_ptrace_core_wait.h
111
if (!strncmp(note_name, name_buf, name_len) &&
tests/lib/libc/ttyio/t_ptm.c
77
ATF_REQUIRE_MSG(strncmp(ptm.cn, "/dev/pty", 8) == 0
tests/lib/libc/ttyio/t_ptm.c
78
|| strncmp(ptm.cn, "/dev/null", 9) == 0,
tests/lib/libc/ttyio/t_ptm.c
81
ATF_REQUIRE_MSG(strncmp(ptm.sn, "/dev/tty", 8) == 0
tests/lib/libc/ttyio/t_ptm.c
82
|| strncmp(ptm.sn, "/dev/pts/", 9) == 0,
tests/lib/libc/ttyio/t_ptm.c
85
if (strncmp(ptm.cn, "/dev/null", 9) != 0) {
tests/lib/libexecinfo/t_sig_backtrace.c
157
strncmp(strings[i], "__sigtramp_siginfo_",
tests/lib/libexecinfo/t_sig_backtrace.c
163
strncmp(strings[i], "the_loop", strlen("the_loop")) == 0) {
tests/lib/libutil/t_snprintb.c
74
strncmp(val_str, "0x", 2) == 0 || strcmp(val_str, "ch") == 0,
tests/modules/t_modctl.c
214
if ( strncmp(evs->ev_strings, "k_helper", evs->ev_grouplen)
tests/net/tcp/tcp_shutdown.c
56
return strncmp(a, b, strlen(b)) == 0;
tests/rump/rumpkern/h_client/h_stresscli.c
92
if (strncmp(buf, hostnamebuf, sizeof(HOSTNAMEBASE)-1) != 0)
tests/sys/net/t_print.c
123
ATF_CHECK(strncmp(buf, tst[i].str, l - 1) == 0);
tests/sys/netatalk/t_print.c
78
ATF_CHECK(strncmp(buf, tst[i].str, l - 1) == 0);
tests/sys/netinet/t_print.c
88
ATF_CHECK(strncmp(buf, tst[i].str, l - 1) == 0);
tests/sys/netinet6/t_print.c
96
ATF_CHECK(strncmp(buf, tst[i].str, l - 1) == 0);
usr.bin/apropos/apropos.c
199
if ((strncmp(wbuf, machine, mlen) != 0) ||
usr.bin/apropos/apropos.c
208
if (strncmp(s+1, sflag, slen) != 0)
usr.bin/apropos/apropos.c
243
if (test == *bp++ && !strncmp(bp, str, len))
usr.bin/at/at.c
328
strncmp(*atenv, no_export[i],
usr.bin/at/perm.c
72
if (strncmp(name, buffer, len) == 0 && buffer[len] == '\n') {
usr.bin/audio/common/audio.c
155
if (strncmp(encs[i].ename, arg, len) == 0) {
usr.bin/audio/common/wav.c
121
if (strncmp(part.name, search, RIFFNAMELEN) == 0) {
usr.bin/audio/play/play.c
138
if (strncmp(optarg, "speaker", len) == 0)
usr.bin/audio/play/play.c
140
else if (strncmp(optarg, "headphone", len) == 0)
usr.bin/audio/play/play.c
142
else if (strncmp(optarg, "line", len) == 0)
usr.bin/audio/record/record.c
157
if (strncmp(optarg, "mic", len) == 0)
usr.bin/audio/record/record.c
159
else if (strncmp(optarg, "cd", len) == 0 ||
usr.bin/audio/record/record.c
160
strncmp(optarg, "internal-cd", len) == 0)
usr.bin/audio/record/record.c
162
else if (strncmp(optarg, "line", len) == 0)
usr.bin/bthset/bthset.c
349
if (len >= 7 && strncmp(buf, "AT+CKPD", 7) == 0) {
usr.bin/bthset/bthset.c
362
if (len >= 7 && strncmp(buf, "AT+VGS=", 7) == 0) {
usr.bin/bthset/bthset.c
375
if (len >= 7 && strncmp(buf, "AT+VGM=", 7) == 0) {
usr.bin/cksum/cksum.c
342
strncmp(buf, hash->hashname,
usr.bin/cksum/cksum.c
352
if (strncmp(buf,
usr.bin/config/mkheaders.c
205
if (strncmp(str, "\\\"", 2) != 0) {
usr.bin/config/mkioconf.c
76
#define ARRNAME(n, l) (strchr((n), ARRCHR) && strncmp((n), (l), strlen((l))) == 0)
usr.bin/config/mkmakefile.c
108
if (strncmp(line, "build_kernel:", 13) == 0) {
usr.bin/config/mkmakefile.c
162
else if (strncmp(line, "%VERSION ", sizeof("%VERSION ")-1) == 0) {
usr.bin/crunch/crunchgen/crunchgen.c
712
if (strncmp(line, "OBJS= ", 6)) {
usr.bin/cvslatest/cvslatest.c
127
if (strncmp(dt, "dummy timestamp", 14) == 0) {
usr.bin/diff/diffreg.c
1375
#define begins_with(s, pre) (strncmp(s, pre, sizeof(pre) - 1) == 0)
usr.bin/eject/eject.c
260
if (strncmp(name, dev_name, strlen(name)) == 0)
usr.bin/eject/eject.c
268
if (strncmp(name, dev_name, strlen(name)) == 0)
usr.bin/eject/eject.c
352
if (strncmp(mounts[i].f_mntfromname, dn, len) == 0) {
usr.bin/find/function.c
1108
return (strncmp(fstype, plan->c_data, sizeof(fstype)) == 0);
usr.bin/finger/finger.c
115
if (strncmp(nl_langinfo(CODESET), "ISO8859-", 8))
usr.bin/finger/util.c
219
strncmp(w->tty, ll.ll_line, UT_LINESIZE) == 0)
usr.bin/from/from.c
123
if (newline && !strncmp(buf, "From ", 5) &&
usr.bin/ftp/complete.c
144
if (strncmp(word, c->c_name, wordlen) == 0)
usr.bin/ftp/complete.c
209
if (strncmp(file, dp->d_name, len) == 0) {
usr.bin/ftp/complete.c
256
if (strncmp(word, o->name, wordlen) == 0)
usr.bin/ftp/complete.c
340
if (strncmp(file, cp, strlen(file)) == 0)
usr.bin/ftp/complete.c
378
&& strncmp(word, margv[cursor_argc] ? margv[cursor_argc] : "",
usr.bin/ftp/domacro.c
62
if (!strncmp(argv[1], macros[i].mac_name, 9))
usr.bin/ftp/ftp.c
351
if (strncmp("PASS ", fmt, 5) == 0)
usr.bin/ftp/ftp.c
353
else if (strncmp("ACCT ", fmt, 5) == 0)
usr.bin/ftp/util.c
241
!strncmp(reply_string, "215 TOPS20", 10))
usr.bin/ftp/util.c
732
if (strlen(timestr) == 15 && strncmp(timestr, "191", 3) == 0) {
usr.bin/ftp/util.c
898
if (strncmp(realdir, dir, dirlen) == 0 &&
usr.bin/gencat/gencat.c
477
if (strncmp(cptr, "set", 3) == 0) {
usr.bin/gencat/gencat.c
483
} else if (strncmp(cptr, "delset", 6) == 0) {
usr.bin/gencat/gencat.c
488
} else if (strncmp(cptr, "quote", 5) == 0) {
usr.bin/indent/args.c
157
if (strncmp(arg, "cli", 3) == 0) {
usr.bin/indent/lexi.c
541
if (strncmp(*pp, s, len) == 0) {
usr.bin/kdump/kdump.c
1630
strncmp(nv[j].name, usr->ktr_id, KTR_USER_MAXIDLEN) == 0) {
usr.bin/kdump/kdump.c
857
if (strncmp(sys_name, NETBSD32_, len) == 0)
usr.bin/lam/lam.c
225
if (strncmp("lam - ", msg, 6) == 0)
usr.bin/last/last.c
347
if (!strncmp(arg, _PATH_DEV, sizeof(_PATH_DEV) - 1))
usr.bin/last/want.c
173
crmsg = strncmp(namep, "shutdown",
usr.bin/last/want.c
212
if (!strncmp(T->tty, linep, LINESIZE))
usr.bin/last/want.c
278
if (!strncmp(bp->ut_line, "ftp", sizeof("ftp") - 1))
usr.bin/last/want.c
280
else if (!strncmp(bp->ut_line, "uucp", sizeof("uucp") - 1))
usr.bin/last/want.c
293
if (!strncmp(step->name, bp->ut_line, LINESIZE))
usr.bin/last/want.c
297
if (!strncmp(step->name, bp->ut_name, NAMESIZE))
usr.bin/lastcomm/lastcomm.c
204
if (!strncmp(acp->ac_comm, *argv, fldsiz(acct, ac_comm)))
usr.bin/ldd/ldd_elfxx.c
177
if (strncmp(libname, "lib", 3) == 0 &&
usr.bin/m4/lib/ohash.c
249
strncmp(h->t[i].p+h->info.key_offset, start,
usr.bin/m4/look.c
126
if (strncmp(defn, BUILTIN_MARKER, sizeof(BUILTIN_MARKER)-1) == 0 &&
usr.bin/m4/stdd.h
52
#define STREQN(a, b, n) ((a)[0] == (b)[0] && strncmp(a, b, n) == 0)
usr.bin/mail/complete.c
1058
strncmp(lf->buffer, ename, word_len) == 0) {
usr.bin/mail/complete.c
314
if (strncmp(word, c->c_name, wordlen) == 0)
usr.bin/mail/complete.c
393
if (strncmp(fname, dp->d_name, len) == 0) {
usr.bin/mail/complete.c
458
if (strncmp(word, dp->d_name, len) == 0) {
usr.bin/mail/complete.c
574
if (len == 0 || strncmp(*p, word, len) == 0)
usr.bin/mail/complete.c
616
if (len == 0 || strncmp(*p, word, len) == 0)
usr.bin/mail/complete.c
682
if (len == 0 || strncmp(*p, word, len) == 0)
usr.bin/mail/complete.c
727
if (len == 0 || strncmp(*p, word, len) == 0)
usr.bin/mail/complete.c
795
strncmp(last_line, lf->buffer, len) == 0;
usr.bin/mail/format.c
1042
if (strncmp(fmtstr, USE_HL_DATE, sizeof(USE_HL_DATE) - 1) != 0)
usr.bin/mail/lex.c
160
if (strncmp(tbuf, mailname, l) == 0) {
usr.bin/mail/list.c
732
if (strncmp(field, "From ", 5) != 0)
usr.bin/mail/list.c
827
strncmp(str, mtp->key, len) == 0)
usr.bin/mail/mime_decode.c
363
strncmp(line + 2, boundary, boundary_len) == 0)) {
usr.bin/mail/support.c
594
if (strncmp(cp, "From", 4) != 0)
usr.bin/mail/support.c
597
if (strncmp(cp, "remote", 6) == 0) {
usr.bin/mail/support.c
600
if (strncmp(cp, "from", 4) != 0)
usr.bin/make/arch.c
429
strncmp(magic, ARMAG, SARMAG) != 0) {
usr.bin/make/arch.c
444
if (strncmp(arh.ar_fmag, ARFMAG, sizeof arh.ar_fmag) != 0)
usr.bin/make/arch.c
482
if (strncmp(memName, AR_EFMT1, sizeof AR_EFMT1 - 1) == 0 &&
usr.bin/make/arch.c
551
if (strncmp(inout_name, ARLONGNAMES1, sizeof ARLONGNAMES1 - 1) == 0 ||
usr.bin/make/arch.c
552
strncmp(inout_name, ARLONGNAMES2, sizeof ARLONGNAMES2 - 1) == 0) {
usr.bin/make/arch.c
612
if (strncmp(ar_name, name, namelen) != 0)
usr.bin/make/arch.c
656
strncmp(magic, ARMAG, SARMAG) != 0) {
usr.bin/make/arch.c
667
if (strncmp(out_arh->ar_fmag, ARFMAG,
usr.bin/make/arch.c
692
if (strncmp(out_arh->ar_name, AR_EFMT1, sizeof AR_EFMT1 - 1)
usr.bin/make/arch.c
713
if (strncmp(ename, member, len) == 0) {
usr.bin/make/arch.c
835
strncmp(nameStart, gn->name, nameLen) == 0) {
usr.bin/make/cond.c
1078
if (strncmp(p, "se", 2) == 0 && !ch_isalpha(p[2])) {
usr.bin/make/cond.c
177
bool ok = strncmp(*pp, str, len) == 0;
usr.bin/make/for.c
224
return p[0] == 'e' && strncmp(p, "endfor", 6) == 0 &&
usr.bin/make/hash.c
126
strncmp(he->key, key.start, keyLen) == 0 &&
usr.bin/make/job.c
2334
if (strncmp(arg, "path=", 5) == 0) {
usr.bin/make/job.c
2336
} else if (strncmp(arg, "name=", 5) == 0) {
usr.bin/make/job.c
2339
if (strncmp(arg, "quiet=", 6) == 0) {
usr.bin/make/job.c
2341
} else if (strncmp(arg, "echo=", 5) == 0) {
usr.bin/make/job.c
2343
} else if (strncmp(arg, "filter=", 7) == 0) {
usr.bin/make/job.c
2346
} else if (strncmp(arg, "echoFlag=", 9) == 0) {
usr.bin/make/job.c
2348
} else if (strncmp(arg, "errFlag=", 8) == 0) {
usr.bin/make/job.c
2350
} else if (strncmp(arg, "hasErrCtl=", 10) == 0) {
usr.bin/make/job.c
2354
} else if (strncmp(arg, "newline=", 8) == 0) {
usr.bin/make/job.c
2356
} else if (strncmp(arg, "check=", 6) == 0) {
usr.bin/make/job.c
2363
} else if (strncmp(arg, "ignore=", 7) == 0) {
usr.bin/make/job.c
2370
} else if (strncmp(arg, "errout=", 7) == 0) {
usr.bin/make/job.c
2372
} else if (strncmp(arg, "comment=", 8) == 0) {
usr.bin/make/main.c
1157
if (strncmp(start, ".../", 4) == 0) {
usr.bin/make/main.c
1641
if (strncmp(fname, ".../", 4) == 0) {
usr.bin/make/main.c
446
if (strncmp(argvalue, ".../", 4) == 0) {
usr.bin/make/meta.c
1214
if (strncmp(buf, "CWD", 3) == 0)
usr.bin/make/meta.c
1218
if (strncmp(buf, "TARG", 4) == 0)
usr.bin/make/meta.c
1224
if (strncmp(buf, "-- command", 10) == 0)
usr.bin/make/meta.c
1228
if (strncmp(buf, "-- filemon", 10) == 0)
usr.bin/make/meta.c
1230
if (strncmp(buf, "# buildmon", 10) == 0)
usr.bin/make/meta.c
1495
if (strncmp(p, cwd, cwdlen) == 0)
usr.bin/make/meta.c
1502
if (tmplen > 0 && strncmp(p, tmpdir, tmplen) == 0)
usr.bin/make/meta.c
1572
if (*p != '/' || strncmp(p, cwd, cwdlen) != 0) {
usr.bin/make/meta.c
1706
if (strncmp(curdir, gn->path, (size_t)(cp - gn->path)) != 0) {
usr.bin/make/meta.c
277
if (strncmp(dname, dtp, ldname) == 0 && dtp[ldname] == '/')
usr.bin/make/meta.c
736
if (strncmp(cp, meta_prefix, meta_prefix_len) == 0) {
usr.bin/make/meta.c
857
return strncmp(path, prefix, n) == 0;
usr.bin/make/meta.c
877
if (strncmp(path, prefix, n) != 0)
usr.bin/make/parse.c
1102
} else if (strncmp(targetName, ".PATH", 5) == 0) {
usr.bin/make/parse.c
1235
for (i = 0; strncmp(file + i, "../", 3) == 0; i += 3) {
usr.bin/make/parse.c
2205
if (strncmp(dir, "include", 7) != 0)
usr.bin/make/parse.c
2901
if (strncmp(line, "export", 6) == 0 && ch_isspace(line[6]) &&
usr.bin/make/suff.c
1167
if (strncmp(base, targ->prefix, prefLen) != 0)
usr.bin/make/util.c
50
if (strncmp(name, q, len) == 0) {
usr.bin/make/var.c
2279
return strncmp(mod, modname, n) == 0 && IsDelimiter(mod[n], ch);
usr.bin/make/var.c
2287
return strncmp(mod, modname, n) == 0 &&
usr.bin/make/var.c
2931
} else if (strncmp(p, "error", 5) == 0) {
usr.bin/make/var.c
3340
else if (strncmp(p, "..", 2) == 0) {
usr.bin/man/man.c
865
if (!strncmp(buf, S1, sizeof(S1) - 1) ||
usr.bin/man/man.c
866
!strncmp(buf, S2, sizeof(S2) - 1)) {
usr.bin/man/man.c
869
} else if (!strncmp(buf, D1, sizeof(D1) - 1) ||
usr.bin/man/man.c
870
!strncmp(buf, D2, sizeof(D2) - 1)) {
usr.bin/man/man.c
940
if (!strncmp(p, "more", 4) && (!p[4] || isspace((unsigned char)p[4]))) {
usr.bin/midiplay/midiplay.c
711
if (strncmp(sunit, "midi", strlen("midi")) == 0)
usr.bin/msgs/msgs.c
387
seensubj = (seensubj || (!blankline && (strncmp(inbuf, "Subj", 4) == 0)));
usr.bin/msgs/msgs.c
837
if (strncmp(inbuf, "From", 4)==0) {
usr.bin/msgs/msgs.c
881
if (!seensubj && strncmp(inbuf, "Subj", 4)==0) {
usr.bin/nc/socks.c
383
strncmp(cbuf, "HTTP/1.0 407 ", 12) == 0) {
usr.bin/nc/socks.c
390
} else if (strncmp(cbuf, "HTTP/1.0 200 ", 12) != 0 &&
usr.bin/nc/socks.c
391
strncmp(cbuf, "HTTP/1.1 200 ", 12) != 0)
usr.bin/netstat/bpf.c
121
strncmp(BPFEXT(bde_ifname), bpfif, IFNAMSIZ))
usr.bin/patch/backupfile.c
154
if (!strncmp(base, backup, base_length) && ISDIGIT(backup[base_length])) {
usr.bin/patch/backupfile.c
195
if (!strncmp(optlist[i], arg, arglen)) {
usr.bin/patch/common.h
63
#define strnNE(s1,s2,l) (strncmp(s1, s2, l))
usr.bin/patch/common.h
64
#define strnEQ(s1,s2,l) (!strncmp(s1, s2, l))
usr.bin/pkill/pkill.c
646
else if (strncmp(sp, "tty", 3) == 0)
usr.bin/pkill/pkill.c
648
else if (strncmp(sp, "pts/", 4) == 0)
usr.bin/pwait/pwait.c
135
if (!strncmp(s, "/proc/", 6)) /* Undocumented Solaris compat */
usr.bin/radioctl/radioctl.c
314
if (strncmp(topt, varname[res], len) == 0)
usr.bin/radioctl/radioctl.c
411
if (strncmp(topt, offchar,
usr.bin/radioctl/radioctl.c
414
else if (strncmp(topt, onchar,
usr.bin/radioctl/radioctl.c
419
if (strncmp(topt, "up", slen > 2 ? slen : 2) == 0)
usr.bin/radioctl/radioctl.c
423
if (strncmp(topt, "down", slen > 4 ? slen : 4) == 0)
usr.bin/rdist/server.c
888
i == size && strncmp(buf, tbuf, size) == 0) {
usr.bin/rpcgen/rpc_scan.c
417
if (strncmp(str, s->str, len) == 0) {
usr.bin/ruptime/ruptime.c
125
if (dp->d_ino == 0 || strncmp(dp->d_name, "whod.", 5))
usr.bin/rwho/rwho.c
131
if (dp->d_ino == 0 || strncmp(dp->d_name, "whod.", 5))
usr.bin/rwho/rwho.c
237
rc = strncmp(u1->myutmp.out_name, u2->myutmp.out_name, 8);
usr.bin/rwho/rwho.c
243
return strncmp(u1->myutmp.out_line, u2->myutmp.out_line, 8);
usr.bin/scmdctl/scmdctl.c
371
if (strncmp(argv[3],scmdregisternames[c],15) == 0)
usr.bin/scmdctl/scmdctl.c
384
if (strncmp(argv[4],scmdregisternames[c],15) == 0)
usr.bin/scmdctl/scmdctl.c
418
if (strncmp(argv[3],scmdregisternames[c],15) == 0)
usr.bin/scmdctl/scmdctl.c
494
if (strncmp(argv[3],ebus_speeds[ebus_s],8) == 0)
usr.bin/scmdctl/scmdctl.c
90
if (strncmp(cmdtocheck,c[i].cmd,16) == 0) {
usr.bin/seq/seq.c
259
strncmp(s, decimal_point, decimal_pt_len) == 0) {
usr.bin/systat/globalcmds.c
68
if (strncmp(key, s, len) == 0 && s[len] == '.') {
usr.bin/systat/ps.c
228
if (strncmp(tty_name, "tty", 3) == 0 ||
usr.bin/systat/ps.c
229
strncmp(tty_name, "dty", 3) == 0)
usr.bin/telnet/commands.c
1651
|| (strncmp(ep->value, "unix:", 5) == 0))) {
usr.bin/telnet/main.c
139
rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE;
usr.bin/telnet/main.c
263
if (!strncmp("in", optarg, 2))
usr.bin/telnet/main.c
265
else if (!strncmp("out", optarg, 3))
usr.bin/tip/aculib/biz31.c
241
if (strncmp(buf, "p >\r\n\r\n>", 8))
usr.bin/tip/aculib/courier.c
220
if (strncmp(dialer_buf, "CONNECT",
usr.bin/tip/aculib/t3000.c
228
if (strncmp(dialer_buf, "CONNECT",
usr.bin/tip/cu.c
101
if (strncmp(optarg, "soft",
usr.bin/tip/cu.c
98
if (strncmp(optarg, "hard", sizeof("hard") - 1 ) == 0)
usr.bin/tr/str.c
290
r = strncmp(a->name, b->name, a->len);
usr.bin/unifdef/unifdef.c
614
if (strncmp(cp, "\\\n", 2) == 0)
usr.bin/unifdef/unifdef.c
753
} else if (strncmp(cp, "defined", 7) == 0 && endsym(cp[7])) {
usr.bin/unifdef/unifdef.c
809
if (strncmp(cp, op->str, strlen(op->str)) == 0)
usr.bin/unifdef/unifdef.c
861
if (strncmp(cp, "\\\n", 2) == 0)
usr.bin/unifdef/unifdef.c
865
if (strncmp(cp, "/\\\n", 3) == 0) {
usr.bin/unifdef/unifdef.c
868
} else if (strncmp(cp, "/*", 2) == 0) {
usr.bin/unifdef/unifdef.c
871
} else if (strncmp(cp, "//", 2) == 0) {
usr.bin/unifdef/unifdef.c
874
} else if (strncmp(cp, "\n", 1) == 0) {
usr.bin/unifdef/unifdef.c
883
if (strncmp(cp, "\n", 1) == 0) {
usr.bin/unifdef/unifdef.c
890
if (strncmp(cp, "*\\\n", 3) == 0) {
usr.bin/unifdef/unifdef.c
893
} else if (strncmp(cp, "*/", 2) == 0) {
usr.bin/units/units.c
595
if (!strncmp(prefixtable[i].prefixname, unit,
usr.bin/unzip/unzip.c
711
strncmp(pathname, "../", 3) == 0 ||
usr.bin/uudecode/uudecode.c
144
if (strncmp(p, "begin-base64", 12) == 0) {
usr.bin/uudecode/uudecode.c
148
} else if (strncmp(p, "begin", 5) == 0) {
usr.bin/uudecode/uudecode.c
282
if (strncmp(ptr, end, n) != 0 ||
usr.bin/vacation/vacation.c
316
#define COMPARE(a, b) strncmp(a, b, sizeof(b) - 1)
usr.bin/vgrind/vfontedpr.c
190
if (!strncmp(argv[0], "-s", 2)) {
usr.bin/vgrind/vfontedpr.c
201
if (!strncmp(argv[0], "-l", 2)) {
usr.bin/vgrind/vfontedpr.c
208
if (!strncmp(argv[0], "-d", 2)) {
usr.bin/vgrind/vfontedpr.c
324
if (!strncmp (buf+1, "vS", 2))
usr.bin/vgrind/vfontedpr.c
326
if (!strncmp (buf+1, "vE", 2))
usr.bin/videoctl/videoctl.c
611
if (strncmp(key, "info.", strlen("info.")) == 0) {
usr.bin/videoctl/videoctl.c
616
if (strncmp(key, "ctrl.", strlen("ctrl.")) == 0) {
usr.bin/w/w.c
247
strncmp(utx->ut_name, sel_user, sizeof(utx->ut_name)) != 0)
usr.bin/w/w.c
282
strncmp(ut->ut_name, sel_user, sizeof(ut->ut_name)) != 0)
usr.bin/w/w.c
287
if (strncmp(ep->line, ut->ut_line,
usr.bin/w/w.c
567
if (ep->pid == 0 && strncmp(ep->line, "ftp", 3) == 0) {
usr.bin/who/utmpentry.c
223
if (strncmp(ep->line, ut->ut_line,
usr.bin/who/who.c
220
if (strncmp(estr, pat, len) == 0)
usr.bin/write/term_chk.c
128
if (strncmp(mytty, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0)
usr.bin/write/write.c
96
if (!strncmp(argv[2], _PATH_DEV, strlen(_PATH_DEV)))
usr.bin/xargs/xargs.c
317
strncmp(argp, eofstr, (size_t)(p - argp)) == 0;
usr.bin/xinstall/xinstall.c
1276
if (strncmp(p, destdir, destlen) == 0 &&
usr.bin/xlint/lint1/lex.c
1135
if (strncmp(p, "do", 2) == 0 && !ch_isalnum(p[2]) && p[2] != '_')
usr.bin/xlint/lint1/lex.c
1232
else if (strncmp(p, "pragma ", 7) == 0)
usr.bin/xlint/lint1/lex.c
1234
else if (strncmp(p, "define ", 7) == 0) {
usr.bin/xlint/lint1/lex.c
1237
} else if (strncmp(p, "undef ", 6) == 0)
usr.bin/xlint/lint1/tree.c
1620
strncmp(max_ec->s_name, "COUNT_", 6) == 0 ||
usr.bin/xlint/lint1/tree.c
1622
strncmp(max_ec->s_name, "LAST_", 5) == 0 ||
usr.bin/xlint/lint1/tree.c
1624
strncmp(max_ec->s_name, "N_", 2) == 0))
usr.bin/xlint/lint1/tree.c
863
if (strncmp(name, "__atomic_", 9) == 0 ||
usr.bin/xlint/lint1/tree.c
864
strncmp(name, "__builtin_", 10) == 0 ||
usr.bin/xlint/lint1/tree.c
867
strncmp(name, "__sync_", 7) == 0)
usr.bin/xlint/lint1/tree.c
872
if (strncmp(name, "_mm_", 4) == 0)
usr.bin/xlint/lint1/tree.c
912
return strncmp(name, "__builtin_", 10) == 0 &&
usr.bin/xlint/lint2/read.c
930
if (strncmp(thte->th_name, cp, len) != 0)
usr.bin/xlint/xlint/xlint.c
421
if (strncmp(base, "llib-l", 6) == 0 && base == suff)
usr.sbin/ac/ac.c
176
if (strncmp(name, tp->name, tp->len) == 0)
usr.sbin/ac/ac.c
179
if (strncmp(name, tp->name, sizeof (tp->name)) == 0)
usr.sbin/ac/ac.c
189
return strncmp(a, b, UT_LINESIZE);
usr.sbin/ac/ac.c
249
if (strncmp(up->name, name, sizeof (up->name) - 1) == 0) {
usr.sbin/ac/ac.c
392
if (*up->ut_line == '~' || strncmp(lp->usr.ut_line, up->ut_line,
usr.sbin/ac/ac.c
509
if ((strncmp(usr.ut_line, "tty", 3) != 0 &&
usr.sbin/ac/ac.c
510
strncmp(usr.ut_line, "dty", 3) != 0) ||
usr.sbin/acpitools/acpidump/acpi_user.c
252
if (strncmp((char *)dp, ACPI_SIG_DSDT, 4) != 0)
usr.sbin/acpitools/aml/aml_name.c
113
if (!strncmp(result->name, ptr, len)) {
usr.sbin/acpitools/aml/aml_name.c
143
if (!strncmp(child->name, name, len)) {
usr.sbin/acpitools/aml/aml_name.c
84
if (!strncmp(result->name, (const char *)name, 4))
usr.sbin/acpitools/amldb/amldb.c
105
if (strncmp((const char *)code, "DSDT", 4) == 0) {
usr.sbin/altq/libaltq/parser.c
165
if (strncmp(cmd, tp->cmd, len) == 0)
usr.sbin/altq/libaltq/parser.c
210
if (strncmp(qp->qname, qname, strlen(qp->qname)) == 0)
usr.sbin/altq/libaltq/parser.c
222
if (strncmp(qp->qname, qname, strlen(qp->qname)) == 0)
usr.sbin/altq/libaltq/parser.c
236
if (strncmp(qp->qname, qname, strlen(qp->qname)) == 0) {
usr.sbin/altq/libaltq/parser.c
246
if (strncmp(ifinfo->qdisc->qname, qname,
usr.sbin/altq/libaltq/quip_server.c
408
if (strncmp(s1, s2, prefixlen) != 0)
usr.sbin/altq/tbrconfig/tbrconfig.c
97
if (strncmp(argv[2], "auto", strlen("auto")) == 0)
usr.sbin/arp/arp.c
291
if (strncmp(argv[0], "temp", 4) == 0) {
usr.sbin/arp/arp.c
296
else if (strncmp(argv[0], "pub", 3) == 0) {
usr.sbin/arp/arp.c
299
if (argc && strncmp(argv[1], "pro", 3) == 0) {
usr.sbin/arp/arp.c
303
} else if (strncmp(argv[0], "trail", 5) == 0) {
usr.sbin/arp/arp.c
575
if (info && strncmp(info, "pro", 3) == 0)
usr.sbin/autofs/automountd.c
102
if (strncmp(pair, option, olen) == 0) {
usr.sbin/autofs/automountd.c
187
if (strncmp(adr->adr_from, "map ", 4) != 0) {
usr.sbin/autofs/common.c
678
if (strncmp(tmp, path, tmplen) != 0) {
usr.sbin/bootp/common/readfile.c
1034
if (!strncmp(*symbol, "auto", 4)) {
usr.sbin/bootp/common/readfile.c
968
if (!strncmp(tmpstr, "auto", 4)) {
usr.sbin/bootp/common/readfile.c
988
if (strncmp(*symbol, "auto", 4)) {
usr.sbin/bootp/common/readfile.c
990
if (!strncmp(*symbol, "rfc", 3)) {
usr.sbin/bootp/common/readfile.c
992
} else if (!strncmp(*symbol, "cmu", 3)) {
usr.sbin/catman/catman.c
195
if (!strncmp(e_subp->s, "cat", 3))
usr.sbin/catman/catman.c
219
if (!strncmp(e_subp->s, "cat", 3))
usr.sbin/catman/catman.c
239
if (!strncmp(e_subp->s, "cat", 3))
usr.sbin/cpuctl/arch/i386.c
1671
if (strncmp(hv_sig, "HAXMHAXMHAXM", 12) == 0)
usr.sbin/cpuctl/arch/i386.c
1673
else if (strncmp(hv_sig, "KVMKVMKVM", 9) == 0)
usr.sbin/cpuctl/arch/i386.c
1675
else if (strncmp(hv_sig, "Microsoft Hv", 12) == 0)
usr.sbin/cpuctl/arch/i386.c
1677
else if (strncmp(hv_sig, "TCGTCGTCGTCG", 12) == 0)
usr.sbin/cpuctl/arch/i386.c
1679
else if (strncmp(hv_sig, "VMwareVMware", 12) == 0)
usr.sbin/cpuctl/arch/i386.c
1681
else if (strncmp(hv_sig, "XenVMMXenVMM", 12) == 0)
usr.sbin/cpuctl/arch/i386.c
1683
else if (strncmp(hv_sig, "___ NVMM ___", 12) == 0)
usr.sbin/cpuctl/arch/i386.c
1702
if (!strncmp((char *)ci->ci_vendor,
usr.sbin/cpuctl/arch/i386.c
2016
if (!strncmp((char *)ci->ci_vendor,
usr.sbin/cpuctl/cpuctl.c
300
if (strncmp(arg, "cpu", 3) == 0)
usr.sbin/edquota/edquota.c
1004
} else if (!strncmp(text, "grace:", 6)) {
usr.sbin/edquota/edquota.c
1039
else if (!strncmp(text, "blocks:", 7)) {
usr.sbin/edquota/edquota.c
1043
} else if (!strncmp(text, "inodes:", 7)) {
usr.sbin/edquota/edquota.c
876
if ((!strncmp(line, "Default ", 8) && dflag) ||
usr.sbin/edquota/edquota.c
877
(!strncmp(line, "Quotas for ", 11) && !dflag)) {
usr.sbin/edquota/edquota.c
927
else if (!strncmp(text, "usage:", 6)) {
usr.sbin/edquota/edquota.c
955
} else if (!strncmp(text, "limits:", 7)) {
usr.sbin/emcfanctl/emcfanctl.c
197
if (strncmp(cmdtocheck,c[i].cmd,16) == 0) {
usr.sbin/fstyp/apfs.c
95
if (strncmp(csb->nx_magic, "NXSB", 4) != 0 ||
usr.sbin/fstyp/exfat.c
333
if (ev == NULL || strncmp(ev->ev_fsname, "EXFAT ", 8) != 0)
usr.sbin/fstyp/hfsplus.c
112
if ((strncmp(hdr->hp_signature, "H+", 2) != 0 || hdr->hp_version != 4)
usr.sbin/fstyp/hfsplus.c
114
(strncmp(hdr->hp_signature, "HX", 2) != 0 || hdr->hp_version != 5))
usr.sbin/fstyp/msdosfs.c
102
if (strncmp((char*)pfat32_bsbpb->BS_FilSysType, "FAT", 3) != 0)
usr.sbin/fstyp/msdosfs.c
110
if (strncmp((char*)pfat32_bsbpb->BS_VolLab, LABEL_NO_NAME,
usr.sbin/fstyp/msdosfs.c
84
if (strncmp((char*)pfat_bsbpb->BS_FilSysType, "FAT", 3) != 0) {
usr.sbin/fstyp/msdosfs.c
89
if (strncmp((char*)pfat_bsbpb->BS_VolLab, LABEL_NO_NAME,
usr.sbin/fstyp/ntfs.c
149
if (bf == NULL || strncmp((char*)bf->bf_sysid, "NTFS ", 8) != 0)
usr.sbin/gpioctl/gpioctl.c
116
if (strncmp(_PATH_DEV, dev, sizeof(_PATH_DEV) - 1)) {
usr.sbin/i2cscan/i2cscan.c
191
if (strncmp(_PATH_DEV, dev, sizeof(_PATH_DEV) - 1)) {
usr.sbin/inetd/parse.c
1028
if (strncmp(sep->se_proto, "rpc/", 4) == 0) {
usr.sbin/inetd/parse.c
1075
if (strncmp(sep->se_proto, "tcp", 3)) {
usr.sbin/inetd/parse.c
1140
if (strncmp(arg, "stream,", sizeof("stream,") - 1) != 0)
usr.sbin/inetd/parse.c
1164
if (strncmp(arg, "stream", sizeof("stream") - 1) == 0)
usr.sbin/inetd/parse.c
502
if (strncmp(arg, TCPMUX_TOKEN, MUX_LEN) == 0) {
usr.sbin/inetd/parse.c
526
if (strcmp(arg, "on") == 0 || strncmp(arg, "on#", 3) == 0) {
usr.sbin/inetd/parse.c
553
} else if (strcmp(arg, "off") == 0 || strncmp(arg, "off#", 4) == 0) {
usr.sbin/inetd/parse.c
595
strncmp(arg, "faith/", strlen("faith/")) == 0) {
usr.sbin/inetd/parse_v2.c
280
if (strncmp(sep->se_proto, "udp", 3) == 0) {
usr.sbin/inetd/parse_v2.c
282
} else if (strncmp(sep->se_proto, "tcp", 3) == 0) {
usr.sbin/inetd/parse_v2.c
763
strncmp(val, "faith/", strlen("faith/")) == 0) {
usr.sbin/inetd/ratelimit.c
480
if (strncmp(cur->other_addr, addr->other_addr, NI_MAXHOST)
usr.sbin/installboot/cd9660.c
87
strncmp(ipd.id, ISO_STANDARD_ID, sizeof(ipd.id)) != 0 ||
usr.sbin/installboot/evboards.c
1477
strncmp(cp, board_u_boot_install_key,
usr.sbin/installboot/evboards.c
734
} else if (strncmp(cp, board_u_boot_install_key,
usr.sbin/irdaattach/irdaattach.c
105
if (strncmp(_PATH_DEV, dev, sizeof(_PATH_DEV) - 1)) {
usr.sbin/kvm_mkdb/kvm_mkdb.c
135
} else if (strncmp(_PATH_KVMDB, dbname, sizeof(_PATH_KVMDB)) == 0) {
usr.sbin/kvm_mkdb/nlist_elf32.c
145
strncmp(name, _PATH_KSYMS, sizeof(_PATH_KSYMS)) == 0;
usr.sbin/ldpd/fsm.c
226
if (strncmp("mpls", ifb->ifa_name, 4) == 0 &&
usr.sbin/lpr/common_source/rmjob.c
198
if (strchr(line+1, '/') || strncmp(line+1, "df", 2))
usr.sbin/makemandb/custom_apropos_tokenizer.c
651
if (strncmp(nostem[idx], dupword, nIn) == 0 && nostem[idx][nIn] == 0)
usr.sbin/memswitch/methods.c
477
if (strncmp(p, "1.5", 3) == 0) {
usr.sbin/memswitch/methods.c
480
} else if (strncmp(p, "2", 1) == 0) {
usr.sbin/memswitch/methods.c
483
} else if (strncmp(p, "1", 1) == 0) {
usr.sbin/moused/moused.c
2653
if (strncmp(s, &buf[len - 3], 2) != 0) {
usr.sbin/moused/moused.c
2675
if ( strncmp(id->class, "MOUSE", id->nclass) != 0 &&
usr.sbin/moused/moused.c
2676
strncmp(id->class, "TABLET", id->nclass) != 0)
usr.sbin/moused/moused.c
2714
if (strncmp(tab[i].name, s, len) == 0)
usr.sbin/ndp/ndp.c
321
if (strncmp(argv[0], "temp", 4) == 0) {
usr.sbin/ndp/ndp.c
326
} else if (strncmp(argv[0], "proxy", 5) == 0)
usr.sbin/ndp/ndp.c
846
if (strncmp(cp, f, strlen(f)) == 0) { \
usr.sbin/npf/npfctl/npf_build.c
169
return strncmp(ifname, tname, tnamelen) == 0;
usr.sbin/npf/npfctl/npf_build.c
218
if (!strncmp(name, NPF_IFNET_TABLE_PREF, NPF_IFNET_TABLE_PREFLEN)) {
usr.sbin/npf/npfctl/npf_cmd.c
86
*natset = strncmp(name, NPF_RULESET_MAP_PREF, preflen) == 0;
usr.sbin/npf/npfctl/npfctl.c
595
if (strncmp(cmd, opcmd, strlen(opcmd)) != 0) {
usr.sbin/psrset/psrset.c
100
} else if (strncmp(argv[1], "-r", 2) == 0) {
usr.sbin/psrset/psrset.c
103
} else if (strncmp(argv[1], "-u", 2) == 0) {
usr.sbin/psrset/psrset.c
79
} else if (strncmp(argv[1], "-a", 2) == 0) {
usr.sbin/psrset/psrset.c
82
} else if (strncmp(argv[1], "-b", 2) == 0) {
usr.sbin/psrset/psrset.c
85
} else if (strncmp(argv[1], "-c", 2) == 0) {
usr.sbin/psrset/psrset.c
88
} else if (strncmp(argv[1], "-d", 2) == 0) {
usr.sbin/psrset/psrset.c
91
} else if (strncmp(argv[1], "-e", 2) == 0) {
usr.sbin/psrset/psrset.c
94
} else if (strncmp(argv[1], "-i", 2) == 0) {
usr.sbin/psrset/psrset.c
97
} else if (strncmp(argv[1], "-p", 2) == 0) {
usr.sbin/pstat/pstat.c
319
(strncmp((mp)->mnt_stat.f_fstypename, (name), \
usr.sbin/puffs/mount_9p/fs.c
107
if (strncmp(str, p9p_ver2str(p9p->protover), P9PROTO_VERSTR_MAXLEN) != 0) {
usr.sbin/quot/quot.c
650
if (!strncmp(mp->f_fstypename, MOUNT_FFS,
usr.sbin/quotacheck/quotacheck.c
497
if (strncmp(fst[i].f_fstypename, "ffs",
usr.sbin/quotacheck/quotacheck.c
499
strncmp(fst[i].f_mntonname, fsname,
usr.sbin/quotarestore/quotarestore.c
245
!strncmp(name, objtypenames[i], len-1)) {
usr.sbin/quotarestore/quotarestore.c
382
if (strncmp(buf, "@format netbsd-quota-dump v", 27) != 0) {
usr.sbin/quotarestore/quotarestore.c
408
if (!strncmp(buf, "@end", 4)) {
usr.sbin/rarpd/rarpd.c
549
if (strncmp(dent->d_name, ipname, 8) == 0)
usr.sbin/rbootd/defs.h
74
#define STRNEQN(s1,s2,n) ((*s1 == *s2) && (strncmp(s1,s2,n) == 0))
usr.sbin/rpc.bootparamd/bootparamd.c
434
if (!strncmp(word, id, idlen) && word[idlen] == '=') {
usr.sbin/rpc.bootparamd/bootparamd.c
484
if (strncmp(ifa->ifa_name, "lo", 2) == 0 &&
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1008
if (!strncmp(buff2, "queuing", 7)) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1012
if (!strncmp(buff2, "printing", 8)) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
353
if (!strncmp(resbuf, "request id is ", 14))
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
913
if (!strncmp(buff, pn, n)) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
918
if (!strncmp(buff, "printer ", 8)) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
928
if (!strncmp(buff, "UX:", 3)) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
975
if (strncmp(buff, pname, n))
usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c
120
if (strncmp(argp->newpw.pw_name, pw.pw_name, MAXLOGNAME) == 0)
usr.sbin/rpcbind/util.c
127
if (clnt_uaddr != NULL && strncmp(clnt_uaddr, "0.0.0.0.", 8) == 0)
usr.sbin/rtadvd/advcap.c
320
if (strncmp(bp, id, strlen(id)) != 0)
usr.sbin/rtadvd/advcap.c
353
if (strncmp(bp, id, strlen(id)) == 0) {
usr.sbin/rtadvd/advcap.c
380
if (strncmp(bp, id, strlen(id)) != 0)
usr.sbin/sti/sti.c
166
if (strncmp(tty, "/dev/", 5) == 0)
usr.sbin/sti/sti.c
168
else if (strncmp(tty, "tty", 3) == 0 || strncmp(tty, "pty", 3) == 0 ||
usr.sbin/sti/sti.c
169
strncmp(tty, "pts/", 4) == 0)
usr.sbin/sysinst/aout2elf.c
165
if (strncmp(dp->d_name, "lib", 3) != 0)
usr.sbin/sysinst/checkrc.c
102
rv = strncmp(buf, "YES", strlen("YES")) == 0;
usr.sbin/sysinst/configmenu.c
460
if (strncmp(cp, varname, strlen(varname)) == 0) {
usr.sbin/sysinst/disklabel.c
1290
if (strncmp(name, parts->l.d_packname, n) != 0)
usr.sbin/sysinst/disks.c
593
if (strncmp(dev, *list, len) == 0) {
usr.sbin/sysinst/gpt.c
1236
if (strncmp(t, expected_hdr, sizeof(expected_hdr)-1) != 0) {
usr.sbin/sysinst/gpt.c
367
if (strncmp(tt, regpart_prefix,
usr.sbin/sysinst/net.c
307
if (strncmp(buf, *ignore, len) == 0 &&
usr.sbin/sysinst/net.c
412
if (strncmp(t, "\tinet6 ", 7) != 0)
usr.sbin/sysinst/net.c
417
if (strncmp(t, "fe80:", 5) == 0)
usr.sbin/sysinst/net.c
505
if (strncmp(dev, licdev[i].dev, 3) == 0) {
usr.sbin/sysinst/partman.c
2129
if (have_cgd && strncmp(pm_cur->diskdev, "cgd", 3) == 0) {
usr.sbin/sysinst/partman.c
2141
} else if (have_vnd && strncmp(pm_cur->diskdev, "vnd", 3) == 0) {
usr.sbin/sysinst/partman.c
2156
} else if (have_raid && strncmp(pm_cur->diskdev, "raid", 4) == 0) {
usr.sbin/sysinst/partman.c
2590
if (! strncmp(pm_cur->diskdev, "cgd", 3)) {
usr.sbin/sysinst/partman.c
2596
} else if (! strncmp(pm_cur->diskdev, "vnd", 3)) {
usr.sbin/sysinst/partman.c
2602
} else if (! strncmp(pm_cur->diskdev, "raid", 4)) {
usr.sbin/sysinst/partman.c
2612
} else if (! strncmp(pm_cur->diskdev, "dk", 2)) {
usr.sbin/sysinst/partman.c
2739
if (! strncmp("raid", pm_i->diskdev, 4))
usr.sbin/sysinst/run.c
335
if (strncmp(dirent->d_name, fn, l) != 0)
usr.sbin/sysinst/txtwalk.c
113
if (strncmp(these[which].head, line, patlen) == 0) {
usr.sbin/sysinst/util.c
2085
if (strncmp(cp, value, strlen(value)) == 0) {
usr.sbin/sysinst/util.c
2745
return strncmp(parent, "sdmmc", 5) != 0;
usr.sbin/sysinst/util.c
481
if (strncmp(state->mounted[i].f_mntfromname, tname, tlen)
usr.sbin/sysinst/util.c
648
strncmp("md", rootdev, 2) != 0) {
usr.sbin/syslogd/sign.c
887
if (strncmp(p, " SIGN=\"\"", 8) == 0)
usr.sbin/syslogd/syslogd.c
375
#define EQ(a) (strncmp(optarg, # a, sizeof(# a) - 1) == 0)
usr.sbin/syslogd/tls.c
562
if (strncmp(certfingerprint, fingerprint, strlen(certfingerprint))) {
usr.sbin/umcpmioctl/putflash.c
100
if (strncmp(argv[argcount], "GPIO_PIN_INPUT", 15) == 0) {
usr.sbin/umcpmioctl/putflash.c
105
if (strncmp(argv[argcount], "GPIO_PIN_OUTPUT", 16) == 0) {
usr.sbin/umcpmioctl/putflash.c
109
if (strncmp(argv[argcount], "GPIO_PIN_ALT0", 14) == 0) {
usr.sbin/umcpmioctl/putflash.c
115
if (strncmp(argv[argcount], "GPIO_PIN_ALT1", 14) == 0) {
usr.sbin/umcpmioctl/putflash.c
121
if (strncmp(argv[argcount], "GPIO_PIN_ALT2", 14) == 0) {
usr.sbin/umcpmioctl/putflash.c
127
if (strncmp(argv[argcount], "GPIO_PIN_ALT3", 14) == 0) {
usr.sbin/umcpmioctl/putflash.c
133
if (strncmp(argv[argcount], "DEFAULT_OUTPUT_ZERO", 20) == 0) {
usr.sbin/umcpmioctl/putflash.c
137
if (strncmp(argv[argcount], "DEFAULT_OUTPUT_ONE", 19) == 0) {
usr.sbin/umcpmioctl/putflash.c
212
if (strncmp(argv[argcount], "GP0", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
216
if (strncmp(argv[argcount], "GP1", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
220
if (strncmp(argv[argcount], "GP2", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
224
if (strncmp(argv[argcount], "GP3", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
228
if (strncmp(argv[argcount], "GP4", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
232
if (strncmp(argv[argcount], "GP5", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
236
if (strncmp(argv[argcount], "GP6", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
240
if (strncmp(argv[argcount], "GP7", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
244
if (strncmp(argv[argcount], "GP8", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
257
if (strncmp(argv[argcount], "GPIO_PIN_INPUT", 15) == 0) {
usr.sbin/umcpmioctl/putflash.c
264
if (strncmp(argv[argcount], "GPIO_PIN_OUTPUT", 16) == 0) {
usr.sbin/umcpmioctl/putflash.c
271
if (strncmp(argv[argcount], "GPIO_PIN_ALT0", 14) == 0) {
usr.sbin/umcpmioctl/putflash.c
275
if (strncmp(argv[argcount], "GPIO_PIN_ALT3", 14) == 0) {
usr.sbin/umcpmioctl/putflash.c
282
if (strncmp(argv[argcount], "GPIO_PIN_ALT4", 14) == 0) {
usr.sbin/umcpmioctl/putflash.c
288
if (strncmp(argv[argcount], "GPIO_PIN_ALT5", 14) == 0) {
usr.sbin/umcpmioctl/putflash.c
294
if (strncmp(argv[argcount], "GPIO_PIN_ALT6", 14) == 0) {
usr.sbin/umcpmioctl/putflash.c
301
if (strncmp(argv[argcount], "DEFAULT_OUTPUT_ZERO", 20) == 0) {
usr.sbin/umcpmioctl/putflash.c
307
if (strncmp(argv[argcount], "DEFAULT_OUTPUT_ONE", 19) == 0) {
usr.sbin/umcpmioctl/putflash.c
360
if (strncmp(argv[argcount], "CS_TO_DATA_DELAY", 17) == 0) {
usr.sbin/umcpmioctl/putflash.c
364
if (strncmp(argv[argcount], "LAST_BYTE_TO_CS_DELAY", 22) == 0) {
usr.sbin/umcpmioctl/putflash.c
368
if (strncmp(argv[argcount], "DELAY_BETWEEN_BYTES", 20) == 0) {
usr.sbin/umcpmioctl/putflash.c
443
if (strncmp(argv[argcount], "POWERED", 8) == 0) {
usr.sbin/umcpmioctl/putflash.c
446
if (strncmp(argv[argcount], "MA", 3) == 0) {
usr.sbin/umcpmioctl/putflash.c
460
if (strncmp(argv[argcount], "SELF", 5) == 0) {
usr.sbin/umcpmioctl/putflash.c
463
if (strncmp(argv[argcount], "BUS", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
79
if (strncmp(argv[argcount], "GP0", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
82
if (strncmp(argv[argcount], "GP1", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
85
if (strncmp(argv[argcount], "GP2", 4) == 0) {
usr.sbin/umcpmioctl/putflash.c
88
if (strncmp(argv[argcount], "GP3", 4) == 0) {
usr.sbin/umcpmioctl/umcpmioctl.c
105
if (strncmp(cmdtocheck, c[i].cmd, 16) == 0) {
usr.sbin/usbdevs/usbdevs.c
356
if (strncmp(dev, "usb", 3) == 0 && isdigit((unsigned char)dev[3])) {
usr.sbin/user/user.c
1408
if (strncmp(buf, name, len) == 0 && buf[len] == ':') {
usr.sbin/user/user.c
1665
if (strncmp(login_name, buf, loginc) == 0 && loginc == colonc) {
usr.sbin/user/user.c
482
strncmp(group, buf, (unsigned) entc) == 0) {
usr.sbin/user/user.c
610
strncmp(groups[i], buf, (unsigned) entc) == 0) {
usr.sbin/user/user.c
835
if (strncmp(s, "group", 5) == 0) {
usr.sbin/user/user.c
838
} else if (strncmp(s, "base_dir", 8) == 0) {
usr.sbin/user/user.c
841
} else if (strncmp(s, "skel_dir", 8) == 0) {
usr.sbin/user/user.c
844
} else if (strncmp(s, "shell", 5) == 0) {
usr.sbin/user/user.c
848
} else if (strncmp((char *)s, "class", 5) == 0) {
usr.sbin/user/user.c
853
} else if (strncmp(s, "homeperm", 8) == 0) {
usr.sbin/user/user.c
859
} else if (strncmp(s, "inactive", 8) == 0) {
usr.sbin/user/user.c
870
} else if (strncmp(s, "range", 5) == 0) {
usr.sbin/user/user.c
875
} else if (strncmp(s, "preserve", 8) == 0) {
usr.sbin/user/user.c
878
(strncmp(cp, "true", 4) == 0) ? 1 :
usr.sbin/user/user.c
879
(strncmp(cp, "yes", 3) == 0) ? 1 : atoi(cp);
usr.sbin/user/user.c
881
} else if (strncmp(s, "expire", 6) == 0) {
usr.sbin/user/user.c
892
} else if (strncmp(s, "gid_range", 9) == 0) {
usr.sbin/user/user.c
957
if (strncmp(newpasswd, pwtp->type, pwtp->desc_length) == 0) {
usr.sbin/vnconfig/vnconfig.c
265
if (strncmp(mnt[i].f_mntfromname, "/dev/", 5) == 0 &&
usr.sbin/wgconfig/wgconfig.c
342
if (strncmp(argv[1], opt, strlen(opt)) != 0)
usr.sbin/wgconfig/wgconfig.c
688
if (strncmp(argv[0], opt->option, optlen) == 0) {
usr.sbin/wgconfig/wgconfig.c
818
if (strncmp(command, cmd->command, strlen(cmd->command)) == 0 &&
usr.sbin/wgconfig/wgconfig.c
819
strncmp(target, cmd->target, strlen(cmd->target)) == 0) {
usr.sbin/wsfontload/wsfontload.c
245
if (strncmp(b, "WSFT", 4) != 0)
usr.sbin/ypserv/mkalias/mkalias.c
254
if (strncmp(key.dptr, "YP_", 3)==0) /* YP token */
usr.sbin/ypserv/ypserv/ypserv_db.c
128
strncmp(key.dptr, YP_LAST_KEY, YP_LAST_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
132
strncmp(key.dptr, YP_INPUT_KEY, YP_INPUT_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
136
strncmp(key.dptr, YP_OUTPUT_KEY, YP_OUTPUT_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
140
strncmp(key.dptr, YP_MASTER_KEY, YP_MASTER_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
144
strncmp(key.dptr, YP_DOMAIN_KEY, YP_DOMAIN_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
148
strncmp(key.dptr, YP_INTERDOMAIN_KEY, YP_INTERDOMAIN_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
152
strncmp(key.dptr, YP_SECURE_KEY, YP_SECURE_LEN) == 0)