/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_open_memstream.c | 71 ATF_CHECK(memcmp(buf + OFFSET, hello, sizeof(hello)-1) == 0);
|
/freebsd-11-stable/tools/tools/crypto/ |
H A D | cryptocheck.c | 417 if (memcmp(control_digest, test_digest, sizeof(control_digest)) != 0) { 418 if (memcmp(control_digest, test_digest, EVP_MD_size(md)) == 0) 545 if (size > 0 && memcmp(cleartext, ciphertext, size) == 0) 549 if (memcmp(cleartext, buffer, size) != 0) { 562 if (memcmp(ciphertext, buffer, size) != 0) { 575 if (memcmp(cleartext, buffer, size) != 0) { 713 if (size > 0 && memcmp(cleartext + aad_len, ciphertext + aad_len, 728 if (memcmp(ciphertext + aad_len, buffer + aad_len, size) != 0) { 736 if (memcmp(control_digest, test_digest, sizeof(control_digest)) != 0) { 737 if (memcmp(control_diges [all...] |
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_buffer.c | 184 tt_assert(!memcmp((char*)EVBUFFER_DATA(evb), "hello/1", 1)); 192 tt_assert(!memcmp((char*)EVBUFFER_DATA(evb), "1", 1)); 201 tt_assert(!memcmp((char*)EVBUFFER_DATA(evb), "1/hello", 7) != 0); 211 tt_assert(!memcmp(tmp + 7, buffer, sizeof(buffer))); 246 if (memcmp(evbuffer_pullup( 248 memcmp(evbuffer_pullup( 616 tt_assert(!memcmp(evbuffer_pullup(dst, strlen(data)), 848 if (memcmp(compare, expect_data, expect_len)) { 974 if (!cp || sz != 5 || memcmp(cp, "more\0\0", 6)) 1625 tt_int_op(memcmp(tm [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_bzip2.c | 140 if (memcmp(buffer, "BZh", 3) != 0) 152 if (memcmp(buffer + 4, "\x31\x41\x59\x26\x53\x59", 6) == 0) 154 else if (memcmp(buffer + 4, "\x17\x72\x45\x38\x50\x90", 6) == 0)
|
H A D | archive_read_support_format_cpio.c | 273 if (memcmp(p, "070707", 6) == 0) { 281 } else if (memcmp(p, "070727", 6) == 0) { 289 } else if (memcmp(p, "070701", 6) == 0) { 297 } else if (memcmp(p, "070702", 6) == 0) { 548 if (memcmp("07070", p, 5) == 0 561 if (memcmp("07070", p, 5) == 0 612 if (memcmp(header + newc_magic_offset, "070701", 6) == 0) { 615 } else if (memcmp(header + newc_magic_offset, "070702", 6) == 0) { 717 if (memcmp("070707", p, 6) == 0 && is_octal(p, odc_header_size)) 719 if (memcmp("07072 [all...] |
/freebsd-11-stable/lib/libc/tests/locale/ |
H A D | wcsnrtombs_test.c | 77 ATF_REQUIRE(memcmp(dstbuf, "hell", 4) == 0); 89 ATF_REQUIRE(memcmp(dstbuf, "hell", 4) == 0); 184 ATF_REQUIRE(memcmp(dstbuf, "\xA3\xC1 B ", 5) == 0);
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | getdelim_test.c | 95 ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0); 213 ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0); 219 ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0);
|
/freebsd-11-stable/crypto/openssl/crypto/dsa/ |
H A D | dsatest.c | 190 if ((i != j) || (memcmp(buf, out_q, i) != 0)) { 197 if ((i != j) || (memcmp(buf, out_p, i) != 0)) { 204 if ((i != j) || (memcmp(buf, out_g, i) != 0)) {
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | SocketAddress.cpp | 294 : 0 == memcmp(&m_socket_addr.sa_ipv6.sin6_addr, &in6addr_any, 16); 300 : 0 == memcmp(&m_socket_addr.sa_ipv6.sin6_addr, &in6addr_loopback, 314 return 0 == memcmp(&m_socket_addr.sa_ipv6.sin6_addr,
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_cpio_odc.c | 152 assert(memcmp(e + 12, "000000", 6) != 0); /* ino must be != 0 */ 202 assert(memcmp(e + 12, file + 12, 6) != 0); /* ino must != file ino */ 203 assert(memcmp(e + 12, "000000", 6) != 0); /* ino must != 0 */
|
/freebsd-11-stable/tools/tools/net80211/w00t/expand/ |
H A D | expand.c | 99 if (memcmp(bssid, p->ap, 6) != 0) 108 if (memcmp(p->mac, sa, 6) == 0) 349 (memcmp(wh->i_addr2, p->ap, 6) == 0) && 350 (memcmp(wh->i_addr1, p->mcast, 5) == 0) && 351 (memcmp(p->mac, wh->i_addr3, 6) == 0)) {
|
/freebsd-11-stable/contrib/dtc/libfdt/ |
H A D | fdt_ro.c | 67 if (memcmp(p, s, len) != 0) 88 return (strlen(p) == len) && (memcmp(p, s, len) == 0); 518 && (memcmp(val, propval, len) == 0)) 556 if (memcmp(str, strlist, len+1) == 0) 612 if (length == len && memcmp(list, string, length) == 0)
|
/freebsd-11-stable/lib/msun/tests/ |
H A D | fenv_test.c | 169 * The memcmp() test below may be too much to ask for, since there 195 assert(memcmp(&env.__mxcsr, &FE_DFL_ENV->__mxcsr, 197 assert(memcmp(&env.__x87.__control, &FE_DFL_ENV->__x87.__control, 199 assert(memcmp(&env.__x87.__status, &FE_DFL_ENV->__x87.__status, 201 assert(memcmp(&env.__x87.__tag, &FE_DFL_ENV->__x87.__tag, 204 assert(memcmp(&env, FE_DFL_ENV, sizeof(env)) == 0);
|
/freebsd-11-stable/crypto/openssl/crypto/bf/ |
H A D | bftest.c | 388 if (memcmp(&(bf_cipher[n][0]), &(data[0]), 8) != 0) { 402 if (memcmp(&(bf_plain[n][0]), &(data[0]), 8) != 0) { 422 if (memcmp(&(cipher_data[n][0]), out, 8) != 0) { 436 if (memcmp(&(plain_data[n][0]), out, 8) != 0) { 455 if (memcmp(out, &(key_out[i = n - 1][0]), 8) != 0) { 470 if (memcmp(cbc_out, cbc_ok, 32) != 0) { 478 if (memcmp(cbc_in, cbc_data, strlen(cbc_data) + 1) != 0) { 494 if (memcmp(cbc_out, cfb64_ok, (int)len) != 0) { 505 if (memcmp(cbc_in, cbc_data, (int)len) != 0) { 521 if (memcmp(cbc_ou [all...] |
/freebsd-11-stable/tools/regression/net80211/tkip/ |
H A D | test_tkip.c | 242 if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) { 259 if (memcmp(ctx->tx_ttak, t->phase1, t->phase1_len)) { 264 } else if (memcmp(ctx->tx_rc4key, t->phase2, t->phase2_len)) { 274 } else if (memcmp(mtod(m, const void *), t->encrypted, m->m_pkthdr.len)) { 290 if (memcmp(ctx->rx_ttak, t->phase1, t->phase1_len)) { 294 } else if (memcmp(ctx->rx_rc4key, t->phase2, t->phase2_len)) { 314 if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) {
|
/freebsd-11-stable/contrib/unbound/util/ |
H A D | alloc.c | 419 if(memcmp(ptr-8, &mem_special, sizeof(mem_special)) != 0) { 439 if(memcmp(ptr-8, &mem_special, sizeof(mem_special)) != 0) { 491 if(ptr && memcmp(ptr-8, &mem_special, sizeof(mem_special)) == 0) { 563 if(memcmp(real, lite_pre, lite_pad) != 0) { 570 if(memcmp(real+lite_pad+orig+sizeof(size_t), lite_post, lite_pad)!=0){ 599 if(memcmp(real, lite_pre, lite_pad) != 0) { 606 if(memcmp(real+lite_pad+orig+sizeof(size_t), lite_post, lite_pad)!=0){
|
/freebsd-11-stable/tools/tools/net80211/w00t/ap/ |
H A D | ap.c | 267 if (memcmp(wh->i_addr1, p->mac, 6) != 0) 327 if (memcmp(wh->i_addr1, p->mac, 6) != 0) 400 if (memcmp(wh->i_addr1, p->mac, 6) != 0) 408 if (memcmp(wh->i_addr1, p->mac, 6) == 0) 441 if (memcmp(wh->i_addr1, "\xff\xff\xff\xff\xff\xff", 6) == 0) 502 if (memcmp(wh->i_addr1, p->mac, 6) != 0) 506 if (memcmp(wh->i_addr3, p->mac, 6) != 0) 571 if (memcmp(c->mac, mac, 6) == 0) 644 if (memcmp(wh->i_addr1, p->mac, 6) != 0) 668 if (memcmp(w [all...] |
/freebsd-11-stable/tools/tools/net80211/w00t/assoc/ |
H A D | assoc.c | 238 return memcmp(wh->i_addr1, mac, 6) == 0; 243 return memcmp(wh->i_addr2, mac, 6) == 0; 248 if (memcmp(wh->i_addr1, p->mac, 6) != 0) 271 if (memcmp(wh->i_addr2, p->mac, 6) == 0) { 343 if (memcmp(wh->i_addr2, p->ap, 6) != 0) 346 if (memcmp(wh->i_addr1, p->ap, 6) != 0)
|
/freebsd-11-stable/crypto/openssl/crypto/rc5/ |
H A D | rc5test.c | 249 if (memcmp(&(RC5cipher[n][0]), buf, 8) != 0) { 263 if (memcmp(&(RC5plain[n][0]), buf2, 8) != 0) { 290 if (memcmp(&(rc5_cbc_cipher[n][0]), buf, 8) != 0) { 305 if (memcmp(&(rc5_cbc_plain[n][0]), buf2, 8) != 0) { 340 if (memcmp(cfb_cipher, cfb_buf1, CFB_TEST_SIZE) != 0) { 353 if (memcmp(plain, cfb_buf2, CFB_TEST_SIZE) != 0) {
|
/freebsd-11-stable/lib/libcrypt/ |
H A D | crypt-sha256.c | 417 if (memcmp(tests[cnt].result, sum, 32) != 0) { 432 if (memcmp(tests[cnt].result, sum, 32) != 0) { 456 if (memcmp(expected, sum, 32) != 0) {
|
H A D | crypt-sha512.c | 450 if (memcmp(tests[cnt].result, sum, 64) != 0) { 459 if (memcmp(tests[cnt].result, sum, 64) != 0) { 479 if (memcmp(expected, sum, 64) != 0) {
|
/freebsd-11-stable/crypto/openssl/crypto/ocsp/ |
H A D | ocsp_vfy.c | 223 if (!memcmp(keyhash, tmphash, SHA_DIGEST_LENGTH)) 334 if (memcmp(md, cid->issuerNameHash->data, mdlen)) 337 if (memcmp(md, cid->issuerKeyHash->data, mdlen))
|
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_mcg.c | 98 if (!memcmp(mgm->gid, zero_gid, 16)) { 106 if (!memcmp(mgm->gid, gid, 16)) 143 if (!memcmp(mgm->gid, zero_gid, 16))
|
/freebsd-11-stable/usr.bin/bluetooth/rfcomm_sppd/ |
H A D | rfcomm_sppd.c | 156 if (!doserver && memcmp(&addr, NG_HCI_BDADDR_ANY, sizeof(addr)) == 0) 250 if (memcmp(&addr, NG_HCI_BDADDR_ANY, sizeof(addr)) && 251 memcmp(&addr, &ra.rfcomm_bdaddr, sizeof(addr))) {
|
/freebsd-11-stable/sbin/fsck_msdosfs/ |
H A D | boot.c | 157 if (!memcmp(&block[3], "EXFAT ", 8)) { 208 if (memcmp(fsinfo, "RRaA", 4) 209 || memcmp(fsinfo + 0x1e4, "rrAa", 4)
|