/frameworks/ml/nn/tools/test_generator/include/ |
D | TestHarness.h | 112 inline void for_each(const std::map<int, std::vector<T>>& golden, in for_each() argument 115 for_each<T>(golden, [&test, &execute](int index, const std::vector<T>& g) { in for_each() 124 const std::map<int, std::vector<T>>& golden, const std::map<int, std::vector<T>>& test, in for_each() argument 126 for_each<T>(golden, [&test, &execute](int index, const std::vector<T>& g) { in for_each() 188 inline void resize_accordingly_(const std::map<int, std::vector<T>>& golden, in resize_accordingly_() argument 190 for_each<T>(golden, test, in resize_accordingly_() 195 inline void resize_accordingly_<uint32_t>(const OperandDimensions& golden, 198 golden, test, 202 inline void resize_accordingly(const MixedTyped& golden, MixedTyped& test) { in resize_accordingly() argument 203 resize_accordingly_(golden.operandDimensions, test.operandDimensions); in resize_accordingly() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewCaptureTest.java | 95 Bitmap golden = BitmapFactory.decodeResource(mActivity.getResources(), goldenResId); in testCreateSnapshot() local 98 result = result.copy(golden.getConfig(), false); in testCreateSnapshot() 99 assertTrue(golden.sameAs(result)); in testCreateSnapshot()
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | RRuleTest.java | 66 String golden) throws Exception { in runRecurrenceIteratorTest() argument 67 runRecurrenceIteratorTest(rruleText, dtStart, limit, golden, null, null, UTC); in runRecurrenceIteratorTest() 71 String golden, String advanceTo, String tz) throws Exception { in runRecurrenceIteratorTest() argument 72 runRecurrenceIteratorTest(rrule, dtstartStr, limit, golden, advanceTo, null, tz); in runRecurrenceIteratorTest() 89 String golden, String advanceTo, String endAt, String tz) throws Exception { in runRecurrenceIteratorTest() argument 140 assertEquals(golden, sb.toString()); in runRecurrenceIteratorTest()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/ |
D | zero_copy_stream_unittest.cc | 567 string golden; in TEST_F() local 571 &golden, true)); in TEST_F() 574 string gzip_compressed = Compress(golden, options); in TEST_F() 577 string not_compressed = Compress(golden, options); in TEST_F() 582 string zlib_compressed = Compress(golden, options); in TEST_F() 586 EXPECT_GT(not_compressed.size(), golden.size()); in TEST_F() 595 EXPECT_TRUE(Uncompress(not_compressed) == golden); in TEST_F() 596 EXPECT_TRUE(Uncompress(gzip_compressed) == golden); in TEST_F() 597 EXPECT_TRUE(Uncompress(zlib_compressed) == golden); in TEST_F() 666 string golden = "abcdefghijklmnopqrstuvwxyz"; in TEST_F() local [all …]
|
/frameworks/ml/nn/runtime/test/ |
D | TestUnknownDimensions.cpp | 93 void UnknownDimensionsTest::CompareResults<float>(std::map<int, std::vector<float>>& golden, in CompareResults() argument 97 compare_<float>(golden, test, in CompareResults() 112 void UnknownDimensionsTest::CompareResults<uint8_t>(std::map<int, std::vector<uint8_t>>& golden, in CompareResults() argument 115 compare_<uint8_t>(golden, test, [&totalNumberOfErrors](uint8_t expected, uint8_t actual) { in CompareResults() 127 void UnknownDimensionsTest::CompareResults<_Float16>(std::map<int, std::vector<_Float16>>& golden, in CompareResults() argument 131 compare_<_Float16>(golden, test, in CompareResults()
|
D | TestGenerated.cpp | 125 const MixedTyped& golden = example.operands.second; in executeWithCompilation() local 147 resize_accordingly(golden, test); in executeWithCompilation() 174 MixedTyped filteredGolden = filter(golden, isIgnored); in executeWithCompilation()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | LineBreakBufferedWriterTest.java | 196 private void assertOutput(String... golden) { in assertOutput() argument 197 List<String> goldList = createTestGolden(golden); in assertOutput()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBCodedOuputStreamTests.m | 308 // Not kGPBDefaultRepeatCount because we are comparing to a golden master file 331 // Not kGPBDefaultRepeatCount because we are comparing to a golden master file
|
D | GPBUtilitiesTests.m | 115 // Not kGPBDefaultRepeatCount because we are comparing to golden master file
|
D | GPBTestUtilities.m | 68 // to replace that data. Useful for setting golden masters. 78 // Enable to write out golden master files.
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | text_format_test.py | 580 golden = ''.join(('map_string_string {\n key: "%c"\n value: "dummy"\n}\n' 582 self.CompareToGoldenText(text_format.MessageToString(message), golden) 791 golden = 'message_set {\n}\n' 792 self.CompareToGoldenText(text_format.MessageToString(message), golden)
|