/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_cpio_newc.c | 125 assert(memcmp(e + 6, "00000000", 8) != 0); /* ino != 0 */ 166 assert(memcmp(e + 6, file + 6, 8) != 0); /* ino != file ino */ 167 assert(memcmp(e + 6, "00000000", 8) != 0); /* ino != 0 */
|
/freebsd-11-stable/crypto/openssl/ssl/ |
H A D | t1_reneg.c | 177 if (memcmp(d, s->s3->previous_client_finished, 269 if (memcmp(d, s->s3->previous_client_finished, 278 if (memcmp(d, s->s3->previous_server_finished,
|
/freebsd-11-stable/crypto/openssl/crypto/pqueue/ |
H A D | pqueue.c | 121 * we can compare 64-bit value in big-endian encoding with memcmp:-) 123 int cmp = memcmp(next->priority, item->priority, 8); 169 if (memcmp(next->priority, prio64be, 8) == 0) { 176 if (memcmp(next->priority, prio64be, 8) == 0)
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | Magic.cpp | 47 if (memcmp(Start, COFF::BigObjMagic, sizeof(COFF::BigObjMagic)) == 0) 49 if (memcmp(Start, COFF::ClGlObjMagic, sizeof(COFF::BigObjMagic)) == 0) 55 memcmp(Magic.data(), COFF::WinResMagic, sizeof(COFF::WinResMagic)) == 0)
|
/freebsd-11-stable/contrib/gcc/ |
H A D | c-pch.c | 135 gcc_assert (memcmp (executable_checksum, no_checksum, 16) != 0); 239 gcc_assert (memcmp (executable_checksum, no_checksum, 16) != 0); 252 if (memcmp (ident, pch_ident, IDENT_LENGTH) != 0) 256 if (memcmp (ident, pch_ident, 5) == 0) 261 else if (memcmp (ident, pch_ident, 4) == 0) 271 if (memcmp (ident + IDENT_LENGTH, executable_checksum, 16) != 0)
|
/freebsd-11-stable/crypto/openssl/crypto/sha/ |
H A D | sha512t.c | 104 if (memcmp(md, app_c1, sizeof(app_c1))) { 116 if (memcmp(md, app_c2, sizeof(app_c2))) { 140 if (memcmp(md, app_c3, sizeof(app_c3))) { 154 if (memcmp(md, app_d1, sizeof(app_d1))) { 166 if (memcmp(md, app_d2, sizeof(app_d2))) { 183 if (memcmp(md, app_d3, sizeof(app_d3))) {
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/ |
H A D | t_ether_aton.c | 109 if (memcmp(dest, tests[t].res, sizeof(dest)) != 0) 114 if (memcmp(&dest, tests[t].res, sizeof(dest)) != 0)
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | alphanbsd-tdep.c | 162 if (memcmp (w, sigtramp_retcode + (i * 4), 4) == 0) 174 if (memcmp (ret, sigtramp_retcode, RETCODE_SIZE) == 0)
|
/freebsd-11-stable/lib/libnv/tests/ |
H A D | nvlist_send_recv_test.c | 180 CHECK(memcmp(nvlist_get_binary(nvl, name, NULL), "x", 1) == 0); 181 CHECK(memcmp(nvlist_get_binary(nvl, name, &size), "x", 1) == 0); 188 CHECK(memcmp(nvlist_get_binary(nvl, name, NULL), "abcdefghijklmnopqrstuvwxyz", sizeof("abcdefghijklmnopqrstuvwxyz")) == 0); 189 CHECK(memcmp(nvlist_get_binary(nvl, name, &size), "abcdefghijklmnopqrstuvwxyz", sizeof("abcdefghijklmnopqrstuvwxyz")) == 0); 283 CHECK(memcmp(nvlist_get_binary(cnvl, cname, NULL), "x", 1) == 0); 284 CHECK(memcmp(nvlist_get_binary(cnvl, cname, &size), "x", 1) == 0); 291 CHECK(memcmp(nvlist_get_binary(cnvl, cname, NULL), "abcdefghijklmnopqrstuvwxyz", sizeof("abcdefghijklmnopqrstuvwxyz")) == 0); 292 CHECK(memcmp(nvlist_get_binary(cnvl, cname, &size), "abcdefghijklmnopqrstuvwxyz", sizeof("abcdefghijklmnopqrstuvwxyz")) == 0);
|
H A D | dnv_tests.cc | 223 ATF_REQUIRE_EQ(memcmp(actual_value, value, actual_size), 0); 243 ATF_REQUIRE_EQ(memcmp(actual_value, default_value, actual_size), 0); 249 ATF_REQUIRE_EQ(memcmp(actual_value, default_value, actual_size), 0); 257 ATF_REQUIRE_EQ(memcmp(actual_value, default_value, actual_size), 0); 264 ATF_REQUIRE_EQ(memcmp(actual_value, default_value, actual_size), 0); 494 ATF_REQUIRE_EQ(memcmp(actual_val, value, value_size), 0); 515 ATF_REQUIRE_EQ(memcmp(actual_val, default_val, actual_size), 0); 535 ATF_REQUIRE_EQ(memcmp(actual_val, default_val, default_size), 0);
|
/freebsd-11-stable/usr.bin/mkuzip/ |
H A D | mkuz_blockcache.c | 72 rval = (memcmp(cbp->data, vbuf, cbp->info.len) == 0) ? 1 : 0; 114 if (memcmp(bp->info.digest, bcep->hit.digest,
|
/freebsd-11-stable/contrib/mdocml/ |
H A D | preconv.c | 125 memcmp(ln, ".\\\" -*-", 7) || memcmp(eoln - 3, "-*-", 3))
|
/freebsd-11-stable/crypto/heimdal/lib/gssapi/krb5/ |
H A D | arcfour.c | 278 if (memcmp(p, "\x11\x00", 2) != 0) /* SGN_ALG = HMAC MD5 ARCFOUR */ 281 if (memcmp (p, "\xff\xff\xff\xff", 4) != 0) 324 cmp = memcmp(&SND_SEQ[4], "\xff\xff\xff\xff", 4); 326 cmp = memcmp(&SND_SEQ[4], "\x00\x00\x00\x00", 4); 555 if (memcmp(p, "\x02\x01", 2) != 0) 558 if (memcmp(p, "\x11\x00", 2) != 0) /* SGN_ALG = HMAC MD5 ARCFOUR */ 562 if (memcmp (p, "\x10\x00", 2) == 0) 564 else if (memcmp (p, "\xff\xff", 2) == 0) 570 if (memcmp (p, "\xff\xff", 2) != 0) 595 cmp = memcmp( [all...] |
/freebsd-11-stable/usr.sbin/bluetooth/btpand/ |
H A D | bnep.c | 335 if (memcmp(ptr, NAP_UUID + off, len) == 0) 337 else if (memcmp(ptr, GN_UUID + off, len) == 0) 339 else if (memcmp(ptr, PANU_UUID + off, len) == 0) 351 if (memcmp(ptr, NAP_UUID + off, len) == 0) 353 else if (memcmp(ptr, GN_UUID + off, len) == 0) 355 else if (memcmp(ptr, PANU_UUID + off, len) == 0) 526 if (memcmp(mf[i].start, mf[i].end, ETHER_ADDR_LEN) > 0) { 652 dst = (memcmp(pkt->dst, chan->raddr, ETHER_ADDR_LEN) != 0); 653 src = (memcmp(pkt->src, chan->laddr, ETHER_ADDR_LEN) != 0); 752 if (memcmp(pk [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/ELF/Arch/ |
H A D | X86_64.cpp | 205 if (memcmp(loc - 3, "\x48\x8d\x05", 3)) { 245 if (memcmp(loc - 3, "\x48\x8d\x05", 3)) { 270 if (memcmp(inst, "\x48\x03\x25", 3) == 0) { 273 } else if (memcmp(inst, "\x4c\x03\x25", 3) == 0) { 276 } else if (memcmp(inst, "\x4c\x03", 2) == 0) { 280 } else if (memcmp(inst, "\x48\x03", 2) == 0) { 284 } else if (memcmp(inst, "\x4c\x8b", 2) == 0) { 288 } else if (memcmp(inst, "\x48\x8b", 2) == 0) { 552 if (memcmp(loc, "\x64\x48\x3b\x24\x25", 5) == 0) { 561 if (memcmp(lo [all...] |
/freebsd-11-stable/contrib/netbsd-tests/crypto/opencrypto/ |
H A D | h_arc4.c | 76 if (memcmp(co.dst, ciphertx, sizeof(ciphertx)))
|
H A D | h_cbcdes.c | 78 if (memcmp(co.dst, ciphertx, sizeof(ciphertx)))
|
H A D | h_null.c | 72 if (memcmp(co.dst, plaintx, sizeof(plaintx)))
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
H A D | h_fileactions.c | 97 if (memcmp(&sb0, &sb1, sizeof sb0) != 0) {
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_strcpy.c | 107 if (memcmp(&buf0[a0], &buf1[a1],
|
H A D | t_swab.c | 80 if (memcmp(b, r, MAXCHK) != 0) {
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libutil/ |
H A D | t_snprintb.c | 80 ATF_REQUIRE_EQ(0, memcmp(res, buf, res_len + 1));
|
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | ecoffswap.h | 131 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) 173 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) 241 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) 310 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) 372 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) 432 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) 486 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) 536 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) 575 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) 625 if (memcmp ((cha [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_grzip.c | 103 if (memcmp(p, grzip_magic, sizeof(grzip_magic)))
|
H A D | archive_read_support_filter_lrzip.c | 106 if (memcmp(p, LRZIP_HEADER_MAGIC, LRZIP_HEADER_MAGIC_LEN))
|