Home
last modified time | relevance | path

Searched refs:memcmp (Results 401 - 425 of 1942) sorted by relevance

1...<<11121314151617181920>>...78

/third_party/icu/icu4c/source/test/intltest/
H A Dstrtest.cpp600 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 Dt1_enc.c750 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 Dt1_enc.c745 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 Danim_util.c296 (!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 Diso_protocol_common.c274 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 Ddlp_file_test.cpp163 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 Dupdate_patch.cpp62 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 Ddiffpatch_unittest.cpp58 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 Dsmcenc.c161 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 Dadx.c51 if (bufsize >= offset && offset >= 6 && memcmp(buf + offset - 6, "(c)CRI", 6)) in ff_adx_decode_header()
/third_party/ffmpeg/libavformat/
H A Dnuv.c54 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 Dchunk_test.c177 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 Dir3_nir_analyze_ubo_ranges.c90 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 Dv3d40_tex.c308 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 Dkex-25519.c129 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 Dmemchunk_test.cc117 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 Dtest_basic.c215 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 Docsp_vfy.c215 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 Docsp_vfy.c215 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 Dfont_data_test.cc223 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 Dtest_cast_main.cpp43 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ToCName))) { \
63 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ToCName))) { \
83 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ToCName))) { \
H A Dtest_icmp_main.cpp18 #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 Dhks_test_aes.c79 HKS_TEST_ASSERT(memcmp(plainText.data, plainText1.data, plainText.size) == 0); in TestAes256ByLocal()
/base/startup/hvb/libhvb/src/deps/
H A Dhvb_sysdeps.c26 return memcmp(src1, src2, n); in hvb_memcmp()
/third_party/elfutils/libdw/
H A Ddwarf_getscopevar.c68 && !memcmp (match_file, file, match_file_len) in file_matches()

Completed in 22 milliseconds

1...<<11121314151617181920>>...78