bin/chio/chio.c
147
if (strncmp(*argv, commands[i].cc_name,
bin/chio/parse.y
449
if (strncmp(changer, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0)
bin/df/df.c
204
if (!strncmp(type, *av, MFSNAMELEN))
bin/ksh/edit.c
549
strncmp(words[i], last_info->word, info[i].base) != 0) {
bin/ksh/edit.c
703
if (slen != 0 && strncmp(s, want, slen) != 0)
bin/ksh/emacs.c
968
return (strncmp(str, pat+1, strlen(pat+1)) == 0) ? 0 : -1;
bin/ksh/expr.c
521
strncmp(cp, opinfo[i].name, opinfo[i].len) == 0) {
bin/ksh/history.c
500
if ((anchored && strncmp(*hp, str, len) == 0) ||
bin/ksh/jobs.c
1490
if (strncmp(cp, j->proc_list->command, len) == 0) {
bin/ksh/lex.c
1387
} else if (strncmp(p, str_val(global("HOME")), n)
bin/ksh/misc.c
729
if (!strncmp(pattern, cc->name, len) && cc->name[len] == '\0') {
bin/ksh/trap.c
98
if (!igncase && strncmp(name, "SIG", 3) == 0)
bin/md5/md5.c
833
if (p == NULL || strncmp(p + 1, " = ", (size_t)3) != 0)
bin/md5/md5.c
935
cmp = strncmp(checksum, digest, len);
bin/mt/mt.c
213
if (strncmp(p, comp->c_name, len) == 0)
bin/pax/cpio.c
255
(strncmp(blk, AMAGIC, sizeof(AMAGIC) - 1) != 0))
bin/pax/cpio.c
492
(strncmp(blk, AVMAGIC, sizeof(AVMAGIC) - 1) != 0))
bin/pax/cpio.c
509
(strncmp(blk, AVCMAGIC, sizeof(AVCMAGIC) - 1) != 0))
bin/pax/pat_rep.c
454
(strncmp(pt->pstr, arcn->name, pt->plen) == 0))
bin/pax/tables.c
539
if (!strncmp(ckname, arcn->name, namelen))
bin/pax/tar.c
1431
if (strncmp(hd->magic, TMAGIC, TMAGLEN - 1) != 0)
bin/pax/tar.c
342
if (strncmp(uhd->magic, TMAGIC, TMAGLEN - 1) == 0)
bin/pax/tar.c
707
if (strncmp(hd->magic, TMAGIC, TMAGLEN - 1) != 0)
bin/ps/print.c
483
if (strncmp(ttname, "tty", 3) == 0)
bin/stty/stty.c
147
if (!strncmp(*argv, "gfmt1", sizeof("gfmt1") - 1)) {
bin/test/test.c
355
c = strncmp(p1, p2, len1) * sig1;
games/adventure/extern.h
117
#define weq(str1, str2) (!strncmp((str1), (str2), 5))
games/hack/hack.do_name.c
327
if(!strncmp(bp, "the ", 4)) bp += 4;
games/hack/hack.do_name.c
346
if(!strncmp(bp, "The ", 4)) {
games/hack/hack.end.c
374
strncmp(t1->name, t0->name, NAMSZ) == 0 &&
games/hack/hack.end.c
429
strncmp(t1->name, t0->name, NAMSZ)))
games/hack/hack.end.c
491
if(!strncmp("escaped", t1->death, 7)) {
games/hack/hack.end.c
499
if(!strncmp(t1->death,"quit",4)) {
games/hack/hack.end.c
509
else if(!strncmp(t1->death,"starv",5)) {
games/hack/hack.end.c
530
(!strncmp(t1->death, "trick", 5) || !strncmp(t1->death, "the ", 4))
games/hack/hack.end.c
642
if(argc > 1 && !strncmp(argv[1], "-s", 2)){
games/hack/hack.end.c
684
strncmp(t1->name, players[i], NAMSZ) == 0 ||
games/hack/hack.end.c
719
strncmp(t1->name, players[i], NAMSZ) == 0 ||
games/hack/hack.engrave.c
112
if(!strncmp(s,t,n)) return(1);
games/hack/hack.main.c
123
if(argc > 1 && !strncmp(argv[1], "-d", 2)) {
games/hack/hack.main.c
164
if(argc > 1 && !strncmp(argv[1], "-s", 2)) {
games/hack/hack.main.c
242
if(!*plname || !strncmp(plname, "player", 4)
games/hack/hack.main.c
243
|| !strncmp(plname, "games", 4))
games/hack/hack.objnam.c
300
if(!strncmp(" of ", p, 4)) {
games/hack/hack.objnam.c
341
if(strncmp(bp, "cheap ", 6))
games/hack/hack.objnam.c
444
if(!strncmp(cp, "the ", 4)){
games/hack/hack.objnam.c
447
} else if(!strncmp(cp, "an ", 3)){
games/hack/hack.objnam.c
450
} else if(!strncmp(cp, "a ", 2)){
games/hack/hack.objnam.c
488
for(p = cp; *p; p++) if(!strncmp(p, " named ", 7)) {
games/hack/hack.objnam.c
492
for(p = cp; *p; p++) if(!strncmp(p, " called ", 8)) {
games/hack/hack.objnam.c
496
for(p = cp; *p; p++) if(!strncmp(p, " labeled ", 9)) {
games/hack/hack.objnam.c
504
for(p = cp; *p; p++) if(!strncmp(p, "s of ", 5)){
games/hack/hack.objnam.c
559
if(!strncmp(cp, wrp[i], j)){
games/hack/hack.objnam.c
562
if(!strncmp(cp, " of ", 4)) an = cp+4;
games/hack/hack.options.c
108
while((*opts == '!') || !strncmp(opts, "no", 2)) {
games/hack/hack.options.c
113
if(!strncmp(opts,"standout",8)) {
games/hack/hack.options.c
118
if(!strncmp(opts,"null",3)) {
games/hack/hack.options.c
123
if(!strncmp(opts,"tombstone",4)) {
games/hack/hack.options.c
128
if(!strncmp(opts,"news",4)) {
games/hack/hack.options.c
133
if(!strncmp(opts,"time",4)) {
games/hack/hack.options.c
139
if(!strncmp(opts,"restonspace",4)) {
games/hack/hack.options.c
144
if(!strncmp(opts,"fixinv",4)) {
games/hack/hack.options.c
152
if(!strncmp(opts,"male",4)) {
games/hack/hack.options.c
156
if(!strncmp(opts,"female",6)) {
games/hack/hack.options.c
162
if(!strncmp(opts,"name",4)) {
games/hack/hack.options.c
175
if(!strncmp(opts,"endgame",3)) {
games/hack/hack.options.c
209
if(!strncmp(opts, "help", 4)) {
games/hack/hack.rip.c
100
!strncmp(killer, "the ", 4) ? "" :
games/hack/hack.shk.c
327
strncmp(ESHK(shopkeeper)->customer, plname, PL_NSIZ)){
games/hack/hack.shk.c
373
strncmp(ESHK(shopkeeper)->customer,plname,PL_NSIZ))
games/hack/hack.shk.c
526
if(strncmp(ESHK(shkp)->customer, plname, PL_NSIZ)
games/hack/hack.shk.c
957
if(strncmp(ESHK(shkp)->customer, plname, PL_NSIZ)){
games/hack/hack.termcap.c
95
if(!strncmp(term, "5620", 4))
games/hack/hack.topl.c
226
strncmp(bp, "You ", 4)) {
games/hack/makedefs.c
113
if(!strncmp(string, "RIN_", 4)){
games/hack/makedefs.c
120
if(!strncmp(string, "WORTHLESS_PIECE_OF_", 19))
games/hangman/ksyms.c
74
if (strncmp(sym, "__", 2) == 0)
games/hunt/hunt/hunt.c
530
if (strncmp(envp, "cloak,", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
534
else if (strncmp(envp, "scan,", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
538
else if (strncmp(envp, "fly,", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
542
else if (strncmp(envp, "nobeep,", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
546
else if (strncmp(envp, "name=", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
557
else if (strncmp(envp, "port=", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
567
else if (strncmp(envp, "host=", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
576
else if (strncmp(envp, "message=", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
585
else if (strncmp(envp, "team=", s - envp + 1) == 0) {
games/hunt/hunt/hunt.c
596
else if (strncmp(envp, "mapkey=", s - envp + 1) == 0) {
games/hunt/huntd/answer.c
453
&& strncmp(ip->i_name, name, NAMELEN) == 0)
games/monop/execute.c
310
strncmp(st, MONOP_TAG, strlen(MONOP_TAG))) {
games/ppt/ppt.c
152
if (strncmp(buf, EDGE, strlen(EDGE)) == 0)
include/string.h
83
int strncmp(const char *, const char *, size_t);
lib/libc/asr/asr.c
665
else if ((!strncmp(tok[i], "ndots:", 6))) {
lib/libc/crypt/cryptutil.c
73
} else if (strncmp(pref, choice, len) == 0 &&
lib/libc/gen/auth_subr.c
573
if (strncmp(opt->opt, option, len) == 0 &&
lib/libc/gen/auth_subr.c
581
if (strncmp(oopt->opt, option, len) == 0 &&
lib/libc/gen/auth_subr.c
683
if (strncmp(line, what, len) != 0 ||
lib/libc/gen/authenticate.c
248
if (strncmp(type, "approve-", 8) == 0)
lib/libc/gen/fnmatch.c
120
if (foldcase && strncmp(pattern, "upper:]", 7) == 0)
lib/libc/gen/fnmatch.c
123
if (!strncmp(pattern, cc->name, len) && cc->name[len] == '\0') {
lib/libc/gen/getttyent.c
96
#define scmp(e) !strncmp(p, e, sizeof(e) - 1) && \
lib/libc/gen/getttyent.c
98
#define vcmp(e) !strncmp(p, e, sizeof(e) - 1) && p[sizeof(e) - 1] == '='
lib/libc/gen/login_cap.c
1078
(strncmp((s)+1, u, l) == 0 && ((s)[l+1] == '/' || (s)[l+1] == '\0'))))
lib/libc/hidden/string.h
65
PROTO_NORMAL(strncmp);
lib/libc/net/ethers.c
112
if (!strncmp(buf, "+\n", sizeof(buf)))
lib/libc/net/ethers.c
146
if (!strncmp(buf, "+\n", sizeof(buf)))
lib/libc/regex/regcomp.c
617
if (strncmp(p->next, "[:<:]]", 6) == 0) {
lib/libc/regex/regcomp.c
622
if (strncmp(p->next, "[:>:]]", 6) == 0) {
lib/libc/regex/regcomp.c
760
if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
lib/libc/regex/regcomp.c
824
if (strncmp(cp->name, sp, len) == 0 && strlen(cp->name) == len)
lib/libc/stdlib/getopt_long.c
187
if (strncmp(current_argv, long_options[i].name,
lib/libc/stdlib/posix_pty.c
76
if (strncmp(name, "pty", 3) != 0) {
lib/libc/string/strncmp.c
48
DEF_STRONG(strncmp);
lib/libc/time/localtime.c
313
if (strncmp(name, TZDIR, sizeof(TZDIR) - 1) != 0 ||
lib/libc/time/strptime.c
420
if (strncmp((const char *)bp, gmt, 3) == 0) {
lib/libc/time/strptime.c
425
} else if (strncmp((const char *)bp, utc, 3) == 0) {
lib/libcrypto/asn1/a_strnid.c
107
if (strncmp(p, "MASK:", 5) == 0) {
lib/libcrypto/asn1/asn1_gen.c
360
if (!strncmp(vstart, "ASCII", 5))
lib/libcrypto/asn1/asn1_gen.c
362
else if (!strncmp(vstart, "UTF8", 4))
lib/libcrypto/asn1/asn1_gen.c
364
else if (!strncmp(vstart, "HEX", 3))
lib/libcrypto/asn1/asn1_gen.c
366
else if (!strncmp(vstart, "BITLIST", 7))
lib/libcrypto/asn1/asn1_gen.c
603
if ((len == tntmp->len) && !strncmp(tntmp->strnam, tagstr, len))
lib/libcrypto/asn1/asn_mime.c
987
if (!strncmp(line, "--", 2) && !strncmp(line + 2, bound, blen)) {
lib/libcrypto/asn1/asn_mime.c
988
if (!strncmp(line + blen + 2, "--", 2))
lib/libcrypto/conf/conf_mod.c
270
if (!strncmp(mod->name, name, nchar))
lib/libcrypto/ocsp/ocsp_lib.c
199
if (strncmp(url, "https://", 8) == 0) {
lib/libcrypto/ocsp/ocsp_lib.c
202
} else if (strncmp(url, "http://", 7) == 0)
lib/libcrypto/pem/pem_lib.c
498
if (strncmp(header, "Proc-Type: ", 11) != 0) {
lib/libcrypto/pem/pem_lib.c
509
if (strncmp(header, "ENCRYPTED", 9) != 0) {
lib/libcrypto/pem/pem_lib.c
520
if (strncmp(header, "DEK-Info: ", 10) != 0) {
lib/libcrypto/pem/pem_lib.c
708
if (strncmp(buf, "-----BEGIN ", 11) == 0) {
lib/libcrypto/pem/pem_lib.c
711
if (strncmp(&(buf[11 + i - 6]), "-----\n", 6) != 0)
lib/libcrypto/pem/pem_lib.c
744
if (strncmp(buf, "-----END ", 9) == 0) {
lib/libcrypto/pem/pem_lib.c
772
if (strncmp(buf, "-----END ", 9) == 0)
lib/libcrypto/pem/pem_lib.c
804
if ((strncmp(buf, "-----END ", 9) != 0) ||
lib/libcrypto/pem/pem_lib.c
805
(strncmp(nameB->data, &(buf[9]), i) != 0) ||
lib/libcrypto/pem/pem_lib.c
806
(strncmp(&(buf[9 + i]), "-----\n", 6) != 0)) {
lib/libcrypto/x509/by_dir.c
217
strncmp(ent->dir, ss, (size_t)len) == 0)
lib/libcrypto/x509/x509_conf.c
242
if ((strlen(p) < 9) || strncmp(p, "critical,", 9))
lib/libcrypto/x509/x509_conf.c
258
if ((strlen(p) >= 4) && !strncmp(p, "DER:", 4)) {
lib/libcrypto/x509/x509_conf.c
261
} else if ((strlen(p) >= 5) && !strncmp(p, "ASN1:", 5)) {
lib/libcrypto/x509/x509_ncons.c
214
if (!strncmp(val->name, "permitted", 9) && val->name[9]) {
lib/libcrypto/x509/x509_ncons.c
217
} else if (!strncmp(val->name, "excluded", 8) && val->name[8]) {
lib/libcrypto/x509/x509_ncons.c
510
if (strncmp(baseptr, emlptr, emlat - emlptr))
lib/libcrypto/x509/x509_utl.c
623
if ((ret = strncmp(name, cmp, len)))
lib/libcrypto/x509/x509_utl.c
831
return (strncmp(pattern, subject, pattern_len) == 0);
lib/libcurses/base/lib_mouse.c
403
if (!strncmp(code, "1006", (size_t) (next - code))) {
lib/libcurses/base/lib_mouse.c
407
if (!strncmp(code, "1005", (size_t) (next - code))) {
lib/libcurses/base/lib_screen.c
827
if (!strncmp(name, "_pad.", (size_t) 5) && !IS_PAD(win)) {
lib/libcurses/tic.h
99
#define quick_prefix(s) (!strncmp((s), "b64:", (size_t)4) || !strncmp((s), "hex:", (size_t)4))
lib/libcurses/tinfo/captoinfo.c
860
else if (strncmp(str, "%{2}%*%-", (size_t) 8) == 0) {
lib/libcurses/tinfo/captoinfo.c
863
} else if (strncmp(str, "%{96}%^", (size_t) 7) == 0) {
lib/libcurses/tinfo/captoinfo.c
868
} else if (strncmp(str, "%{127}%^", (size_t) 8) == 0) {
lib/libcurses/tinfo/parse_entry.c
946
&& strncmp(ko_xlate[n].from, base, len) == 0) {
lib/libcurses/tinfo/read_entry.c
736
if (!strncmp(source, "b64:", (size_t) 4)) {
lib/libcurses/tinfo/read_entry.c
754
} else if (!strncmp(source, "hex:", (size_t) 4)) {
lib/libcurses/tinfo/strings.c
58
if (!strncmp(haystack, needle, len2)) {
lib/libcurses/tinfo/trim_sgr0.c
115
if (len_s > len_a && !strncmp(attr, s, len_a)) {
lib/libcurses/tinfo/trim_sgr0.c
155
result = (strncmp(a, b, len_b) == 0);
lib/libcurses/tinfo/trim_sgr0.c
157
result = (strncmp(a, b, len_a) == 0);
lib/libcurses/trace/lib_trace.c
244
if (!strncmp(fmt, Called, sizeof(Called) - 1)) {
lib/libcurses/trace/lib_trace.c
247
} else if (!strncmp(fmt, Return, sizeof(Return) - 1)) {
lib/libedit/TEST/tc1.c
96
if (strncmp(dp->d_name, ptr, len) == 0) {
lib/libedit/filecomplete.c
211
&& strncmp(entry->d_name, filename,
lib/libedit/history.c
67
#define Strncmp(d, s, n) strncmp(d, s, n)
lib/libedit/history.c
778
if (strncmp(line, hist_cookie, sz) != 0)
lib/libedit/readline.c
476
if (*s == *what && !strncmp(s, what, what_len)) {
lib/libedit/readline.c
489
if (*s == *what && !strncmp(s, what, what_len)) {
lib/libedit/tty.c
1248
if ((p ? strncmp(m->m_name, ct_encode_string(d, &el->el_scratch), (size_t)(p - d)) :
lib/libelf/_libelf_ar.h
45
(strncmp((const char *) (NAME), \
lib/libelf/libelf_ar_util.c
331
} else if (strncmp(arh.ar_name, LIBELF_AR_BSD_SYMTAB_NAME,
lib/libelf/libelf_memory.c
92
strncmp((const char *) image, ARMAG, (size_t) SARMAG) == 0)
lib/libexpat/tests/common.h
76
# define xcstrncmp(s, t, n) strncmp((s), (t), (n))
lib/libfido2/src/nfc.c
296
return strncmp(path, FIDO_NFC_PREFIX, strlen(FIDO_NFC_PREFIX)) == 0;
lib/libfuse/fuse_opt.c
86
if (strncmp(opt, templ, sep) == 0)
lib/libskey/put.c
440
if ((j = strncmp(w, Wp[i], 4)) == 0)
lib/libskey/put.c
445
if (strncmp(w, Wp[high], 4) == 0)
lib/libssl/d1_srtp.c
159
!strncmp(p->name, profile_name, len)) {
lib/libssl/ssl_ciph.c
1067
if (buflen == 8 && strncmp(buf, "STRENGTH", 8) == 0) {
lib/libssl/ssl_ciph.c
1070
strncmp(buf, "SECLEVEL=", 9) == 0) {
lib/libssl/ssl_ciph.c
1243
if (strncmp(rule_str, "DEFAULT", 7) == 0) {
lib/libssl/ssl_ciph.c
957
if (!strncmp(buf, ca_list[j]->name, buflen) &&
lib/libusbhid/usage.c
276
if (strncmp(pages[k].name, name, l) == 0)
lib/libusbhid/usage.c
287
if (fmtsep != NULL && strncmp(sep, fmtname, len) == 0) {
lib/libutil/login.c
62
strncmp(old_ut.ut_line, utp->ut_line, UT_LINESIZE) == 0 &&
lib/libutil/login.c
63
strncmp(old_ut.ut_name, utp->ut_name, UT_NAMESIZE) == 0)
lib/libutil/login_fbtab.c
101
if (strncmp(devnam, _PATH_DEV, sizeof(_PATH_DEV) - 1) != 0 ||
lib/libutil/logout.c
54
if (!ut.ut_name[0] || strncmp(ut.ut_line, line, UT_LINESIZE))
lib/libutil/ohash.c
242
strncmp(h->t[i].p+h->info.key_offset, start,
libexec/comsat/comsat.c
237
if (!strncmp(utname, name, UT_NAMESIZE))
libexec/comsat/comsat.c
316
(strncmp(line, "From:", 5) &&
libexec/comsat/comsat.c
317
strncmp(line, "Subject:", 8)))
libexec/ftpd/logutmp.c
115
strncmp(ut.ut_line, line, UT_LINESIZE))
libexec/ld.so/ldconfig/shlib.c
73
!strncmp(search_dirs[i], name, len))
libexec/ld.so/ldconfig/shlib.c
95
strncmp(search_dirs[i], name, len))
libexec/ld.so/ldconfig/sod.c
241
if ((strncmp(preferred_path, path,
libexec/ld.so/ldconfig/sod.c
76
if (strncmp((char *)sodp->sod_name, "lib", 3) != 0)
libexec/login_ldap/aldap.c
1003
if (strncmp(attr_val, "*)", 2) == 0) {
libexec/login_passwd/login_passwd.c
86
if (strncmp(optarg, "wheel=", 6) == 0)
libexec/login_passwd/login_passwd.c
88
else if (strncmp(optarg, "lastchance=", 11) == 0)
libexec/login_radius/login_radius.c
142
if (strncmp(style, "login_", 6) == 0)
libexec/login_skey/login_skey.c
94
if (strncmp(optarg, "fd=", 3) == 0) {
libexec/mail.local/mail.local.c
136
if (eline && !strncmp(line, "From ", 5))
libexec/spamd/grey.c
897
if ((strncmp(buf, "WHITE:", 6) == 0) ||
libexec/spamd/grey.c
898
(strncmp(buf, "TRAP:", 5) == 0)) {
libexec/spamd/grey.c
962
if (strncmp(buf, "HE:", 3) != 0) {
libexec/spamd/grey.c
963
if (strncmp(buf, "CO:", 3) == 0)
libexec/spamd/grey.c
972
if (strncmp(buf, "IP:", 3) != 0)
libexec/spamd/grey.c
982
if (strncmp(buf, "FR:", 3) != 0) {
libexec/spamd/grey.c
990
if (strncmp(buf, "TO:", 3) != 0) {
libexec/spamd/spamd.c
269
if (strncmp(tmp, "inet", 4) != 0)
libexec/talkd/process.c
204
#define SCMPN(a, b) strncmp(a, b, sizeof(a))
libexec/tradcpp/directive.c
608
if (!strncmp(line, directives[i].name, len) &&
libexec/tradcpp/main.c
916
r = strncmp(opt, prefix_options[i].string, len);
regress/lib/libc/env/envtest.c
37
if (strncmp(name, *ep, namelen) == 0 && (*ep)[namelen] == '=')
regress/lib/libc/fmemopen/fmemopentest.c
106
if (len == 0 || strncmp(string, buffer, len)) {
regress/lib/libc/fmemopen/fmemopentest.c
151
if (len == 0 || strncmp(string, buffer, len)) {
regress/lib/libc/fmemopen/fmemopentest.c
193
if (len == 0 || strncmp(string, buffer, len)) {
regress/lib/libc/fread/fread.c
120
if (strncmp(buf, test_string + off, nread) != 0) {
regress/lib/libc/locale/wcrtomb/test_wcrtomb.c
40
if (sz != outsz || (out != NULL && strncmp(buf, out, sz)))
regress/lib/libc/open_memstream/open_memstreamtest.c
108
if (strncmp(buf, start, sizeof(start)-1) != 0) {
regress/lib/libc/qsort/qsort_test.c
708
if (name != NULL && strncmp(name, d->name, strlen(name)) != 0)
regress/lib/libc/qsort/qsort_test.c
742
if (strncmp(optarg, d->name, strlen(optarg)) == 0)
regress/lib/libc/regex/main.c
175
if (strncmp(erbuf, badpat, SHORT-1) != 0 || erbuf[SHORT-1] != '\0' ||
regress/lib/libc/regex/main.c
464
if (len != shlen || strncmp(p, should, (size_t)shlen) != 0) {
regress/lib/libc/regex/main.c
477
if (strncmp(p, at, shlen) != 0) {
regress/lib/libc/stdio/test___freadptr.c
54
assert(strncmp(p, "ello world", s) == 0);
regress/lib/libc/stdio/test___freadptr.c
66
assert(strncmp(p, "AAAworld", s) == 0);
regress/lib/libc/stdio_threading/fgetln/fgetln_test.c
37
if (strncmp(buf, TEXT_N, sizeof(TEXT_N)))
regress/lib/libc/stdio_threading/fgets/fgets_test.c
36
if (strncmp(buf, TEXT, sizeof(TEXT)))
regress/lib/libc/stdio_threading/fread/fread_test.c
38
if (strncmp(buf, TEXT, sizeof(TEXT)))
regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
60
if (strncmp(buf, TEXT, sizeof(TEXT)))
regress/lib/libc/sys/t_mmap.c
191
if (strncmp(dk, "dk", 2) == 0)
regress/lib/libcrypto/asn1/asn1time.c
228
if (strncmp(asn1str->data, str, length) != 0) {
regress/lib/libcrypto/asn1/rfc5280time.c
198
if (strncmp(asn1str->data, str, length) != 0) {
regress/lib/libcrypto/bio/bio_dump.c
812
if (got_len > 0 && strncmp(tc->output, got, got_len) != 0) {
regress/lib/libcrypto/bn/bn_print.c
176
if (strncmp(got, test->want, want_len) != 0) {
regress/lib/libcrypto/x509/x509_name_test.c
363
if (strncmp(tc->expected_str, got, got_len) != 0)
regress/lib/libevent/event_regress.c
1267
if (p != NULL && strncmp((char*)p, "ax", 2) == 0) {
regress/lib/libssl/ssl/ssltest.c
474
else if (strncmp(*argv, "-num", 4) == 0) {
regress/lib/libssl/ssl/ssltest.c
480
} else if (strncmp(*argv, "-seclevel", 9) == 0) {
regress/lib/libssl/tlsext/tlsexttest.c
1886
strncmp(ssl->session->tlsext_hostname, TEST_SNI_SERVERNAME,
regress/lib/libssl/tlsext/tlsexttest.c
2011
strncmp(ssl->session->tlsext_hostname, TEST_SNI_SERVERNAME,
regress/sbin/ifconfig/ifaddr.c
616
if (strncmp(oname, ifa->ifa_name, nlen) != 0 ||
regress/sys/arch/amd64/ddb/disasm.c
40
if (explen != actlen || strncmp(exp, act, actlen) != 0) {
regress/sys/arch/amd64/vmm/vcpu.c
246
if (strncmp(ours->vir_name, VM_NAME, strlen(VM_NAME)) != 0) {
regress/sys/crypto/aes/aestest.c
91
if (strncmp(line, startswith, len) != 0)
regress/sys/net/pflow/gen_traffic.c
82
if (strncmp(argv[1], "4", 1) == 0)
regress/sys/net/pflow/gen_traffic.c
84
else if (strncmp(argv[1], "6", 1) == 0)
regress/sys/net/rtable/fullfeed/main.c
50
af = strncmp(argv[1], "inet6", 5) ? AF_INET : AF_INET6;
regress/usr.bin/mandoc/db/mlinks/mlinks.c
83
if (nlen == flen && strncmp(fp, np, nlen) == 0) {
regress/usr.sbin/bgpd/integrationtests/api-exabgp.c
75
if (n > 2 && strncmp(buf + n - 2, "\n\n", 2) == 0)
regress/usr.sbin/bgpd/integrationtests/api-exabgp.c
79
if (n > 8 && strncmp(buf, "shutdown", 8) == 0)
sbin/bioctl/bioctl.c
1213
if (strncmp("sta", arg, 3) == 0)
sbin/disklabel/editor.c
1520
} else if (strncmp(_PATH_DEV, specname, sizeof(_PATH_DEV) - 1) == 0 &&
sbin/dump/itime.c
147
if ((strncmp(fname, ddp->dd_name, sizeof(ddp->dd_name)) != 0) &&
sbin/dump/itime.c
148
(strncmp(disk, ddp->dd_name, sizeof(ddp->dd_name)) != 0))
sbin/dump/itime.c
185
if ((strncmp(fname, dtwalk->dd_name,
sbin/dump/itime.c
187
(strncmp(disk, dtwalk->dd_name,
sbin/dump/optr.c
394
if (strncmp(lastname, dtwalk->dd_name,
sbin/dump/optr.c
425
diff = strncmp(d1->dd_name, d2->dd_name, sizeof(d1->dd_name));
sbin/fdisk/fdisk.c
425
if (strncmp(start, "Attributes:", 11) == 0) {
sbin/fsck/fsck.c
198
if ((strncmp(*argv, "/dev/", 5) == 0 || isduid(*argv, 0)) &&
sbin/fsck/fsck.c
369
if (!strncmp(e->type, type, MFSNAMELEN))
sbin/fsck/fsck.c
382
if (!strncmp(e->type, type, MFSNAMELEN))
sbin/fsck/fsck.c
400
if (!strncmp(e->type, optstr, MFSNAMELEN)) {
sbin/fsck/fsck.c
505
found = !strncmp(opt, option, strlen(option));
sbin/fsck/preen.c
256
if (strncmp(d->d_name, name, len) == 0 && d->d_name[len] == 0)
sbin/fsck_ext2fs/dir.c
344
strncmp(dirp->e2d_name, idesc->id_name, (int)namlen))
sbin/fsck_ext2fs/pass2.c
285
strncmp(dirp->e2d_name, "..", 2) == 0) {
sbin/fsck_ext2fs/pass2.c
299
strncmp(dirp->e2d_name, ".", 1) != 0) {
sbin/fsck_ext2fs/setup.c
86
if (strncmp(dev, realdev, PATH_MAX) != 0) {
sbin/fsck_ffs/setup.c
101
if (strncmp(dev, realdev, PATH_MAX) != 0) {
sbin/fsck_ffs/setup.c
129
if (strncmp(dev, realdev, PATH_MAX) != 0)
sbin/fsck_msdos/check.c
74
if (strncmp(fname, realdev, PATH_MAX) != 0)
sbin/ifconfig/brconfig.c
1250
return (strncmp(ifname, "tpmr", sizeof("tpmr") - 1) == 0);
sbin/ifconfig/brconfig.c
227
if (strncmp(ifsname, "vether", (sizeof("vether") - 1)) != 0)
sbin/ifconfig/ifconfig.c
1205
if (strncmp(oname, ifa->ifa_name, nlen) != 0 ||
sbin/ifconfig/ifconfig.c
6882
if (strncmp(nam, cp, len) == 0) {
sbin/iked/parse.y
1190
if (strncmp(hex, "0x", 2) == 0) {
sbin/iked/parse.y
1245
strncmp("enc", $2, len) != 0) {
sbin/iked/parse.y
2476
if (n->af == AF_LINK && !strncmp(n->name, ifa_name,
sbin/iked/parse.y
2544
if (strncmp(p->name, ifa_name, IFNAMSIZ))
sbin/iked/parse.y
2610
if (strncmp(name, xfs[i].name, strlen(name)))
sbin/iked/parse.y
2768
if (strncmp("sec", iface, strlen("sec")) == 0)
sbin/iked/radius.c
785
} else if (strncmp(sa->sa_reason, "retransmit",
sbin/ipsecctl/ipsecctl.c
810
if (!strncmp(cmd, *list, strlen(cmd)))
sbin/ipsecctl/parse.y
1952
if (n->af == AF_LINK && !strncmp(n->name, ifa_name,
sbin/ipsecctl/parse.y
2018
if (strncmp(p->name, ifa_name, IFNAMSIZ))
sbin/ipsecctl/parse.y
2090
if (strncmp(name, xfs[i].name, strlen(name)))
sbin/ipsecctl/parse.y
891
if (!strncmp(p, "0x", 2))
sbin/ipsecctl/parse.y
898
if (!strncmp(hex, "0x", 2))
sbin/isakmpd/ike_quick_mode.c
103
strncmp("yes", conf_get_str("General", "Use-Keynote"), 3))
sbin/isakmpd/ike_quick_mode.c
1783
strncmp("yes", conf_get_str("General", "Use-Keynote"), 3)) {
sbin/isakmpd/ipsec.c
360
if (strncmp(id_string, "fqdn/", strlen("fqdn/")) == 0)
sbin/isakmpd/ipsec.c
362
else if (strncmp(id_string, "ufqdn/", strlen("ufqdn/")) == 0)
sbin/isakmpd/isakmpd.c
309
strncmp("no", conf_get_str("General", "Delete-SAs"), 2)) {
sbin/isakmpd/monitor.c
728
if (strncmp(var_run, new_path, strlen(var_run)) == 0)
sbin/isakmpd/monitor.c
731
if (strncmp(ISAKMPD_ROOT, new_path, strlen(ISAKMPD_ROOT)) == 0 &&
sbin/isakmpd/policy.c
1937
strncmp("yes", conf_get_str("General", "Use-Keynote"), 3))
sbin/isakmpd/ui.c
483
if (strncmp(arg, "active", 6) == 0) {
sbin/isakmpd/ui.c
488
} else if (strncmp(arg, "passive", 7) == 0) {
sbin/ldattach/ldattach.c
194
if (strncmp(_PATH_DEV, dev, sizeof(_PATH_DEV) - 1)) {
sbin/mount/mount.c
312
found = !strncmp(opt, option, strlen(option));
sbin/mount/mount.c
386
if (strncmp(name, sf.f_mntonname, MNAMELEN) == 0 &&
sbin/mount/mount.c
387
strncmp(vfstype, sf.f_fstypename, MFSNAMELEN) == 0) {
sbin/mount/mount.c
390
if (strncmp(sf.f_mntfromname,
sbin/mount/mount.c
482
strncmp(sf->f_mntfromname, sf->f_mntfromspec, MNAMELEN) != 0)
sbin/mount/mount.c
649
if (!strncmp(type, *av, MFSNAMELEN))
sbin/mount_tmpfs/mount_tmpfs.c
244
if (strncmp(input, adjusted, PATH_MAX)) {
sbin/mountd/mountd.c
1115
if (!strncmp(fsp->f_fstypename, MOUNT_MFS, MFSNAMELEN) ||
sbin/mountd/mountd.c
1116
!strncmp(fsp->f_fstypename, MOUNT_FFS, MFSNAMELEN) ||
sbin/mountd/mountd.c
1117
!strncmp(fsp->f_fstypename, MOUNT_EXT2FS, MFSNAMELEN) ||
sbin/mountd/mountd.c
1118
!strncmp(fsp->f_fstypename, MOUNT_MSDOS, MFSNAMELEN) ||
sbin/mountd/mountd.c
1119
!strncmp(fsp->f_fstypename, MOUNT_CD9660, MFSNAMELEN)) {
sbin/newfs/newfs.c
391
if (strncmp(_PATH_DEV, s1, len) == 0)
sbin/newfs/newfs.c
396
if (strncmp(_PATH_DEV, s2, len) == 0) {
sbin/newfs/newfs.c
677
!strncmp(sf.f_mntonname, node,
sbin/newfs_ext2fs/newfs_ext2fs.c
261
if (strncmp(_PATH_DEV, s1, len) == 0)
sbin/newfs_ext2fs/newfs_ext2fs.c
266
if (strncmp(_PATH_DEV, s2, len) == 0) {
sbin/newfs_msdos/newfs_msdos.c
681
if (!strncmp(s1, _PATH_DEV, len))
sbin/newfs_msdos/newfs_msdos.c
686
if (!strncmp(s2, _PATH_DEV, len))
sbin/pfctl/parse.y
2876
if (strncmp($2, "pflog", 5)) {
sbin/pfctl/parse.y
4100
if (!strncmp($1, "0x", 2)) {
sbin/pfctl/pfctl.c
2925
if (!strncmp(cmd, *list, strlen(cmd))) {
sbin/pfctl/pfctl.c
2943
if (strncmp(cmd, opt_id->name, cmdlen) == 0) {
sbin/pfctl/pfctl_parser.c
1554
if (n->af == AF_LINK && !strncmp(n->ifname, ifa_name, IFNAMSIZ))
sbin/pfctl/pfctl_parser.c
1612
if (!strncmp(ifa_name, "self", IFNAMSIZ))
sbin/pfctl/pfctl_parser.c
1691
if (strncmp(p->ifname, filter, n))
sbin/pfctl/pfctl_parser.c
1764
if (ifa_exists(ps) || !strncmp(ps, "self", IFNAMSIZ)) {
sbin/pfctl/pfctl_radix.c
66
if ((d = strncmp(p->pfrkt_name, q->pfrkt_name, PF_TABLE_NAME_SIZE)))
sbin/restore/dirs.c
324
} while (dp->d_namlen != len || strncmp(dp->d_name, name, len) != 0);
sbin/restore/interactive.c
127
if (strncmp(cmd, "add", strlen(cmd)) != 0)
sbin/restore/interactive.c
140
if (strncmp(cmd, "cd", strlen(cmd)) != 0)
sbin/restore/interactive.c
155
if (strncmp(cmd, "delete", strlen(cmd)) != 0)
sbin/restore/interactive.c
168
if (strncmp(cmd, "extract", strlen(cmd)) != 0)
sbin/restore/interactive.c
181
if (strncmp(cmd, "help", strlen(cmd)) != 0)
sbin/restore/interactive.c
207
if (strncmp(cmd, "ls", strlen(cmd)) != 0)
sbin/restore/interactive.c
215
if (strncmp(cmd, "pwd", strlen(cmd)) != 0)
sbin/restore/interactive.c
226
if (strncmp(cmd, "quit", strlen(cmd)) != 0)
sbin/restore/interactive.c
230
if (strncmp(cmd, "xit", strlen(cmd)) != 0)
sbin/restore/interactive.c
237
if (strncmp(cmd, "verbose", strlen(cmd)) != 0)
sbin/restore/interactive.c
251
if (strncmp(cmd, "setmodes", strlen(cmd)) != 0)
sbin/restore/interactive.c
259
if (strncmp(cmd, "what", strlen(cmd)) != 0)
sbin/restore/interactive.c
267
if (strncmp(cmd, "Debug", strlen(cmd)) != 0)
sbin/restore/interactive.c
457
if (strcmp(rawname, ".") == 0 || strncmp(rawname, "./", 2) == 0)
sbin/restore/interactive.c
488
if (np - cp == 2 && strncmp(cp, "..", 2) == 0) {
sbin/scsi/scsi.c
625
if (strncmp(name, line, strlen(name)) != 0) {
sbin/swapctl/swapctl.c
419
if (strncmp("/dev/", spec, 5) != 0)
sbin/umount/umount.c
133
if (strncmp(fs[n].f_mntonname, "/", MNAMELEN) == 0)
sbin/umount/umount.c
196
if (!strncmp(type, MOUNT_NFS, MFSNAMELEN)) {
sbin/umount/umount.c
223
if (!strncmp(type, MOUNT_NFS, MFSNAMELEN) &&
sbin/umount/umount.c
268
(strncmp(mntbuf[n].f_mntfromname, name, MNAMELEN) == 0 ||
sbin/umount/umount.c
269
strncmp(mntbuf[n].f_mntfromspec, name, MNAMELEN) == 0)) {
sbin/umount/umount.c
276
(strncmp(mntbuf[n].f_mntonname, name, MNAMELEN) == 0)) {
sbin/umount/umount.c
297
if (!strncmp(type, *av, MFSNAMELEN))
sbin/unwind/libunbound/iterator/iter_hints.c
431
strncmp(p->str, cfg->chrootdir,
sbin/unwind/libunbound/libunbound/libunbound.c
1201
if(strncmp(parse, "nameserver", 10) == 0) {
sbin/unwind/libunbound/services/authzone.c
1491
if(strncmp((char*)rr, "$INCLUDE ", 9) == 0 ||
sbin/unwind/libunbound/services/authzone.c
1492
strncmp((char*)rr, "$INCLUDE\t", 9) == 0) {
sbin/unwind/libunbound/services/authzone.c
1506
strncmp(incfile, cfg->chrootdir,
sbin/unwind/libunbound/services/authzone.c
1577
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(zfilename,
sbin/unwind/libunbound/services/authzone.c
4525
if(strncmp(line, "$ORIGIN", 7) == 0 &&
sbin/unwind/libunbound/services/authzone.c
4545
if(strncmp(line, "$TTL", 4) == 0 &&
sbin/unwind/libunbound/services/authzone.c
5226
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(zfilename,
sbin/unwind/libunbound/services/authzone.c
7236
if(strncmp(p, "http://", 7) == 0) {
sbin/unwind/libunbound/services/authzone.c
7240
} else if(strncmp(p, "https://", 8) == 0) {
sbin/unwind/libunbound/services/listen_dnsport.c
1726
|| strncmp(ifa->ifa_name, search_ifa,
sbin/unwind/libunbound/services/modstack.c
225
if(strncmp(names[i], s, strlen(names[i])) == 0) {
sbin/unwind/libunbound/services/modstack.c
270
if(strncmp(stack->mod[i]->name, module_conf,
sbin/unwind/libunbound/sldns/parse.c
255
if (strncmp(fkeyword, keyword, LDNS_MAX_KEYWORDLEN - 1) == 0) {
sbin/unwind/libunbound/sldns/parse.c
512
if (strncmp(fkeyword, keyword, strlen(keyword)) == 0) {
sbin/unwind/libunbound/sldns/str2wire.c
1053
if(strncmp(line, "$ORIGIN", 7) == 0 && isspace((unsigned char)line[7])) {
sbin/unwind/libunbound/sldns/str2wire.c
1064
} else if(strncmp(line, "$TTL", 4) == 0 && isspace((unsigned char)line[4])) {
sbin/unwind/libunbound/sldns/str2wire.c
1075
} else if (strncmp(line, "$INCLUDE", 8) == 0) {
sbin/unwind/libunbound/sldns/str2wire.c
1080
} else if (strncmp(line, "$", 1) == 0) {
sbin/unwind/libunbound/sldns/str2wire.c
1116
if (key_len >= 4 && key_len <= 8 && !strncmp(key, "key", 3)) {
sbin/unwind/libunbound/sldns/str2wire.c
1128
if (!strncmp(key, "ech", key_len))
sbin/unwind/libunbound/sldns/str2wire.c
1133
if (!strncmp(key, "alpn", key_len))
sbin/unwind/libunbound/sldns/str2wire.c
1135
if (!strncmp(key, "port", key_len))
sbin/unwind/libunbound/sldns/str2wire.c
1140
if (!strncmp(key, "dohpath", key_len))
sbin/unwind/libunbound/sldns/str2wire.c
1145
if (!strncmp(key, "ipv4hint", key_len))
sbin/unwind/libunbound/sldns/str2wire.c
1147
if (!strncmp(key, "ipv6hint", key_len))
sbin/unwind/libunbound/sldns/str2wire.c
1152
if (!strncmp(key, "mandatory", key_len))
sbin/unwind/libunbound/sldns/str2wire.c
1154
if (!strncmp(key, "echconfig", key_len))
sbin/unwind/libunbound/sldns/str2wire.c
1159
if (!strncmp(key, "no-default-alpn", key_len))
sbin/unwind/libunbound/sldns/str2wire.c
784
if(token_strlen>=2 && strncmp(token, "\\#", 2) == 0 &&
sbin/unwind/libunbound/util/config_file.c
2544
strncmp(cfg->chrootdir, fname, strlen(cfg->chrootdir)) == 0) {
sbin/unwind/libunbound/util/config_file.c
2567
strncmp(cfg->chrootdir, cfg->directory,
sbin/unwind/libunbound/util/config_file.c
2591
strncmp(cfg->chrootdir, fname, strlen(cfg->chrootdir)) == 0) {
sbin/unwind/libunbound/util/config_file.c
2617
strncmp(cfg->chrootdir, cfg->directory,
sbin/unwind/libunbound/util/configlexer.c
3683
if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot,
sbin/unwind/libunbound/util/configlexer.c
3738
if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot,
sbin/unwind/libunbound/util/configparser.y
1377
strncmp(d, cfg_parser->chroot, strlen(
sbin/unwind/libunbound/util/log.c
145
if(chrootdir && chrootdir[0] && strncmp(filename, chrootdir,
sbin/unwind/libunbound/util/net_help.c
472
if(hash && strncmp(s+1,"0#",2)!=0)
sbin/unwind/libunbound/util/net_help.c
518
if(hash && strncmp(s+1,"0#",2)!=0)
sbin/unwind/libunbound/validator/autotrust.c
858
if(strncmp(line, ";;id: ", 6) == 0) {
sbin/unwind/libunbound/validator/autotrust.c
862
} else if(strncmp(line, ";;REVOKED", 9) == 0) {
sbin/unwind/libunbound/validator/autotrust.c
868
} else if(strncmp(line, ";;last_queried: ", 16) == 0) {
sbin/unwind/libunbound/validator/autotrust.c
873
} else if(strncmp(line, ";;last_success: ", 16) == 0) {
sbin/unwind/libunbound/validator/autotrust.c
878
} else if(strncmp(line, ";;next_probe_time: ", 19) == 0) {
sbin/unwind/libunbound/validator/autotrust.c
887
} else if(strncmp(line, ";;query_failed: ", 16) == 0) {
sbin/unwind/libunbound/validator/autotrust.c
892
} else if(strncmp(line, ";;query_interval: ", 18) == 0) {
sbin/unwind/libunbound/validator/autotrust.c
897
} else if(strncmp(line, ";;retry_time: ", 14) == 0) {
sbin/unwind/libunbound/validator/autotrust.c
913
if(strncmp(line, "$ORIGIN", 7) != 0)
sbin/unwind/libunbound/validator/val_anchor.c
1081
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm,
sbin/unwind/libunbound/validator/val_anchor.c
1094
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm,
sbin/unwind/libunbound/validator/val_anchor.c
1118
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm,
sbin/unwind/libunbound/validator/val_anchor.c
751
if(rdlen != 12 || strncmp((char*)sldns_buffer_begin(buffer),
sbin/unwind/resolver.c
1627
bogus_time = strncmp(why_bogus, bogus_past,
sbin/unwind/resolver.c
1628
sizeof(bogus_past) - 1) == 0 || strncmp(why_bogus,
sbin/wsconsctl/wsconsctl.c
300
if (!strncmp(sw->name, var, strlen(sw->name)))
sys/arch/alpha/alpha/db_trace.c
294
if (strncmp(name, "Xent", sizeof("Xent") - 1) == 0) {
sys/arch/alpha/stand/installboot.c
367
if (strncmp(statfsbuf.f_fstypename, MOUNT_FFS, MFSNAMELEN))
sys/arch/alpha/tc/ioasic.c
139
if (strncmp("FLAMG-IO", ta->ta_modname, TC_ROM_LLEN))
sys/arch/alpha/tc/mcclock_ioasic.c
73
if (strncmp("TOY_RTC ", d->iada_modname, TC_ROM_LLEN))
sys/arch/amd64/stand/efiboot/dev_i386.c
194
if (strncmp(name, cdevs[i], no - name + 1) == 0)
sys/arch/amd64/stand/efiboot/efidev.c
559
if (strncmp("sr", dev, 2) == 0) {
sys/arch/amd64/stand/efiboot/efidev.c
608
strncmp(dev, bdevs[maj], devlen); maj++);
sys/arch/amd64/stand/efiboot/efidev.c
959
if (strncmp(fname, espdev, esplen) != 0) {
sys/arch/amd64/stand/efiboot/efidev.c
962
if (strncmp(fname, esp0adev, esplen) != 0)
sys/arch/amd64/stand/efiboot/efipxe.c
281
if (strncmp(*fname, "tftp", p - *fname) != 0)
sys/arch/amd64/stand/libsa/biosdev.c
534
if (strncmp("sr", dev, 2) == 0) {
sys/arch/amd64/stand/libsa/biosdev.c
583
strncmp(dev, bdevs[maj], devlen); maj++);
sys/arch/amd64/stand/libsa/dev_i386.c
177
if (strncmp(name, cdevs[i], no - name + 1) == 0)
sys/arch/amd64/stand/pxeboot/devopen.c
169
if (strncmp(name, cdevs[i], no - name + 1) == 0)
sys/arch/amd64/stand/pxeboot/devopen.c
82
(strncmp(fname, fs_name[i], l) == 0)) {
sys/arch/amd64/stand/rdboot/cmd.c
245
while ((*ct)->cmd_name != NULL && strncmp(p, (*ct)->cmd_name, l))
sys/arch/arm64/arm64/cpu.c
1640
if (strncmp(hw_prod, "21BX", 4) == 0 ||
sys/arch/arm64/arm64/cpu.c
1641
strncmp(hw_prod, "21BY", 4) == 0) {
sys/arch/arm64/dev/acpicpu.c
112
if (strncmp(hdr->signature, MADT_SIG,
sys/arch/arm64/dev/acpiiort.c
136
if (strncmp(hdr->signature, IORT_SIG,
sys/arch/arm64/dev/acpipci.c
396
if (strncmp(hdr->signature, IORT_SIG,
sys/arch/arm64/dev/acpipci.c
886
if (strncmp(hdr->signature, IORT_SIG,
sys/arch/arm64/dev/aplaudio.c
202
if (strncmp(prefix, "Right", 5) == 0)
sys/arch/arm64/dev/mainbus.c
188
strncmp(buf, "__", 2) == 0)
sys/arch/arm64/dev/smbios.c
129
} else if (strncmp(sig, "_SM3_", 5) == 0) {
sys/arch/arm64/dev/smbios.c
94
if (strncmp(sig, "_SM_", 4) == 0) {
sys/arch/arm64/stand/efiboot/efiboot.c
1198
if (strncmp(hw_vendor, smbios_dtb[i].vendor, vendorlen) == 0 &&
sys/arch/arm64/stand/efiboot/efiboot.c
1199
strncmp(hw_prod, smbios_dtb[i].prod, prodlen) == 0) {
sys/arch/arm64/stand/efiboot/efiboot.c
932
if (strncmp(name, cdevs[i], no - name + 1) == 0)
sys/arch/arm64/stand/efiboot/efipxe.c
401
if (strncmp(v, efinet_driver.netif_bname, 3))
sys/arch/arm64/stand/efiboot/fdt.c
506
if (strncmp(p, fdt_node_name(child), q - p) == 0) {
sys/arch/arm64/stand/efiboot/smbios.c
66
if (strncmp(smbios, "_SM_", 4) == 0) {
sys/arch/arm64/stand/efiboot/smbios.c
86
} else if (strncmp(smbios, "_SM3_", 5) == 0) {
sys/arch/armv7/omap/omgpio.c
266
if ((strncmp(hwmods, "gpio", 4) == 0) &&
sys/arch/armv7/omap/ommmc.c
323
if (!strncmp(hwmods, "mmc", 3) &&
sys/arch/armv7/omap/ti_iic.c
177
if (!strncmp(hwmods, "i2c", 3) &&
sys/arch/armv7/stand/efiboot/efiboot.c
805
if (strncmp(name, cdevs[i], no - name + 1) == 0)
sys/arch/armv7/stand/efiboot/efipxe.c
401
if (strncmp(v, efinet_driver.netif_bname, 3))
sys/arch/armv7/stand/efiboot/fdt.c
506
if (strncmp(p, fdt_node_name(child), q - p) == 0) {
sys/arch/hppa/hppa/db_disasm.c
964
#define Match(s) (strncmp(s,i->mnem,sizeof(s)-1) == 0)
sys/arch/hppa/stand/libsa/cmd_hppa.c
413
if (strncmp(arg, "graphics_", 9) == 0) {
sys/arch/hppa/stand/libsa/cmd_hppa.c
424
if (strncmp(arg, "rs232_", 6) == 0) {
sys/arch/hppa/stand/libsa/dev_hppa.c
195
if (strncmp(name, cdevs[i], no - name + 1) == 0)
sys/arch/hppa/stand/libsa/dev_hppa.c
82
if (!strncmp(fname, dp->name, sizeof(dp->name)-1))
sys/arch/i386/i386/esm.c
175
if (strncmp(pdellstr, "Dell System", 11))
sys/arch/i386/i386/machdep.c
1680
if (!strncmp(cpu_vendor,
sys/arch/i386/stand/libsa/biosdev.c
535
if (strncmp("sr", dev, 2) == 0) {
sys/arch/i386/stand/libsa/biosdev.c
582
strncmp(dev, bdevs[maj], devlen); maj++);
sys/arch/i386/stand/libsa/dev_i386.c
177
if (strncmp(name, cdevs[i], no - name + 1) == 0)
sys/arch/i386/stand/pxeboot/devopen.c
169
if (strncmp(name, cdevs[i], no - name + 1) == 0)
sys/arch/i386/stand/pxeboot/devopen.c
82
(strncmp(fname, fs_name[i], l) == 0)) {
sys/arch/loongson/dev/pcib.c
127
if (strncmp(self->dv_xname, "glxpcib", 7) == 0) {
sys/arch/loongson/loongson/autoconf.c
60
if (strncmp(pmon_bootp, "tftp://", 7) == 0) {
sys/arch/loongson/loongson/autoconf.c
67
if (strncmp(pmon_bootp, "/dev/disk/", 10) == 0) {
sys/arch/loongson/loongson/autoconf.c
71
} else if (strncmp(pmon_bootp, "bootduid=", 9) == 0) {
sys/arch/loongson/loongson/generic2e_machdep.c
381
strncmp(bootdev, "usb", 3) == 0 &&
sys/arch/loongson/loongson/generic3a_machdep.c
243
strncmp(bootdev, "usb", 3) == 0 &&
sys/arch/loongson/loongson/machdep.c
271
if (strncmp(version, f->prefix, strlen(f->prefix)) == 0)
sys/arch/loongson/loongson/machdep.c
291
if (strncmp(version, "1.2.", 4) == 0) {
sys/arch/loongson/loongson/machdep.c
910
if (*arg == '/' || strncmp(arg, "bootduid=", 9) == 0 ||
sys/arch/loongson/loongson/machdep.c
911
strncmp(arg, "tftp://", 7) == 0) {
sys/arch/loongson/loongson/pmon.c
168
if (strncmp(envstr, var, varlen) == 0 &&
sys/arch/loongson/loongson/yeeloong_machdep.c
556
strncmp(bootdev, "usb", 3) == 0 &&
sys/arch/loongson/stand/boot/machdep.c
114
if (bootpath != NULL && strncmp(bootpath, "tftp://", 7) == 0)
sys/arch/loongson/stand/boot/machdep.c
201
if (envvar != NULL && strncmp(envvar, "Gdium", 5) == 0)
sys/arch/luna88k/luna88k/machdep.c
1155
if (strncmp(nvram[i].symbol, symbol, NVSYMLEN) == 0) {
sys/arch/luna88k/luna88k/machdep.c
303
if (strncmp(fuse_rom_data, "MNAME=LUNA88K+", 14) == 0) {
sys/arch/luna88k/stand/boot/init_main.c
153
if (strncmp(fuse_rom_data, "MNAME=LUNA88K+", 14) == 0)
sys/arch/luna88k/stand/boot/init_main.c
255
if (strncmp(nvram[i].symbol, symbol, NVSYMLEN) == 0) {
sys/arch/macppc/dev/pm_direct.c
424
if (strncmp(hw_prod, "PowerBook", 9) == 0) {
sys/arch/macppc/dev/wdc_obio.c
116
strncmp(ca->ca_name, "ata", 3) == 0 ||
sys/arch/macppc/macppc/autoconf.c
152
if (strncmp(*s, dp->att, strlen(dp->att)) == 0) {
sys/arch/macppc/macppc/mainbus.c
84
if ((strncmp(name, "AAPL", 4)) == 0) {
sys/arch/macppc/macppc/ofw_machdep.c
391
if (strncmp(iname, "PowerBook", 9) == 0)
sys/arch/octeon/octeon/autoconf.c
72
if (strncmp(bootdev, dp->dev, strlen(dp->dev)) == 0)
sys/arch/octeon/octeon/machdep.c
881
if (strncmp(arg, "boothowto=", 10) == 0) {
sys/arch/octeon/octeon/machdep.c
886
if (strncmp(arg, "rootdev=", 8) == 0) {
sys/arch/octeon/stand/rdboot/cmd.c
241
while ((*ct)->cmd_name != NULL && strncmp(p, (*ct)->cmd_name, l))
sys/arch/powerpc64/dev/mainbus.c
185
strncmp(buf, "__", 2) == 0)
sys/arch/powerpc64/powerpc64/machdep.c
796
if (strncmp(cp, "bootduid=", strlen("bootduid=")) == 0)
sys/arch/powerpc64/powerpc64/machdep.c
799
if (strncmp(cp, "bootmac=", strlen("bootmac=")) == 0)
sys/arch/powerpc64/stand/rdboot/cmd.c
239
while ((*ct)->cmd_name != NULL && strncmp(p, (*ct)->cmd_name, l))
sys/arch/riscv64/dev/mainbus.c
170
strncmp(buf, "__", 2) == 0)
sys/arch/riscv64/riscv64/machdep.c
826
if (strncmp(s, "memory", 6) == 0 &&
sys/arch/riscv64/stand/efiboot/efiboot.c
810
if (strncmp(name, cdevs[i], no - name + 1) == 0)
sys/arch/riscv64/stand/efiboot/efipxe.c
401
if (strncmp(v, efinet_driver.netif_bname, 3))
sys/arch/riscv64/stand/efiboot/fdt.c
506
if (strncmp(p, fdt_node_name(child), q - p) == 0) {
sys/arch/sparc64/dev/consinit.c
197
sizeof(buffer)) != -1 && strncmp("usb", buffer, 3) == 0)
sys/arch/sparc64/dev/ifb.c
389
if (strncmp(text, "SUNW,", 5) == 0)
sys/arch/sparc64/dev/lom.c
953
strncmp(sc->sc_hostname, hostname, sizeof(hostname)) != 0) {
sys/arch/sparc64/dev/ofwi2c.c
83
if (strncmp(ia.ia_name, "i2c-", strlen("i2c-")) == 0)
sys/arch/sparc64/dev/pcf8591_envctrl.c
136
if (strncmp(desc, "CPU", 3) == 0)
sys/arch/sparc64/dev/pcf8591_envctrl.c
139
else if (strncmp(desc, "PS", 2) == 0)
sys/arch/sparc64/dev/pcons.c
184
strncmp("usb", buffer, 3) == 0)
sys/arch/sparc64/dev/sab.c
1285
if (strncmp("ttyb", buf, strlen("ttyb")) == 0)
sys/arch/sparc64/dev/sab.c
1298
if (strncmp("ttyb", buf, strlen("ttyb")) == 0)
sys/arch/sparc64/dev/vldcp.c
122
if (strncmp(ca->ca_name, "ldom-", 5) == 0 &&
sys/arch/sparc64/dev/vldcp.c
184
if (strncmp(ca->ca_name, "ldom-", 5) == 0 &&
sys/arch/sparc64/dev/zs.c
757
if (strncmp("ttyb", buf, strlen("ttyb")) == 0)
sys/arch/sparc64/dev/zs.c
768
if (strncmp("ttyb", buf, strlen("ttyb")) == 0)
sys/arch/sparc64/sparc64/autoconf.c
1256
if (strcmp(buf, "disabled") == 0 || strncmp(buf, "fail", 4) == 0)
sys/arch/sparc64/sparc64/autoconf.c
932
if (strncmp(buf, "SUNW,", 5) == 0)
sys/arch/sparc64/sparc64/autoconf.c
934
if (strncmp(buf, "FJSV,", 5) == 0)
sys/arch/sparc64/sparc64/autoconf.c
936
if (strncmp(buf, "TAD,", 4) == 0)
sys/arch/sparc64/sparc64/autoconf.c
938
if (strncmp(buf, "NATE,", 5) == 0)
sys/arch/sparc64/sparc64/autoconf.c
940
if (strncmp(buf, "ORCL,", 5) == 0)
sys/arch/sparc64/sparc64/autoconf.c
949
strncmp(buf, "MOMENTUM,", 9) == 0)
sys/ddb/db_dwarf.c
504
if (0 == strncmp(".debug_line", shstrtab + shdr.sh_name,
sys/dev/acpi/abl.c
120
if (strncmp(hw_prod, "iMac", 4)) {
sys/dev/acpi/acpials.c
87
if (hw_vendor != NULL && strncmp(hw_vendor, "Apple", 5) == 0)
sys/dev/acpi/asmc.c
260
if (!hw_vendor || !hw_prod || strncmp(hw_vendor, "Apple", 5))
sys/dev/acpi/com_acpi.c
162
if (strncmp(hdr->signature, SPCR_SIG,
sys/dev/acpi/dsdt.c
3862
if (strncmp(hdr->signature, signature,
sys/dev/acpi/dsdt.c
3864
strncmp(hdr->oemid, oemid, sizeof(hdr->oemid)) == 0 &&
sys/dev/acpi/dsdt.c
3865
strncmp(hdr->oemtableid, oemtableid,
sys/dev/acpi/dsdt.c
624
if (!strncmp(node->name, nameseg, AML_NAMESEG_LEN))
sys/dev/acpi/pluart_acpi.c
109
if (strncmp(hdr->signature, SPCR_SIG,
sys/dev/acpi/qcuart_acpi.c
103
if (strncmp(hdr->signature, SPCR_SIG,
sys/dev/acpi/xhci_acpi.c
121
if (strncmp(node->name, "USB", 3) == 0) {
sys/dev/acpi/xhci_acpi.c
99
strncmp(sc->sc_node->name, "USB2", 4) == 0) {
sys/dev/dt/dt_prov_kprobe.c
316
if (strncmp(name, "dt_", 3) == 0 ||
sys/dev/dt/dt_prov_kprobe.c
317
strncmp(name, "trap", 4) == 0 ||
sys/dev/dt/dt_prov_kprobe.c
318
strncmp(name, "db_", 3) == 0)
sys/dev/eisa/eisa.c
247
match = !strncmp(edp->id, id, 3);
sys/dev/eisa/uha_eisa.c
111
if (!strncmp(ea->ea_idstring, "USC024", 6))
sys/dev/eisa/uha_eisa.c
83
if (strncmp(ea->ea_idstring, "USC024", 6))
sys/dev/fdt/if_dwxe.c
537
if (!strncmp(phy_mode, "rgmii", strlen("rgmii")))
sys/dev/fdt/if_dwxe.c
539
else if (!strncmp(phy_mode, "rmii", strlen("rmii")))
sys/dev/fdt/if_dwxe.c
541
else if (!strncmp(phy_mode, "mii", strlen("mii")) &&
sys/dev/fdt/if_dwxe.c
582
if (!strncmp(phy_mode, "rgmii", strlen("rgmii")))
sys/dev/fdt/if_dwxe.c
584
else if (!strncmp(phy_mode, "rmii", strlen("rmii")))
sys/dev/fdt/if_mvneta.c
470
if (!strncmp(phy_mode, "qsgmii", strlen("qsgmii")))
sys/dev/fdt/if_mvneta.c
472
else if (!strncmp(phy_mode, "sgmii", strlen("sgmii")))
sys/dev/fdt/if_mvneta.c
474
else if (!strncmp(phy_mode, "rgmii-id", strlen("rgmii-id")))
sys/dev/fdt/if_mvneta.c
476
else if (!strncmp(phy_mode, "rgmii", strlen("rgmii")))
sys/dev/fdt/if_mvneta.c
478
else if (!strncmp(phy_mode, "1000base-x", strlen("1000base-x")))
sys/dev/fdt/if_mvneta.c
480
else if (!strncmp(phy_mode, "2500base-x", strlen("2500base-x")))
sys/dev/fdt/if_mvneta.c
496
if (!strncmp(managed, "in-band-status",
sys/dev/fdt/if_mvpp.c
1348
if (!strncmp(phy_mode, "10gbase-r", strlen("10gbase-r")))
sys/dev/fdt/if_mvpp.c
1350
else if (!strncmp(phy_mode, "10gbase-kr", strlen("10gbase-kr")))
sys/dev/fdt/if_mvpp.c
1352
else if (!strncmp(phy_mode, "2500base-x", strlen("2500base-x")))
sys/dev/fdt/if_mvpp.c
1354
else if (!strncmp(phy_mode, "1000base-x", strlen("1000base-x")))
sys/dev/fdt/if_mvpp.c
1356
else if (!strncmp(phy_mode, "sgmii", strlen("sgmii")))
sys/dev/fdt/if_mvpp.c
1358
else if (!strncmp(phy_mode, "rgmii-rxid", strlen("rgmii-rxid")))
sys/dev/fdt/if_mvpp.c
1360
else if (!strncmp(phy_mode, "rgmii-txid", strlen("rgmii-txid")))
sys/dev/fdt/if_mvpp.c
1362
else if (!strncmp(phy_mode, "rgmii-id", strlen("rgmii-id")))
sys/dev/fdt/if_mvpp.c
1364
else if (!strncmp(phy_mode, "rgmii", strlen("rgmii")))
sys/dev/fdt/if_mvpp.c
1393
if (!strncmp(managed, "in-band-status",
sys/dev/fdt/qcsmptp.c
289
if (strncmp(sc->sc_in->entries[i].name, e->e_name,
sys/dev/i2c/iatp.c
574
if (strncmp(hw_vendor, m->vendor,
sys/dev/i2c/iatp.c
576
strncmp(hw_prod, m->product,
sys/dev/i2c/iatp.c
578
strncmp(sc->sc_hid, m->hid,
sys/dev/ic/acx.c
704
if (strncmp(fw_rev.fw_rev, "Rev ", 4) != 0) {
sys/dev/ic/qwx.c
8677
if (!strncmp(fw_build_id, QWX_FW_BUILD_ID_MASK, fw_build_id_mask_len))
sys/dev/ic/qwz.c
6173
if (!strncmp(fw_build_id, QWZ_FW_BUILD_ID_MASK, fw_build_id_mask_len))
sys/dev/ic/vga.c
362
!strncmp(name1, f->name, WSFONT_NAME_SIZE))) {
sys/dev/ic/vga.c
369
!strncmp(name2, f->name, WSFONT_NAME_SIZE))) {
sys/dev/ofw/fdt.c
518
if (strncmp(p, s, q - p) == 0 && s[q - p] == '\0')
sys/dev/ofw/fdt.c
531
if (strncmp(p, s, q - p) == 0 && s[q - p] == '@')
sys/dev/ofw/fdt.c
920
if (strncmp(name, data, len) == 0 &&
sys/dev/pci/agp.c
60
if (strncmp(aa->aa_busname, "agp", 3) == 0 &&
sys/dev/pci/bktr/bktr_audio.c
443
if (strncmp("3430G", bktr->msp_version_string, 5) == 0 ||
sys/dev/pci/bktr/bktr_audio.c
444
strncmp("3435G", bktr->msp_version_string, 5) == 0) {
sys/dev/pci/bktr/bktr_audio.c
457
else if ( ( (strncmp("3415D", bktr->msp_version_string, 5) == 0)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
254
strncmp(blk_info.task.comm, current->comm, TASK_COMM_LEN)))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
257
strncmp(blk_info.task.comm, curproc->p_p->ps_comm,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
263
!strncmp(blk_info.task.comm, con->init_task_comm, TASK_COMM_LEN))
sys/dev/pci/drm/amd/amdgpu/amdgpu_vcn.c
156
if (bios_ver && (!strncmp("F7A0113", bios_ver, 7) ||
sys/dev/pci/drm/amd/amdgpu/amdgpu_vcn.c
157
!strncmp("F7A0114", bios_ver, 7))) {
sys/dev/pci/drm/amd/amdgpu/atom.c
1543
if (strncmp
sys/dev/pci/drm/amd/amdgpu/atom.c
1552
if (strncmp
sys/dev/pci/drm/amd/amdkfd/kfd_process.c
333
else if (strncmp(attr->name, "vram_", 5) == 0) {
sys/dev/pci/drm/amd/amdkfd/kfd_process.c
337
} else if (strncmp(attr->name, "sdma_", 5) == 0) {
sys/dev/pci/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
117
if (strncmp(
sys/dev/pci/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
132
if (strncmp(link->dpcd_caps.branch_dev_name,
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
248
if (strncmp("battery", buf, strlen("battery")) == 0)
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
250
else if (strncmp("balanced", buf, strlen("balanced")) == 0)
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
252
else if (strncmp("performance", buf, strlen("performance")) == 0)
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
368
if (strncmp("low", buf, strlen("low")) == 0) {
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
370
} else if (strncmp("high", buf, strlen("high")) == 0) {
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
372
} else if (strncmp("auto", buf, strlen("auto")) == 0) {
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
374
} else if (strncmp("manual", buf, strlen("manual")) == 0) {
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
376
} else if (strncmp("profile_exit", buf, strlen("profile_exit")) == 0) {
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
378
} else if (strncmp("profile_standard", buf, strlen("profile_standard")) == 0) {
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
380
} else if (strncmp("profile_min_sclk", buf, strlen("profile_min_sclk")) == 0) {
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
382
} else if (strncmp("profile_min_mclk", buf, strlen("profile_min_mclk")) == 0) {
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
384
} else if (strncmp("profile_peak", buf, strlen("profile_peak")) == 0) {
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
386
} else if (strncmp("perf_determinism", buf, strlen("perf_determinism")) == 0) {
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
778
else if (!strncmp(buf, "vc", 2))
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
780
else if (!strncmp(buf, "vo", 2))
sys/dev/pci/drm/apple/dcp.c
765
if (strncmp(compat_str, "12.3.0", sizeof(compat_str)) == 0)
sys/dev/pci/drm/apple/dcp.c
774
else if ((strncmp(compat_str, "13.3.0", sizeof(compat_str)) == 0) &&
sys/dev/pci/drm/apple/dcp.c
775
(strncmp(fw_str, "13.5.0", sizeof(compat_str)) == 0))
sys/dev/pci/drm/apple/dcp.c
777
else if (strncmp(compat_str, "13.5.0", sizeof(compat_str)) == 0)
sys/dev/pci/drm/apple/iomfb_template.c
224
if (strncmp(req->key, "Temperature", sizeof(req->key)) == 0) {
sys/dev/pci/drm/apple/iomfb_template.c
241
if (strncmp(req->key, "Brightness_Scale", sizeof(req->key)) == 0) {
sys/dev/pci/drm/apple/parser.c
148
strncmp(key, specimen, tag->size))
sys/dev/pci/drm/drm_connector.c
1291
if (strlen(item->name) == len && !strncmp(item->name, name, len))
sys/dev/pci/drm/drm_debugfs.c
572
if (len == 5 && !strncmp(buf, "reset", 5))
sys/dev/pci/drm/drm_edid.c
5560
if (strncmp(name, desc, name_len))
sys/dev/pci/drm/drm_modes.c
2129
if (!strncmp(value, "normal", delim - value))
sys/dev/pci/drm/drm_modes.c
2131
else if (!strncmp(value, "upside_down", delim - value))
sys/dev/pci/drm/drm_modes.c
2133
else if (!strncmp(value, "left_side_up", delim - value))
sys/dev/pci/drm/drm_modes.c
2135
else if (!strncmp(value, "right_side_up", delim - value))
sys/dev/pci/drm/drm_modes.c
2185
if (!strncmp(option, "rotate", delim - option)) {
sys/dev/pci/drm/drm_modes.c
2209
} else if (!strncmp(option, "reflect_x", delim - option)) {
sys/dev/pci/drm/drm_modes.c
2211
} else if (!strncmp(option, "reflect_y", delim - option)) {
sys/dev/pci/drm/drm_modes.c
2213
} else if (!strncmp(option, "margin_right", delim - option)) {
sys/dev/pci/drm/drm_modes.c
2218
} else if (!strncmp(option, "margin_left", delim - option)) {
sys/dev/pci/drm/drm_modes.c
2223
} else if (!strncmp(option, "margin_top", delim - option)) {
sys/dev/pci/drm/drm_modes.c
2228
} else if (!strncmp(option, "margin_bottom", delim - option)) {
sys/dev/pci/drm/drm_modes.c
2233
} else if (!strncmp(option, "panel_orientation", delim - option)) {
sys/dev/pci/drm/drm_modes.c
2236
} else if (!strncmp(option, "tv_mode", delim - option)) {
sys/dev/pci/drm/i915/gt/intel_gt_sysfs.c
25
return !strncmp(kobj->name, "gt", 2);
sys/dev/pci/drm/i915/gt/intel_gt_sysfs_pm.c
497
if (!strncmp(buff, power_saving, sizeof(power_saving) - 1))
sys/dev/pci/drm/i915/gt/intel_gt_sysfs_pm.c
499
else if (!strncmp(buff, base, sizeof(base) - 1))
sys/dev/pci/drm/i915/gvt/cmd_parser.c
1018
!strncmp(cmd, "lri", 3)) {
sys/dev/pci/drm/i915/gvt/cmd_parser.c
924
if (!strncmp(cmd, "srm", 3) ||
sys/dev/pci/drm/i915/gvt/cmd_parser.c
925
!strncmp(cmd, "lrm", 3)) {
sys/dev/pci/drm/i915/gvt/cmd_parser.c
938
if (!strncmp(cmd, "lrr-src", 7) ||
sys/dev/pci/drm/i915/gvt/cmd_parser.c
939
!strncmp(cmd, "lrr-dst", 7)) {
sys/dev/pci/drm/i915/gvt/cmd_parser.c
948
if (!strncmp(cmd, "pipe_ctrl", 9)) {
sys/dev/pci/drm/i915/gvt/cmd_parser.c
953
if (strncmp(cmd, "lri", 3))
sys/dev/pci/drm/i915/i915_mitigations.c
68
if (!strncmp(tok, "no", 2)) {
sys/dev/pci/drm/radeon/atom.c
1304
if (strncmp
sys/dev/pci/drm/radeon/atom.c
1313
if (strncmp
sys/dev/pci/drm/radeon/radeon_pm.c
388
if (strncmp("default", buf, strlen("default")) == 0)
sys/dev/pci/drm/radeon/radeon_pm.c
390
else if (strncmp("auto", buf, strlen("auto")) == 0)
sys/dev/pci/drm/radeon/radeon_pm.c
392
else if (strncmp("low", buf, strlen("low")) == 0)
sys/dev/pci/drm/radeon/radeon_pm.c
394
else if (strncmp("mid", buf, strlen("mid")) == 0)
sys/dev/pci/drm/radeon/radeon_pm.c
396
else if (strncmp("high", buf, strlen("high")) == 0)
sys/dev/pci/drm/radeon/radeon_pm.c
448
if (strncmp("dynpm", buf, strlen("dynpm")) == 0) {
sys/dev/pci/drm/radeon/radeon_pm.c
454
} else if (strncmp("profile", buf, strlen("profile")) == 0) {
sys/dev/pci/drm/radeon/radeon_pm.c
493
if (strncmp("battery", buf, strlen("battery")) == 0)
sys/dev/pci/drm/radeon/radeon_pm.c
495
else if (strncmp("balanced", buf, strlen("balanced")) == 0)
sys/dev/pci/drm/radeon/radeon_pm.c
497
else if (strncmp("performance", buf, strlen("performance")) == 0)
sys/dev/pci/drm/radeon/radeon_pm.c
554
if (strncmp("low", buf, strlen("low")) == 0) {
sys/dev/pci/drm/radeon/radeon_pm.c
556
} else if (strncmp("high", buf, strlen("high")) == 0) {
sys/dev/pci/drm/radeon/radeon_pm.c
558
} else if (strncmp("auto", buf, strlen("auto")) == 0) {
sys/dev/pci/drm/radeon/radeon_vce.c
136
if (strncmp(c, fb_version, strlen(fb_version)) == 0)
sys/dev/pci/drm/radeon/radeon_vce.c
99
if (strncmp(c, fw_version, strlen(fw_version)) == 0)
sys/dev/pci/if_bwfm_pci.c
1151
if (strncmp(board_type, "apple,", 6) == 0) {
sys/dev/pci/if_ice.c
16058
if (strncmp(label_name, tnls[i].label_prefix, len))
sys/dev/pci/if_ice.c
16107
if (!strncmp(label_name, ICE_TNL_PRE, strlen(ICE_TNL_PRE)))
sys/dev/pci/ksmn.c
149
if (!strncmp(cpu_model, p->cpu_model, strlen(p->cpu_model)))
sys/dev/pv/hvs.c
611
!strncmp(vendor, "Msft", 4))
sys/dev/pv/vmt.c
639
if (strncmp(sc->sc_hostname, hostname, sizeof(sc->sc_hostname)) != 0) {
sys/dev/pv/vmt.c
907
if (strncmp(iface->if_xname, "lo", 2) == 0 &&
sys/dev/sbus/rfx.c
169
if (strncmp(device, "RasterFLEX", strlen("RasterFLEX")) != 0)
sys/dev/sbus/vigra.c
263
sc->sc_g300 = strncmp(nam, "VIGRA,vs11", strlen("VIGRA,vs11"));
sys/dev/softraid.c
1196
if (strncmp(dk->dk_name, "sd", 2) &&
sys/dev/softraid.c
1197
strncmp(dk->dk_name, "wd", 2)) {
sys/dev/softraid.c
3288
if (strncmp(meta->scmi.scm_devname, chunk->src_devname,
sys/dev/softraid.c
3560
strncmp(sd->sd_meta->ssd_devname, dev->dv_xname,
sys/dev/softraid.c
3694
if (!strncmp(dk->dk_name, bb->bb_dev, sizeof(bb->bb_dev)))
sys/dev/softraid.c
4839
if (!strncmp(sd->sd_meta->ssd_devname, devname,
sys/dev/softraid.c
5121
if (strncmp(my->srd->sd_name, "CRYPTO",
sys/dev/softraid.c
995
if (strncmp(mc[sm->ssdi.ssd_chunk_id].scmi.scm_devname, devname,
sys/dev/tc/asc_tc.c
107
if (strncmp("PMAZ-AA ", d->ta_modname, TC_ROM_LLEN))
sys/dev/tc/if_le_ioasic.c
97
if (strncmp("PMAD-BA ", d->iada_modname, TC_ROM_LLEN) != 0)
sys/dev/tc/if_le_tc.c
72
if (strncmp("PMAD-AA ", d->ta_modname, TC_ROM_LLEN) != 0)
sys/dev/tc/tcds.c
135
if (strncmp(td->td_name, modname, TC_ROM_LLEN) == 0)
sys/dev/tc/zs_ioasic.c
206
if (strncmp(d->iada_modname, "z8530 ", TC_ROM_LLEN) != 0 &&
sys/dev/tc/zs_ioasic.c
207
strncmp(d->iada_modname, "scc", TC_ROM_LLEN) != 0)
sys/dev/usb/if_athn_usb.c
258
if (strncmp(product, "wb193", 5) == 0)
sys/dev/usb/udl.c
1346
if (strncmp(serialnum, "0198-13", 7) == 0)
sys/dev/usb/ulpt.c
726
if (strncmp(p, "MFG:", 4) == 0 ||
sys/dev/usb/ulpt.c
727
strncmp(p, "MANUFACTURER:", 14) == 0 ||
sys/dev/usb/ulpt.c
728
strncmp(p, "MDL:", 4) == 0 ||
sys/dev/usb/ulpt.c
729
strncmp(p, "MODEL:", 6) == 0) {
sys/dev/videomode/edid.c
446
} else if ((strncmp(edid->edid_vendor, "IVM", 3) == 0) &&
sys/dev/wscons/wsdisplay.c
351
if (!strncmp(name, scr->name, WSSCREEN_NAME_SIZE))
sys/dev/wscons/wsemulconf.c
72
if (strncmp(name, (*ops)->name, WSEMUL_NAME_SIZE) == 0)
sys/kern/exec_script.c
87
strncmp(hdrstr, EXEC_SCRIPT_MAGIC, EXEC_SCRIPT_MAGICLEN))
sys/kern/kern_pledge.c
674
strncmp(path, "/usr/share/zoneinfo/",
sys/kern/subr_disk.c
1390
strncmp(str, dv->dv_xname, len) == 0 &&
sys/kern/subr_disk.c
1400
strncmp(str, dv->dv_xname, len) == 0 &&
sys/kern/tty_nmea.c
294
if (strncmp(fld[0], "BD", 2) &&
sys/kern/tty_nmea.c
295
strncmp(fld[0], "GA", 2) &&
sys/kern/tty_nmea.c
296
strncmp(fld[0], "GL", 2) &&
sys/kern/tty_nmea.c
297
strncmp(fld[0], "GN", 2) &&
sys/kern/tty_nmea.c
298
strncmp(fld[0], "GP", 2))
sys/kern/tty_nmea.c
302
if (strncmp(fld[0] + 2, "RMC", 3) &&
sys/kern/tty_nmea.c
303
strncmp(fld[0] + 2, "GGA", 3))
sys/kern/tty_nmea.c
329
if (strncmp(fld[0] + 2, "RMC", 3) == 0)
sys/kern/tty_nmea.c
331
if (strncmp(fld[0] + 2, "GGA", 3) == 0)
sys/lib/libkern/libkern.h
163
int strncmp(const char *, const char *, size_t);
sys/lib/libkern/strnstr.c
58
} while (strncmp(s, find, len) != 0);
sys/lib/libsa/stand.h
155
int strncmp(const char *, const char *, size_t);
sys/net/if.c
1510
!strncmp(name, ifc->ifc_name, cp - name))
sys/net/if_aggr.c
1483
if (strncmp(rp->rp_ifname, rp->rp_portname,
sys/net/if_veb.c
1891
if (strncmp(p->p_ifp0->if_xname, name, IFNAMSIZ) == 0)
sys/net/if_veb.c
1931
if (strncmp(p->p_ifp0->if_xname, name, IFNAMSIZ) == 0) {
sys/net/pf.c
325
return (strncmp(a->pfstlim_nm, b->pfstlim_nm, sizeof(a->pfstlim_nm)));
sys/net/pf.c
360
return (strncmp(a->pfsrlim_nm, b->pfsrlim_nm, sizeof(a->pfsrlim_nm)));
sys/net/pf_if.c
720
return (strncmp(p->pfik_name, q->pfik_name, IFNAMSIZ));
sys/net/pf_if.c
820
if (!strncmp(i->ifgl_group->ifg_group, filter, IFNAMSIZ))
sys/net/pf_ioctl.c
812
if (strncmp(pfr->addr.v.tblname, PF_OPTIMIZER_TABLE_PFX,
sys/net/pf_ruleset.c
398
if (strncmp(a, r->anchor->path, strlen(a))) {
sys/net/pf_table.c
2411
if ((d = strncmp(p->pfrkt_name, q->pfrkt_name, PF_TABLE_NAME_SIZE)))
sys/ntfs/ntfs_subr.c
131
(strncmp(name, vap->va_name, namelen) == 0)) {
sys/ntfs/ntfs_subr.c
801
strncmp(sys, adp->ad_name, syslen) != 0)
sys/ntfs/ntfs_vfsops.c
301
if (strncmp(ntmp->ntm_bootfile.bf_sysid, NTFS_BBID, NTFS_BBIDLEN)) {
sys/stand/boot/cmd.c
236
while ((*ct)->cmd_name != NULL && strncmp(p, (*ct)->cmd_name, l))
sys/stand/boot/vars.c
271
if (!strncmp(p, cmd.argv[1], l)) {
usr.bin/at/at.c
280
&& (strncmp(*atenv, no_export[i],
usr.bin/awk/b.c
1335
if (strncmp((const char *) prestr + 1, (const char *) cc->cc_name, cc->cc_namelen) == 0)
usr.bin/bgplg/bgplg.c
146
if (strncmp(name, ptr, namelen) == 0)
usr.bin/bgplg/bgplgsh.c
204
if (strncmp(name, str, len) == 0)
usr.bin/calendar/io.c
105
} else if (strncmp(buf, "CALENDAR=", 9) == 0) {
usr.bin/calendar/io.c
123
} else if (bodun_maybe && strncmp(buf, "BODUN=", 6) == 0) {
usr.bin/calendar/io.c
129
} else if (strncmp(buf, "RECIPIENT_EMAIL=", 16) == 0) {
usr.bin/calendar/io.c
92
if (strncmp(buf, "LANG=", 5) == 0) {
usr.bin/cdio/cddb.c
358
if (strncmp(line, "TTITLE", 6) != 0)
usr.bin/ctfconv/ctfconv.c
289
if (strncmp(first, "__func__", sizeof("__func__") - 1) == 0 ||
usr.bin/ctfconv/ctfconv.c
290
strncmp(first, "__FUNCTION__", sizeof("__FUNCTION__") - 1) == 0 ||
usr.bin/ctfconv/ctfconv.c
291
strncmp(first, "__warned", sizeof("__warned") - 1) == 0)
usr.bin/ctfconv/ctfconv.c
299
if (strncmp(second, "__warned", sizeof("__warned") - 1) == 0)
usr.bin/ctfconv/elf.c
147
if (strncmp(shstab + sh->sh_name, ELF_SYMTAB, snlen) == 0) {
usr.bin/ctfconv/elf.c
207
if (strncmp(shstab + sh->sh_name, sname, snlen) == 0) {
usr.bin/ctfconv/hash.c
208
strncmp(h->t[i].p->hkey, start, end - start) == 0 &&
usr.bin/cvs/date.y
662
if (strncmp(buff, tp->name, 3) == 0) {
usr.bin/cvs/diff_internals.c
1223
#define begins_with(s, pre) (strncmp(s, pre, sizeof(pre)-1) == 0)
usr.bin/cvs/entries.c
178
strncmp(fields[3], CVS_DATE_DUMMY,
usr.bin/cvs/entries.c
180
strncmp(fields[3], "Initial ", 8) == 0 ||
usr.bin/cvs/entries.c
184
strncmp(fields[3], CVS_SERVER_UNCHANGED,
usr.bin/cvs/entries.c
189
if (strncmp(fields[3], "Result of merge+", 16) == 0)
usr.bin/cvs/history.c
111
if (strncmp(cvs_homedir, fpath, len) == 0 &&
usr.bin/cvs/log.c
153
!strncmp(dp, LOG_REVSEP, sp - dp))
usr.bin/cvs/logmsg.c
78
if (!strncmp(buf, CVS_LOGMSG_PREFIX,
usr.bin/cvs/rcsnum.c
284
if (!strncmp(s, RCS_MAGIC_BRANCH,
usr.bin/cvs/update.c
559
if (!strncmp(lp->l_line, RCS_CONFLICT_MARKER1,
usr.bin/cvs/update.c
561
!strncmp(lp->l_line, RCS_CONFLICT_MARKER2,
usr.bin/cvs/update.c
563
!strncmp(lp->l_line, RCS_CONFLICT_MARKER3,
usr.bin/diff/diffreg.c
1252
#define begins_with(s, pre) (strncmp(s, pre, sizeof(pre)-1) == 0)
usr.bin/dig/dig.c
1635
if (strncmp(rv[0], "%", 1) == 0)
usr.bin/dig/lib/dns/gen.c
225
if (strncmp(dirname, "./", 2) == 0)
usr.bin/dig/lib/isc/regex.c
325
if (strncmp(cc[i], ccname, len))
usr.bin/dig/lib/lwres/lwconfig.c
365
if (strncmp("ndots:", word, 6) == 0) {
usr.bin/file/magic-load.c
1102
if (strncmp (line, "!:mime", 6) == 0) {
usr.bin/file/magic-load.c
1106
if (strncmp (line, "!:strength", 10) == 0) {
usr.bin/file/magic-load.c
1110
if (strncmp (line, "!:", 2) == 0) {
usr.bin/file/magic-load.c
651
if (strncmp(s, "string", (sizeof "string") - 1) == 0 ||
usr.bin/file/magic-load.c
652
strncmp(s, "ustring", (sizeof "ustring") - 1) == 0) {
usr.bin/file/magic-load.c
661
if (strncmp(s, "pstring", (sizeof "pstring") - 1) == 0 ||
usr.bin/file/magic-load.c
662
strncmp(s, "upstring", (sizeof "upstring") - 1) == 0) {
usr.bin/file/magic-load.c
671
if (strncmp(s, "search", (sizeof "search") - 1) == 0 ||
usr.bin/file/magic-load.c
672
strncmp(s, "usearch", (sizeof "usearch") - 1) == 0) {
usr.bin/file/magic-load.c
680
if (strncmp(s, "regex", (sizeof "regex") - 1) == 0 ||
usr.bin/file/magic-load.c
681
strncmp(s, "uregex", (sizeof "uregex") - 1) == 0) {
usr.bin/find/function.c
899
return (strncmp(fstype, plan->c_data, MFSNAMELEN) == 0);
usr.bin/finger/util.c
219
strncmp(w->tty, ll.ll_line, UT_LINESIZE) == 0)
usr.bin/finger/util.c
281
pn != NULL && strncmp(pn->name, name, UT_NAMESIZE) != 0;
usr.bin/from/from.c
101
if (newline && !strncmp(line, "From ", 5) &&
usr.bin/ftp/complete.c
138
if (strncmp(word, c->c_name, wordlen) == 0)
usr.bin/ftp/complete.c
184
if (strncmp(file, dp->d_name, strlen(file)) == 0) {
usr.bin/ftp/complete.c
270
if (strncmp(file, cp, strlen(file)) == 0)
usr.bin/ftp/complete.c
308
&& strncmp(word, margv[cursor_argc], cursor_argo) == 0)
usr.bin/ftp/domacro.c
55
if (!strncmp(argv[1], macros[i].mac_name, 9)) {
usr.bin/ftp/ftp.c
327
if (strncmp("PASS ", fmt, 5) == 0)
usr.bin/ftp/ftp.c
329
else if (strncmp("ACCT ", fmt, 5) == 0)
usr.bin/ftp/util.c
194
if (!strncmp(reply_string, "215 UNIX Type: L8", 17)) {
usr.bin/ftp/util.c
635
if (strncmp(timestr, "191", 3) == 0) {
usr.bin/ftp/util.c
701
if (strncmp(realdir, dir, dirlen) == 0 &&
usr.bin/gencat/gencat.c
416
if (strncmp(cptr, "set", 3) == 0) {
usr.bin/gencat/gencat.c
421
} else if (strncmp(cptr, "delset", 6) == 0) {
usr.bin/gencat/gencat.c
426
} else if (strncmp(cptr, "quote", 5) == 0) {
usr.bin/getconf/getconf.c
434
if (strncmp(*argv, uposix_prefix, sizeof(uposix_prefix) - 1) == 0) {
usr.bin/getconf/getconf.c
437
} else if (strncmp(*argv, posix_prefix,
usr.bin/getconf/getconf.c
457
if (cp->name == NULL && strncmp(*argv + slen, compat_posix2_prefix,
usr.bin/getconf/getconf.c
571
if (strncmp(spec, posix_prefix, sizeof(posix_prefix) - 1) != 0)
usr.bin/grep/util.c
374
strncmp(pattern + fg->bol, "[[:<:]]", 7) == 0 &&
usr.bin/grep/util.c
375
strncmp(pattern + fg->bol + fg->patternLen - 7, "[[:>:]]", 7) == 0) {
usr.bin/htpasswd/htpasswd.c
176
if (strncmp(line, login, loginlen) != 0) {
usr.bin/htpasswd/htpasswd.c
223
if (strncmp(tok, "$2a$", 4) != 0 &&
usr.bin/htpasswd/htpasswd.c
224
strncmp(tok, "$2b$", 4) != 0) {
usr.bin/indent/indent.c
1226
if (strncmp(s_lab, "#if", 3) == 0) {
usr.bin/indent/indent.c
1240
else if (strncmp(s_lab, "#else", 5) == 0)
usr.bin/indent/indent.c
1247
else if (strncmp(s_lab, "#endif", 6) == 0) {
usr.bin/indent/io.c
107
if (s_lab[0] == '#' && (strncmp(s_lab, "#else", 5) == 0
usr.bin/indent/io.c
108
|| strncmp(s_lab, "#endif", 6) == 0)) {
usr.bin/indent/io.c
371
if (in_buffer[3] == 'I' && strncmp(in_buffer, "/**INDENT**", 11) == 0)
usr.bin/infocmp/infocmp.c
777
if (strncmp(table, param, length) == 0) {
usr.bin/infocmp/infocmp.c
858
#define ISRS(s) (!strncmp((s), "is", (size_t) 2) || !strncmp((s), "rs", (size_t) 2))
usr.bin/infocmp/infocmp.c
886
&& strncmp(ap->from + adj, sp + csi, len - adj) == 0) {
usr.bin/infocmp/infocmp.c
968
if (strncmp(buf2, sp + csi, len) == 0)
usr.bin/infocmp/infocmp.c
979
if (strncmp(buf2, sp + csi, len) == 0) {
usr.bin/infocmp/infocmp.c
984
if (strncmp(buf2, sp + csi, len) == 0) {
usr.bin/join/join.c
370
if (strncmp(p, mbdelim[i], mblen[i]) == 0) {
usr.bin/kdump/kdump.c
1443
} else if (strncmp(usr->ktr_id, utracefilter, KTR_USER_MAXIDLEN) == 0)
usr.bin/kstat/kstat.c
110
rv = strncmp(a->ks_provider, b->ks_provider, sizeof(a->ks_provider));
usr.bin/kstat/kstat.c
118
rv = strncmp(a->ks_name, b->ks_name, sizeof(a->ks_name));
usr.bin/last/last.c
284
crmsg = strncmp(bp->ut_name, "shutdown",
usr.bin/last/last.c
337
if (!strncmp(T->tty, bp->ut_line, UT_LINESIZE))
usr.bin/last/last.c
428
if ((strncmp(bp->ut_line, "console", strlen("console")) != 0) &&
usr.bin/last/last.c
429
(strncmp(bp->ut_line, "tty", strlen("tty")) != 0)) {
usr.bin/last/last.c
451
if (!strncmp(step->name, bp->ut_line, UT_LINESIZE))
usr.bin/last/last.c
455
if (!strncmp(step->name, bp->ut_name, UT_NAMESIZE))
usr.bin/last/last.c
542
if (!strncmp(arg, _PATH_DEV, sizeof(_PATH_DEV) - 1))
usr.bin/lastcomm/lastcomm.c
194
if (!strncmp(acp->ac_comm, *argv, sizeof acp->ac_comm))
usr.bin/ldap/aldap.c
1003
if (strncmp(attr_val, "*)", 2) == 0) {
usr.bin/less/cmdbuf.c
1217
strncmp(line, HISTFILE_FIRST_LINE,
usr.bin/less/cmdbuf.c
621
if (strncmp(cmdbuf, ml->string, updown_match) == 0) {
usr.bin/less/cmdbuf.c
874
strncmp(p, esc, esclen) == 0) {
usr.bin/less/decode.c
508
if (strncmp(var, "LESS", 4) == 0) {
usr.bin/less/edit.c
61
strncmp(s, esc, esclen) == 0) {
usr.bin/less/filename.c
60
if (esclen > 0 && strncmp(str, esc, esclen) == 0)
usr.bin/less/lesskey.c
285
if (strncmp(arg, "--output", 8) == 0) {
usr.bin/less/lesskey.c
522
#define PREFIX(str, pat) (strncmp(str, pat, strlen(pat)) == 0)
usr.bin/less/tags.c
224
if (strncmp(tag, tline, taglen) != 0 || !WHITESP(tline[taglen]))
usr.bin/less/tags.c
373
if (strncmp(curtag->tag_pattern, line, len) == 0 &&
usr.bin/lex/misc.c
834
#define cmd_match(s) (strncmp(buf,(s),strlen(s))==0)
usr.bin/lex/scanopt.c
637
if (strncmp (optname, optstart, len) == 0) {
usr.bin/lndir/lndir.c
215
strncmp(dp->d_name, ".#", 2) == 0)
usr.bin/login/login.c
354
strncmp(p, "auth-", 5) == 0)
usr.bin/login/login.c
411
if (strncmp(instance + 1, "root", 4) == 0)
usr.bin/login/login.c
573
if (strncmp(*cpp, "LD_", 3) &&
usr.bin/login/login.c
574
strncmp(*cpp, "ENV=", 4) &&
usr.bin/login/login.c
575
strncmp(*cpp, "BASH_ENV=", 9) &&
usr.bin/login/login.c
576
strncmp(*cpp, "IFS=", 4))
usr.bin/m4/look.c
118
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/head.c
108
if (cp != NULL && strncmp(cp, "tty", 3) == 0) {
usr.bin/mail/lex.c
657
if (strncmp(fname, mailname, strlen(fname)) == 0) {
usr.bin/mail/send.c
232
if (strncmp(line, "From ", 5) == 0)
usr.bin/mail/send.c
594
if (strncmp(buf, "From ", 5) == 0)
usr.bin/mail/util.c
452
if (strncmp(cp, "at ", 3) == 0)
usr.bin/mail/util.c
455
if (strncmp(cp, "@ ", 2) == 0)
usr.bin/mail/util.c
547
if (strncmp(cp, "From", 4) != 0)
usr.bin/mail/util.c
550
if (strncmp(cp, "remote", 6) == 0) {
usr.bin/mail/util.c
553
if (strncmp(cp, "from", 4) != 0)
usr.bin/make/arch.c
389
(strncmp(magic, ARMAG, SARMAG) != 0)) {
usr.bin/make/arch.c
718
strncmp(magic, ARMAG, SARMAG) != 0) {
usr.bin/make/arch.c
896
strncmp(nameStart, gn->name, nameEnd - nameStart)
usr.bin/make/cond.c
1006
strncmp(line, COND_ELIFMAKE, len) == 0) {
usr.bin/make/cond.c
1013
strncmp(line, COND_ELIFNMAKE, len) == 0) {
usr.bin/make/cond.c
1022
strncmp(line, COND_ELSE, len) == 0) {
usr.bin/make/cond.c
1036
strncmp(line, COND_ENDIF, len) == 0) {
usr.bin/make/cond.c
1064
strncmp(line, COND_FOR, len) == 0)
usr.bin/make/cond.c
1070
strncmp(line, COND_UNDEF, len) == 0)
usr.bin/make/cond.c
1076
strncmp(line, COND_POISON, len) == 0)
usr.bin/make/cond.c
1082
strncmp(line, COND_INCLUDE, len) == 0)
usr.bin/make/cond.c
663
if (strncmp(condExpr, "empty", 5) == 0) {
usr.bin/make/cond.c
702
if (strncmp(condExpr, op->s, op->len) == 0) {
usr.bin/make/cond.c
950
strncmp(line, COND_IF, len) == 0) {
usr.bin/make/cond.c
957
strncmp(line, COND_IFDEF, len) == 0) {
usr.bin/make/cond.c
964
strncmp(line, COND_IFNDEF, len) == 0) {
usr.bin/make/cond.c
971
strncmp(line, COND_IFMAKE, len) == 0) {
usr.bin/make/cond.c
978
strncmp(line, COND_IFNMAKE, len) == 0) {
usr.bin/make/cond.c
985
strncmp(line, COND_ELIF, len) == 0) {
usr.bin/make/cond.c
992
strncmp(line, COND_ELIFDEF, len) == 0) {
usr.bin/make/cond.c
999
strncmp(line, COND_ELIFNDEF, len) == 0) {
usr.bin/make/for.c
222
if (strncmp(ptr, "endfor", 6) == 0 &&
usr.bin/make/for.c
231
else if (strncmp(ptr, "for", 3) == 0 &&
usr.bin/make/job.c
196
if (strncmp(basedirectory, v, len) == 0 &&
usr.bin/make/lowparse.c
128
return strncmp(f, s, len) == 0 && f[len] == '/';
usr.bin/make/parse.c
1285
if (strncmp(p, "defined", 7) == 0) {
usr.bin/make/parse.c
1288
} else if (strncmp(p, "empty", 5) == 0) {
usr.bin/make/parse.c
1557
if (strncmp(line, "include", 7) == 0 &&
usr.bin/make/parse.c
1564
if (strncmp(line, "sinclude", 8) == 0 &&
usr.bin/make/parse.c
1570
if (strncmp(line, "-include", 8) == 0 &&
usr.bin/make/parsevar.c
101
if (strncmp(arg, "sh", 2) == 0) {
usr.bin/make/suff.c
842
if (strncmp(cp, targ->prefix, prefixLen) != 0)
usr.bin/make/targequiv.c
160
if (strncmp(gn->name, kobjdir, objdir_len) == 0) {
usr.bin/make/var.c
1267
if (strncmp(var, str, p - str) != 0 ||
usr.bin/make/var.c
269
strncmp(name, LONGALLSRC, len) == 0)
usr.bin/make/var.c
274
strncmp(name, LONGARCHIVE, len) == 0)
usr.bin/make/var.c
279
strncmp(name, LONGIMPSRC, len) == 0)
usr.bin/make/var.c
284
strncmp(name, LONGMEMBER, len) == 0)
usr.bin/make/var.c
289
strncmp(name, LONGOODATE, len) == 0)
usr.bin/make/var.c
294
strncmp(name, LONGPREFIX, len) == 0)
usr.bin/make/var.c
299
strncmp(name, LONGTARGET, len) == 0)
usr.bin/make/varmodifiers.c
459
(strncmp(word->s, pattern->lhs, pattern->leftLen) == 0)) {
usr.bin/make/varmodifiers.c
500
strncmp(cp, pattern->lhs, pattern->leftLen) == 0) {
usr.bin/mandoc/cgi.c
1231
if (strncmp(path, "man", 3) == 0 || strncmp(path, "cat", 3) == 0) {
usr.bin/mandoc/cgi.c
246
if ( ! strncmp(val, "OpenBSD ", 8)) {
usr.bin/mandoc/cgi.c
554
(strncmp(file, "man", 3) && strncmp(file, "cat", 3)));
usr.bin/mandoc/cgi.c
699
strncmp(arch, "amd64/",
usr.bin/mandoc/dbm_map.c
73
if (strncmp(dbm_base, "SQLite format 3", 15))
usr.bin/mandoc/eqn.c
38
((sz1) == (sz2) && 0 == strncmp((p1), (p2), (sz1)))
usr.bin/mandoc/eqn.c
575
} else if (strncmp(ep->end, "off", 3) == 0) {
usr.bin/mandoc/eqn.c
578
} else if (strncmp(ep->end, "on", 2) == 0) {
usr.bin/mandoc/main.c
152
if (strncmp(progname, "mandocdb", 8) == 0 ||
usr.bin/mandoc/main.c
172
else if (strncmp(progname, "help", 4) == 0)
usr.bin/mandoc/main.c
218
if (strncmp(optarg, "os=", 3) != 0) {
usr.bin/mandoc/main.c
528
if (strncmp(sec, search.sec, ssz) == 0)
usr.bin/mandoc/main.c
537
strncmp(ep - 3, ".gz", 3) == 0)
usr.bin/mandoc/main.c
540
strncmp(ep - ssz, search.sec,
usr.bin/mandoc/mandocdb.c
1532
if (0 == strncmp(start, "-", 1))
usr.bin/mandoc/mandocdb.c
1534
else if (0 == strncmp(start, "\\-\\-", 4))
usr.bin/mandoc/mandocdb.c
1536
else if (0 == strncmp(start, "\\-", 2))
usr.bin/mandoc/mandocdb.c
1538
else if (0 == strncmp(start, "\\(en", 4))
usr.bin/mandoc/mandocdb.c
1540
else if (0 == strncmp(start, "\\(em", 4))
usr.bin/mandoc/mandocdb.c
586
if (strncmp(buf, basedir, basedir_len) != 0) {
usr.bin/mandoc/mandocdb.c
644
strncmp(fsec, dsec, strlen(dsec))) ||
usr.bin/mandoc/mandocdb.c
696
if ( ! strncmp(cp, "man", 3)) {
usr.bin/mandoc/mandocdb.c
699
} else if ( ! strncmp(cp, "cat", 3)) {
usr.bin/mandoc/mandocdb.c
762
if (strncmp(infile, "./", 2) == 0)
usr.bin/mandoc/mandocdb.c
794
else if (strncmp(usefile, basedir, basedir_len) == 0)
usr.bin/mandoc/mandocdb.c
829
if (strncmp(infile, basedir, basedir_len) == 0) {
usr.bin/mandoc/mandocdb.c
890
if (strncmp(usefile, "man/", 4) == 0)
usr.bin/mandoc/mandocdb.c
906
if (strncmp(start, "man", 3) == 0) {
usr.bin/mandoc/mandocdb.c
909
} else if (strncmp(start, "cat", 3) == 0) {
usr.bin/mandoc/manpath.c
184
strncmp(cp, toks[tok], toklen) == 0) {
usr.bin/mandoc/manpath.c
233
if (strncmp(cp, toks[tok], len) == 0 &&
usr.bin/mandoc/mdoc_html.c
1550
if (strncmp(arg, "RFC ", 4) == 0) {
usr.bin/mandoc/mdoc_markdown.c
1598
if (strncmp(arg, "RFC ", 4) != 0)
usr.bin/mandoc/mdoc_validate.c
1011
if (strncmp(cp, "lib", 3) == 0)
usr.bin/mandoc/mdoc_validate.c
2953
if (strncmp(n->string, "$" "Mdocdate", 9)) {
usr.bin/mandoc/roff.c
1851
if (r->eqn != NULL && strncmp(buf->buf + ppos, ".EN", 3)) {
usr.bin/mandoc/roff.c
3020
strncmp(reg->key.p, name, len) != 0))
usr.bin/mandoc/roff.c
3096
0 == strncmp(name, reg->key.p, len)) {
usr.bin/mandoc/roff.c
3129
0 == strncmp(name, reg->key.p, len))
usr.bin/mandoc/roff.c
4125
strncmp(n->key.p, name, namesz)))
usr.bin/mandoc/roff.c
4194
if (strncmp(name, n->key.p, len) != 0 ||
usr.bin/mandoc/roff.c
4206
if (strncmp(name, n->key.p, len) != 0 ||
usr.bin/mandoc/roff.c
4218
if (strncmp(name, predefs[i].name, len) != 0 ||
usr.bin/mandoc/roff.c
4231
if (strncmp(name, roff_name[tok], len) != 0 ||
usr.bin/mandoc/roff.c
4245
if (strncmp(name, roff_name[tok], len) != 0 ||
usr.bin/mandoc/roff.c
4340
if (0 == strncmp(p, cp->key.p, cp->key.sz))
usr.bin/mandoc/roff_escape.c
451
strncmp(buf + iarg, "char", 4) != 0 ||
usr.bin/mandoc/term_tag.c
202
if (strncmp(tag_files.ofn, "/tmp/man.", 9) == 0) {
usr.bin/mandoc/term_tag.c
206
if (strncmp(tag_files.tfn, "/tmp/man.", 9) == 0) {
usr.bin/mg/dired.c
1035
(strncmp(p, d1->fn, plen) == 0)) {
usr.bin/mg/dired.c
1129
if (strncmp(modename, "dired", 5) == 0)
usr.bin/mg/fileio.c
523
if (strncmp(cp, dent->d_name, len) != 0)
usr.bin/mg/fileio.c
688
if (strncmp(fn, "/tmp", 4) == 0)
usr.bin/mg/interpreter.c
296
if (strncmp(begp, "define", 6) == 0) {
usr.bin/mg/interpreter.c
300
} else if (strncmp(begp, "list", 4) == 0)
usr.bin/mg/interpreter.c
313
if (strncmp(begp, "global-set-key ", 15) == 0)
usr.bin/mg/interpreter.c
318
if (strncmp(begp, "define-key ", 11) == 0)
usr.bin/mg/tags.c
396
(strncmp(s_pat, ltext(lp), plen) == 0)) {
usr.bin/mktemp/mktemp.c
93
strncmp(&base[len - suffixlen - 6], "XXXXXX", 6)) {
usr.bin/nc/netcat.c
1703
strncmp(s, t->keyword, len) == 0) {
usr.bin/nc/netcat.c
985
(strncmp(host, ipaddr, NI_MAXHOST) == 0))
usr.bin/nc/socks.c
390
(strncmp(buf, "HTTP/1.0 407 ", 13) == 0 ||
usr.bin/nc/socks.c
391
strncmp(buf, "HTTP/1.1 407 ", 13) == 0)) {
usr.bin/nc/socks.c
398
} else if (strncmp(buf, "HTTP/1.0 200 ", 13) != 0 &&
usr.bin/nc/socks.c
399
strncmp(buf, "HTTP/1.1 200 ", 13) != 0)
usr.bin/netstat/mbuf.c
158
if (!strncmp(name, "mbufpl", strlen("mbufpl")))
usr.bin/netstat/mbuf.c
161
!strncmp(name, *mclnamep, strlen(*mclnamep))) {
usr.bin/newsyslog/newsyslog.c
702
} else if (strncmp(q, "SIG", 3) == 0) {
usr.bin/nm/elf.c
277
else if (!strncmp(sn, ".text.", 6))
usr.bin/nm/elf.c
295
else if (!strncmp(sn, ELF_GOT, sizeof(ELF_GOT) - 1))
usr.bin/nm/elf.c
297
else if (!strncmp(sn, ELF_PLT, sizeof(ELF_PLT) - 1))
usr.bin/nm/elf.c
360
strncmp(sn, ".text.", 6) &&
usr.bin/nm/nm.c
283
strncmp(magic, ARMAG, SARMAG)) {
usr.bin/nm/nm.c
519
if (strncmp(ar_head.ar_name, RANLIBMAG,
usr.bin/nm/nm.c
527
} else if (strncmp(ar_head.ar_name, SYMTABMAG,
usr.bin/nm/nm.c
537
} else if (strncmp(ar_head.ar_name, STRTABMAG,
usr.bin/openssl/apps.c
376
if (!strncmp(arg, "pass:", 5))
usr.bin/openssl/apps.c
378
if (!strncmp(arg, "env:", 4)) {
usr.bin/openssl/apps.c
388
if (!strncmp(arg, "file:", 5)) {
usr.bin/openssl/apps.c
395
} else if (!strncmp(arg, "fd:", 3)) {
usr.bin/openssl/ca.c
2498
if (strncmp(a_tm_s, "49", 2) <= 0)
usr.bin/openssl/ca.c
2508
if (strncmp(rrow[DB_exp_date], "49", 2) <= 0)
usr.bin/openssl/certhash.c
241
if (strncmp((q - 4), ".pem", 4) != 0)
usr.bin/openssl/ocsp.c
1421
if (strncmp(inbuf, "POST", 4)) {
usr.bin/openssl/openssl.c
506
if ((strncmp(argv[0], "no-", 3)) == 0) {
usr.bin/openssl/openssl.c
694
return strncmp(a->name, b->name, 8);
usr.bin/openssl/req.c
1606
} else if (!strncmp(gstr, "param:", 6))
usr.bin/openssl/s_server.c
1975
(strncmp("GET ", buf, 4) == 0)) ||
usr.bin/openssl/s_server.c
1977
(strncmp("GET /stats ", buf, 11) == 0))) {
usr.bin/openssl/s_server.c
2059
(strncmp("GET /", buf, 5) == 0)) {
usr.bin/openssl/speed.c
2788
if (!strncmp(buf, "+F:", 3)) {
usr.bin/openssl/speed.c
2798
} else if (!strncmp(buf, "+F2:", 4)) {
usr.bin/openssl/speed.c
2818
} else if (!strncmp(buf, "+F2:", 4)) {
usr.bin/openssl/speed.c
2838
} else if (!strncmp(buf, "+F3:", 4)) {
usr.bin/openssl/speed.c
2858
} else if (!strncmp(buf, "+F4:", 4)) {
usr.bin/openssl/speed.c
2878
} else if (!strncmp(buf, "+F5:", 4)) {
usr.bin/openssl/speed.c
2893
} else if (!strncmp(buf, "+H:", 3)) {
usr.bin/patch/backupfile.c
146
if (!strncmp(base, backup, base_length) &&
usr.bin/patch/backupfile.c
188
if (!strncmp(optlist[i], arg, arglen)) {
usr.bin/patch/common.h
51
#define strnNE(s1,s2,l) (strncmp(s1, s2, l))
usr.bin/patch/common.h
52
#define strnEQ(s1,s2,l) (!strncmp(s1, s2, l))
usr.bin/patch/ed.c
201
if (strncmp(p, S_PATTERN, sizeof(S_PATTERN) - 1) != 0)
usr.bin/pkgconf/cli/getopt_long.c
232
if (strncmp(current_argv, long_options[i].name,
usr.bin/pkgconf/cli/main.c
372
strncmp(pkg->why, queue_node->package, name_len) ||
usr.bin/pkgconf/libpkgconf/fragment.c
110
if (!strncmp(string, check_fragments[i].token, check_fragments[i].len))
usr.bin/pkgconf/libpkgconf/fragment.c
122
if (!strncmp(string, "-lib:", 5))
usr.bin/pkgconf/libpkgconf/fragment.c
62
if (!strncmp(string, check_fragments[i].token, check_fragments[i].len))
usr.bin/pkgconf/libpkgconf/fragment.c
78
if (sysroot_dir != NULL && strncmp(sysroot_dir, string, strlen(sysroot_dir)))
usr.bin/pkgconf/libpkgconf/fragment.c
96
if (!strncmp(string, check_fragments[i].token, check_fragments[i].len))
usr.bin/pkgconf/libpkgconf/pkg.c
380
return !strncmp(path1, path2, path2_len);
usr.bin/pkgconf/libpkgconf/pkg.c
512
if (client->sysroot_dir && strncmp(pkg->pc_filedir, client->sysroot_dir, strlen(client->sysroot_dir)))
usr.bin/pkgconf/libpkgconf/tuple.c
321
if (*value == '/' && client->sysroot_dir != NULL && strncmp(value, client->sysroot_dir, strlen(client->sysroot_dir)))
usr.bin/pkill/pkill.c
603
else if (strncmp(sp, "tty", 3) == 0)
usr.bin/printenv/printenv.c
61
if (!strncmp(*ep, *argv, len)) {
usr.bin/quota/quota.c
449
if (strncmp(fst[i].f_fstypename, "nfs", MFSNAMELEN) == 0) {
usr.bin/quota/quota.c
452
} else if (!strncmp(fst[i].f_fstypename, "ffs", MFSNAMELEN) ||
usr.bin/quota/quota.c
453
!strncmp(fst[i].f_fstypename, "ufs", MFSNAMELEN) ||
usr.bin/quota/quota.c
454
!strncmp(fst[i].f_fstypename, "mfs", MFSNAMELEN)) {
usr.bin/radioctl/radioctl.c
356
if (strncmp(topt, varname[res], len) == 0)
usr.bin/radioctl/radioctl.c
449
if (strncmp(chansets[i].name, topt,
usr.bin/radioctl/radioctl.c
468
if (strncmp(topt, offchar,
usr.bin/radioctl/radioctl.c
471
else if (strncmp(topt, onchar,
usr.bin/radioctl/radioctl.c
476
if (strncmp(topt, "up", slen > 2 ? slen : 2) == 0)
usr.bin/radioctl/radioctl.c
480
if (strncmp(topt, "down", slen > 4 ? slen : 4) == 0)
usr.bin/rcs/ci.c
932
if (strncmp(p, KW_ID, strlen(KW_ID)) == 0 ||
usr.bin/rcs/ci.c
933
strncmp(p, KW_OPENBSD, strlen(KW_OPENBSD)) == 0)
usr.bin/rcs/ci.c
935
else if (strncmp(p, KW_AUTHOR, strlen(KW_AUTHOR)) == 0)
usr.bin/rcs/ci.c
937
else if (strncmp(p, KW_DATE, strlen(KW_DATE)) == 0)
usr.bin/rcs/ci.c
939
else if (strncmp(p, KW_STATE, strlen(KW_STATE)) == 0)
usr.bin/rcs/ci.c
941
else if (strncmp(p, KW_REVISION, strlen(KW_REVISION)) == 0)
usr.bin/rcs/date.y
667
if (strncmp(buff, tp->name, 3) == 0) {
usr.bin/rcs/diff.c
1150
#define begins_with(s, pre) (strncmp(s, pre, sizeof(pre)-1) == 0)
usr.bin/rcs/rcsnum.c
315
if (!strncmp(s, RCS_MAGIC_BRANCH,
usr.bin/rdist/message.c
511
if (strncmp(currenthost, msgbuf, strlen(currenthost)) == 0)
usr.bin/rdistd/server.c
1130
if (i == size && strncmp(dbuf, tbuf, (int) size) == 0)
usr.bin/rpcgen/rpc_scan.c
432
if (strncmp(str, s->str, len) == 0) {
usr.bin/rsync/flist.c
498
(len > 2 && strncmp(f->path, "../", 3) == 0) ||
usr.bin/rsync/main.c
243
if (strncmp(cp, f->host, len) ||
usr.bin/rsync/main.c
250
} else if (f->remote && strncmp(cp, "::", 2) == 0) {
usr.bin/rsync/main.c
256
if (strncmp(cp, f->host, len) ||
usr.bin/rsync/main.c
267
if (strncmp(cp, f->host, len) ||
usr.bin/rsync/rmatch.c
84
if (!strncmp(pattern, cc->name, len) && cc->name[len] == '\0') {
usr.bin/rsync/rules.c
137
if (strncmp(commands[i].lopt, command, len) == 0)
usr.bin/rsync/socket.c
252
if (strncmp(cp, "@RSYNCD: ", 9)) {
usr.bin/sendbug/sendbug.c
210
if (!strncmp(DMESG_START, buf, sizeof(DMESG_START) - 1))
usr.bin/sendbug/sendbug.c
435
if (strncmp(buf, "SENDBUG", sizeof("SENDBUG") - 1) == 0)
usr.bin/sendbug/sendbug.c
447
if (strncmp(sp, comment[i], commentlen) == 0) {
usr.bin/sendbug/sendbug.c
645
if (!strncmp(buf, BEGIN64, sizeof(BEGIN64) - 1)) {
usr.bin/sendbug/sendbug.c
654
if (!strncmp(buf, END64, sizeof(END64) - 1)) {
usr.bin/seq/seq.c
232
strncmp(s, decimal_point, decimal_pt_len) == 0) {
usr.bin/signify/signify.c
375
if (strncmp(pubkeyfile, seckeyfile, len - 4) != 0)
usr.bin/signify/signify.c
494
if (strncmp(p, keytype, typelen) != 0)
usr.bin/skey/skey.c
50
if (strncmp(__progname, "otp-", 4) == 0) {
usr.bin/sndiod/sndiod.c
431
if (strncmp(name, prefix, prefix_len) != 0)
usr.bin/ssh/auth-options.c
427
if (strncmp(ret->env[i], cp, l) == 0 &&
usr.bin/ssh/auth-rhosts.c
96
if (strncmp(cp, "NO_PLUS", 7) == 0)
usr.bin/ssh/auth2.c
563
if (strncmp(methods, method, l) != 0)
usr.bin/ssh/auth2.c
572
if (strncmp(submethod, p, l))
usr.bin/ssh/authfile.c
218
if (strncmp(cp, "-----BEGIN", 10) == 0 ||
usr.bin/ssh/channels.c
5168
if (strncmp(display, "unix:", 5) == 0 ||
usr.bin/ssh/clientloop.c
317
if (strncmp(display, "localhost:", 10) == 0) {
usr.bin/ssh/hostfile.c
512
if (strlen(dotsshdir) > len || strncmp(filename, dotsshdir, len) != 0)
usr.bin/ssh/hostfile.c
77
if (strncmp(s, HASH_MAGIC, sizeof(HASH_MAGIC) - 1) != 0) {
usr.bin/ssh/hostfile.c
775
strncmp(hashed_host, names, nlen) == 0);
usr.bin/ssh/misc-agent.c
315
strncmp(dp->d_name, prefix, strlen(prefix)) != 0) {
usr.bin/ssh/misc.c
1063
if (strncmp(uri, scheme, len) != 0 || strncmp(uri + len, "://", 3) != 0)
usr.bin/ssh/misc.c
110
if (strncmp(s, prefix, prefixlen) != 0)
usr.bin/ssh/misc.c
2341
if (strncmp(env[i], name, namelen) == 0 && env[i][namelen] == '=')
usr.bin/ssh/misc.c
2901
if (strncmp(envs[i], env, envlen) == 0 &&
usr.bin/ssh/readconf.c
2461
else if (strncmp(arg, "interval:", 9) == 0) {
usr.bin/ssh/scp.c
1269
if (strncmp(path, "~/", 2) == 0) {
usr.bin/ssh/scp.c
536
if (strncmp(optarg, "buffer=", 7) == 0) {
usr.bin/ssh/scp.c
547
} else if (strncmp(optarg, "nrequests=", 10) == 0) {
usr.bin/ssh/session.c
631
if (strncmp(tty, "/dev/", 5) == 0)
usr.bin/ssh/session.c
96
(!strncmp(c, INTERNAL_SFTP_NAME, sizeof(INTERNAL_SFTP_NAME) - 1) && \
usr.bin/ssh/sftp-server.c
1543
} else if (strncmp(path, "~/", 2) == 0) {
usr.bin/ssh/sftp.c
2552
if (strncmp(optarg, "buffer=", 7) == 0) {
usr.bin/ssh/sftp.c
2563
} else if (strncmp(optarg, "nrequests=", 10) == 0) {
usr.bin/ssh/sftp.c
366
if (strncmp(path, strip, len) == 0) {
usr.bin/ssh/ssh-agent.c
2345
strncmp(shell + len - 3, "csh", 3) == 0)
usr.bin/ssh/ssh-keygen.c
1922
else if (strncmp(from, "0x", 2) == 0)
usr.bin/ssh/ssh-keygen.c
1931
else if (strncmp(to, "0x", 2) == 0)
usr.bin/ssh/ssh-keygen.c
3782
if (strncmp(sk_application, "ssh:", 4) != 0) {
usr.bin/ssh/ssh-keygen.c
603
if (strncmp(line, "----", 4) == 0 ||
usr.bin/ssh/ssh-keyscan.c
471
if (n != 1 || strncmp(buf, "SSH-", 4) == 0)
usr.bin/ssh/ssh-keyscan.c
695
if (strncmp(optarg, "hashalg=", 8) != 0)
usr.bin/ssh/ssh-sk.c
819
if (strncmp(rks[i]->application, "ssh:", 4) != 0)
usr.bin/ssh/sshconnect.c
663
if (strncmp(path, home, l) != 0)
usr.bin/ssh/sshconnect.c
721
strncmp(l->hosts, HASH_MAGIC, strlen(HASH_MAGIC)) == 0 ?
usr.bin/systat/mbufs.c
162
if (strncmp(pname, "mcl", 3) != 0)
usr.bin/tcpbench/tcpbench.c
1095
strncmp(s, t->keyword, len) == 0) {
usr.bin/telnet/commands.c
1442
|| (strncmp(ep->value, "unix:", 5) == 0))) {
usr.bin/telnet/main.c
92
rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE;
usr.bin/tic/dump_entry.c
684
&& !strncmp(first, sep_trail, sizeof(sep_trail)-1)) \
usr.bin/tic/dump_entry.c
762
if (!strncmp(src + n, "%p", (size_t) 2)) {
usr.bin/tic/dump_entry.c
764
} else if (!strncmp(src + n, "%;", (size_t) 2)) {
usr.bin/tic/tic.c
1734
bool is_screen = !strncmp(name, "screen", 6);
usr.bin/tic/tic.c
2409
if ((*ti == '^') && !strncmp(tc, "\\136", 4)) {
usr.bin/tic/tic.c
2839
if (!strncmp(find, test, size) && strcmp(find, test)) {
usr.bin/tic/tic.c
3106
if (have >= need && !strncmp(value + 1, expect, need)) {
usr.bin/tic/transform.c
79
return (len_a == len_b) && (strncmp(a, b, len_a) == 0);
usr.bin/tmux/cmd-find.c
1317
if (strncmp(c->ttyname, _PATH_DEV, (sizeof _PATH_DEV) - 1) != 0)
usr.bin/tmux/cmd-find.c
283
if (strncmp(session, s_loop->name, strlen(session)) == 0) {
usr.bin/tmux/cmd-find.c
469
if (strncmp(window, wl->window->name, strlen(window)) == 0) {
usr.bin/tmux/cmd.c
448
if (n == wanted && strncmp(name, ov->string, n) == 0)
usr.bin/tmux/cmd.c
474
if (strncmp(entry->name, name, strlen(name)) != 0)
usr.bin/tmux/cmd.c
495
if (strncmp(entry->name, name, strlen(name)) != 0)
usr.bin/tmux/file.c
50
if (strncmp(file, "~/", 2) != 0)
usr.bin/tmux/input.c
2570
if (len >= prefixlen && strncmp(buf, prefix, prefixlen) == 0) {
usr.bin/tmux/input.c
2880
if (end - start >= 4 && strncmp(start, "id=", 3) == 0) {
usr.bin/tmux/layout-set.c
63
if (strncmp(layout_sets[i].name, name, strlen(name)) == 0) {
usr.bin/tmux/names.c
151
if (strncmp(name, "exec ", (sizeof "exec ") - 1) == 0)
usr.bin/tmux/options.c
690
if (strncmp(oe->name, name, namelen) == 0) {
usr.bin/tmux/status.c
1805
if (strncmp((*cmdent)->name, s, slen) == 0)
usr.bin/tmux/status.c
1808
strncmp((*cmdent)->alias, s, slen) == 0)
usr.bin/tmux/status.c
1819
if (slen > valuelen || strncmp(value, s, slen) != 0)
usr.bin/tmux/status.c
1833
if (strncmp(oe->name, s, slen) == 0)
usr.bin/tmux/status.c
1837
if (strncmp(*layout, s, slen) == 0)
usr.bin/tmux/status.c
1985
if (strncmp(tmp, word, strlen(word)) != 0) {
usr.bin/tmux/status.c
2075
if (*s == '\0' || strncmp(loop->name, s, strlen(s)) == 0) {
usr.bin/tmux/status.c
2082
strncmp(n, s + 1, strlen(s) - 1) == 0) {
usr.bin/tmux/status.c
2115
strncmp(word, "-t", 2) != 0 &&
usr.bin/tmux/status.c
2116
strncmp(word, "-s", 2) != 0) {
usr.bin/tmux/tmux.c
119
if (strncmp(path, "~/", 2) == 0) {
usr.bin/tmux/tty-keys.c
1633
if (strncmp(tmp, "iTerm2 ", 7) == 0)
usr.bin/tmux/tty-keys.c
1635
else if (strncmp(tmp, "tmux ", 5) == 0)
usr.bin/tmux/tty-keys.c
1637
else if (strncmp(tmp, "XTerm(", 6) == 0)
usr.bin/tmux/tty-keys.c
1639
else if (strncmp(tmp, "mintty ", 7) == 0)
usr.bin/tmux/tty-keys.c
1641
else if (strncmp(tmp, "foot(", 5) == 0)
usr.bin/tmux/tty-term.c
554
if (strncmp(ent->name, caps[i], namelen) != 0)
usr.bin/tmux/tty-term.c
636
if (tty_term_flag(term, TTYC_XT) || strncmp(s, "\033[", 2) == 0) {
usr.bin/tmux/tty.c
707
if (strcmp(s, "screen") != 0 && strncmp(s, "screen-", 7) != 0) {
usr.bin/tmux/utf8.c
340
if (strncmp(copy, "U+", 2) == 0) {
usr.bin/tmux/utf8.c
353
if (strncmp(endptr, "U+", 2) != 0) {
usr.bin/tmux/window-copy.c
3385
if (strncmp(command, "search-", 7) != 0 && data->searchmark != NULL) {
usr.bin/top/utils.c
113
if (strncmp(string, *array, strlen(string)) == 0)
usr.bin/top/utils.c
57
if (strncmp(str, "infinity", len) == 0 ||
usr.bin/top/utils.c
58
strncmp(str, "all", len) == 0 ||
usr.bin/top/utils.c
59
strncmp(str, "maximum", len) == 0) {
usr.bin/tput/tput.c
104
if (!strncmp(s, " -", 3)) {
usr.bin/tput/tput.c
107
} else if (!strncmp(s, "\n\nC", 3))
usr.bin/tset/tset.c
627
if (!strncmp("TERMCAP=", environ[n], (size_t) 8)) {
usr.bin/unifdef/unifdef.c
1069
if (strncmp(cp, op->str, strlen(op->str)) == 0)
usr.bin/unifdef/unifdef.c
1170
if (strncmp(cp, "\\\r\n", 3) == 0)
usr.bin/unifdef/unifdef.c
1172
else if (strncmp(cp, "\\\n", 2) == 0)
usr.bin/unifdef/unifdef.c
1176
if (strncmp(cp, "/\\\r\n", 4) == 0) {
usr.bin/unifdef/unifdef.c
1179
} else if (strncmp(cp, "/\\\n", 3) == 0) {
usr.bin/unifdef/unifdef.c
1182
} else if (strncmp(cp, "/*", 2) == 0) {
usr.bin/unifdef/unifdef.c
1185
} else if (strncmp(cp, "//", 2) == 0) {
usr.bin/unifdef/unifdef.c
1188
} else if (strncmp(cp, "\'", 1) == 0) {
usr.bin/unifdef/unifdef.c
1192
} else if (strncmp(cp, "\"", 1) == 0) {
usr.bin/unifdef/unifdef.c
1196
} else if (strncmp(cp, "\n", 1) == 0) {
usr.bin/unifdef/unifdef.c
1205
if (strncmp(cp, "\n", 1) == 0) {
usr.bin/unifdef/unifdef.c
1222
} else if (strncmp(cp, "\n", 1) == 0) {
usr.bin/unifdef/unifdef.c
1231
if (strncmp(cp, "*\\\r\n", 4) == 0) {
usr.bin/unifdef/unifdef.c
1234
} else if (strncmp(cp, "*\\\n", 3) == 0) {
usr.bin/unifdef/unifdef.c
1237
} else if (strncmp(cp, "*/", 2) == 0) {
usr.bin/unifdef/unifdef.c
833
if (strncmp(cp, "\\\r\n", 3) == 0 ||
usr.bin/unifdef/unifdef.c
834
strncmp(cp, "\\\n", 2) == 0)
usr.bin/units/units.c
476
if (!strncmp(prefixtable[i].prefixname, unit, len)) {
usr.bin/users/users.c
101
if (strncmp(names[cnt], names[cnt - 1], UT_NAMESIZE))
usr.bin/users/users.c
111
return(strncmp((char *) p, (char *) q, UT_NAMESIZE));
usr.bin/uudecode/uudecode.c
201
if (strncmp(p, "begin-base64 ", 13) == 0) {
usr.bin/uudecode/uudecode.c
204
} else if (strncmp(p, "begin ", 6) == 0)
usr.bin/uudecode/uudecode.c
328
if (strncmp(ptr, end, n) != 0 ||
usr.bin/vi/cl/cl_funcs.c
480
!strncmp(ttype, "xterm", sizeof("xterm") - 1)) {
usr.bin/vi/common/recover.c
541
if (strncmp(dp->d_name, "recover.", 8))
usr.bin/vi/common/recover.c
553
strncmp(file, VI_FHEADER, sizeof(VI_FHEADER) - 1) ||
usr.bin/vi/common/recover.c
556
strncmp(path, VI_PHEADER, sizeof(VI_PHEADER) - 1) ||
usr.bin/vi/common/recover.c
625
if (strncmp(dp->d_name, "recover.", 8))
usr.bin/vi/common/recover.c
636
strncmp(file, VI_FHEADER, sizeof(VI_FHEADER) - 1) ||
usr.bin/vi/common/recover.c
639
strncmp(path, VI_PHEADER, sizeof(VI_PHEADER) - 1) ||
usr.bin/vi/ex/ex_tag.c
427
if (!strncmp(arg, t, arglen))
usr.bin/w/w.c
185
strncmp(utmp.ut_name, sel_user, UT_NAMESIZE) != 0))
usr.bin/w/w.c
245
if (strncmp(ep->utmp.ut_line, "ftp", 3) == 0) {
usr.bin/w/w.c
320
strncmp(ep->utmp.ut_line, "tty", 3) ?
usr.bin/w/w.c
399
if (strncmp(*argv, "ftpd:", 5) == 0) {
usr.bin/wall/ttymsg.c
73
if ((strncmp(line, "ftp", 3) == 0) ||
usr.bin/wall/ttymsg.c
74
(strncmp(line, "uucp", 4) == 0))
usr.bin/whois/whois.c
230
len == 5 && strncmp(buf, "-- \r\n", 5) == 0)
usr.bin/write/write.c
131
if (strncmp(user, u.ut_name, sizeof(u.ut_name)) == 0 &&
usr.bin/write/write.c
132
strncmp(tty, u.ut_line, sizeof(u.ut_line)) == 0) {
usr.bin/write/write.c
167
if (strncmp(user, u.ut_name, sizeof(u.ut_name)) == 0) {
usr.bin/write/write.c
95
if (!strncmp(argv[2], _PATH_DEV, sizeof(_PATH_DEV) - 1))
usr.sbin/ac/ac.c
155
if (strncmp(name, tp->name, tp->len) == 0)
usr.sbin/ac/ac.c
158
if (strncmp(name, tp->name, sizeof (tp->name)) == 0)
usr.sbin/ac/ac.c
174
if (strncmp(up->name, name, sizeof (up->name) - 1) == 0) {
usr.sbin/ac/ac.c
317
if (*up->ut_line == '~' || strncmp(lp->usr.ut_line, up->ut_line,
usr.sbin/ac/ac.c
449
if (strncmp(usr.ut_line, "tty", 3) != 0 ||
usr.sbin/acme-client/netproc.c
86
if (strncmp(host, "https://", 8) == 0) {
usr.sbin/acme-client/parse.y
1034
if (strncmp(d->handle, s, DOMAIN_MAXLEN) == 0) {
usr.sbin/acme-client/parse.y
1047
if (strncmp(k->name, s, PATH_MAX) == 0) {
usr.sbin/acme-client/parse.y
997
if (strncmp(a->name, s, AUTH_MAXLEN) == 0) {
usr.sbin/amd/amd/host_ops.c
387
if (strncmp(pref, dir, len) != 0)
usr.sbin/amd/amd/info_union.c
61
return strncmp(map, UNION_PREFIX, UNION_PREFLEN) == 0 ? 0 : ENOENT;
usr.sbin/amd/amd/mount_fs.c
162
if (strncmp(opt, f, l) == 0)
usr.sbin/amd/amd/nfs_subr.c
351
else if (strncmp(argp->to.name, ".nfs", 4) == 0)
usr.sbin/arp/arp.c
300
if (strncmp(argv[0], "temp", 4) == 0) {
usr.sbin/arp/arp.c
307
} else if (strncmp(argv[0], "pub", 3) == 0) {
usr.sbin/arp/arp.c
310
} else if (strncmp(argv[0], "permanent", 9) == 0) {
usr.sbin/bgpctl/parser.c
553
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/bgpctl/parser.c
562
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/bgpctl/parser.c
635
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/bgpctl/parser.c
683
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/bgpctl/parser.c
699
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/bgpctl/parser.c
715
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/bgpctl/parser.c
774
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/bgpctl/parser.c
829
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/bgpctl/parser.c
840
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/bgpd/rde.c
3126
if (strncmp(s, n->descr, sizeof(n->descr)))
usr.sbin/bgpd/rde_rib.c
189
!strncmp(ribs[id]->name, name, sizeof(ribs[id]->name)))
usr.sbin/bgpd/session.c
1673
if (strncmp(s, n->descr, sizeof(n->descr)))
usr.sbin/bgplgd/qs.c
282
if (strncmp(qsargs[i].key, param, len) == 0)
usr.sbin/btrace/bt_parse.y
532
if (strncmp(bv->bv_name, UNNAMED_MAP, strlen(UNNAMED_MAP)) == 0)
usr.sbin/btrace/btrace.c
1487
result = strncmp(lstr, rstr, STRLEN) == 0;
usr.sbin/btrace/btrace.c
326
if (strncmp(dtpi->dtpi_prov, "tracepoint", DTNAMESIZE) == 0) {
usr.sbin/btrace/btrace.c
348
if (strncmp(dtpi->dtpi_prov, "syscall", DTNAMESIZE))
usr.sbin/btrace/btrace.c
373
if (strncmp(prov, dtpi->dtpi_prov, DTNAMESIZE))
usr.sbin/btrace/btrace.c
377
if (strncmp(func, dtpi_func(dtpi), DTNAMESIZE))
usr.sbin/btrace/btrace.c
379
if (strncmp(name, dtpi->dtpi_name, DTNAMESIZE))
usr.sbin/btrace/btrace.c
866
if (strncmp(argtype, "int", DTNAMESIZE) == 0) {
usr.sbin/btrace/map.c
52
return strncmp(me0->mkey, me1->mkey, KLEN - 1);
usr.sbin/config/files.c
134
strncmp(tail1, tail, dotp - tail)))
usr.sbin/cron/atrun.c
269
if (strncmp(line, "# atrun uid=", 12) != 0)
usr.sbin/cron/atrun.c
282
if (strncmp(ep, "gid=", 4) != 0)
usr.sbin/cron/atrun.c
291
if (strncmp(line, "# mail ", 7) != 0)
usr.sbin/cron/do_command.c
243
if (strncmp(*p, "PATH=", 5) == 0) {
usr.sbin/cron/env.c
96
if ((size_t)(q - p) == len && strncmp(p, name, len) == 0) {
usr.sbin/crunchgen/crunchgen.c
704
if (strncmp(line, "OBJS= ", 6)) {
usr.sbin/dvmrpctl/parser.c
164
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/dvmrpctl/parser.c
173
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/eigrpctl/parser.c
277
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/eigrpctl/parser.c
286
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/eigrpd/parse.y
1247
if (strncmp(ifa->ifa_name, "carp", 4) == 0)
usr.sbin/ftp-proxy/ftp-proxy.c
947
if ((s->cmd == CMD_PASV && strncmp("227 ", linebuf, 4) == 0) ||
usr.sbin/ftp-proxy/ftp-proxy.c
948
(s->cmd == CMD_EPSV && strncmp("229 ", linebuf, 4) == 0))
usr.sbin/gpioctl/gpioctl.c
96
if (strncmp(_PATH_DEV, dev, sizeof(_PATH_DEV) - 1)) {
usr.sbin/httpd/server_http.c
144
if (strncmp(ba->kv_value, "Basic ", strlen("Basic ")) != 0)
usr.sbin/httpd/server_http.c
202
if (strlen(version) != 8 || strncmp(version, "HTTP/", 5) != 0
usr.sbin/ikectl/parser.c
310
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/inetd/inetd.c
1126
if (strncmp(sep->se_proto, "rpc/", 4) == 0) {
usr.sbin/inetd/inetd.c
824
if (strncmp(sep->se_proto, "tcp", 3) == 0 && debug &&
usr.sbin/installboot/i386_installboot.c
818
if (strncmp(fssb.f_fstypename, "ffs", MFSNAMELEN) &&
usr.sbin/installboot/i386_installboot.c
819
strncmp(fssb.f_fstypename, "ufs", MFSNAMELEN) )
usr.sbin/installboot/softraid.c
106
if (strncmp(bi.bi_dev, "softraid0", sizeof("softraid0")))
usr.sbin/installboot/softraid.c
121
if (strncmp(dev, bv.bv_dev, sizeof(bv.bv_dev)) == 0) {
usr.sbin/iscsictl/parser.c
149
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/iscsictl/parser.c
158
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/iscsid/pdu.c
224
if (strncmp(buf, "None", len) == 0)
usr.sbin/iscsid/pdu.c
226
else if (strncmp(buf, "CRC32C", len) == 0)
usr.sbin/ldapd/ldapd.c
389
if (strncmp(oreq->path, datadir, strlen(datadir)) != 0) {
usr.sbin/ldapd/schema.c
826
} else if (strncmp(kw, "X-", 2) == 0) {
usr.sbin/ldomctl/config.c
1121
if (strncmp(path, path2, strlen(path)) != 0)
usr.sbin/ldomctl/config.c
1146
if (strncmp(path, subdevice->path, strlen(path)) != 0)
usr.sbin/ldomctl/config.c
2203
if (strncmp(path, path2, len < len2 ? len : len2) == 0)
usr.sbin/ldomd/ldomd.c
288
if (strncmp(name, "ldom-", 5) != 0 ||
usr.sbin/ldpctl/parser.c
235
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/ldpctl/parser.c
244
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/ldpd/parse.y
1647
if (strncmp(ifa->ifa_name, "carp", 4) == 0)
usr.sbin/lldpd/lldpd.c
1147
if (ifp != NULL && strncmp(ifp->if_key.if_name, ctx->ifname,
usr.sbin/lpd/lp_rmjob.c
196
if (strchr(line+1, '/') || strncmp(line+1, "df", 2))
usr.sbin/lpd/lpd.c
122
if (!strncmp(reexec, "printer:", 8))
usr.sbin/lpr/common_source/rmjob.c
221
if (strchr(line+1, '/') || strncmp(line+1, "df", 2))
usr.sbin/ndp/ndp.c
346
if (strncmp(argv[0], "temp", 4) == 0) {
usr.sbin/ndp/ndp.c
351
} else if (strncmp(argv[0], "proxy", 5) == 0)
usr.sbin/npppctl/parser.c
193
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/npppd/npppd/npppd.c
822
if (strncmp(ipcpstat->name, ipcp_name,
usr.sbin/npppd/npppd/npppd_radius.c
781
if (strlen(attr) != 16 || strncmp(buf, attr, 8) != 0) {
usr.sbin/npppd/npppd/npppd_subr.c
99
if (strncmp(line, "nameserver", 10) != 0)
usr.sbin/npppd/npppd/parse.y
969
if (strncmp(n->name, "pppx", 4) == 0)
usr.sbin/npppd/npppd/privsep.c
1070
if (strncmp(arg->path, NPPPD_DIR "/", l) == 0)
usr.sbin/npppd/npppd/privsep.c
977
return (strncmp(str, prefix, strlen(prefix)) == 0)? 1 : 0;
usr.sbin/nsd/difffile.c
1072
if(strncmp(patname, PATTERN_IMPLICIT_MARKER,
usr.sbin/nsd/dnstap/dnstap_collector.c
292
strncmp(nsd->options->dnstap_socket_path,
usr.sbin/nsd/ixfr.c
1750
if(strncmp(buf, "; zone ", 7) == 0) {
usr.sbin/nsd/ixfr.c
1757
} else if(strncmp(buf, "; from_serial ", 14) == 0) {
usr.sbin/nsd/ixfr.c
1760
} else if(strncmp(buf, "; to_serial ", 12) == 0) {
usr.sbin/nsd/ixfr.c
1763
} else if(strncmp(buf, "; data_size ", 12) == 0) {
usr.sbin/nsd/metrics.c
417
strncmp(rrtype_to_string(i), "TYPE", 4) == 0)
usr.sbin/nsd/nsd-checkconf.c
893
if (strncmp(opt->zonesdir, opt->chroot, strlen(opt->chroot)) != 0) {
usr.sbin/nsd/nsd-control.c
506
if(first_line && strncmp(buf, "error", 5) == 0)
usr.sbin/nsd/nsd.c
1383
if (strncmp(nsd.options->zonesdir, nsd.chrootdir, strlen(nsd.chrootdir)) != 0) {
usr.sbin/nsd/options.c
2425
strncmp("hmac-", q->tsig.algorithm->short_name, 5) != 0 ||
usr.sbin/nsd/options.c
2580
strncmp(zone->pattern->zonefile, nsd->chrootdir,
usr.sbin/nsd/options.c
2603
strncmp(f, nsd->chrootdir, strlen(nsd->chrootdir)) == 0)
usr.sbin/nsd/options.c
2806
if( (!dest->pname || strncmp(dest->pname, PATTERN_IMPLICIT_MARKER,
usr.sbin/nsd/options.c
2999
|| strncmp(ifa->ifa_name, search_ifa,
usr.sbin/nsd/options.c
559
strlen(ZONELIST_HEADER) || strncmp(hdr, ZONELIST_HEADER,
usr.sbin/nsd/options.c
573
if(strncmp(buf, "add ", 4) == 0) {
usr.sbin/nsd/options.c
598
} else if(strncmp(buf, "cat ", 4) == 0) {
usr.sbin/nsd/options.c
630
} else if(strncmp(buf, "del ", 4) == 0) {
usr.sbin/nsd/remote.c
1657
if(strncmp(pname, PATTERN_IMPLICIT_MARKER,
usr.sbin/nsd/remote.c
2166
if(strncmp(xfrd->nsd->chrootdir, cfgfile, l) != 0) {
usr.sbin/nsd/remote.c
2712
return strncmp(p,cmd,len)==0 && (p[len]==0||p[len]==' '||p[len]=='\t');
usr.sbin/nsd/remote.c
2824
if( r != 7 || strncmp(magic, "NSDCT", 5) != 0) {
usr.sbin/nsd/remote.c
3001
strncmp(rrtype_to_string(i), "TYPE", 4) == 0)
usr.sbin/nsd/simdzone/src/generic/format.h
231
else if (is_contiguous(token) && strncmp(token->data, "\\#", token->length) == 0)
usr.sbin/nsd/tsig.c
250
if(strncmp("hmac-", algorithm_entry->algorithm->short_name, 5) == 0 && tsig_strlowercmp(name, algorithm_entry->algorithm->short_name+5) == 0) {
usr.sbin/nsd/util.c
1070
return ((fname && fname[0] && strncmp(fname, chr, strlen(chr)) == 0) ||
usr.sbin/ntpd/ntpd.c
778
if (!strncmp(cmd, *list, strlen(cmd))) {
usr.sbin/ntpd/parse.y
379
if (strncmp("https://", $1,
usr.sbin/ocspcheck/ocspcheck.c
135
if (strncmp(host, "https://", 8) == 0) {
usr.sbin/ocspcheck/ocspcheck.c
141
} else if (strncmp(host, "http://", 7) == 0) {
usr.sbin/ospf6ctl/parser.c
199
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/ospf6ctl/parser.c
208
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/ospf6d/parse.y
1254
if (strncmp(ifa->ifa_name, "carp", 4) == 0)
usr.sbin/ospfctl/parser.c
198
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/ospfctl/parser.c
207
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/ospfd/parse.y
1472
if (strncmp(ifa->ifa_name, "carp", 4) == 0)
usr.sbin/pppd/auth.c
730
if (strncmp(tty, "/dev/", 5) == 0)
usr.sbin/pppd/auth.c
766
if (strncmp(tty, "/dev/", 5) == 0)
usr.sbin/pppd/chat/chat.c
1318
strncmp(s - report_len, report_string[n], report_len) == 0) {
usr.sbin/pppd/chat/chat.c
1345
strncmp(s - len, string, len) == 0) {
usr.sbin/pppd/chat/chat.c
1359
strncmp(s - abort_len, abort_string[n], abort_len) == 0) {
usr.sbin/pppd/main.c
1562
if (strncmp(p, var, vl) == 0 && p[vl] == '=') {
usr.sbin/pppd/options.c
1522
if (strncmp("/dev/", cp, 5) != 0) {
usr.sbin/pppd/options.c
656
if (strncmp(dev, "/dev/", 5) == 0)
usr.sbin/pstat/pstat.c
263
strncmp(mod, dformat, strlen(mod)) == 0)
usr.sbin/pstat/pstat.c
391
if (!strncmp(mp->mnt_stat.f_fstypename, MOUNT_FFS, MFSNAMELEN) ||
usr.sbin/pstat/pstat.c
392
!strncmp(mp->mnt_stat.f_fstypename, MOUNT_MFS, MFSNAMELEN)) {
usr.sbin/pstat/pstat.c
394
} else if (!strncmp(mp->mnt_stat.f_fstypename, MOUNT_NFS,
usr.sbin/pstat/pstat.c
397
} else if (!strncmp(mp->mnt_stat.f_fstypename, MOUNT_EXT2FS,
usr.sbin/pstat/pstat.c
411
if (!strncmp(mp->mnt_stat.f_fstypename, MOUNT_FFS, MFSNAMELEN) ||
usr.sbin/pstat/pstat.c
412
!strncmp(mp->mnt_stat.f_fstypename, MOUNT_MFS, MFSNAMELEN)) {
usr.sbin/pstat/pstat.c
414
} else if (!strncmp(mp->mnt_stat.f_fstypename, MOUNT_NFS, MFSNAMELEN)) {
usr.sbin/pstat/pstat.c
416
} else if (!strncmp(mp->mnt_stat.f_fstypename, MOUNT_EXT2FS,
usr.sbin/quot/quot.c
624
if (strncmp(nm, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0 &&
usr.sbin/ractl/parser.c
121
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/radiusctl/parser.c
236
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/radiusctl/parser.c
363
strncmp(word, table[i].keyword, wordlen) == 0) {
usr.sbin/radiusd/radiusd_bsdauth.c
312
} else if (strncmp(name, "_", 1) == 0)
usr.sbin/radiusd/radiusd_eap2mschap.c
125
else if (strncmp(name, "_", 1) == 0)
usr.sbin/radiusd/radiusd_file.c
311
} else if (strncmp(name, "_", 1) == 0)
usr.sbin/radiusd/radiusd_ipcp.c
1479
if (strncmp(keybuf, "ipv4/", 5) != 0)
usr.sbin/radiusd/radiusd_ipcp.c
555
else if (strncmp(name, "_", 1) == 0)
usr.sbin/radiusd/radiusd_radius.c
225
else if (strncmp(paramname, "_", 1) == 0)
usr.sbin/radiusd/radiusd_standard.c
201
} else if (strncmp(name, "_", 1) == 0)
usr.sbin/rarpd/rarpd.c
168
if (!strncmp(p->ii_name, ifname, IFNAMSIZ))
usr.sbin/rarpd/rarpd.c
427
if (strncmp(dent->d_name, ipname, 8) == 0)
usr.sbin/rbootd/defs.h
58
#define STRNEQN(s1,s2,n) ((*s1 == *s2) && (strncmp(s1,s2,n) == 0))
usr.sbin/relayctl/parser.c
183
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/relayd/check_tcp.c
364
if (strncmp(head, "HTTP/1.1 ", strlen("HTTP/1.1 ")) &&
usr.sbin/relayd/check_tcp.c
365
strncmp(head, "HTTP/1.0 ", strlen("HTTP/1.0 "))) {
usr.sbin/relayd/parse.y
873
if (!strncmp($1, "0x", 2)) {
usr.sbin/ripctl/parser.c
171
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/ripctl/parser.c
180
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/rmt/rmt.c
146
if (strncmp(dir, devp, dirlen) == 0 &&
usr.sbin/rpc.bootparamd/bootparamd.c
329
if (!strncmp(word, id, idlen) && word[idlen] == '=') {
usr.sbin/rpki-client/constraints.c
393
if (strncmp(p, "allow", strlen("allow")) == 0) {
usr.sbin/rpki-client/constraints.c
414
} else if (strncmp(p, "deny", strlen("deny")) == 0) {
usr.sbin/rpki-client/filemode.c
108
if (strncmp(uri, RSYNC_PROTO, RSYNC_PROTO_LEN) != 0) {
usr.sbin/rpki-client/filemode.c
143
if (strncmp(uri, RSYNC_PROTO, RSYNC_PROTO_LEN) != 0) {
usr.sbin/rpki-client/filemode.c
450
if (strncmp(file, RSYNC_PROTO, RSYNC_PROTO_LEN) == 0) {
usr.sbin/rpki-client/http.c
1274
if (strncmp(buf, HTTP_11, strlen(HTTP_11)) == 0)
usr.sbin/rpki-client/main.c
462
if (!filemode || strncmp(file, RSYNC_PROTO, RSYNC_PROTO_LEN) != 0) {
usr.sbin/rpki-client/main.c
523
if (strncmp(cert->repo, RSYNC_PROTO, RSYNC_PROTO_LEN) != 0)
usr.sbin/rpki-client/main.c
558
if (strncmp(repouri, cert->mft, repourisz) != 0) {
usr.sbin/rpki-client/repo.c
1531
if (strncmp(file, ".rsync/", strlen(".rsync/")) == 0 ||
usr.sbin/rpki-client/repo.c
1532
strncmp(file, ".rrdp/", strlen(".rrdp/")) == 0)
usr.sbin/rpki-client/repo.c
1752
if (strncmp(fp->file, ".rsync/", rsyncsz) != 0 &&
usr.sbin/rpki-client/repo.c
1753
strncmp(fp->file, ".rrdp/", rrdpsz) != 0 &&
usr.sbin/rpki-client/repo.c
1754
strncmp(fp->file, ".ta/", tasz) != 0)
usr.sbin/rpki-client/repo.c
1757
if (strncmp(fp->file, ".rsync/", rsyncsz) == 0) {
usr.sbin/rpki-client/repo.c
1759
} else if (strncmp(fp->file, ".ta/", tasz) == 0) {
usr.sbin/rpki-client/repo.c
637
if (strncmp(uri, rp->repouri, strlen(rp->repouri)) == 0)
usr.sbin/sasyncd/conf.y
308
if (!strncmp(p, "0x", 2)) {
usr.sbin/slaacctl/parser.c
160
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/smtpd/crypto.c
355
if (declen != 0 && !strncmp(argv[2], decbuffer, declen))
usr.sbin/smtpd/lka_filter.c
1342
if (strncmp(hook, "smtp-in|", 8) == 0) {
usr.sbin/smtpd/lka_filter.c
1346
else if (strncmp(hook, "smtp-out|", 9) == 0) {
usr.sbin/smtpd/lka_filter.c
1735
if (strncmp(direction, "smtp-in|", 8) == 0) {
usr.sbin/smtpd/lka_filter.c
1739
} else if (strncmp(direction, "smtp-out|", 9) == 0) {
usr.sbin/smtpd/lka_filter.c
272
if (strncmp(line, "register|report|", 16) == 0) {
usr.sbin/smtpd/lka_filter.c
277
if (strncmp(line, "register|filter|", 16) == 0) {
usr.sbin/smtpd/lka_filter.c
296
if (strncmp("register|", line, 9) == 0) {
usr.sbin/smtpd/lka_filter.c
305
else if (strncmp(line, "filter-result|", 14) == 0 ||
usr.sbin/smtpd/lka_filter.c
306
strncmp(line, "filter-dataline|", 16) == 0)
usr.sbin/smtpd/lka_filter.c
308
else if (strncmp(line, "report|", 7) == 0)
usr.sbin/smtpd/lka_filter.c
658
if (strncmp(kind, "filter-dataline|", 16) == 0) {
usr.sbin/smtpd/lka_filter.c
682
if (strncmp(response, "rewrite|", 8) == 0)
usr.sbin/smtpd/lka_filter.c
684
else if (strncmp(response, "reject|", 7) == 0)
usr.sbin/smtpd/lka_filter.c
686
else if (strncmp(response, "disconnect|", 11) == 0)
usr.sbin/smtpd/lka_filter.c
688
else if (strncmp(response, "report|", 7) == 0)
usr.sbin/smtpd/mail.mboxfile.c
81
if (strncmp(line, "From ", 5) == 0)
usr.sbin/smtpd/makemap.c
119
if (strncmp(optarg, "AliasFile=", 10) != 0)
usr.sbin/smtpd/mda_variables.c
260
if (strncmp(pbuf, "~/", 2) == 0) {
usr.sbin/smtpd/mta_session.c
1266
else if (strncmp(msg, "AUTH ", 5) == 0) {
usr.sbin/smtpd/mta_session.c
1279
else if (strncmp(msg, "SIZE ", 5) == 0) {
usr.sbin/smtpd/mta_session.c
976
if (strncmp(line, "334 ", 4) != 0) {
usr.sbin/smtpd/mta_session.c
986
if (strncmp(line, "334 ", 4) != 0) {
usr.sbin/smtpd/parse.y
708
if (strncmp($2, "~/", 2) == 0)
usr.sbin/smtpd/parse.y
716
if (strncmp($2, "~/", 2) == 0)
usr.sbin/smtpd/queue_fs.c
339
strncmp(dp->d_name, msgid_str, 8))
usr.sbin/smtpd/smtp_client.c
519
if (strncmp(line, "334 ", 4))
usr.sbin/smtpd/smtp_client.c
526
if (strncmp(line, "334 ", 4))
usr.sbin/smtpd/smtp_client.c
720
else if (strncmp(msg, "AUTH ", 5) == 0) {
usr.sbin/smtpd/smtp_client.c
733
else if (strncmp(msg, "SIZE ", 5) == 0) {
usr.sbin/smtpd/smtp_session.c
1000
if (!strncmp(filter_param, "421", 3))
usr.sbin/smtpd/smtpctl.c
1120
if (strncmp(argv[i], "-bi", 3) == 0)
usr.sbin/smtpd/srs.c
220
if (strncmp(md, rcpt, 4) != 0) {
usr.sbin/smtpd/srs.c
225
if (strncmp(md, rcpt, 4) != 0)
usr.sbin/smtpd/srs.c
288
if (strncmp(md, rcpt, 4) != 0) {
usr.sbin/smtpd/srs.c
293
if (strncmp(md, rcpt, 4) != 0)
usr.sbin/smtpd/table.c
494
if (strncmp(pattern, "(?i)", 4) == 0) {
usr.sbin/smtpd/table_proc.c
105
if (strncmp(l, priv->lastid, len) != 0)
usr.sbin/smtpd/table_proc.c
155
if (strncmp(priv->line, "register|", 9) != 0)
usr.sbin/smtpd/table_proc.c
191
if (!strncmp(r, "error", 5)) {
usr.sbin/smtpd/table_proc.c
240
if (!strncmp(r, "error", 5)) {
usr.sbin/smtpd/table_proc.c
251
if (!strncmp(r, "found", 5))
usr.sbin/smtpd/table_proc.c
258
if (strncmp(r, "found|", 6) != 0) {
usr.sbin/smtpd/table_proc.c
283
if (!strncmp(r, "error", 5)) {
usr.sbin/smtpd/table_proc.c
292
if (strncmp(r, "found|", 6) != 0) {
usr.sbin/smtpd/table_proc.c
96
if (strncmp(l, type, len) != 0)
usr.sbin/syslogd/privsep.c
387
if (strncmp(protoname, "udp", 3) == 0) {
usr.sbin/syslogd/privsep.c
390
} else if (strncmp(protoname, "tcp", 3) == 0) {
usr.sbin/syslogd/privsep.c
543
if (strcmp(_PATH_CONSOLE, tty) && strncmp(tty, ttypre, strlen(ttypre)))
usr.sbin/syslogd/syslogd.c
1592
(strncmp(f->f_un.f_forw.f_ipproto, "udp", 3) == 0 ? NI_DGRAM : 0));
usr.sbin/syslogd/syslogd.c
2297
if (!strncmp(f->f_un.f_uname[i], ut.ut_name,
usr.sbin/syslogd/syslogd.c
2869
port = strncmp(proto, "tls", 3) == 0 ?
usr.sbin/syslogd/syslogd.c
2891
if (strncmp(proto, "udp", 3) == 0) {
usr.sbin/syslogd/syslogd.c
2909
} else if (strncmp(ipproto, "tcp", 3) == 0) {
usr.sbin/syslogd/syslogd.c
2929
f->f_type = (strncmp(proto, "tls", 3) == 0) ?
usr.sbin/syslogd/ttymsg.c
91
if ((strncmp(utline, "ftp", 3) == 0) ||
usr.sbin/syslogd/ttymsg.c
92
(strncmp(utline, "uucp", 4) == 0))
usr.sbin/unbound/daemon/cachedump.c
458
if(strncmp((char*)sldns_buffer_begin(buf), "BADRR\n", 6) == 0) {
usr.sbin/unbound/daemon/cachedump.c
585
if(strncmp(s, ";rrset", 6) != 0) {
usr.sbin/unbound/daemon/cachedump.c
590
if(strncmp(s, " nsec_apex", 10) == 0) {
usr.sbin/unbound/daemon/cachedump.c
717
if(strncmp(s, "BADREF", 6) == 0) {
usr.sbin/unbound/daemon/cachedump.c
766
if(strncmp(s, "msg ", 4) != 0) {
usr.sbin/unbound/daemon/remote.c
3893
return strncmp(p,cmd,len)==0 && (p[len]==0||p[len]==' '||p[len]=='\t');
usr.sbin/unbound/daemon/remote.c
4212
if( r != 6 || strncmp(magic, "UBCT", 4) != 0) {
usr.sbin/unbound/daemon/unbound.c
231
strncmp(ub_event_get_version(), "mini-event", 10) == 0) {
usr.sbin/unbound/daemon/unbound.c
245
strncmp(ub_event_get_version(), "winsock-event", 13) == 0) {
usr.sbin/unbound/daemon/unbound.c
565
strncmp(cfg->pidfile, cfg->chrootdir,
usr.sbin/unbound/daemon/unbound.c
636
if(strncmp(*cfgfile, cfg->chrootdir,
usr.sbin/unbound/daemon/unbound.c
642
strncmp(daemon->pidfile, cfg->chrootdir,
usr.sbin/unbound/daemon/unbound.c
661
strncmp(dir, cfg->chrootdir,
usr.sbin/unbound/dnscrypt/dnscrypt.c
563
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm,
usr.sbin/unbound/dnstap/dnstap.c
163
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(p,
usr.sbin/unbound/dnstap/dtstream.c
363
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm,
usr.sbin/unbound/iterator/iter_hints.c
431
strncmp(p->str, cfg->chrootdir,
usr.sbin/unbound/libunbound/libunbound.c
1201
if(strncmp(parse, "nameserver", 10) == 0) {
usr.sbin/unbound/services/authzone.c
1491
if(strncmp((char*)rr, "$INCLUDE ", 9) == 0 ||
usr.sbin/unbound/services/authzone.c
1492
strncmp((char*)rr, "$INCLUDE\t", 9) == 0) {
usr.sbin/unbound/services/authzone.c
1506
strncmp(incfile, cfg->chrootdir,
usr.sbin/unbound/services/authzone.c
1577
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(zfilename,
usr.sbin/unbound/services/authzone.c
4525
if(strncmp(line, "$ORIGIN", 7) == 0 &&
usr.sbin/unbound/services/authzone.c
4545
if(strncmp(line, "$TTL", 4) == 0 &&
usr.sbin/unbound/services/authzone.c
5226
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(zfilename,
usr.sbin/unbound/services/authzone.c
7236
if(strncmp(p, "http://", 7) == 0) {
usr.sbin/unbound/services/authzone.c
7240
} else if(strncmp(p, "https://", 8) == 0) {
usr.sbin/unbound/services/listen_dnsport.c
1726
|| strncmp(ifa->ifa_name, search_ifa,
usr.sbin/unbound/services/modstack.c
225
if(strncmp(names[i], s, strlen(names[i])) == 0) {
usr.sbin/unbound/services/modstack.c
270
if(strncmp(stack->mod[i]->name, module_conf,
usr.sbin/unbound/sldns/parse.c
255
if (strncmp(fkeyword, keyword, LDNS_MAX_KEYWORDLEN - 1) == 0) {
usr.sbin/unbound/sldns/parse.c
512
if (strncmp(fkeyword, keyword, strlen(keyword)) == 0) {
usr.sbin/unbound/sldns/str2wire.c
1053
if(strncmp(line, "$ORIGIN", 7) == 0 && isspace((unsigned char)line[7])) {
usr.sbin/unbound/sldns/str2wire.c
1064
} else if(strncmp(line, "$TTL", 4) == 0 && isspace((unsigned char)line[4])) {
usr.sbin/unbound/sldns/str2wire.c
1075
} else if (strncmp(line, "$INCLUDE", 8) == 0) {
usr.sbin/unbound/sldns/str2wire.c
1080
} else if (strncmp(line, "$", 1) == 0) {
usr.sbin/unbound/sldns/str2wire.c
1116
if (key_len >= 4 && key_len <= 8 && !strncmp(key, "key", 3)) {
usr.sbin/unbound/sldns/str2wire.c
1128
if (!strncmp(key, "ech", key_len))
usr.sbin/unbound/sldns/str2wire.c
1133
if (!strncmp(key, "alpn", key_len))
usr.sbin/unbound/sldns/str2wire.c
1135
if (!strncmp(key, "port", key_len))
usr.sbin/unbound/sldns/str2wire.c
1140
if (!strncmp(key, "dohpath", key_len))
usr.sbin/unbound/sldns/str2wire.c
1145
if (!strncmp(key, "ipv4hint", key_len))
usr.sbin/unbound/sldns/str2wire.c
1147
if (!strncmp(key, "ipv6hint", key_len))
usr.sbin/unbound/sldns/str2wire.c
1152
if (!strncmp(key, "mandatory", key_len))
usr.sbin/unbound/sldns/str2wire.c
1154
if (!strncmp(key, "echconfig", key_len))
usr.sbin/unbound/sldns/str2wire.c
1159
if (!strncmp(key, "no-default-alpn", key_len))
usr.sbin/unbound/sldns/str2wire.c
784
if(token_strlen>=2 && strncmp(token, "\\#", 2) == 0 &&
usr.sbin/unbound/smallapp/unbound-anchor.c
2054
if(strncmp(line, ";;REVOKED", 9) == 0) {
usr.sbin/unbound/smallapp/unbound-anchor.c
2197
if(strncmp(line, ";;last_success: ", 16) == 0) {
usr.sbin/unbound/smallapp/unbound-checkconf.c
160
if(strncmp(a, "127.", 4) == 0) return 1;
usr.sbin/unbound/smallapp/unbound-checkconf.c
161
if(strncmp(a, "::1", 3) == 0) return 1;
usr.sbin/unbound/smallapp/unbound-checkconf.c
658
if(strncmp(names[i], s, strlen(names[i])) == 0) {
usr.sbin/unbound/smallapp/unbound-control.c
918
if(first_line && strncmp(buf, "error", 5) == 0) {
usr.sbin/unbound/testcode/doqclient.c
2115
if(strncmp(line, "initial_max_streams_bidi=", 25) == 0) {
usr.sbin/unbound/testcode/doqclient.c
2119
if(strncmp(line, "initial_max_streams_uni=", 24) == 0) {
usr.sbin/unbound/testcode/doqclient.c
2123
if(strncmp(line, "initial_max_stream_data_bidi_local=", 35) == 0) {
usr.sbin/unbound/testcode/doqclient.c
2127
if(strncmp(line, "initial_max_stream_data_bidi_remote=", 36) == 0) {
usr.sbin/unbound/testcode/doqclient.c
2131
if(strncmp(line, "initial_max_stream_data_uni=", 28) == 0) {
usr.sbin/unbound/testcode/doqclient.c
2135
if(strncmp(line, "initial_max_data=", 17) == 0) {
usr.sbin/unbound/testcode/doqclient.c
2139
if(strncmp(line, "active_connection_id_limit=", 27) == 0) {
usr.sbin/unbound/testcode/doqclient.c
2143
if(strncmp(line, "max_datagram_frame_size=", 24) == 0) {
usr.sbin/unbound/testcode/replay.c
212
if(strncmp(line, "FILE_END", 8) == 0) {
usr.sbin/unbound/testcode/replay.c
79
if(strncmp(*line, keyword, len) == 0) {
usr.sbin/unbound/testcode/replay.c
824
} else if(strncmp(buf, "ctime ", 6) == 0 ||
usr.sbin/unbound/testcode/replay.c
825
strncmp(buf, "ctime\t", 6) == 0) {
usr.sbin/unbound/testcode/replay.c
828
} else if(strncmp(buf, "range ", 6) == 0 ||
usr.sbin/unbound/testcode/replay.c
829
strncmp(buf, "range\t", 6) == 0) {
usr.sbin/unbound/testcode/replay.c
839
if(strncmp(at, "${", 2) == 0) {
usr.sbin/unbound/testcode/replay.c
858
if(strncmp(buf, "ctime", 5) == 0) {
usr.sbin/unbound/testcode/replay.c
860
} else if(strncmp(buf, "range", 5) == 0) {
usr.sbin/unbound/testcode/testbound.c
186
if(strncmp(parse, "$INCLUDE_TEMPFILE", 17) == 0) {
usr.sbin/unbound/testcode/testbound.c
196
if(strncmp(parse, "TEMPFILE_END", 12) == 0) {
usr.sbin/unbound/testcode/testbound.c
233
if(strncmp(parse, "AUTOTRUST_END", 13) == 0) {
usr.sbin/unbound/testcode/testbound.c
275
if(strncmp(parse, "COMMANDLINE", 11) == 0) {
usr.sbin/unbound/testcode/testbound.c
280
if(strncmp(parse, "AUTOTRUST_FILE", 14) == 0) {
usr.sbin/unbound/testcode/testbound.c
284
if(strncmp(parse, "TEMPFILE_NAME", 13) == 0) {
usr.sbin/unbound/testcode/testbound.c
288
if(strncmp(parse, "TEMPFILE_CONTENTS", 17) == 0) {
usr.sbin/unbound/testcode/testbound.c
292
if(strncmp(parse, "CONFIG_END", 10) == 0) {
usr.sbin/unbound/testcode/testbound.c
296
if(strncmp(parse, "fake-sha1: yes", 14) == 0) {
usr.sbin/unbound/testcode/testpkts.c
81
if(strncmp(*str, keyword, len) != 0)
usr.sbin/unbound/testcode/unitauth.c
705
if(strncmp(buf1, "end_of_check", 12) == 0) {
usr.sbin/unbound/testcode/unitmsgparse.c
480
if(strncmp(np, ";--", 3) == 0) {
usr.sbin/unbound/testcode/unitverify.c
276
if(strncmp((char*)qinfo.qname, "\003yes", 4) == 0) {
usr.sbin/unbound/testcode/unitverify.c
281
} else if (strncmp((char*)qinfo.qname, "\002no", 3) == 0) {
usr.sbin/unbound/util/config_file.c
2544
strncmp(cfg->chrootdir, fname, strlen(cfg->chrootdir)) == 0) {
usr.sbin/unbound/util/config_file.c
2567
strncmp(cfg->chrootdir, cfg->directory,
usr.sbin/unbound/util/config_file.c
2591
strncmp(cfg->chrootdir, fname, strlen(cfg->chrootdir)) == 0) {
usr.sbin/unbound/util/config_file.c
2617
strncmp(cfg->chrootdir, cfg->directory,
usr.sbin/unbound/util/configparser.y
1377
strncmp(d, cfg_parser->chroot, strlen(
usr.sbin/unbound/util/log.c
145
if(chrootdir && chrootdir[0] && strncmp(filename, chrootdir,
usr.sbin/unbound/util/net_help.c
472
if(hash && strncmp(s+1,"0#",2)!=0)
usr.sbin/unbound/util/net_help.c
518
if(hash && strncmp(s+1,"0#",2)!=0)
usr.sbin/unbound/validator/autotrust.c
858
if(strncmp(line, ";;id: ", 6) == 0) {
usr.sbin/unbound/validator/autotrust.c
862
} else if(strncmp(line, ";;REVOKED", 9) == 0) {
usr.sbin/unbound/validator/autotrust.c
868
} else if(strncmp(line, ";;last_queried: ", 16) == 0) {
usr.sbin/unbound/validator/autotrust.c
873
} else if(strncmp(line, ";;last_success: ", 16) == 0) {
usr.sbin/unbound/validator/autotrust.c
878
} else if(strncmp(line, ";;next_probe_time: ", 19) == 0) {
usr.sbin/unbound/validator/autotrust.c
887
} else if(strncmp(line, ";;query_failed: ", 16) == 0) {
usr.sbin/unbound/validator/autotrust.c
892
} else if(strncmp(line, ";;query_interval: ", 18) == 0) {
usr.sbin/unbound/validator/autotrust.c
897
} else if(strncmp(line, ";;retry_time: ", 14) == 0) {
usr.sbin/unbound/validator/autotrust.c
913
if(strncmp(line, "$ORIGIN", 7) != 0)
usr.sbin/unbound/validator/val_anchor.c
1081
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm,
usr.sbin/unbound/validator/val_anchor.c
1094
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm,
usr.sbin/unbound/validator/val_anchor.c
1118
if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm,
usr.sbin/unbound/validator/val_anchor.c
751
if(rdlen != 12 || strncmp((char*)sldns_buffer_begin(buffer),
usr.sbin/unwindctl/parser.c
133
if (word != NULL && strncmp(word, table[i].keyword,
usr.sbin/user/user.c
1433
if (strncmp(buf, name, len) == 0 && buf[len] == ':') {
usr.sbin/user/user.c
1565
if (strncmp(pwp->pw_passwd, pwlock_str, sizeof(pwlock_str)-1) != 0) {
usr.sbin/user/user.c
1586
if (strncmp(pwp->pw_passwd, pwlock_str, sizeof(pwlock_str)-1) == 0) {
usr.sbin/user/user.c
1684
if (strncmp(login_name, buf, loginc) == 0 && loginc == colonc) {
usr.sbin/user/user.c
528
if (entc == groupc && strncmp(group, buf, entc) == 0) {
usr.sbin/user/user.c
653
if (strncmp(groups[i], buf, j) == 0 &&
usr.sbin/user/user.c
869
if (strncmp(s, "group", 5) == 0) {
usr.sbin/user/user.c
873
} else if (strncmp(s, "base_dir", 8) == 0) {
usr.sbin/user/user.c
877
} else if (strncmp(s, "skel_dir", 8) == 0) {
usr.sbin/user/user.c
881
} else if (strncmp(s, "shell", 5) == 0) {
usr.sbin/user/user.c
885
} else if (strncmp(s, "password", 8) == 0) {
usr.sbin/user/user.c
889
} else if (strncmp(s, "class", 5) == 0) {
usr.sbin/user/user.c
893
} else if (strncmp(s, "inactive", 8) == 0) {
usr.sbin/user/user.c
902
} else if (strncmp(s, "range", 5) == 0) {
usr.sbin/user/user.c
906
} else if (strncmp(s, "preserve", 8) == 0) {
usr.sbin/user/user.c
909
up->u_preserve = (strncmp(cp, "true", 4) == 0) ? 1 :
usr.sbin/user/user.c
910
(strncmp(cp, "yes", 3) == 0) ? 1 :
usr.sbin/user/user.c
912
} else if (strncmp(s, "expire", 6) == 0) {
usr.sbin/vmctl/main.c
146
if (strncmp(ctl_commands[i].name,
usr.sbin/vmctl/main.c
447
strncmp(buf, VM_MAGIC_QCOW,
usr.sbin/vmd/parse.y
1383
strncmp(buf, VM_MAGIC_QCOW,
usr.sbin/vmd/vioqcow2.c
153
if (strncmp(header.magic, VM_MAGIC_QCOW, strlen(VM_MAGIC_QCOW)) != 0) {
usr.sbin/vmd/vioqcow2.c
223
if (strncmp(header.magic, VM_MAGIC_QCOW, strlen(VM_MAGIC_QCOW)) != 0)
usr.sbin/vmd/vioqcow2.c
668
if (strncmp(basehdr.magic,
usr.sbin/wsmoused/mouse_protocols.c
172
if (strncmp(tab[i].name, s, len) == 0)
usr.sbin/wsmoused/mouse_protocols.c
506
if (strncmp(s, &buf[len - 3], 2) != 0) {
usr.sbin/wsmoused/mouse_protocols.c
528
if (strncmp(id->class, "MOUSE", id->nclass) != 0)
usr.sbin/ypldap/aldap.c
1039
if (strncmp(attr_val, "*)", 2) == 0) {
usr.sbin/ypldap/yp.c
512
if (strncmp(bp, "unix.", strlen("unix.")) != 0) {
usr.sbin/ypserv/mkalias/mkalias.c
249
if (strncmp(key.dptr, "YP_", 3)==0) /* YP token */
usr.sbin/ypserv/ypserv/ypserv_db.c
108
strncmp(key.dptr, YP_LAST_KEY, YP_LAST_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
111
strncmp(key.dptr, YP_INPUT_KEY, YP_INPUT_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
114
strncmp(key.dptr, YP_OUTPUT_KEY, YP_OUTPUT_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
117
strncmp(key.dptr, YP_MASTER_KEY, YP_MASTER_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
120
strncmp(key.dptr, YP_DOMAIN_KEY, YP_DOMAIN_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
123
strncmp(key.dptr, YP_INTERDOMAIN_KEY, YP_INTERDOMAIN_LEN) == 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
126
strncmp(key.dptr, YP_SECURE_KEY, YP_SECURE_LEN) == 0)
usr.sbin/zdump/zdump.c
227
if (strncmp(environ[from], "TZ=", 3) != 0)