/freebsd-13-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_lid_mgr.c | 880 if (memcmp(&p_pi->m_key, &p_old_pi->m_key, sizeof(p_pi->m_key))) { 886 if (memcmp(&p_pi->subnet_prefix, &p_old_pi->subnet_prefix, 892 if (memcmp(&p_pi->base_lid, &p_old_pi->base_lid, 909 if (memcmp(&p_pi->master_sm_base_lid, &p_old_pi->master_sm_base_lid, 916 if (memcmp(&p_pi->m_key_lease_period, &p_old_pi->m_key_lease_period,
|
H A D | osm_link_mgr.c | 228 if (memcmp(&p_pi->m_key, &p_old_pi->m_key, 235 if (memcmp(&p_pi->subnet_prefix, 256 if (memcmp(&p_pi->m_key_lease_period,
|
H A D | osm_qos.c | 175 !memcmp(&p->vl_arb[block_num], &block, 276 if (!force_update && !memcmp(p_tbl, &tbl, sizeof(tbl))) 510 !memcmp(&swe_config.sl2vl, &sw0_config.sl2vl,
|
H A D | osm_sa_service_record.c | 233 if (memcmp(&p_sr_item->p_service_rec->service_gid, 245 if (memcmp(p_sr_item->p_service_rec->service_key, 251 if (memcmp(p_sr_item->p_service_rec->service_name,
|
/freebsd-13-stable/stand/libsa/zfs/ |
H A D | zfsimpl.c | 215 if (memcmp(nvp_name->nv_data, features_for_read[i], 935 if (memcmp(type, VDEV_TYPE_MIRROR, len) != 0 && 936 memcmp(type, VDEV_TYPE_DISK, len) != 0 && 938 memcmp(type, VDEV_TYPE_FILE, len) != 0 && 940 memcmp(type, VDEV_TYPE_RAIDZ, len) != 0 && 941 memcmp(type, VDEV_TYPE_INDIRECT, len) != 0 && 942 memcmp(type, VDEV_TYPE_REPLACING, len) != 0 && 943 memcmp(type, VDEV_TYPE_HOLE, len) != 0) { 949 if (memcmp(type, VDEV_TYPE_MIRROR, len) == 0) 951 else if (memcmp(typ [all...] |
/freebsd-13-stable/usr.bin/sort/ |
H A D | bwstring.c | 612 res = memcmp(s1, s2, cmp_len); 620 res = memcmp(s1, s2, SIZEOF_WCHAR_STRING(cmp_len)); 709 res = memcmp(s1, s2, len2); 713 res = memcmp(s1, s2, len1); 717 res = memcmp(s1, s2, len1);
|
/freebsd-13-stable/crypto/openssl/crypto/ts/ |
H A D | ts_rsp_verify.c | 303 && memcmp(cid->hash->data, cert_sha1, SHA_DIGEST_LENGTH) == 0) { 335 if (memcmp(cid->hash->data, cert_digest, cid->hash->length) == 0) { 642 memcmp(imprint_a, ASN1_STRING_get0_data(b->hashed_msg), len_a) == 0;
|
/freebsd-13-stable/contrib/libpcap/ |
H A D | sockutils.c | 1394 if (memcmp(&(((struct sockaddr_in *) first)->sin_addr), 1401 if (memcmp(&(((struct sockaddr_in6 *) first)->sin6_addr), 1537 (memcmp(&((struct sockaddr_in6 *) sockaddr)->sin6_addr, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", sizeof(struct in6_addr)) == 0))
|
/freebsd-13-stable/contrib/ntp/lib/isc/ |
H A D | sockaddr.c | 59 * We don't just memcmp because the sin_zero field isn't always 68 memcmp(&a->type.sin.sin_addr, &b->type.sin.sin_addr, 77 memcmp(&a->type.sin6.sin6_addr, &b->type.sin6.sin6_addr, 97 if (memcmp(&a->type, &b->type, a->length) != 0)
|
/freebsd-13-stable/sys/dev/videomode/ |
H A D | edid.c | 94 if (memcmp(edid_vendors[n].vendor, vendor, 3) == 0) 108 memcmp(edid_products[n].vendor, vendor, 3) == 0) 137 if (memcmp(d, sig, 8) != 0)
|
/freebsd-13-stable/sys/sys/ |
H A D | systm.h | 352 int memcmp(const void *b1, const void *b2, size_t len); 365 #define memcmp(b1, b2, len) kcsan_memcmp((b1), (b2), (len)) macro 373 #define memcmp(b1, b2, len) __builtin_memcmp((b1), (b2), (len)) macro
|
/freebsd-13-stable/sys/dev/sfxge/common/ |
H A D | siena_nic.c | 654 if (memcmp(®, &buf, sizeof (reg))) { 669 if (memcmp(®, &buf, sizeof (reg))) { 732 if (memcmp(®, &buf, sizeof (reg))) {
|
/freebsd-13-stable/crypto/heimdal/lib/krb5/ |
H A D | test_pac.c | 317 if (data.length != 2 || memcmp(data.data, "\x00\x01", 2) != 0) 333 if (data.length != 2 || memcmp(data.data, "\x00\x01", 2) != 0) 340 if (data.length != 2 || memcmp(data.data, "\x02\x00", 2) != 0)
|
/freebsd-13-stable/tools/tools/net80211/w00t/redir/ |
H A D | redir.c | 140 if (memcmp(bssid, p->ap, 6) != 0) 149 if (memcmp(p->mac, sa, 6) == 0) 407 (memcmp(p->mac, wh->i_addr1, 6) == 0)) {
|
/freebsd-13-stable/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 694 if (memcmp(wh->i_addr3, victim_mac, 6) != 0) 1401 if (memcmp(get_da(wh), "\xff\xff\xff\xff\xff\xff", 6) == 0) 1450 memcmp(wh->i_addr2, mymac, 6) != 0) ) { 1465 (memcmp(wh->i_addr3, mymac, 6) != 0) && 1466 (memcmp(wh->i_addr1, "\xff\xff\xff\xff\xff\xff", 6) == 0) && 1477 (memcmp(wh->i_addr3, mymac, 6) == 0) && 1478 (memcmp(wh->i_addr1, "\xff\xff\xff\xff\xff\xff", 6) == 0) && 1490 (memcmp(wh->i_addr3, mymac, 6) == 0) && 1491 (memcmp(wh->i_addr1, MCAST_PREF, 5) == 0) && 1607 if (memcmp(w [all...] |
/freebsd-13-stable/tests/sys/fs/fusefs/ |
H A D | notify.cc | 366 EXPECT_EQ(0, memcmp(buf, CONTENTS0, size0)); 386 EXPECT_EQ(0, memcmp(buf, CONTENTS1, size1)); 445 EXPECT_EQ(0, memcmp(buf, CONTENTS1, size1));
|
H A D | write.cc | 1147 EXPECT_EQ(0, memcmp(zeros, readbuf, bs / 2)); 1150 EXPECT_EQ(0, memcmp(zeros, readbuf, bs / 2)); 1153 EXPECT_EQ(0, memcmp(ones, readbuf, bs / 2)); 1156 EXPECT_EQ(0, memcmp(ones, readbuf, bs / 2)); 1204 EXPECT_EQ(0, memcmp(CONTENTS0, readbuf, old_filesize)); 1206 EXPECT_EQ(0, memcmp(hole, readbuf + old_filesize, holesize));
|
/freebsd-13-stable/contrib/tcpdump/ |
H A D | print-smb.c | 1021 if (nbt_len >= 4 && caplen >= 4 && memcmp(data,"\377SMB",4) == 0) { 1267 if (smb_len >= 4 && caplen >= 4 && memcmp(data,"\377SMB",4) == 0) { 1313 if (memcmp(data, "\377SMB",4) == 0) 1451 if (memcmp(data2, "\377SMB",4) == 0) 1458 if (memcmp(&data2[i], "\377SMB", 4) == 0) { 1496 if (memcmp(&data[i], "\377SMB", 4) == 0) {
|
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mcg.c | 171 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid); 195 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, 455 nzgroup = memcmp(&group->rec.mgid, &mgid0, sizeof mgid0); 556 if (memcmp(&group->rec.mgid, &mgid0, sizeof mgid0)) { 758 if (memcmp(new_mgid, &mgid0, sizeof mgid0)) { 819 is_mgid0 = !memcmp(&mgid0, mgid, sizeof mgid0);
|
/freebsd-13-stable/contrib/unbound/util/data/ |
H A D | packed_rrset.c | 156 if(memcmp(d1->rr_data[i], d2->rr_data[i], d1->rr_len[i]) != 0) 406 if(memcmp(d->rr_data[i], rdata, len) == 0) {
|
/freebsd-13-stable/crypto/heimdal/kdc/ |
H A D | kx509.c | 50 if (memcmp("\x00\x00\x02\x00", ptr, 4) != 0) 92 if (memcmp(req->pk_hash.data, digest, sizeof(digest)) != 0) {
|
/freebsd-13-stable/crypto/openssl/crypto/evp/ |
H A D | bio_ok.c | 517 ret = memcmp(&(ctx->buf[ctx->buf_off]), tmp, md_size) == 0; 596 if (memcmp(&(ctx->buf[tl + OK_BLOCK_BLOCK]), tmp, md_size) == 0) {
|
/freebsd-13-stable/lib/libproc/tests/ |
H A D | proc_test.c | 143 ATF_REQUIRE_EQ(memcmp(sym, &tsym, sizeof(*sym)), 0); 249 ATF_CHECK_EQ(memcmp(&sym1, &sym2, sizeof(sym1)), 0);
|
/freebsd-13-stable/contrib/libarchive/libarchive/ |
H A D | archive_blake2sp_ref.c | 314 if( 0 != memcmp( hash, blake2sp_keyed_kat[i], BLAKE2S_OUTBYTES ) ) 347 if (0 != memcmp(hash, blake2sp_keyed_kat[i], BLAKE2S_OUTBYTES)) {
|
H A D | archive_read_support_filter_lzop.c | 148 if (memcmp(p, LZOP_HEADER_MAGIC, LZOP_HEADER_MAGIC_LEN)) 215 if (memcmp(p, LZOP_HEADER_MAGIC, LZOP_HEADER_MAGIC_LEN))
|