/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | message_test.py | 79 golden_data = test_util.GoldenFile('golden_message').read() 81 golden_message.ParseFromString(golden_data) 83 self.assertEqual(golden_data, golden_message.SerializeToString()) 85 self.assertEqual(golden_data, golden_copy.SerializeToString()) 88 golden_data = test_util.GoldenFile('golden_message').read() 90 golden_message.ParseFromString(golden_data) 94 self.assertEqual(golden_data, golden_message.SerializeToString()) 96 self.assertEqual(golden_data, golden_copy.SerializeToString()) 99 golden_data = test_util.GoldenFile('golden_packed_fields_message').read() 101 golden_message.ParseFromString(golden_data) [all …]
|
/external/v8/third_party/zlib/google/ |
D | compression_utils_unittest.cc | 52 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST() 54 EXPECT_EQ(golden_data, uncompressed_data); in TEST() 61 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST() 63 EXPECT_EQ(golden_data, uncompressed_data); in TEST()
|
/external/zlib/google/ |
D | compression_utils_unittest.cc | 53 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST() 55 EXPECT_EQ(golden_data, uncompressed_data); in TEST() 66 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST() 68 EXPECT_EQ(golden_data, uncompressed_data); in TEST()
|
/external/protobuf/python/google/protobuf/internal/ |
D | message_test.py | 130 golden_data = test_util.GoldenFileData( 133 golden_data = test_util.GoldenFileData('golden_message_proto3') 136 golden_message.ParseFromString(golden_data) 139 self.assertEqual(golden_data, golden_message.SerializeToString()) 141 self.assertEqual(golden_data, golden_copy.SerializeToString()) 144 golden_data = test_util.GoldenFileData('golden_packed_fields_message') 146 parsed_bytes = golden_message.ParseFromString(golden_data) 149 self.assertEqual(parsed_bytes, len(golden_data)) 151 self.assertEqual(golden_data, all_set.SerializeToString()) 153 self.assertEqual(golden_data, golden_copy.SerializeToString()) [all …]
|
/external/autotest/client/cros/audio/ |
D | audio_helper.py | 553 def get_one_channel_correlation(test_data, golden_data): argument 580 to_float(golden_data), 630 def compare_one_channel_correlation(test_data, golden_data, parameters): argument 651 test_data, golden_data) 691 golden_data = audio_data.AudioRawData( 705 golden_data_one_channel = golden_data.channel_data[golden_channel]
|
/external/llvm/unittests/ADT/ |
D | HashingTest.cpp | 210 struct { const char *s; uint64_t hash; } golden_data[] = { in TEST() local 321 for (unsigned i = 0; i < sizeof(golden_data)/sizeof(*golden_data); ++i) { in TEST() 322 StringRef str = golden_data[i].s; in TEST() 329 EXPECT_EQ(static_cast<size_t>(golden_data[i].hash), in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | HashingTest.cpp | 210 struct { const char *s; uint64_t hash; } golden_data[] = { in TEST() local 321 for (unsigned i = 0; i < sizeof(golden_data)/sizeof(*golden_data); ++i) { in TEST() 322 StringRef str = golden_data[i].s; in TEST() 329 EXPECT_EQ(static_cast<size_t>(golden_data[i].hash), in TEST()
|
/external/autotest/server/site_tests/audio_AudioAfterReboot/ |
D | audio_AudioAfterReboot.py | 141 def run_once(self, host, golden_data, audio_nodes, bind_from=None, argument 175 self.golden_file, self.low_pass_freq = golden_data
|
D | control.headphone | 32 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
|
D | control.external_mic | 32 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
|
D | control.internal_speaker | 33 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
|
D | control.internal_mic | 33 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
|
/external/autotest/server/site_tests/audio_AudioAfterSuspend/ |
D | audio_AudioAfterSuspend.py | 179 def run_once(self, host, audio_nodes, golden_data, argument 219 self.golden_file, self.low_pass_freq = golden_data
|
D | control.external_mic | 36 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
|
D | control.headphone | 37 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
|
D | control.internal_speaker | 37 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
|
D | control.headphone.unplug | 40 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
|
D | control.internal_mic | 38 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
|
D | control.external_mic.unplug | 39 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
|
D | control.internal_mic.plug | 39 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
|
D | control.internal_speaker.plug | 38 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | conv_test.cc | 343 const float golden_data[] = {6, 2, 0, 6, 2, 0, 6, 4, 0, 6, 4, 0}; in TF_LITE_MICRO_TEST() local 363 golden_data, golden_quantized, output_data, output_scale, in TF_LITE_MICRO_TEST()
|