Home
last modified time | relevance | path

Searched refs:expected_bytes (Results 1 – 5 of 5) sorted by relevance

/external/google-breakpad/src/processor/
Dsynth_minidump_unittest.cc178 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/tpm2/
Dmarshal_test.c355 UINT16 expected_bytes = sizeof(UINT16)+(sizeof(TPMU_HA)-1)*sizeof(BYTE); in StructureSuccessArrayTest() local
356 CHECK_EQ(bytes_marshalled, expected_bytes); in StructureSuccessArrayTest()
359 CHECK_EQ(size, sizeof(TPM2B_DIGEST)-expected_bytes); in StructureSuccessArrayTest()
372 UINT16 expected_bytes = sizeof(TPM_ST)+sizeof(TPMI_RH_HIERARCHY)+sizeof(UINT16); in StructureSuccessNullTest() local
373 CHECK_EQ(bytes_marshalled, expected_bytes); in StructureSuccessNullTest()
376 CHECK_EQ(size, sizeof(TPMT_TK_HASHCHECK)-expected_bytes); in StructureSuccessNullTest()
386 UINT16 expected_bytes = sizeof(TPM_ST)+sizeof(TPMI_RH_HIERARCHY)+sizeof(UINT16); in StructureFailureTagTest() local
387 CHECK_EQ(bytes_marshalled, expected_bytes); in StructureFailureTagTest()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dbyte_io_unittest.cc85 uint8_t expected_bytes[B + kAlignments]; in TestWrite() local
90 PopulateTestData(expected_bytes + i, test_value, B, big_endian); in TestWrite()
98 EXPECT_EQ(expected_bytes[i + j], bytes[i + j]); in TestWrite()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc176 void EncodeDecodeTest(size_t expected_bytes, int tolerance, double mse, in EncodeDecodeTest() argument
209 if (expected_bytes) { in EncodeDecodeTest()
210 EXPECT_EQ(expected_bytes, encoded_bytes_); in EncodeDecodeTest()
/external/google-breakpad/src/common/
Dtest_assembler_unittest.cc756 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); \