Searched refs:strncmp (Results 251 - 275 of 1397) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/usr.bin/from/
H A Dfrom.c121 if (newline && !strncmp(buf, "From ", 5) &&
/freebsd-11-stable/usr.bin/soelim/
H A Dsoelim.c97 if (strncmp(line, ".so", 3) != 0) {
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_diskstorage_tbl.c294 if (strncmp(map->name_key, found->dev_name,
485 if (strncmp(disk_entry->dev_name, "da", 2) == 0 ||
486 strncmp(disk_entry->dev_name, "ada", 3) == 0) {
489 } else if (strncmp(disk_entry->dev_name, "cd", 2) == 0) {
/freebsd-11-stable/usr.sbin/fstyp/
H A Dntfs.c110 if (bf == NULL || strncmp(bf->bf_sysid, "NTFS ", 8) != 0)
/freebsd-11-stable/bin/kill/
H A Dkill.c129 if (argc > 0 && strncmp(*argv, "--", 2) == 0)
/freebsd-11-stable/bin/kenv/
H A Dkenv.c154 if (strncmp(bp, "hint.", 5) != 0)
/freebsd-11-stable/contrib/netbsd-tests/sys/netinet/
H A Dt_print.c88 ATF_CHECK(strncmp(buf, tst[i].str, l - 1) == 0);
/freebsd-11-stable/contrib/netbsd-tests/sys/netatalk/
H A Dt_print.c78 ATF_CHECK(strncmp(buf, tst[i].str, l - 1) == 0);
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dibdiag_common.c117 return ((strncmp(val_str, "TRUE", strlen("TRUE")) == 0) ||
118 (strncmp(val_str, "true", strlen("true")) == 0));
149 if (strncmp(name, "CA", strlen("CA")) == 0) {
152 } else if (strncmp(name, "Port", strlen("Port")) == 0) {
154 } else if (strncmp(name, "timeout", strlen("timeout")) == 0) {
156 } else if (strncmp(name, "MLX_EPI", strlen("MLX_EPI")) == 0) {
162 } else if (strncmp(name, "m_key", strlen("m_key")) == 0) {
164 } else if (strncmp(name, "sa_key",
167 } else if (strncmp(name, "nd_format",
/freebsd-11-stable/stand/uboot/lib/
H A Ddevicename.c100 if (!strncmp(devspec, devsw[i]->dv_name,
/freebsd-11-stable/include/
H A Dstring.h100 int strncmp(const char *, const char *, size_t) __pure;
/freebsd-11-stable/lib/libc/string/
H A DMakefile.inc17 strncat.c strncmp.c strncpy.c strndup.c strnlen.c strnstr.c \
60 MLINKS+=strcmp.3 strncmp.3
/freebsd-11-stable/contrib/mdocml/
H A Ddbm_map.c83 if (strncmp(dbm_base, "SQLite format 3", 15))
/freebsd-11-stable/contrib/ntp/libntp/
H A Dssl_init.c130 if (!key_type && !strncmp(CMAC, upcased, strlen(CMAC) + 1)) {
/freebsd-11-stable/sbin/geom/class/virstor/
H A Dgeom_virstor.c149 if (strncmp(name, _PATH_DEV, sizeof(_PATH_DEV) - 1) != 0)
381 if (strncmp(name, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0)
459 if (strncmp(name, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0) {
515 if (strncmp(name, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0)
/freebsd-11-stable/sbin/fsck/
H A Dfsck.c286 if (!strncmp(&fs->fs_mntops[i], "noauto", 6))
421 if (!strncmp(e->type, type, MFSNAMELEN))
434 if (!strncmp(e->type, type, MFSNAMELEN))
452 if (!strncmp(e->type, optstr, MFSNAMELEN)) {
/freebsd-11-stable/stand/mips/beri/loader/
H A Ddevicename.c100 if (!strncmp(devspec, devsw[i]->dv_name, strlen(devsw[i]->dv_name))) {
/freebsd-11-stable/usr.sbin/pw/
H A Dcpdir.c83 if (strncmp(p, "dot.", 4) == 0) /* Conversion */
/freebsd-11-stable/usr.bin/wall/
H A Dttymsg.c76 if (strncmp(p, "pts/", 4) == 0)
/freebsd-11-stable/usr.sbin/snapinfo/
H A Dsnapinfo.c105 if (!strncmp(mntbuf[n].f_fstypename, "ufs", 3)) {
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_ar.c178 if (strncmp(h + AR_fmag_offset, "`\n", 2) != 0) {
199 if (strncmp(filename, "#1/", 3) == 0)
203 else if (strncmp(filename, "__.SYMDEF", 9) == 0)
336 if (strncmp(filename, "#1/", 3) == 0) {
/freebsd-11-stable/stand/i386/libi386/
H A Ddevicename.c99 if (!strncmp(devspec, devsw[i]->dv_name, strlen(devsw[i]->dv_name))) {
/freebsd-11-stable/stand/common/
H A Dinterp_simple.c109 if (strncmp(input+strspn(input, " "), "\\ ", 2) == 0)
/freebsd-11-stable/stand/ofw/libofw/
H A Ddevicename.c101 if (strncmp(dv->dv_name, type, strlen(dv->dv_name)) == 0)
/freebsd-11-stable/contrib/file/src/
H A Dapptype.c132 if (strncmp((const char *)buf, "MZ", 2))

Completed in 1727 milliseconds

<<11121314151617181920>>