/third_party/icu/icu4c/source/test/intltest/ |
H A D | strtest.cpp | 600 if(!(sink.length() == 4 && 0 == memcmp("abcz", buffer, 4) && buffer[4] == '!')) { in TestByteSink() 629 0 == memcmp("abc", buffer, 3) && buffer[3] == '!') && in TestCheckedArrayByteSink() 655 0 == memcmp("abcdefghijklm", buffer, 13) && in TestCheckedArrayByteSink() 669 0 == memcmp("abcdefghijklmnopqrstuvwxyz", buffer, (int32_t)sizeof(buffer)) && in TestCheckedArrayByteSink() 677 0 == memcmp("123defghijklmnopqrstuvwxyz", buffer, (int32_t)sizeof(buffer)) && in TestCheckedArrayByteSink()
|
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | t1_enc.c | 750 if (memcmp(val, TLS_MD_CLIENT_FINISH_CONST, in tls1_export_keying_material() 753 if (memcmp(val, TLS_MD_SERVER_FINISH_CONST, in tls1_export_keying_material() 756 if (memcmp(val, TLS_MD_MASTER_SECRET_CONST, in tls1_export_keying_material() 759 if (memcmp(val, TLS_MD_EXTENDED_MASTER_SECRET_CONST, in tls1_export_keying_material() 762 if (memcmp(val, TLS_MD_KEY_EXPANSION_CONST, in tls1_export_keying_material()
|
/third_party/openssl/ssl/ |
H A D | t1_enc.c | 745 if (memcmp(val, TLS_MD_CLIENT_FINISH_CONST, in tls1_export_keying_material() 748 if (memcmp(val, TLS_MD_SERVER_FINISH_CONST, in tls1_export_keying_material() 751 if (memcmp(val, TLS_MD_MASTER_SECRET_CONST, in tls1_export_keying_material() 754 if (memcmp(val, TLS_MD_EXTENDED_MASTER_SECRET_CONST, in tls1_export_keying_material() 757 if (memcmp(val, TLS_MD_KEY_EXPANSION_CONST, in tls1_export_keying_material()
|
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | anim_util.c | 296 (!memcmp(GIF_STAMP, data->bytes, GIF_STAMP_LEN) || in IsGIF() 297 !memcmp(GIF87_STAMP, data->bytes, GIF_STAMP_LEN) || in IsGIF() 298 !memcmp(GIF89_STAMP, data->bytes, GIF_STAMP_LEN)); in IsGIF() 433 (!memcmp(signature, "NETSCAPE2.0", 11) || in GetLoopCountGIF() 434 !memcmp(signature, "ANIMEXTS1.0", 11)); in GetLoopCountGIF()
|
/base/security/device_auth/services/protocol/src/iso_protocol/ |
H A D | iso_protocol_common.c | 274 if (memcmp(peerToken->val, outHmac.val, outHmac.length) != 0) { in IsoClientCheckAndGenToken() 310 if (memcmp(outHmacBuf.val, hmac, hmacLen) != 0) { in IsoClientGenSessionKey() 370 if (memcmp(tokenFromPeer->val, outHmac.val, outHmac.length) != 0) { in IsoServerGenSessionKeyAndCalToken()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/ |
H A D | dlp_file_test.cpp | 163 result = memcmp(buffer, buffer2, 6); in HWTEST_F() 222 result = memcmp(buffer, buffer2, result); in HWTEST_F() 276 result = memcmp(buffer, buffer2, result); in HWTEST_F()
|
/base/update/updater/services/diffpatch/patch/ |
H A D | update_patch.cpp | 62 if (memcmp(param.patch, PKGDIFF_MAGIC, std::char_traits<char>::length(PKGDIFF_MAGIC)) != 0) {
in PreCheck() 251 if (memcmp(patchData.memory, PKGDIFF_MAGIC, std::char_traits<char>::length(PKGDIFF_MAGIC)) == 0) {
in ApplyPatch() 261 } else if (memcmp(patchData.memory, BSDIFF_MAGIC, std::char_traits<char>::length(BSDIFF_MAGIC)) == 0) { // bsdiff
in ApplyPatch()
|
/base/update/updater/test/unittest/diffpatch/ |
H A D | diffpatch_unittest.cpp | 58 EXPECT_EQ(0, memcmp(expected.c_str(), restoreHash.c_str(), restoreHash.size())); in BlockDiffPatchTest() 99 if (memcmp(patchData.memory, UpdatePatch::PKGDIFF_MAGIC, in TestApplyPatch() 205 EXPECT_EQ(0, memcmp(expected.c_str(), restoreHash.c_str(), restoreHash.size())); in BlockDiffPatchTest2()
|
/third_party/ffmpeg/libavcodec/ |
H A D | smcenc.c | 161 compare |= memcmp(prev_pixel_ptr + y * stride, pixel_ptr + y * stride, 4); in smc_encode_stream() 191 compare |= memcmp(old_pixel_ptr + y * stride, pixel_ptr + y * stride, 4); in smc_encode_stream() 221 memcmp(distinct_values, s->next_distinct_values, s->nb_distinct)) { in smc_encode_stream()
|
H A D | adx.c | 51 if (bufsize >= offset && offset >= 6 && memcmp(buf + offset - 6, "(c)CRI", 6)) in ff_adx_decode_header()
|
/third_party/ffmpeg/libavformat/ |
H A D | nuv.c | 54 if (!memcmp(p->buf, "NuppelVideo", 12)) in nuv_probe() 56 if (!memcmp(p->buf, "MythTVVideo", 12)) in nuv_probe() 169 is_mythtv = !memcmp(id_string, "MythTVVideo", 12); in nuv_header()
|
/third_party/libsnd/tests/ |
H A D | chunk_test.c | 177 memcmp (testdata, chunk_info.data, length_before), in chunk_test_helper() 282 memcmp ("Test", chunk_info.id, 4), in multichunk_test_helper() 287 memcmp (testdata [i], chunk_info.data, length_before [i]), in multichunk_test_helper()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_nir_analyze_ubo_ranges.c | 90 if (!memcmp(&range->ubo, &ubo, sizeof(ubo)) && r->start >= range->start && in get_existing_range() 113 if (memcmp(&a->ubo, &b->ubo, sizeof(a->ubo))) in merge_neighbors() 154 if (memcmp(&plan_r->ubo, &ubo, sizeof(ubo))) in gather_ubo_ranges()
|
/third_party/mesa3d/src/broadcom/compiler/ |
H A D | v3d40_tex.c | 308 memcmp(&p2_unpacked, &p2_unpacked_default, in v3d40_vir_emit_tex() 597 if (memcmp(&p1_unpacked, &p1_unpacked_default, sizeof(p1_unpacked))) in v3d40_vir_emit_image_load_store() 599 if (memcmp(&p2_unpacked, &p2_unpacked_default, sizeof(p2_unpacked))) in v3d40_vir_emit_image_load_store()
|
/third_party/libwebsockets/plugins/ssh-base/ |
H A D | kex-25519.c | 129 if (memcmp(p, "openssh-key-v1", 14)) in ed25519_key_parse() 135 if (l != 4 || memcmp(p, "none", 4)) in ed25519_key_parse() 140 if (l != 4 || memcmp(p, "none", 4)) in ed25519_key_parse()
|
/third_party/nghttp2/src/ |
H A D | memchunk_test.cc | 117 CU_ASSERT(0 == memcmp("01234567", buf, nread)); in test_memchunks_append() 123 CU_ASSERT(0 == memcmp("89abcdef@", buf, nread)); in test_memchunks_append() 147 CU_ASSERT(0 == memcmp("3456789", buf, nread)); in test_memchunks_drain()
|
/third_party/ltp/utils/sctp/func_tests/ |
H A D | test_basic.c | 215 if (memcmp(&msgname.v6.sin6_addr, &in6addr_loopback, in main() 271 if (memcmp(&msgname.v6.sin6_addr, &in6addr_loopback, in main() 434 if (memcmp(&msgname.v6.sin6_addr, &in6addr_loopback, in main()
|
/third_party/node/deps/openssl/openssl/crypto/ocsp/ |
H A D | ocsp_vfy.c | 215 if (memcmp(keyhash, tmphash, SHA_DIGEST_LENGTH) == 0) in STACK_OF() 343 if (memcmp(md, cid->issuerNameHash.data, mdlen) != 0) { in ocsp_match_issuerid() 351 ret = memcmp(md, cid->issuerKeyHash.data, mdlen) == 0; in ocsp_match_issuerid()
|
/third_party/openssl/crypto/ocsp/ |
H A D | ocsp_vfy.c | 215 if (memcmp(keyhash, tmphash, SHA_DIGEST_LENGTH) == 0) in STACK_OF() 343 if (memcmp(md, cid->issuerNameHash.data, mdlen) != 0) { in ocsp_match_issuerid() 351 ret = memcmp(md, cid->issuerKeyHash.data, mdlen) == 0; in ocsp_match_issuerid()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
H A D | font_data_test.cc | 223 EXPECT_EQ(memcmp(&(b1[offset]), &(b2[0]), length), 0); in ReadComparison() 235 int result = memcmp(&(b1[offset]), &(b2[0]), length); in ReadComparison() 248 int result = memcmp(&(b1[offset]), &(b2[0]), length); in ReadComparison()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/ |
H A D | test_cast_main.cpp | 43 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ToCName))) { \ 63 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ToCName))) { \ 83 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ToCName))) { \
|
H A D | test_icmp_main.cpp | 18 #include <cstring> // memcmp, memset 226 if (!memcmp(&ResultSz, &ResultLlc, sizeof(ResultSz))) { in testsVecInt() 287 if (!memcmp(&ResultSz, &ResultLlc, sizeof(ResultSz))) { in testsVecI1() 314 if (!memcmp(&ResultSz, &ResultLlc, sizeof(ResultSz))) { in testsVecI1()
|
/base/security/huks/test/unittest/huks_lite_test/common/ |
H A D | hks_test_aes.c | 79 HKS_TEST_ASSERT(memcmp(plainText.data, plainText1.data, plainText.size) == 0); in TestAes256ByLocal()
|
/base/startup/hvb/libhvb/src/deps/ |
H A D | hvb_sysdeps.c | 26 return memcmp(src1, src2, n); in hvb_memcmp()
|
/third_party/elfutils/libdw/ |
H A D | dwarf_getscopevar.c | 68 && !memcmp (match_file, file, match_file_len) in file_matches()
|