Home
last modified time | relevance | path

Searched refs:memcmp (Results 251 - 275 of 1942) sorted by relevance

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

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
H A Dtest_vector_ops_main.cpp85 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testInsertElement()
118 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testExtractElement()
150 if (!memcmp(&ResultLlc, &ResultSz, sizeof(ResultLlc))) { in testShuffleVector()
/third_party/libexif/libexif/
H A Dexif-entry.c446 if (memcmp (e->data, "ASCII\0\0\0" , 8) && in exif_entry_fix()
447 memcmp (e->data, "UNICODE\0" , 8) && in exif_entry_fix()
448 memcmp (e->data, "JIS\0\0\0\0\0" , 8) && in exif_entry_fix()
449 memcmp (e->data, "\0\0\0\0\0\0\0\0", 8)) { in exif_entry_fix()
942 ( memcmp (e->data, "ASCII\0\0\0" , 8) && in exif_entry_get_value()
943 memcmp (e->data, "UNICODE\0" , 8) && in exif_entry_get_value()
944 memcmp (e->data, "JIS\0\0\0\0\0", 8) && in exif_entry_get_value()
945 memcmp (e->data, "\0\0\0\0\0\0\0\0", 8))) in exif_entry_get_value()
953 if ((e->size >= 8) && !memcmp (e->data, "ASCII\0\0\0", 8)) { in exif_entry_get_value()
957 if ((e->size >= 8) && !memcmp ( in exif_entry_get_value()
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dcustrtrn.c1557 length!=UPRV_LENGTHOF(expected) || 0!=memcmp(dest, expected, length) || in Test_strToJavaModifiedUTF8()
1568 0!=memcmp(dest, expected, UPRV_LENGTHOF(expected)) || in Test_strToJavaModifiedUTF8()
1579 length!=UPRV_LENGTHOF(expected) || 0!=memcmp(dest, expected, length) || in Test_strToJavaModifiedUTF8()
1589 length!=expectedTerminatedLength || 0!=memcmp(dest, expected, length) || in Test_strToJavaModifiedUTF8()
1599 0!=memcmp(dest, expected, expectedTerminatedLength) || in Test_strToJavaModifiedUTF8()
1630 length!=UPRV_LENGTHOF(shortExpected) || 0!=memcmp(dest, shortExpected, length) || in Test_strToJavaModifiedUTF8()
1641 length!=UPRV_LENGTHOF(asciiNulExpected) || 0!=memcmp(dest, asciiNulExpected, length) || in Test_strToJavaModifiedUTF8()
1749 length!=UPRV_LENGTHOF(expected) || 0!=memcmp(dest, expected, length) || in Test_strFromJavaModifiedUTF8()
1762 0!=memcmp(dest, expected, UPRV_LENGTHOF(expected)) || in Test_strFromJavaModifiedUTF8()
1775 length!=UPRV_LENGTHOF(expected) || 0!=memcmp(des in Test_strFromJavaModifiedUTF8()
[all...]
/base/security/asset/frameworks/os_dependency/memory/src/
H A Dasset_mem.c47 return memcmp(ptr1, ptr2, size); in AssetMemCmp()
/third_party/musl/libc-test/src/regression/
H A Dprintf-1e9-oob.c12 if (r != n || memcmp(buf, want, n+1) != 0) in t()
H A Dprintf-fmt-g-round.c12 if (r != n || memcmp(buf, want, n+1) != 0) in t()
H A Dprintf-fmt-g-zeros.c12 if (r != n || memcmp(buf, want, n+1) != 0) in t()
H A Dmkdtemp-failure.c24 if (memcmp(p, S, sizeof p) != 0) in main()
H A Dmkstemp-failure.c23 if (memcmp(p, S, sizeof p) != 0) in main()
/third_party/musl/src/temp/
H A Dmkdtemp.c11 if (l<6 || memcmp(template+l-6, "XXXXXX", 6)) { in mkdtemp()
/third_party/lz4/tests/
H A Ddecompress-partial.c41 if ((result < 0) || (result != srcLen) || memcmp(source, outBuffer, srcLen)) { in main()
/third_party/curl/tests/server/
H A Dsockfilt.c913 if(!memcmp("ACKD", buffer, 4)) { in disc_handshake()
917 else if(!memcmp("DISC", buffer, 4)) { in disc_handshake()
922 else if(!memcmp("DATA", buffer, 4)) { in disc_handshake()
930 else if(!memcmp("QUIT", buffer, 4)) { in disc_handshake()
1093 if(!memcmp("PING", buffer, 4)) { in juggle()
1099 else if(!memcmp("PORT", buffer, 4)) { in juggle()
1110 else if(!memcmp("QUIT", buffer, 4)) { in juggle()
1115 else if(!memcmp("DATA", buffer, 4)) { in juggle()
1134 else if(!memcmp("DISC", buffer, 4)) { in juggle()
/third_party/curl/lib/
H A Dimap.c262 if(len >= id_len + 1 && !memcmp(id, line, id_len) && line[id_len] == ' ') { in imap_endofresp()
266 if(len >= 2 && !memcmp(line, "OK", 2)) in imap_endofresp()
268 else if(len >= 7 && !memcmp(line, "PREAUTH", 7)) in imap_endofresp()
277 if(len >= 2 && !memcmp("* ", line, 2)) { in imap_endofresp()
330 (len >= 2 && !memcmp("+ ", line, 2)))) { in imap_endofresp()
927 if(wordlen == 8 && !memcmp(line, "STARTTLS", 8)) in imap_state_capability_resp()
931 else if(wordlen == 13 && !memcmp(line, "LOGINDISABLED", 13)) in imap_state_capability_resp()
935 else if(wordlen == 7 && !memcmp(line, "SASL-IR", 7)) in imap_state_capability_resp()
939 else if(wordlen > 5 && !memcmp(line, "AUTH=", 5)) { in imap_state_capability_resp()
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_FMT.c255 CU_ASSERT_EQUAL(memcmp in do_get_formats()
312 CU_ASSERT_EQUAL(memcmp in do_get_formats()
373 CU_ASSERT_EQUAL(memcmp in do_get_formats()
467 CU_ASSERT_EQUAL(memcmp in do_get_formats()
487 CU_ASSERT_EQUAL(memcmp(&format, &format2, sizeof(format)), 0); in do_get_formats()
526 CU_ASSERT_EQUAL(memcmp(&format, &format2, sizeof(format)), 0); in do_get_format_invalid()
811 CU_ASSERT_EQUAL(memcmp in do_set_formats_enum()
888 CU_ASSERT_EQUAL(memcmp in do_set_formats_enum()
1568 CU_ASSERT_EQUAL(memcmp(&format, &format2, sizeof(format)), 0); in do_set_formats_type()
/third_party/libexif/libexif/olympus/
H A Dexif-mnote-data-olympus.c595 if (!memcmp (buf, "OLYMPUS", 8)) in exif_mnote_data_olympus_identify_variant()
597 else if (!memcmp (buf, "OLYMP", 6)) in exif_mnote_data_olympus_identify_variant()
599 else if (!memcmp (buf, "SANYO", 6)) in exif_mnote_data_olympus_identify_variant()
601 else if (!memcmp (buf, "EPSON", 6)) in exif_mnote_data_olympus_identify_variant()
603 else if (!memcmp (buf, "Nikon", 6)) { in exif_mnote_data_olympus_identify_variant()
/third_party/skia/tests/
H A DGradientTest.cpp65 !memcmp(info->fColors, fColors, fColorCount * sizeof(SkColor))); in gradCheck()
67 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar))); in gradCheck()
96 REPORTER_ASSERT(reporter, !memcmp(info.fPoint, checkRec.fPoint, 2 * sizeof(SkPoint))); in linear_gradproc()
135 REPORTER_ASSERT(reporter, !memcmp(info.fPoint, checkRec.fPoint, 2 * sizeof(SkPoint))); in conical_gradproc()
136 REPORTER_ASSERT(reporter, !memcmp(info.fRadius, checkRec.fRadius, 2 * sizeof(SkScalar))); in conical_gradproc()
/third_party/ffmpeg/libavformat/
H A Dbintext.c100 if (memcmp(buf, next_magic, sizeof(next_magic))) in next_tag_read()
137 magic = !memcmp(d + p->buf_size - 256, next_magic, sizeof(next_magic)); in bin_probe()
139 sauce = !memcmp(d + p->buf_size - 128, "SAUCE00", 7); in bin_probe()
309 if (!memcmp(p->buf, idf_magic, sizeof(idf_magic))) in idf_probe()
H A Ddhav.c58 if (!memcmp(p->buf, "DAHUA", 5)) in dhav_probe()
61 if (memcmp(p->buf, "DHAV", 4)) in dhav_probe()
275 if (!memcmp(signature, "DAHUA", 5)) { in dhav_read_header()
279 if (!memcmp(signature, "DHAV", 4)) { in dhav_read_header()
/third_party/ffmpeg/tests/checkasm/
H A Dvc1dsp.c274 if (memcmp(inv_trans_in0, inv_trans_in1, 10 * 8 * sizeof (int16_t))) in check_inv_trans_inplace()
323 if (memcmp(inv_trans_out0, inv_trans_out1, 10 * 24)) in check_inv_trans_adding()
363 if (memcmp(filter_buf0, filter_buf1, 24 * 48)) in check_loop_filter()
386 if (len0 != len1 || memcmp(unescaped0, unescaped1, UNESCAPE_BUF_SIZE)) \
/third_party/alsa-utils/axfer/test/
H A Dmapper-test.c302 err = memcmp(frame_buffer, buf, size); in test_i_buf()
311 err = memcmp(frame_buffer, buf, size); in test_i_buf()
353 err = memcmp(target[i], bufs[i], size); in test_vector()
365 err = memcmp(target[i], bufs[i], size); in test_vector()
/third_party/nghttp2/src/
H A Dshrpx_router.cc181 if (memcmp(node->s, p, n) != 0) { in match_complete()
211 if (memcmp(node->s + offset, first, n) != 0) { in match_partial()
261 if (memcmp(node->s, p, n) != 0) { in match_partial()
367 if (memcmp(node->s, p, n) != 0) { in match_prefix()
/third_party/libexif/libexif/pentax/
H A Dexif-mnote-data-pentax.c236 if (!memcmp(buf + datao, "AOC", 4)) { in exif_mnote_data_pentax_load()
251 } else if (!memcmp(buf + datao, "QVC", 4)) { in exif_mnote_data_pentax_load()
258 /* probably assert(!memcmp(buf + datao, "\x00\x1b", 2)) */ in exif_mnote_data_pentax_load()
427 if ((e->size >= 8) && !memcmp (e->data, "AOC", 4)) { in exif_mnote_data_pentax_identify()
436 if ((e->size >= 8) && !memcmp (e->data, "QVC", 4)) in exif_mnote_data_pentax_identify()
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx509_cmp.c96 rv = memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH); in X509_CRL_match()
168 rv = memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH); in X509_cmp()
178 rv = memcmp(a->cert_info.enc.enc, in X509_cmp()
283 ret = memcmp(a->canon_enc, b->canon_enc, a->canon_enclen); in X509_NAME_cmp()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DMultisampleCompatibilityTest.cpp217 EXPECT_NE(0, memcmp(results[0].get(), results[1].get(), kResultSize)); in TEST_P()
220 EXPECT_EQ(0, memcmp(results[0].get(), results[2].get(), kResultSize)); in TEST_P()
274 EXPECT_NE(0, memcmp(results[0].get(), results[1].get(), kResultSize)); in TEST_P()
277 EXPECT_EQ(0, memcmp(results[0].get(), results[2].get(), kResultSize)); in TEST_P()
/third_party/openssl/crypto/x509/
H A Dx509_cmp.c96 rv = memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH); in X509_CRL_match()
168 rv = memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH); in X509_cmp()
178 rv = memcmp(a->cert_info.enc.enc, in X509_cmp()
284 ret = memcmp(a->canon_enc, b->canon_enc, a->canon_enclen); in X509_NAME_cmp()

Completed in 20 milliseconds

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