/third_party/littlefs/tests/ |
D | test_attrs.toml | 19 memcmp(buffer, "aaaa", 4) => 0; 20 memcmp(buffer+4, "bbbbbb", 6) => 0; 21 memcmp(buffer+10, "ccccc", 5) => 0; 27 memcmp(buffer, "aaaa", 4) => 0; 28 memcmp(buffer+4, "\0\0\0\0\0\0", 6) => 0; 29 memcmp(buffer+10, "ccccc", 5) => 0; 35 memcmp(buffer, "aaaa", 4) => 0; 36 memcmp(buffer+4, "\0\0\0\0\0\0", 6) => 0; 37 memcmp(buffer+10, "ccccc", 5) => 0; 43 memcmp(buffer, "aaaa", 4) => 0; [all …]
|
D | test_seek.toml | 31 memcmp(buffer, "kittycatcat", size) => 0; 38 memcmp(buffer, "kittycatcat", size) => 0; 42 memcmp(buffer, "kittycatcat", size) => 0; 46 memcmp(buffer, "kittycatcat", size) => 0; 50 memcmp(buffer, "kittycatcat", size) => 0; 54 memcmp(buffer, "kittycatcat", size) => 0; 58 memcmp(buffer, "kittycatcat", size) => 0; 62 memcmp(buffer, "kittycatcat", size) => 0; 100 memcmp(buffer, "kittycatcat", size) => 0; 111 memcmp(buffer, "doggodogdog", size) => 0; [all …]
|
D | test_entries.toml | 54 memcmp(rbuffer, wbuffer, size) => 0; 70 memcmp(rbuffer, wbuffer, size) => 0; 77 memcmp(rbuffer, wbuffer, size) => 0; 84 memcmp(rbuffer, wbuffer, size) => 0; 91 memcmp(rbuffer, wbuffer, size) => 0; 143 memcmp(rbuffer, wbuffer, size) => 0; 159 memcmp(rbuffer, wbuffer, size) => 0; 166 memcmp(rbuffer, wbuffer, size) => 0; 173 memcmp(rbuffer, wbuffer, size) => 0; 180 memcmp(rbuffer, wbuffer, size) => 0; [all …]
|
/third_party/json/tests/thirdparty/Fuzzer/test/ |
D | FuzzerUnittest.cpp | 123 if (NewSize == 7 && !memcmp(REM0, T, 7)) FoundMask |= 1 << 0; in TestEraseBytes() 124 if (NewSize == 7 && !memcmp(REM1, T, 7)) FoundMask |= 1 << 1; in TestEraseBytes() 125 if (NewSize == 7 && !memcmp(REM2, T, 7)) FoundMask |= 1 << 2; in TestEraseBytes() 126 if (NewSize == 7 && !memcmp(REM3, T, 7)) FoundMask |= 1 << 3; in TestEraseBytes() 127 if (NewSize == 7 && !memcmp(REM4, T, 7)) FoundMask |= 1 << 4; in TestEraseBytes() 128 if (NewSize == 7 && !memcmp(REM5, T, 7)) FoundMask |= 1 << 5; in TestEraseBytes() 129 if (NewSize == 7 && !memcmp(REM6, T, 7)) FoundMask |= 1 << 6; in TestEraseBytes() 130 if (NewSize == 7 && !memcmp(REM7, T, 7)) FoundMask |= 1 << 7; in TestEraseBytes() 132 if (NewSize == 6 && !memcmp(REM8, T, 6)) FoundMask |= 1 << 8; in TestEraseBytes() 133 if (NewSize == 6 && !memcmp(REM9, T, 6)) FoundMask |= 1 << 9; in TestEraseBytes() [all …]
|
D | MemcmpTest.cpp | 12 if (Size >= 8 && memcmp(Data, "01234567", 8) == 0) { in LLVMFuzzerTestOneInput() 13 if (Size >= 12 && memcmp(Data + 8, "ABCD", 4) == 0) { in LLVMFuzzerTestOneInput() 14 if (Size >= 14 && memcmp(Data + 12, "XY", 2) == 0) { in LLVMFuzzerTestOneInput() 15 if (Size >= 17 && memcmp(Data + 14, "KLM", 3) == 0) { in LLVMFuzzerTestOneInput() 16 if (Size >= 27 && memcmp(Data + 17, "ABCDE-GHIJ", 10) == 0){ in LLVMFuzzerTestOneInput()
|
/third_party/toybox/toys/posix/ |
D | file.c | 182 if (n_namesz==4 && !memcmp(note+12, "GNU", 4)) { 187 } else if (n_namesz==8 && !memcmp(note+12, "Android", 8)) { 250 else if (len>32 && !memcmp(toybuf, "\xff\xd8", 2)) xputs("JPEG image data"); in do_regular_file() 290 else if (len>32 && !memcmp(s+1, "\xfa\xed\xfe", 3)) { in do_regular_file() 309 } else if (len>36 && !memcmp(s, "OggS\x00\x02", 6)) { in do_regular_file() 312 if (!memcmp(s+28, "CELT ", 8)) xprintf(", celt audio"); in do_regular_file() 313 else if (!memcmp(s+28, "CMML ", 8)) xprintf(", cmml text"); in do_regular_file() 314 else if (!memcmp(s+28, "BBCD\0", 5)) xprintf(", dirac video"); in do_regular_file() 315 else if (!memcmp(s+28, "\177FLAC", 5)) xprintf(", flac audio"); in do_regular_file() 316 else if (!memcmp(s+28, "\x8bJNG\r\n\x1a\n", 8)) xprintf(", jng video"); in do_regular_file() [all …]
|
/third_party/libcoap/tests/ |
D | test_pdu.c | 54 CU_ASSERT(memcmp(pdu->token, teststr + 4, 5) == 0); in t_parse_pdu2() 101 CU_ASSERT(memcmp(pdu->token, teststr + 4, 5) == 0); in t_parse_pdu5() 136 CU_ASSERT(memcmp(pdu->token, teststr + 4, 5) == 0); in t_parse_pdu7() 141 CU_ASSERT(memcmp(pdu->data, teststr + 13, 7) == 0); in t_parse_pdu7() 165 CU_ASSERT(memcmp(pdu->data, teststr + 5, 7) == 0); in t_parse_pdu8() 351 CU_ASSERT(memcmp(pdu->token - 4, teststr, sizeof(teststr)) == 0); in t_encode_pdu1() 441 CU_ASSERT(memcmp(pdu->token - 4, teststr, sizeof(teststr)) == 0); in t_encode_pdu4() 482 CU_ASSERT(memcmp(pdu->token - 4, teststr, sizeof(teststr)) == 0); in t_encode_pdu5() 504 CU_ASSERT(memcmp(pdu->token - 4, teststr, sizeof(teststr)) == 0); in t_encode_pdu6() 527 CU_ASSERT(memcmp(pdu->token - 4, teststr, sizeof(teststr)) == 0); in t_encode_pdu7() [all …]
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-cose/ |
D | keys.c | 731 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_X].buf, key1_x, sizeof(key1_x)) || in test_cose_keys() 732 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_Y].buf, key1_y, sizeof(key1_y)) || in test_cose_keys() 733 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_D].buf, key1_d, sizeof(key1_d))) in test_cose_keys() 763 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_X].buf, key2_x, sizeof(key2_x)) || in test_cose_keys() 764 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_Y].buf, key2_y, sizeof(key2_y)) || in test_cose_keys() 765 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_D].buf, key2_d, sizeof(key2_d))) in test_cose_keys() 783 memcmp(ck->e[LWS_GENCRYPTO_OCT_KEYEL_K].buf, key3_k, sizeof(key3_k))) { in test_cose_keys() 805 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_X].buf, key4_x, sizeof(key4_x)) || in test_cose_keys() 806 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_Y].buf, key4_y, sizeof(key4_y)) || in test_cose_keys() 807 memcmp(ck->e[LWS_GENCRYPTO_EC_KEYEL_D].buf, key4_d, sizeof(key4_d))) in test_cose_keys() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/mxf/ |
D | mxfdms1.c | 66 if (memcmp (tag_ul, &instance_uid_ul, 16) == 0) { in mxf_dms1_handle_tag() 72 } else if (memcmp (tag_ul, &generation_uid_ul, 16) == 0) { in mxf_dms1_handle_tag() 129 if (memcmp (tag_ul, &extended_text_language_code_ul, 16) == 0) { in mxf_dms1_text_language_handle_tag() 198 if (memcmp (tag_ul, &thesaurus_name_ul, 16) == 0) { in mxf_dms1_thesaurus_handle_tag() 410 if (memcmp (tag_ul, &framework_extended_text_language_code_ul, 16) == 0) { in mxf_dms1_framework_handle_tag() 416 } else if (memcmp (tag_ul, &framework_thesaurus_name_ul, 16) == 0) { in mxf_dms1_framework_handle_tag() 420 } else if (memcmp (tag_ul, &framework_title_ul, 16) == 0) { in mxf_dms1_framework_handle_tag() 423 } else if (memcmp (tag_ul, &primary_extended_spoken_language_code_ul, in mxf_dms1_framework_handle_tag() 430 } else if (memcmp (tag_ul, &secondary_extended_spoken_language_code_ul, in mxf_dms1_framework_handle_tag() 437 } else if (memcmp (tag_ul, &original_extended_spoken_language_code_ul, in mxf_dms1_framework_handle_tag() [all …]
|
/third_party/openssl/test/ |
D | curve448_internal_test.c | 606 || !TEST_int_eq(memcmp(sig1, outsig, sizeof(sig1)), 0) in test_ed448() 609 || !TEST_int_eq(memcmp(sig2, outsig, sizeof(sig2)), 0) in test_ed448() 613 || !TEST_int_eq(memcmp(sig3, outsig, sizeof(sig3)), 0) in test_ed448() 616 || !TEST_int_eq(memcmp(sig4, outsig, sizeof(sig4)), 0) in test_ed448() 619 || !TEST_int_eq(memcmp(sig5, outsig, sizeof(sig5)), 0) in test_ed448() 622 || !TEST_int_eq(memcmp(sig6, outsig, sizeof(sig6)), 0) in test_ed448() 625 || !TEST_int_eq(memcmp(sig7, outsig, sizeof(sig7)), 0) in test_ed448() 628 || !TEST_int_eq(memcmp(sig8, outsig, sizeof(sig8)), 0) in test_ed448() 631 || !TEST_int_eq(memcmp(sig9, outsig, sizeof(sig9)), 0) in test_ed448() 636 || !TEST_int_eq(memcmp(phsig1, outsig, sizeof(phsig1)), 0) in test_ed448() [all …]
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
D | file_io_test.cc | 52 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), length), 0); in TestFileInputStream() 59 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFileInputStream() 65 EXPECT_EQ(memcmp(&(b1[100]), &(b2[0]), 100), 0); in TestFileInputStream() 69 EXPECT_EQ(memcmp(&(b1[300]), &(b2[0]), 100), 0); in TestFileInputStream() 76 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), 200), 0); in TestFileInputStream() 82 EXPECT_EQ(memcmp(&(b3[0]), &(b2[0]), 200), 0); in TestFileInputStream() 114 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), length), 0); in TestFontInputStreamBasic() 121 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFontInputStreamBasic() 123 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 200), 0); in TestFontInputStreamBasic() 127 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFontInputStreamBasic() [all …]
|
D | memory_io_test.cc | 54 EXPECT_EQ(memcmp(&(b[0]), &(test_buffer[0]) + 3, 7), 0); in TestMemoryInputStream() 58 EXPECT_EQ(memcmp(&(b[0]), &(test_buffer[0]) + 3, 17), 0); in TestMemoryInputStream() 65 EXPECT_EQ(memcmp(&(b[0]), &(test_buffer[0]) + 50, 10), 0); in TestMemoryInputStream() 70 EXPECT_EQ(memcmp(&(b[0]), &(test_buffer[0]) + 40, 10), 0); in TestMemoryInputStream() 79 EXPECT_EQ(memcmp(&(b[0]), &(test_buffer[0]) + kTestBufferLen - 10, 10), 0); in TestMemoryInputStream() 92 EXPECT_EQ(memcmp(os.Get(), &(test_buffer[0]) + 50, kTestBufferLen - 50), 0); in TestMemoryOutputStream()
|
/third_party/lwip/test/unit/dhcp/ |
D | test_dhcp.c | 213 …fail_if(memcmp(&data[pos], mem, len), "data at pos %d, len %d in packet %d did not match", pos, le… in check_pkt() 233 if (memcmp(&data[i], mem, len) == 0) { in check_pkt_fuzzy() 462 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 463 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST() 464 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST() 493 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 494 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST() 495 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST() 535 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 536 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_base/gst/typefind/ |
D | gsttypefindfunctions.c | 120 return (memcmp (c->data + offset, data, len) == 0); in data_scan_ctx_memcmp() 311 if (!memcmp (data, tester[n].bom, tester[n].bomlen)) in unicode_type_find() 445 if (memcmp (c.data, magic, 8)) in itc_type_find() 457 if (memcmp (c.data, preamble, 4)) in itc_type_find() 467 if (memcmp (c.data, artwork_marker, 8)) in itc_type_find() 488 if (memcmp (c.data + 4, item_marker, 4)) in itc_type_find() 512 if (memcmp (c.data, "#EXTM3U", 7)) in hls_type_find() 523 if (c.data[0] == '#' && (memcmp (c.data, "#EXT-X-TARGETDURATION", 21) == 0 in hls_type_find() 524 || memcmp (c.data, "#EXT-X-STREAM-INF", 17) == 0 in hls_type_find() 525 || memcmp (c.data, "#EXT-X-MEDIA", 12) == 0)) { in hls_type_find() [all …]
|
/third_party/libuv/test/ |
D | test-fs-poll.c | 114 ASSERT(0 == memcmp(prev, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 115 ASSERT(0 == memcmp(curr, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 121 ASSERT(0 == memcmp(prev, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 122 ASSERT(0 != memcmp(curr, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 128 ASSERT(0 != memcmp(prev, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 129 ASSERT(0 != memcmp(curr, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 135 ASSERT(0 != memcmp(prev, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 136 ASSERT(0 != memcmp(curr, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 142 ASSERT(0 != memcmp(prev, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() 143 ASSERT(0 == memcmp(curr, &zero_statbuf, sizeof(zero_statbuf))); in poll_cb() [all …]
|
D | test-strscpy.c | 36 ASSERT(0 == memcmp(d, "x\0\0", sizeof(d))); in TEST_IMPL() 40 ASSERT(0 == memcmp(d, "xy\0", sizeof(d))); in TEST_IMPL() 43 ASSERT(0 == memcmp(d, "xyz", sizeof(d))); in TEST_IMPL() 46 ASSERT(0 == memcmp(d, "xyz", sizeof(d))); in TEST_IMPL() 49 ASSERT(0 == memcmp(d, "xyz", sizeof(d))); in TEST_IMPL()
|
/third_party/ffmpeg/libavformat/ |
D | nistspheredec.c | 60 if (!memcmp(buffer, "end_head", 8)) { in nist_read_header() 91 } else if (!memcmp(buffer, "channel_count", 13)) { in nist_read_header() 95 } else if (!memcmp(buffer, "sample_byte_format", 18)) { in nist_read_header() 108 } else if (!memcmp(buffer, "sample_coding", 13)) { in nist_read_header() 110 } else if (!memcmp(buffer, "sample_count", 12)) { in nist_read_header() 112 } else if (!memcmp(buffer, "sample_n_bytes", 14)) { in nist_read_header() 116 } else if (!memcmp(buffer, "sample_rate", 11)) { in nist_read_header() 118 } else if (!memcmp(buffer, "sample_sig_bits", 15)) { in nist_read_header()
|
D | rtpenc_jpeg.c | 104 && !memcmp(buf + i + 2, avpriv_mjpeg_bits_dc_luminance + 1, 16) in ff_rtp_send_jpeg() 105 && !memcmp(buf + i + 18, avpriv_mjpeg_val_dc, 12)) { in ff_rtp_send_jpeg() 116 && !memcmp(buf + i + 2, avpriv_mjpeg_bits_dc_chrominance + 1, 16) in ff_rtp_send_jpeg() 117 && !memcmp(buf + i + 18, avpriv_mjpeg_val_dc, 12)) { in ff_rtp_send_jpeg() 128 && !memcmp(buf + i + 2, avpriv_mjpeg_bits_ac_luminance + 1, 16) in ff_rtp_send_jpeg() 129 && !memcmp(buf + i + 18, avpriv_mjpeg_val_ac_luminance, 162)) { in ff_rtp_send_jpeg() 140 && !memcmp(buf + i + 2, avpriv_mjpeg_bits_ac_chrominance + 1, 16) in ff_rtp_send_jpeg() 141 && !memcmp(buf + i + 18, avpriv_mjpeg_val_ac_chrominance, 162)) { in ff_rtp_send_jpeg()
|
/third_party/ltp/testcases/kernel/syscalls/memcmp/ |
D | memcmp01.c | 57 if (memcmp(p, q, len)) { in verify_memcmp() 64 if (memcmp(p, q, len) >= 0) { in verify_memcmp() 72 if (memcmp(p, q, len) >= 0) { in verify_memcmp() 80 if (memcmp(p, q, len) <= 0) { in verify_memcmp() 88 if (memcmp(p, q, len) <= 0) { in verify_memcmp() 95 if (memcmp(p, q, len)) { in verify_memcmp()
|
/third_party/lwip/test/unit/ip6/ |
D | test_ip6.c | 161 fail_unless(memcmp(&addr6, &addr_expected, 16) == 0); in START_TEST() 165 fail_unless(memcmp(&addr, &addr_expected, 16) == 0); in START_TEST() 171 fail_unless(memcmp(&addr6, &addr_expected, 16) == 0); in START_TEST() 175 fail_unless(memcmp(&addr, &addr_expected, 16) == 0); in START_TEST() 181 fail_unless(memcmp(&addr6, &addr_expected, 16) == 0); in START_TEST() 185 fail_unless(memcmp(&addr, &addr_expected, 16) == 0); in START_TEST() 191 fail_unless(memcmp(&addr6, &addr_expected, 16) == 0); in START_TEST() 195 fail_unless(memcmp(&addr, &addr_expected, 16) == 0); in START_TEST() 255 fail_unless(!memcmp(test_netif6.hwaddr, zeros, 6)); in START_TEST() 258 fail_unless(!memcmp(netif_ip6_addr(&test_netif6, 0), zeros, sizeof(ip6_addr_t))); in START_TEST() [all …]
|
/third_party/lz4/ossfuzz/ |
D | round_trip_fuzzer.c | 42 FUZZ_ASSERT_MSG(!memcmp(data, rt, size), "Corruption!"); in LLVMFuzzerTestOneInput() 52 FUZZ_ASSERT_MSG(!memcmp(data, partial, partialSize), "Corruption!"); in LLVMFuzzerTestOneInput() 63 FUZZ_ASSERT_MSG(!memcmp(data, partial, partialSize), "Corruption!"); in LLVMFuzzerTestOneInput() 74 FUZZ_ASSERT_MSG(!memcmp(data, partial, partialSize), "Corruption!"); in LLVMFuzzerTestOneInput() 85 FUZZ_ASSERT_MSG(!memcmp(data, partial, partialSize), "Corruption!"); in LLVMFuzzerTestOneInput() 96 FUZZ_ASSERT_MSG(!memcmp(data, partial, partialSize), "Corruption!"); in LLVMFuzzerTestOneInput() 107 FUZZ_ASSERT_MSG(!memcmp(data, partial, partialSize), "Corruption!"); in LLVMFuzzerTestOneInput()
|
/third_party/libevdev/test/ |
D | test-int-queue.c | 101 rc = memcmp(&tmp, &ev, sizeof(tmp)); in START_TEST() 131 rc = memcmp(&tmp, &ev, sizeof(tmp)); in START_TEST() 141 rc = memcmp(&tmp, &ev, sizeof(tmp)); in START_TEST() 147 rc = memcmp(&tmp, &ev, sizeof(tmp)); in START_TEST() 181 rc = memcmp(&ev, &e1, sizeof(ev)); in START_TEST() 186 rc = memcmp(&ev, &e2, sizeof(ev)); in START_TEST() 221 rc = memcmp(&events[0], &e1, sizeof(ev)); in START_TEST() 223 rc = memcmp(&events[1], &e2, sizeof(ev)); in START_TEST() 238 rc = memcmp(&events[0], &e1, sizeof(ev)); in START_TEST() 243 rc = memcmp(&events[0], &e2, sizeof(ev)); in START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | avimux.c | 197 fail_unless (memcmp (data, data0, sizeof (data0)) == 0); in check_avimux_pad() 198 fail_unless (memcmp (data + 8, data1, sizeof (data1)) == 0); in check_avimux_pad() 199 fail_unless (memcmp (data + 20, data2, sizeof (data2)) == 0); in check_avimux_pad() 202 fail_unless (memcmp (data, data3, sizeof (data3)) == 0); in check_avimux_pad() 203 fail_unless (memcmp (data + 8, data4, sizeof (data4)) == 0); in check_avimux_pad() 204 fail_unless (memcmp (data + 76, data5, sizeof (data5)) == 0); in check_avimux_pad() 208 fail_unless (memcmp (data, data6, sizeof (data6)) == 0); in check_avimux_pad() 210 fail_unless (memcmp (data, data7, sizeof (data7)) == 0); in check_avimux_pad()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_map/ |
D | main.c | 70 memcmp(lws_map_item_value(item), "def", 3)) { in main() 82 memcmp(lws_map_item_value(item), "4567", 4)) { in main() 126 memcmp(lws_map_item_value(item), "def", 3)) { in main() 138 memcmp(lws_map_item_value(item), "4567", 4)) { in main() 186 memcmp(lws_map_item_value(item), "def", 3)) { in main() 200 memcmp(lws_map_item_value(item), "4567", 4)) { in main() 242 memcmp(lws_map_item_value(item), "4567", 4)) { in main()
|
/third_party/skia/tests/ |
D | StreamBufferTest.cpp | 23 REPORTER_ASSERT(r, !memcmp(data->data(), gText + position, length)); in test_get_data_at_position() 38 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, buffered)); in test_buffer_from_beginning() 45 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, length)); in test_buffer_from_beginning() 61 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText + position, step)); in test_flushing() 123 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, 5)); in DEF_TEST() 128 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, 14)); in DEF_TEST() 147 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText + 27, remaining)); in DEF_TEST()
|