Home
last modified time | relevance | path

Searched refs:golden (Results 1 – 11 of 11) sorted by relevance

/frameworks/ml/nn/tools/test_generator/include/
DTestHarness.h112 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/
DViewCaptureTest.java95 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/
DRRuleTest.java66 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/
Dzero_copy_stream_unittest.cc567 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/
DTestUnknownDimensions.cpp93 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()
DTestGenerated.cpp125 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/
DLineBreakBufferedWriterTest.java196 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/
DGPBCodedOuputStreamTests.m308 // Not kGPBDefaultRepeatCount because we are comparing to a golden master file
331 // Not kGPBDefaultRepeatCount because we are comparing to a golden master file
DGPBUtilitiesTests.m115 // Not kGPBDefaultRepeatCount because we are comparing to golden master file
DGPBTestUtilities.m68 // 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/
Dtext_format_test.py580 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)