Searched refs:memcmp (Results 101 - 125 of 1064) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dh_fileactions.c110 if (memcmp(&sb0, &sb1, sizeof sb0) != 0) {
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/string/
H A Dt_strcpy.c107 if (memcmp(&buf0[a0], &buf1[a1],
H A Dt_swab.c80 if (memcmp(b, r, MAXCHK) != 0) {
/freebsd-13-stable/contrib/netbsd-tests/lib/libutil/
H A Dt_snprintb.c80 ATF_REQUIRE_EQ(0, memcmp(res, buf, res_len + 1));
/freebsd-13-stable/contrib/netbsd-tests/rump/rumpvfs/
H A Dt_etfs.c141 ATF_REQUIRE_EQ(memcmp(buf, cmpbuf, 64*512), 0);
151 ATF_REQUIRE_EQ(memcmp(buf, cmpbuf, 128*512), 0);
211 ATF_REQUIRE_EQ(memcmp(cmpbuf, buf, 128), 0);
255 ATF_REQUIRE_EQ(memcmp(buf, cmpbuf, sizeof(buf)), 0);
/freebsd-13-stable/sys/contrib/libsodium/test/default/
H A Dbox_seal.c31 printf("%d\n", memcmp(m, m2, m_len));
H A Dmetamorphic.c47 assert(memcmp(h, h2, hlen) == 0);
87 assert(memcmp(h, h2, crypto_onetimeauth_BYTES) == 0);
127 assert(memcmp(h, h2, crypto_auth_hmacsha256_BYTES) == 0);
167 assert(memcmp(h, h2, crypto_auth_hmacsha512_BYTES) == 0);
H A Dscalarmult7.c31 printf("%d\n", !!memcmp(out1, out2, 32));
H A Dxchacha20.c54 assert(memcmp(out, out2, crypto_core_hchacha20_OUTPUTBYTES) == 0);
65 assert(memcmp(out, out2, crypto_core_hchacha20_OUTPUTBYTES) == 0);
127 assert(memcmp(out, out2, out_len) == 0);
153 assert(memcmp(out, out2 + 64, 64) == 0);
169 assert(memcmp(out, out2, 192) == 0);
245 assert(memcmp(out, out2,
272 assert(memcmp(m, out2, m_len) == 0);
282 assert(memcmp(out, out2,
345 assert(memcmp(m2, m, m_len) == 0);
365 assert(memcmp(m
[all...]
/freebsd-13-stable/crypto/heimdal/lib/ntlm/
H A Dtest_ntlm.c231 if (memcmp(ntlmv2, ntlmv2_1, sizeof(ntlmv2)) != 0)
237 if (memcmp(infotarget.data, infotarget2.data, infotarget.length) != 0)
279 if (lm.length != 24 || memcmp(lm.data, lm_resp, 24) != 0)
281 if (ntlm.length != 24 || memcmp(ntlm.data, ntlm2_sess_resp, 24) != 0)
/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dbase64-test.c74 } else if(memcmp(str, t->data, t->len) != 0) {
H A Dgetnameinfo_verified.c82 memcmp(saaddr, socket_get_address(a->ai_addr), sasize) == 0) {
H A Dhex-test.c77 } else if(memcmp(str, t->data, t->len) != 0) {
/freebsd-13-stable/crypto/heimdal/lib/wind/
H A Dtest-map.c79 if (memcmp(c->out, tmp, out_len * sizeof(uint32_t)) != 0) {
/freebsd-13-stable/usr.sbin/bhyve/
H A Dnet_utils.c58 memcmp(ea->octet, zero_addr, ETHER_ADDR_LEN) == 0) {
/freebsd-13-stable/tools/tools/ncpus/
H A Dacpi.c152 if (!memcmp(sdp->signature, "APIC", 4))
225 if (memcmp(rsdp.signature, "RSD PTR ", 8))
318 if (memcmp(rsdp->signature, "RSDT", 4) != 0 ||
324 if (memcmp(rsdp->signature, "XSDT", 4) != 0 ||
/freebsd-13-stable/sys/contrib/dev/acpica/common/
H A Dahuuids.c249 if (!memcmp (Data, UuidBuffer, UUID_BUFFER_LENGTH))
/freebsd-13-stable/sys/ofed/include/rdma/
H A Dib.h88 return memcmp(a1, a2, sizeof(struct ib_addr));
/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_uu.c285 if (len - nl >= 11 && memcmp(b, "begin ", 6) == 0)
287 else if (len -nl >= 18 && memcmp(b, "begin-base64 ", 13) == 0)
349 if (avail >= 5 && memcmp(b, "====\n", 5) == 0)
351 if (avail >= 6 && memcmp(b, "====\r\n", 6) == 0)
535 if (len - nl >= 11 && memcmp(b, "begin ", 6) == 0)
538 memcmp(b, "begin-base64 ", 13) == 0)
607 if (len - nl == 3 && memcmp(b, "end ", 3) == 0)
/freebsd-13-stable/contrib/netbsd-tests/lib/libdes/
H A Dt_des.c393 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0)
398 if (memcmp(plain, cfb_buf2, sizeof(plain)) != 0)
416 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0)
423 if (memcmp(plain, cfb_buf2, sizeof(plain)) != 0)
443 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0)
452 if (memcmp(plain, cfb_buf2, sizeof(plain)) != 0)
492 * if (memcmp(cbc_out,cbc3_ok, (unsigned int)(strlen((char
500 if (memcmp(cbc_in, cbc_data, strlen((char *) cbc_data) + 1) != 0) {
538 if (memcmp(out, cipher_data[i], 8) != 0) {
544 if (memcmp(i
[all...]
/freebsd-13-stable/sys/contrib/ngatm/netnatm/api/
H A Dunisap.c166 s1->len == s2->len && memcmp(s1->addr, s2->addr, s1->len) == 0);
220 memcmp(s1->info, s2->info, s1->len) == 0);
278 memcmp(called->addr.addr, sap->addr.addr,
283 memcmp(called->addr.addr, sap->addr.addr, 19) != 0)
406 if (memcmp(sap->bhli.info, bhli->info, bhli->len) != 0)
/freebsd-13-stable/tests/sys/fs/fusefs/
H A Dread.cc133 ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
340 ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
346 ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
375 ASSERT_EQ(0, memcmp(buf, CONTENTS, halfbufsize));
581 ASSERT_EQ(0, memcmp(p, CONTENTS, bufsize));
629 ASSERT_EQ(0, memcmp(p, CONTENTS, bufsize));
660 ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
667 ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
695 ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
717 ASSERT_EQ(0, memcmp(bu
[all...]
/freebsd-13-stable/crypto/openssl/crypto/x509v3/
H A Dv3_addr.c309 if ((r = memcmp(addr_a, addr_b, length)) != 0)
345 if (memcmp(min, max, length) <= 0)
502 !memcmp(f->addressFamily->data, key, keylen))
675 int cmp = memcmp(a->data, b->data, len);
744 if (memcmp(a_min, b_min, length) >= 0 ||
745 memcmp(a_min, a_max, length) > 0 ||
746 memcmp(b_min, b_max, length) > 0)
754 if (memcmp(a_max, b_min, length) >= 0)
775 if (memcmp(a_min, a_max, length) > 0 ||
817 if (memcmp(a_mi
[all...]
/freebsd-13-stable/sbin/ifconfig/
H A Daf_link.c117 if (memcmp(ifr.ifr_addr.sa_data, laggaddr, sdl->sdl_alen) == 0 ||
118 memcmp(ifr.ifr_addr.sa_data, LLADDR(sdl), sdl->sdl_alen) == 0)
/freebsd-13-stable/lib/libnv/tests/
H A Dnvlist_send_recv_test.c199 ATF_REQUIRE(memcmp(nvlist_get_binary(nvl, name, NULL), "x", 1) == 0);
200 ATF_REQUIRE(memcmp(nvlist_get_binary(nvl, name, &size), "x", 1) == 0);
207 ATF_REQUIRE(memcmp(nvlist_get_binary(nvl, name, NULL), ALPHABET,
209 ATF_REQUIRE(memcmp(nvlist_get_binary(nvl, name, &size), ALPHABET,
310 ATF_REQUIRE(memcmp(nvlist_get_binary(cnvl, cname, NULL), "x", 1) == 0);
311 ATF_REQUIRE(memcmp(nvlist_get_binary(cnvl, cname, &size), "x", 1) == 0);
318 ATF_REQUIRE(memcmp(nvlist_get_binary(cnvl, cname, NULL), ALPHABET,
320 ATF_REQUIRE(memcmp(nvlist_get_binary(cnvl, cname, &size), ALPHABET,

Completed in 163 milliseconds

1234567891011>>