Searched refs:memcmp (Results 326 - 350 of 1064) sorted by relevance

<<11121314151617181920>>

/freebsd-13-stable/contrib/ofed/opensm/opensm/
H A Dosm_lid_mgr.c880 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 Dosm_link_mgr.c228 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 Dosm_qos.c175 !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 Dosm_sa_service_record.c233 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 Dzfsimpl.c215 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 Dbwstring.c612 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 Dts_rsp_verify.c303 && 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 Dsockutils.c1394 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 Dsockaddr.c59 * 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 Dedid.c94 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 Dsystm.h352 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 Dsiena_nic.c654 if (memcmp(&reg, &buf, sizeof (reg))) {
669 if (memcmp(&reg, &buf, sizeof (reg))) {
732 if (memcmp(&reg, &buf, sizeof (reg))) {
/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Dtest_pac.c317 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 Dredir.c140 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 Dwesside.c694 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 Dnotify.cc366 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 Dwrite.cc1147 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 Dprint-smb.c1021 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 Dmlx4_ib_mcg.c171 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 Dpacked_rrset.c156 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 Dkx509.c50 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 Dbio_ok.c517 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 Dproc_test.c143 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 Darchive_blake2sp_ref.c314 if( 0 != memcmp( hash, blake2sp_keyed_kat[i], BLAKE2S_OUTBYTES ) )
347 if (0 != memcmp(hash, blake2sp_keyed_kat[i], BLAKE2S_OUTBYTES)) {
H A Darchive_read_support_filter_lzop.c148 if (memcmp(p, LZOP_HEADER_MAGIC, LZOP_HEADER_MAGIC_LEN))
215 if (memcmp(p, LZOP_HEADER_MAGIC, LZOP_HEADER_MAGIC_LEN))

Completed in 300 milliseconds

<<11121314151617181920>>