Searched refs:memcmp (Results 251 - 275 of 1088) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/tests/sys/vm/
H A Dmmap_test.c201 ATF_REQUIRE(memcmp(p1, p2, pagesize) == 0);
240 ATF_REQUIRE(memcmp(p1, p2, pagesize) == 0);
/freebsd-11-stable/tools/tools/dmardump/
H A Ddmardump.c261 if (memcmp(rsdp->Signature, "RSDT", 4) != 0)
279 if (!memcmp(sdp->Signature, ACPI_SIG_DMAR, 4))
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlstring.c38 (memcmp(getstr(a), getstr(b), len) == 0)); /* equal contents */
143 (memcmp(str, getstr(ts), l * sizeof(char)) == 0)) {
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/
H A Dt_io.c73 ATF_REQUIRE_EQ(memcmp(b2, b3, therange), 0);
193 ATF_REQUIRE_EQ(memcmp(buf, buf2, TBSIZE), 0);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/string/
H A Dt_memset.c101 ATF_REQUIRE(memcmp(ret, buf, page) == 0);
106 ATF_REQUIRE(memcmp(ret, buf, page) == 0);
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/
H A Dssr.c195 if (memcmp(&uuid, &puuid, sizeof(uuid)) == 0 ||
196 memcmp(&uuid, &uuid_public_browse_group, sizeof(uuid)) == 0) {
/freebsd-11-stable/usr.bin/etdump/
H A Detdump.c162 if (memcmp(bvd->identifier, ISO_VOLUME_DESCRIPTOR_STANDARD_ID, 5) != 0)
166 if (memcmp(bvd->boot_system_identifier, ET_ID, 23) != 0)
/freebsd-11-stable/stand/uboot/lib/
H A Dnet.c203 if (memcmp("net", *a, 3) == 0)
333 if (memcmp (desc->myea, "\0\0\0\0\0\0", 6) == 0) {
/freebsd-11-stable/contrib/tcp_wrappers/
H A Dsocket.c302 if (memcmp(rap, ap, alen) == 0) {
387 if (memcmp(hp->h_addr_list[i],
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64clat.c129 if (memcmp(&ip6->ip6_dst, &cfg->base.clat_prefix,
133 if (memcmp(&ip6->ip6_src, &cfg->base.plat_prefix,
/freebsd-11-stable/lib/libusb/
H A Dlibusb10_hotplug.c63 if (memcmp(&adev->ddesc, &bdev->ddesc, sizeof(adev->ddesc)))
65 if (memcmp(&adev->session_data, &bdev->session_data, sizeof(adev->session_data)))
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/
H A DUnwindAssembly-x86.cpp193 if (memcmp(opcode_data.data(), i386_push_mov, sizeof(i386_push_mov)) ==
195 memcmp(opcode_data.data(), x86_64_push_mov,
/freebsd-11-stable/tools/tools/net80211/w00t/prga/
H A Dprga.c190 if (memcmp(p->ap, bssid, 6) != 0)
387 if (memcmp(p->mac, wh->i_addr1, 6) != 0)
449 if (memcmp(wh->i_addr2, p->ap, 6) != 0)
452 if (memcmp(wh->i_addr3, p->mac, 6) != 0)
455 if (memcmp(wh->i_addr1, "\xff\xff\xff\xff\xff\xff", 6) != 0)
/freebsd-11-stable/usr.bin/systat/
H A Dnetstat.c209 if (memcmp(&inpcb.in6p_laddr,
309 if (memcmp(&inpcb->in6p_laddr,
408 memcmp(&p->ni_lsa, &lsa, lsa.ss_len) != 0)
411 memcmp(&p->ni_fsa, &fsa, fsa.ss_len) == 0)
588 if (memcmp(&((struct sockaddr_in6 *)sa)->sin6_addr,
/freebsd-11-stable/sys/contrib/libfdt/
H A Dfdt_ro.c68 if (memcmp(p, s, len) != 0)
89 return (strlen(p) == len) && (memcmp(p, s, len) == 0);
588 && (memcmp(val, propval, len) == 0))
626 if (memcmp(str, strlist, len+1) == 0)
682 if (length == len && memcmp(list, string, length) == 0)
/freebsd-11-stable/sys/geom/part/
H A Dg_part_ldm.c392 if (memcmp(buf, LDM_PH_SIGN, strlen(LDM_PH_SIGN)) != 0) {
508 if (found != 0 && memcmp(&db->ph, &hdr, sizeof(hdr)) != 0) {
594 if (memcmp(buf, LDM_TH_SIGN, strlen(LDM_TH_SIGN)) != 0 ||
595 memcmp(buf + LDM_TH_NAME1_OFF, LDM_TH_NAME1,
597 memcmp(buf + LDM_TH_NAME2_OFF, LDM_TH_NAME2,
652 if (memcmp(buf, LDM_VMDB_SIGN, strlen(LDM_VMDB_SIGN)) != 0) {
685 memcmp(&dg_guid, &db->ph.dg_guid, sizeof(dg_guid)) != 0 ||
1034 if (memcmp(p, LDM_VBLK_SIGN,
1233 if (memcmp(&part->ent_type,
1400 if (memcmp(
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_cache.c279 if (!memcmp(&data->gid, &zgid, sizeof(*gid)) &&
280 !memcmp(attr, &zattr, sizeof(*attr)) &&
292 memcmp(gid, &data->gid, sizeof(*gid)))
344 if (!memcmp(gid, &zgid, sizeof(*gid)))
595 if (memcmp(gid, &table->data_vec[i].gid, sizeof(*gid)))
660 if (memcmp(&table->data_vec[i].gid, &zgid,
727 !memcmp(&gid, &current_gid, sizeof(gid)) &&
728 !memcmp(&gid_attr, &current_gid_attr, sizeof(gid_attr)))
731 if (memcmp(&current_gid, &zgid, sizeof(current_gid)) ||
732 memcmp(
[all...]
/freebsd-11-stable/sbin/pfctl/
H A Dpfctl_optimize.c464 if (memcmp(&a, &b, sizeof(a)) == 0) {
471 } else if (memcmp(&a2, &b2, sizeof(a2)) == 0) {
834 if (memcmp(&a, &b, sizeof(a)) == 0) {
944 if (memcmp(&a, &b, sizeof(a)) == 0) {
1082 if (memcmp(&a->dst.addr.v.a.addr, &b->dst.addr.v.a.addr,
1084 memcmp(&a->dst.addr.v.a.mask, &b->dst.addr.v.a.mask,
1095 memcmp(&a->dst.addr.v.a.mask, &b->dst.addr.v.a.mask,
1154 if (memcmp(&a->src.addr.v.a.addr, &b->src.addr.v.a.addr,
1156 memcmp(&a->src.addr.v.a.mask, &b->src.addr.v.a.mask,
1167 memcmp(
[all...]
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Daes-test.c233 if (memcmp(keyout, keys[i].pbkdf2, keys[i].keylen) != 0) {
269 if (memcmp(key.keyvalue.data, keys[i].key, keys[i].keylen) != 0) {
310 memcmp(decrypt.data, clear->data, decrypt.length) != 0) {
415 if (memcmp(iov[1].data.data, p, iov[1].data.length) != 0)
466 if (memcmp(iov[2].data.data, p, iov[2].data.length) != 0)
542 memcmp(decrypt.data, clear->data, decrypt.length) != 0) {
841 if (memcmp(key.keyvalue.data,
/freebsd-11-stable/sys/geom/
H A Dgeom_aes.c306 if (!memcmp(buf, aes_magic, strlen(aes_magic))) {
308 } else if (!memcmp(buf, aes_magic_random,
311 } else if (!memcmp(buf, aes_magic_test,
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dnetaddr.c52 if (memcmp(&a->type.in6, &b->type.in6,
111 if (memcmp(pa, pb, nbytes) != 0)
244 if (memcmp(p + nbytes, zeros, ipbytes - nbytes) != 0)
/freebsd-11-stable/sys/dev/mlxfw/
H A Dmlxfw_mfa2.c120 return memcmp(fw->data, mlxfw_mfa2_fingerprint,
391 if (memcmp(psid, tlv_psid->psid, psid_size) == 0)
594 if (memcmp(comp_data->buff, mlxfw_mfa2_comp_magic,
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsockets.c348 !memcmp(sock->local_addr->ipaddr_ptr,
423 if (memcmp(sa->ipaddr_ptr, generic_inaddr_any, sa->ipaddr_len)) {
447 if (!memcmp(sock->local_addr->ipaddr_ptr,
/freebsd-11-stable/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_xcbcmac.c105 if (memcmp(buf, &tests[i].mac, sizeof(tests[i].mac)))
/freebsd-11-stable/contrib/gdb/gdb/
H A Di386nbsd-tdep.c180 if (memcmp (ret, sigtramp_retcode, sizeof (ret)) == 0)

Completed in 331 milliseconds

<<11121314151617181920>>