/external/python/asn1crypto/tests/ |
D | test_pem.py | 118 expected_bytes = f.read() 119 self.assertEqual(expected_bytes, decoded_bytes) 145 expected_bytes = f.read() 148 expected_bytes = expected_bytes.replace(b'\r\n', b'\n') 149 self.assertEqual(expected_bytes, encoded_bytes)
|
/external/tensorflow/tensorflow/core/framework/ |
D | dataset_test.cc | 49 const int64 expected_bytes; member 60 test_case.expected_bytes); in TEST_P() 63 test_case.expected_bytes); in TEST_P()
|
/external/libaom/libaom/test/ |
D | aom_integer_test.cc | 51 const uint8_t expected_bytes[3] = { 0xE5, 0x8E, 0x26 }; in TEST() local 60 ASSERT_EQ(write_buffer[i], expected_bytes[i]); in TEST() 83 const uint8_t expected_bytes[4] = { 0xa3, 0x82, 0x80, 0x00 }; in TEST() local 92 ASSERT_EQ(write_buffer[i], expected_bytes[i]); in TEST()
|
/external/google-breakpad/src/processor/ |
D | synth_minidump_unittest.cc | 178 static const uint8_t expected_bytes[] = { in TEST() local 190 EXPECT_EQ(sizeof(expected_bytes), contents.size()); in TEST() 191 EXPECT_TRUE(memcmp(contents.data(), expected_bytes, contents.size()) == 0); in TEST() 206 static const uint8_t expected_bytes[] = { in TEST() local 233 EXPECT_EQ(sizeof(expected_bytes), contents.size()); in TEST() 234 EXPECT_TRUE(memcmp(contents.data(), expected_bytes, contents.size()) == 0); in TEST()
|
/external/fonttools/Tests/ttLib/tables/ |
D | C_O_L_R_test.py | 50 for expected_bytes, description in expected_fragments: 51 actual_bytes = font_bytes[pos : pos + len(expected_bytes)] 52 if actual_bytes != expected_bytes: 55 pos += len(expected_bytes)
|
/external/rust/crates/protobuf/src/ |
D | coded_output_stream.rs | 547 let expected_bytes = decode_hex(expected); in test_write() localVariable 557 assert_eq!(encode_hex(&expected_bytes), encode_hex(&v)); in test_write() 562 let mut r = Vec::with_capacity(expected_bytes.len()); in test_write() 563 r.resize(expected_bytes.len(), 0); in test_write() 569 assert_eq!(encode_hex(&expected_bytes), encode_hex(&r)); in test_write() 583 assert_eq!(encode_hex(&expected_bytes), encode_hex(&r)); in test_write()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | byte_io_unittest.cc | 110 uint8_t expected_bytes[B + kAlignments]; in TestWrite() local 115 PopulateTestData(expected_bytes + i, test_value, B, big_endian); in TestWrite() 123 EXPECT_EQ(expected_bytes[i + j], bytes[i + j]); in TestWrite()
|
D | rtp_sender_unittest.cc | 622 const size_t expected_bytes = in TEST_P() local 634 Field(&RtpPacketSendInfo::length, expected_bytes), in TEST_P()
|
/external/libchrome/base/files/ |
D | file_proxy_unittest.cc | 267 int expected_bytes = arraysize(expected_data); in TEST_F() local 268 ASSERT_EQ(expected_bytes, in TEST_F() 269 base::WriteFile(TestPath(), expected_data, expected_bytes)); in TEST_F() 281 EXPECT_EQ(expected_bytes, static_cast<int>(buffer_.size())); in TEST_F()
|
/external/boringssl/src/crypto/trust_token/ |
D | trust_token_test.cc | 95 uint8_t expected_bytes[1 + 2 * EC_MAX_BYTES]; in TEST() local 98 expected_bytes, sizeof(expected_bytes), nullptr); in TEST() 102 EXPECT_EQ(Bytes(h), Bytes(expected_bytes, expected_len)); in TEST() 117 uint8_t expected_bytes[1 + 2 * EC_MAX_BYTES]; in TEST() local 120 expected_bytes, sizeof(expected_bytes), nullptr); in TEST() 124 EXPECT_EQ(Bytes(h), Bytes(expected_bytes, expected_len)); in TEST()
|
/external/openscreen/cast/streaming/ |
D | rtp_packetizer_unittest.cc | 120 const absl::Span<const uint8_t> expected_bytes( in TestGeneratePacket() local 123 EXPECT_EQ(expected_bytes, result->payload); in TestGeneratePacket()
|
/external/webrtc/modules/audio_coding/neteq/ |
D | audio_decoder_unittest.cc | 157 void EncodeDecodeTest(size_t expected_bytes, in EncodeDecodeTest() argument 197 if (expected_bytes) { in EncodeDecodeTest() 198 EXPECT_EQ(expected_bytes, encoded_bytes); in EncodeDecodeTest()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/ |
D | trust_token_test.cc | 83 uint8_t expected_bytes[1 + 2 * EC_MAX_BYTES]; in TEST() local 86 expected_bytes, sizeof(expected_bytes), nullptr); in TEST() 90 EXPECT_EQ(Bytes(h), Bytes(expected_bytes, expected_len)); in TEST()
|
/external/OpenCL-CTS/test_conformance/images/clFillImage/ |
D | test_fill_generic.cpp | 517 size_t expected_bytes = scanlineSize * imageRegion[1] * imageRegion[2]; in test_fill_image_generic() local 518 return (total_matched == expected_bytes) ? 0 : -1; in test_fill_image_generic()
|
/external/google-breakpad/src/common/ |
D | test_assembler_unittest.cc | 756 static const uint8_t expected_bytes[] = b; \ 757 ASSERT_EQ(sizeof(expected_bytes), s.size()); \ 758 ASSERT_TRUE(memcmp(s.data(), (const char *) expected_bytes, \ 759 sizeof(expected_bytes)) == 0); \
|
/external/python/cpython3/Lib/test/ |
D | test_xmlrpc.py | 1441 expected_bytes = b"my dog has fleas" 1443 marshaled = xmlrpclib.dumps((expected_bytes, expected_date), 'foobar') 1452 self.assertEqual(self.log, [expected_bytes, expected_date])
|
/external/avb/ |
D | aftltool_test.py | 1002 expected_bytes = ( 1012 self.assertEqual(d.encode(), binascii.unhexlify(expected_bytes))
|
/external/pdfium/third_party/libtiff/ |
D | tif_ojpeg.c | 853 int expected_bytes; in OJPEGDecodeRaw() local 872 expected_bytes = sp->subsampling_convert_clinelenout * sp->subsampling_ver * sp->subsampling_hor; in OJPEGDecodeRaw() 873 if (jpeg_bytes != expected_bytes) in OJPEGDecodeRaw()
|