Home
last modified time | relevance | path

Searched refs:golden_data (Results 1 – 22 of 22) sorted by relevance

/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dmessage_test.py79 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/
Dcompression_utils_unittest.cc52 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/
Dcompression_utils_unittest.cc53 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/
Dmessage_test.py130 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/
Daudio_helper.py553 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/
DHashingTest.cpp210 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/
DHashingTest.cpp210 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/
Daudio_AudioAfterReboot.py141 def run_once(self, host, golden_data, audio_nodes, bind_from=None, argument
175 self.golden_file, self.low_pass_freq = golden_data
Dcontrol.headphone32 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
Dcontrol.external_mic32 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
Dcontrol.internal_speaker33 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
Dcontrol.internal_mic33 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
/external/autotest/server/site_tests/audio_AudioAfterSuspend/
Daudio_AudioAfterSuspend.py179 def run_once(self, host, audio_nodes, golden_data, argument
219 self.golden_file, self.low_pass_freq = golden_data
Dcontrol.external_mic36 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
Dcontrol.headphone37 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
Dcontrol.internal_speaker37 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
Dcontrol.headphone.unplug40 golden_data=(audio_test_data.FREQUENCY_TEST_FILE, 4000),
Dcontrol.internal_mic38 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
Dcontrol.external_mic.unplug39 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 2000),
Dcontrol.internal_mic.plug39 golden_data=(audio_test_data.SIMPLE_FREQUENCY_TEST_FILE, 1500),
Dcontrol.internal_speaker.plug38 golden_data=(audio_test_data.SIMPLE_FREQUENCY_SPEAKER_TEST_FILE, 1000),
/external/tensorflow/tensorflow/lite/micro/kernels/
Dconv_test.cc343 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()