Searched refs:strncmp (Results 126 - 150 of 1397) sorted by relevance

1234567891011>>

/freebsd-11-stable/sbin/ipfw/
H A Dmain.c369 if (!strncmp(*av, "nat", strlen(*av)))
371 else if (!strncmp(*av, "pipe", strlen(*av)))
379 else if (!strncmp(*av, "set", strlen(*av))) {
432 else if (!strncmp(*av, "nat64clat", strlen(*av)))
434 else if (!strncmp(*av, "nat64stl", strlen(*av)))
436 else if (!strncmp(*av, "nat64lsn", strlen(*av)))
438 else if (!strncmp(*av, "nptv6", strlen(*av)))
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dgpg_agent.c217 return (strncmp(buf, "OK", 2) == 0);
365 if (strncmp(buffer, "OK", 2) != 0)
385 if (strncmp(buffer, "D", 1) == 0)
406 if (strncmp(buffer, "OK", 2) != 0)
537 if (strncmp(buffer, "ERR", 3) == 0)
541 if (strncmp(buffer, "D", 1) == 0)
678 if (strncmp(buffer, "OK\n", 3) != 0)
/freebsd-11-stable/sys/dev/hptmv/
H A Dhptproc.c68 if (length>=8 && strncmp(buffer, "rebuild ", 8)==0)
72 if (length>=5 && strncmp(buffer, "start", 5)==0)
85 else if (length>=4 && strncmp(buffer, "stop", 4)==0)
170 else if (length>=7 && strncmp(buffer, "verify ", 7)==0)
174 if (length>=6 && strncmp(buffer, "start ", 6)==0)
209 else if (length>=5 && strncmp(buffer, "stop ", 5)==0)
237 if (length>=10 && strncmp(buffer, "writeback ", 10)==0) {
253 else if (length>=9 && strncmp(buffer, "dbglevel ", 9)==0) {
262 else if (length>=8 && strncmp(buffer, "disable ", 8)==0) {
288 if (strncmp(buffe
[all...]
/freebsd-11-stable/contrib/gdb/gdb/mi/
H A Dmi-cmd-var.c192 if (strncmp (formspec, "natural", len) == 0)
194 else if (strncmp (formspec, "binary", len) == 0)
196 else if (strncmp (formspec, "decimal", len) == 0)
198 else if (strncmp (formspec, "hexadecimal", len) == 0)
200 else if (strncmp (formspec, "octal", len) == 0)
/freebsd-11-stable/contrib/tnftp/src/
H A Dcomplete.c152 if (strncmp(word, c->c_name, wordlen) == 0)
217 if (strncmp(file, dp->d_name, len) == 0) {
264 if (strncmp(word, o->name, wordlen) == 0)
348 if (strncmp(file, cp, strlen(file)) == 0)
386 && strncmp(word, margv[cursor_argc] ? margv[cursor_argc] : "",
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_ucast_file.c164 if (!strncmp(p, "Multicast mlids", 15)) {
170 } else if (!strncmp(p, "Unicast lids", 12)) {
198 } else if (p_sw && !strncmp(p, "0x", 2)) {
305 if (!strncmp(p, "Switch", 6)) {
332 } else if (p_sw && !strncmp(p, "0x", 2)) {
/freebsd-11-stable/usr.sbin/flowctl/
H A Dflowctl.c167 if (!strncmp(argv[0], cmds[i].cmd_name, strlen(argv[0]))) {
187 if (argc > 0 && !strncmp(argv[0], "ipv4", 4)) {
192 if (argc > 0 && !strncmp(argv[0], "ipv6", 4)) {
198 if (argc > 0 && !strncmp(argv[0], "verbose", strlen(argv[0])))
201 if (argc > 0 && !strncmp(argv[0], "human", strlen(argv[0])))
/freebsd-11-stable/contrib/binutils/gas/config/
H A Dtc-sparc.c474 if (strncmp (arg, "v9", 2) != 0)
1576 if (strncmp (p->name, s, len) == 0)
1612 if (strncmp (p->name, s, len) == 0)
1648 if (strncmp (p->name, s, len) == 0)
1685 if (strncmp (s, "%asr", 4) == 0)
1786 if (strncmp (s, "%icc", 4) == 0)
1798 if (strncmp (s, "%xcc", 4) == 0)
1810 if (strncmp (s, "%fcc0", 5) == 0)
1822 if (strncmp (s, "%fcc1", 5) == 0)
1834 if (strncmp (
[all...]
/freebsd-11-stable/sbin/pfctl/
H A Dpfctl_altq.c121 if (strncmp(ifname, altq->ifname, IFNAMSIZ) == 0 &&
134 if (strncmp(ifname, altq->ifname, IFNAMSIZ) == 0 &&
135 strncmp(qname, altq->qname, PF_QNAME_SIZE) == 0)
153 if (strncmp(qname, altq->qname, PF_QNAME_SIZE) == 0)
391 if (strncmp(altq->ifname, pa->ifname,
394 strncmp(altq->parent, pa->parent,
569 if (strncmp(altq->ifname, pa->ifname, IFNAMSIZ) != 0)
640 if (strncmp(altq->ifname, pa->ifname, IFNAMSIZ) == 0 &&
663 if (strncmp(altq->ifname, pa->ifname, IFNAMSIZ) != 0)
762 if (strncmp(alt
[all...]
/freebsd-11-stable/usr.bin/vtfontcvt/
H A Dvtfontcvt.c308 if (strncmp(ln, "FONT ", 5) == 0) {
319 } else if (strncmp(ln, "FONTBOUNDINGBOX ", 16) == 0) {
339 if (strncmp(ln, "DWIDTH ", 7) == 0) {
362 if (strncmp(ln, "ENCODING ", 9) == 0) {
364 } else if (strncmp(ln, "DWIDTH ", 7) == 0) {
366 } else if (strncmp(ln, "BBX ", 4) == 0) {
376 } else if (strncmp(ln, "BITMAP", 6) == 0 &&
445 if (strncmp(ln, "# Height: ", 10) == 0) {
449 } else if (strncmp(ln, "# Width: ", 9) == 0) {
/freebsd-11-stable/contrib/gcc/config/i386/
H A Dwinnt.c186 return (strncmp (DLL_EXPORT_PREFIX, symbol,
195 return (strncmp (DLL_IMPORT_PREFIX, symbol,
413 if (strncmp (str, DLL_IMPORT_PREFIX, strlen (DLL_IMPORT_PREFIX))
416 else if (strncmp (str, DLL_EXPORT_PREFIX, strlen (DLL_EXPORT_PREFIX))
450 if (strncmp (name, DLL_IMPORT_PREFIX, strlen (DLL_IMPORT_PREFIX))
468 || (strncmp (name, DLL_EXPORT_PREFIX, strlen (DLL_EXPORT_PREFIX))
/freebsd-11-stable/sys/arm/amlogic/aml8726/
H A Daml8726_pinctrl.c207 if (strncmp(f->name, function_name, len) == 0)
225 if (strncmp(pull, "enable", len) == 0)
227 else if (strncmp(pull, "disable", len) == 0)
229 else if (strncmp(pull, "down", len) == 0)
231 else if (strncmp(pull, "up", len) == 0)
272 if (strncmp(p->name, pin_name, len) == 0)
/freebsd-11-stable/usr.bin/unifdef/
H A Dunifdef.c831 if (strncmp(cp, "\\\r\n", 3) == 0 ||
832 strncmp(cp, "\\\n", 2) == 0)
1136 if (strncmp(cp, op->str, strlen(op->str)) == 0) {
1244 if (strncmp(cp, "\\\r\n", 3) == 0)
1246 else if (strncmp(cp, "\\\n", 2) == 0)
1250 if (strncmp(cp, "/\\\r\n", 4) == 0) {
1253 } else if (strncmp(cp, "/\\\n", 3) == 0) {
1256 } else if (strncmp(cp, "/*", 2) == 0) {
1259 } else if (strncmp(cp, "//", 2) == 0) {
1262 } else if (strncmp(c
[all...]
/freebsd-11-stable/contrib/apr-util/crypto/
H A Dapr_passwd.c96 else if (!strncmp(hash, apr1_id, strlen(apr1_id))) {
102 else if (!strncmp(hash, APR_SHA1PW_ID, APR_SHA1PW_IDLEN)) {
/freebsd-11-stable/contrib/binutils/opcodes/
H A Ds390-mkopc.c212 if (strncmp (str, "esa", 3) == 0
216 } else if (strncmp (str, "zarch", 5) == 0
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dfsshare.c92 if (skip != NULL && strncmp(skip, line, skiplen) == 0 &&
137 if (strncmp(known_opts[i], o, len) == 0 &&
/freebsd-11-stable/contrib/gdb/gdb/
H A Dser-tcp.c67 if (strncmp (name, "udp:", 4) == 0)
72 else if (strncmp (name, "tcp:", 4) == 0)
H A Duser-regs.c137 && strncmp (regname, name, len) == 0)
153 && strncmp (reg->name, name, len) == 0))
/freebsd-11-stable/sys/arm64/acpica/
H A Dacpi_machdep.c69 if (strncmp(header->Signature, sig, ACPI_NAME_SIZE) != 0) {
108 if (strncmp(table->Signature, sig, ACPI_NAME_SIZE) != 0) {
/freebsd-11-stable/contrib/tcp_wrappers/
H A Denviron.c21 extern int strncmp();
58 if (strncmp(name, *envp, len) == 0 && (*envp)[len] == '=')
/freebsd-11-stable/crypto/openssh/
H A Dlogintest.c290 if (strncmp(argv[1], "-i", 3) == 0)
292 else if (strncmp(argv[1], "-v", 3) == 0)
H A Dmd5crypt.c47 return (strncmp(salt, magic, strlen(magic)) == 0);
64 if(strncmp(sp, magic, strlen(magic)) == 0)
/freebsd-11-stable/lib/libc/gen/
H A Dgetutxent.c215 if (strncmp(fu.fu_line, line->ut_line,
238 if (strncmp(fu.fu_user, user, sizeof(fu.fu_user)) == 0)
/freebsd-11-stable/lib/libc/iconv/
H A Dcitrus_module.c207 if (strncmp(dp->d_name, lname, (size_t)len) != 0)
209 if (strncmp(dp->d_name+len, ".so.", 4) != 0)
/freebsd-11-stable/tools/tools/ncpus/
H A Dbiosmptable.c203 if (!strncmp(mpfps->signature, MPFPS_SIG, strlen(MPFPS_SIG))) {
245 if (strncmp(mpcth->signature, MPCTH_SIG, strlen(MPCTH_SIG)) != 0) {

Completed in 407 milliseconds

1234567891011>>