Searched refs:strncmp (Results 201 - 225 of 1397) sorted by relevance

1234567891011>>

/freebsd-11-stable/crypto/heimdal/lib/hdb/
H A Dhdb.c374 if (strncmp (filename, h->prefix, strlen(h->prefix)) == 0) {
380 if (strncmp(filename, "/", 1) == 0
381 || strncmp(filename, "./", 2) == 0
382 || strncmp(filename, "../", 3) == 0)
469 if (strncmp (filename, h->prefix, strlen(h->prefix)) == 0
/freebsd-11-stable/usr.bin/vgrind/
H A Dvfontedpr.c187 if (!strncmp(argv[0], "-s", 2)) {
198 if (!strncmp(argv[0], "-l", 2)) {
205 if (!strncmp(argv[0], "-d", 2)) {
321 if (!strncmp (buf+1, "vS", 2))
323 if (!strncmp (buf+1, "vE", 2))
/freebsd-11-stable/crypto/openssl/ssl/
H A Ds23_srvr.c393 } else if ((strncmp("GET ", (char *)p, 4) == 0) ||
394 (strncmp("POST ", (char *)p, 5) == 0) ||
395 (strncmp("HEAD ", (char *)p, 5) == 0) ||
396 (strncmp("PUT ", (char *)p, 4) == 0)) {
399 } else if (strncmp("CONNECT", (char *)p, 7) == 0) {
/freebsd-11-stable/sys/geom/label/
H A Dg_label.c163 if (strncmp(label, "../", 3) == 0)
421 if (strncmp(name, "/dev/", strlen("/dev/")) == 0)
446 if (strncmp(name, "/dev/", strlen("/dev/")) == 0)
448 if (strncmp(name, G_LABEL_DIR "/", strlen(G_LABEL_DIR "/")) == 0)
452 if (strncmp(name, path, strlen(path)) == 0) {
/freebsd-11-stable/usr.bin/makewhatis/
H A Dmakewhatis.c489 if (strncmp(line, section_start, 3) != 0)
520 if (strncmp(&from[1], "em", 2) == 0 ||
521 strncmp(&from[1], "mi", 2) == 0) {
616 xref = strncmp(line, ".Xr", 3) == 0;
712 if (strncmp(line, ".\\\"", 3) == 0) /* ignore comments */
728 if (strncmp(line, ".SH", 3) == 0)
730 if (strncmp(line, ".SS", 3) == 0)
735 if (strncmp(line, ".IX", 3) == 0) {
746 if (strncmp(line, ".Nm", 3) == 0) {
760 if (strncmp(lin
[all...]
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dverify_krb5_conf.c166 if(strncmp(p, "http://", 7) == 0){
171 } else if(strncmp(p, "http/", 5) == 0) {
176 }else if(strncmp(p, "tcp/", 4) == 0){
181 } else if(strncmp(p, "udp/", 4) == 0) {
314 (strncmp(p, "FILE", 4) == 0 && (p[4] == ':' || p[4] == '=')) ||
315 (strncmp(p, "DEVICE", 6) == 0 && p[6] == '='))
317 if(strncmp(p, "SYSLOG", 6) == 0){
/freebsd-11-stable/contrib/sendmail/src/
H A Derr.c746 sm_io_error(InChannel) || strncmp(msg, "221", 3) == 0)
1000 (strncmp(num, "050", 3) == 0 ||
1001 strncmp(num, "250", 3) == 0 ||
1002 strncmp(num, "252", 3) == 0 ||
1003 strncmp(num, "450", 3) == 0 ||
1004 strncmp(num, "550", 3) == 0 ||
1005 strncmp(num, "553", 3) == 0))
/freebsd-11-stable/contrib/gdb/gdb/
H A Dc-exp.c2974 if (strncmp (tokstart, tokentab3[i].operator, 3) == 0)
2983 if (strncmp (tokstart, tokentab2[i].operator, 2) == 0)
3279 if (strncmp (tokstart, "unsigned", 8) == 0)
3282 && strncmp (tokstart, "template", 8) == 0)
3284 if (strncmp (tokstart, "volatile", 8) == 0)
3288 if (strncmp (tokstart, "struct", 6) == 0)
3290 if (strncmp (tokstart, "signed", 6) == 0)
3292 if (strncmp (tokstart, "sizeof", 6) == 0)
3294 if (strncmp (tokstart, "double", 6) == 0)
3300 if (strncmp (tokstar
[all...]
/freebsd-11-stable/contrib/bmake/
H A Dparse.c1295 if ((strncmp(line, "<<<<<<", 6) == 0) ||
1296 (strncmp(line, "======", 6) == 0) ||
1297 (strncmp(line, ">>>>>>", 6) == 0))
1405 } else if (strncmp(line, ".PATH", 5) == 0) {
1819 if (ch == ':' && strncmp(line, "sh", 2) == 0) {
1938 if (strncmp(opc, ":sh", 3) == 0) {
2214 for (i = 0; strncmp(file + i, "../", 3) == 0; i += 3) {
3022 if (strncmp(cp, "include", 7) == 0 ||
3024 strncmp(&cp[1], "include", 7) == 0)) {
3028 if (strncmp(c
[all...]
/freebsd-11-stable/crypto/openssl/crypto/pem/
H A Dpem_lib.c493 if (strncmp(header, "Proc-Type: ", 11) != 0) {
504 if (strncmp(header, "ENCRYPTED", 9) != 0) {
514 if (strncmp(header, "DEK-Info: ", 10) != 0) {
706 if (strncmp(buf, "-----BEGIN ", 11) == 0) {
709 if (strncmp(&(buf[11 + i - 6]), "-----\n", 6) != 0)
742 if (strncmp(buf, "-----END ", 9) == 0) {
770 if (strncmp(buf, "-----END ", 9) == 0)
802 if ((strncmp(buf, "-----END ", 9) != 0) ||
803 (strncmp(nameB->data, &(buf[9]), i) != 0) ||
804 (strncmp(
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libbluetooth/
H A Dt_sdp_get.c568 ATF_CHECK(len == 4 && strncmp(str, "STR8", 4) == 0);
575 ATF_CHECK(len == 5 && strncmp(str, "STR16", 5) == 0);
578 ATF_CHECK(len == 5 && strncmp(str, "STR32", 5) == 0);
613 ATF_CHECK(len == 4 && strncmp(url, "URL8", 4) == 0);
620 ATF_CHECK(len == 5 && strncmp(url, "URL16", 5) == 0);
623 ATF_CHECK(len == 5 && strncmp(url, "URL32", 5) == 0);
/freebsd-11-stable/sbin/atm/atmconfig/
H A Dmain.c80 return (strlen(s1) <= strlen(s2) && strncmp(s1, s2, strlen(s1)) == 0);
399 if (strncmp(line, "$MAIN", 5) == 0) {
469 if (p - s == 3 && strncmp(s, "udp", 3) == 0)
471 else if (p - s == 6 && strncmp(s, "stream", 6) == 0)
473 else if (p - s == 5 && strncmp(s, "dgram", 5) == 0)
746 strncmp(arg + 1, o->optstr, strlen(arg + 1)) == 0) {
/freebsd-11-stable/contrib/unbound/daemon/
H A Dunbound.c202 strncmp(ub_event_get_version(), "mini-event", 10) == 0) {
216 strncmp(ub_event_get_version(), "winsock-event", 13) == 0) {
507 strncmp(cfg->pidfile, cfg->chrootdir,
581 if(strncmp(*cfgfile, cfg->chrootdir,
587 strncmp(daemon->pidfile, cfg->chrootdir,
606 strncmp(dir, cfg->chrootdir,
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipfs.c116 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) {
120 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) {
124 if (!strncmp(ips.ips_is.is_ifname[2], ifs, olen + 1)) {
128 if (!strncmp(ips.ips_is.is_ifname[3], ifs, olen + 1)) {
181 if (!strncmp(nat->nat_ifnames[0], ifs, olen + 1)) {
185 if (!strncmp(nat->nat_ifnames[1], ifs, olen + 1)) {
/freebsd-11-stable/contrib/netcat/
H A Dsocks.c317 strncmp(buf, "HTTP/1.0 407 ", 12) == 0) {
324 } else if (strncmp(buf, "HTTP/1.0 200 ", 12) != 0 &&
325 strncmp(buf, "HTTP/1.1 200 ", 12) != 0)
/freebsd-11-stable/contrib/gdb/gdb/gdbserver/
H A Dserver.c126 && strncmp ("qPart:auxv:read::", own_buf, 17) == 0)
259 if (strncmp (own_buf, "vCont;", 6) == 0)
265 if (strncmp (own_buf, "vCont?", 6) == 0)
/freebsd-11-stable/contrib/binutils/gas/config/
H A Dtc-arc.c467 if (!strncmp (mode, "r|w", 3))
474 if (!strncmp (mode, "r", 1))
481 if (strncmp (mode, "w", 1))
508 if (!strncmp (input_line_pointer, "cannot_shortcut", 15))
515 if (strncmp (input_line_pointer, "can_shortcut", 12))
732 if (!strncmp (suffixclass[i].name,input_line_pointer, suffixclass[i].len))
760 if (!strncmp (syntaxclass[i].name,input_line_pointer, syntaxclass[i].len))
1146 if (strncmp (p, "%st(", 4) == 0)
1168 if (!strncmp (p, ext_oper->operand.name, l) && !ISALNUM (*(p + l)))
1180 if (!strncmp (
[all...]
/freebsd-11-stable/crypto/heimdal/lib/kafs/
H A Dafssys.c149 if (strncmp (str, buf, str_len) == 0) {
437 if (strncmp("/proc/", env, 6) == 0) {
441 if (strncmp("/dev/", env, 5) == 0) {
/freebsd-11-stable/usr.bin/mail/
H A Dutil.c527 if (strncmp(cp, "From", 4) != 0)
530 if (strncmp(cp, "remote", 6) == 0) {
533 if (strncmp(cp, "from", 4) != 0)
/freebsd-11-stable/usr.bin/uudecode/
H A Duudecode.c192 if (strncmp(p, "begin-base64 ", 13) == 0) {
195 } else if (strncmp(p, "begin ", 6) == 0)
320 if (strncmp(ptr, end, n) != 0 ||
/freebsd-11-stable/sys/kern/
H A Dsubr_hints.c105 if (strncmp(cp, "hint.", 5) == 0)
155 if (!strncmp(cp, "hint.", 5)) {
233 if (strncmp(cp, "hint.", 5) != 0)
/freebsd-11-stable/lib/libdpv/
H A Ddialog_util.c148 if (strncmp(rbuf, "Xdialog: Error", 14) == 0)
354 if (strncmp(cp, "\\n", 2) == 0) {
366 } else if (strncmp(cp, "\\n", 2) == 0) {
/freebsd-11-stable/sbin/ccdconfig/
H A Dccdconfig.c263 if (!strncmp(cp, _PATH_DEV, strlen(_PATH_DEV)))
353 if (!strncmp(name, _PATH_DEV, strlen(_PATH_DEV)))
355 if (strncmp(name, "ccd", 3))
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/
H A Dpart_wizard.c130 if (strncmp(pp->lg_name, "cd", 2) == 0)
137 if (strncmp(pp->lg_name, "ad", 2) == 0)
139 else if (strncmp(pp->lg_name, "md", 2) == 0)
/freebsd-11-stable/usr.bin/killall/
H A Dkillall.c256 if (strncmp(tty, "/dev/", 5) == 0)
258 else if (strncmp(tty, "tty", 3) == 0)
371 if (strncmp(thiscmd, cmd, MAXCOMLEN) != 0)

Completed in 332 milliseconds

1234567891011>>