Home
last modified time | relevance | path

Searched refs:test_info (Results 1 – 25 of 114) sorted by relevance

12345

/external/OpenCL-CTS/test_conformance/math_brute_force/
Dunary_double.cpp160 TestInfo test_info; in TestFunc_Double_Double() local
167 memset(&test_info, 0, sizeof(test_info)); in TestFunc_Double_Double()
168 test_info.threadCount = GetThreadCount(); in TestFunc_Double_Double()
169 test_info.subBufferSize = BUFFER_SIZE in TestFunc_Double_Double()
170 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Double_Double()
171 test_info.scale = getTestScale(sizeof(cl_double)); in TestFunc_Double_Double()
173 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestFunc_Double_Double()
174 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestFunc_Double_Double()
177 test_info.jobCount = 1; in TestFunc_Double_Double()
181 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestFunc_Double_Double()
[all …]
Dmacro_unary_double.cpp152 TestInfo test_info; in TestMacro_Int_Double() local
158 memset(&test_info, 0, sizeof(test_info)); in TestMacro_Int_Double()
159 test_info.threadCount = GetThreadCount(); in TestMacro_Int_Double()
160 test_info.subBufferSize = BUFFER_SIZE in TestMacro_Int_Double()
161 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestMacro_Int_Double()
162 test_info.scale = getTestScale(sizeof(cl_double)); in TestMacro_Int_Double()
164 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestMacro_Int_Double()
165 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestMacro_Int_Double()
168 test_info.jobCount = 1; in TestMacro_Int_Double()
172 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestMacro_Int_Double()
[all …]
Dunary_float.cpp158 TestInfo test_info; in TestFunc_Float_Float() local
167 memset(&test_info, 0, sizeof(test_info)); in TestFunc_Float_Float()
168 test_info.threadCount = GetThreadCount(); in TestFunc_Float_Float()
169 test_info.subBufferSize = BUFFER_SIZE in TestFunc_Float_Float()
170 / (sizeof(cl_float) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Float_Float()
171 test_info.scale = getTestScale(sizeof(cl_float)); in TestFunc_Float_Float()
173 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestFunc_Float_Float()
174 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestFunc_Float_Float()
177 test_info.jobCount = 1; in TestFunc_Float_Float()
181 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestFunc_Float_Float()
[all …]
Dbinary_i_double.cpp289 TestInfo test_info; in TestFunc_Double_Double_Int() local
298 memset(&test_info, 0, sizeof(test_info)); in TestFunc_Double_Double_Int()
299 test_info.threadCount = GetThreadCount(); in TestFunc_Double_Double_Int()
300 test_info.subBufferSize = BUFFER_SIZE in TestFunc_Double_Double_Int()
301 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Double_Double_Int()
302 test_info.scale = getTestScale(sizeof(cl_double)); in TestFunc_Double_Double_Int()
304 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestFunc_Double_Double_Int()
305 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestFunc_Double_Double_Int()
308 test_info.jobCount = 1; in TestFunc_Double_Double_Int()
312 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestFunc_Double_Double_Int()
[all …]
Dbinary_i_float.cpp281 TestInfo test_info; in TestFunc_Float_Float_Int() local
290 memset(&test_info, 0, sizeof(test_info)); in TestFunc_Float_Float_Int()
291 test_info.threadCount = GetThreadCount(); in TestFunc_Float_Float_Int()
292 test_info.subBufferSize = BUFFER_SIZE in TestFunc_Float_Float_Int()
293 / (sizeof(cl_float) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Float_Float_Int()
294 test_info.scale = getTestScale(sizeof(cl_float)); in TestFunc_Float_Float_Int()
296 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestFunc_Float_Float_Int()
297 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestFunc_Float_Float_Int()
300 test_info.jobCount = 1; in TestFunc_Float_Float_Int()
304 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestFunc_Float_Float_Int()
[all …]
Dmacro_unary_float.cpp151 TestInfo test_info; in TestMacro_Int_Float() local
157 memset(&test_info, 0, sizeof(test_info)); in TestMacro_Int_Float()
158 test_info.threadCount = GetThreadCount(); in TestMacro_Int_Float()
159 test_info.subBufferSize = BUFFER_SIZE in TestMacro_Int_Float()
160 / (sizeof(cl_float) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestMacro_Int_Float()
161 test_info.scale = getTestScale(sizeof(cl_float)); in TestMacro_Int_Float()
163 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestMacro_Int_Float()
164 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestMacro_Int_Float()
167 test_info.jobCount = 1; in TestMacro_Int_Float()
171 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestMacro_Int_Float()
[all …]
Dbinary_operator_double.cpp285 TestInfo test_info; in TestFunc_Double_Double_Double_Operator() local
294 memset(&test_info, 0, sizeof(test_info)); in TestFunc_Double_Double_Double_Operator()
295 test_info.threadCount = GetThreadCount(); in TestFunc_Double_Double_Double_Operator()
296 test_info.subBufferSize = BUFFER_SIZE in TestFunc_Double_Double_Double_Operator()
297 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Double_Double_Double_Operator()
298 test_info.scale = getTestScale(sizeof(cl_double)); in TestFunc_Double_Double_Double_Operator()
300 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestFunc_Double_Double_Double_Operator()
301 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestFunc_Double_Double_Double_Operator()
304 test_info.jobCount = 1; in TestFunc_Double_Double_Double_Operator()
308 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestFunc_Double_Double_Double_Operator()
[all …]
Dmacro_binary_float.cpp264 TestInfo test_info; in TestMacro_Int_Float_Float() local
270 memset(&test_info, 0, sizeof(test_info)); in TestMacro_Int_Float_Float()
271 test_info.threadCount = GetThreadCount(); in TestMacro_Int_Float_Float()
272 test_info.subBufferSize = BUFFER_SIZE in TestMacro_Int_Float_Float()
273 / (sizeof(cl_float) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestMacro_Int_Float_Float()
274 test_info.scale = getTestScale(sizeof(cl_float)); in TestMacro_Int_Float_Float()
276 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestMacro_Int_Float_Float()
277 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestMacro_Int_Float_Float()
280 test_info.jobCount = 1; in TestMacro_Int_Float_Float()
284 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestMacro_Int_Float_Float()
[all …]
Dbinary_double.cpp287 TestInfo test_info; in TestFunc_Double_Double_Double() local
296 memset(&test_info, 0, sizeof(test_info)); in TestFunc_Double_Double_Double()
297 test_info.threadCount = GetThreadCount(); in TestFunc_Double_Double_Double()
298 test_info.subBufferSize = BUFFER_SIZE in TestFunc_Double_Double_Double()
299 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Double_Double_Double()
300 test_info.scale = getTestScale(sizeof(cl_double)); in TestFunc_Double_Double_Double()
302 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestFunc_Double_Double_Double()
303 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestFunc_Double_Double_Double()
306 test_info.jobCount = 1; in TestFunc_Double_Double_Double()
310 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestFunc_Double_Double_Double()
[all …]
Dbinary_float.cpp277 TestInfo test_info; in TestFunc_Float_Float_Float() local
286 memset(&test_info, 0, sizeof(test_info)); in TestFunc_Float_Float_Float()
287 test_info.threadCount = GetThreadCount(); in TestFunc_Float_Float_Float()
288 test_info.subBufferSize = BUFFER_SIZE in TestFunc_Float_Float_Float()
289 / (sizeof(cl_float) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Float_Float_Float()
290 test_info.scale = getTestScale(sizeof(cl_float)); in TestFunc_Float_Float_Float()
292 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestFunc_Float_Float_Float()
293 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestFunc_Float_Float_Float()
296 test_info.jobCount = 1; in TestFunc_Float_Float_Float()
300 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestFunc_Float_Float_Float()
[all …]
Dmacro_binary_double.cpp274 TestInfo test_info; in TestMacro_Int_Double_Double() local
280 memset(&test_info, 0, sizeof(test_info)); in TestMacro_Int_Double_Double()
281 test_info.threadCount = GetThreadCount(); in TestMacro_Int_Double_Double()
282 test_info.subBufferSize = BUFFER_SIZE in TestMacro_Int_Double_Double()
283 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestMacro_Int_Double_Double()
284 test_info.scale = getTestScale(sizeof(cl_double)); in TestMacro_Int_Double_Double()
286 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestMacro_Int_Double_Double()
287 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestMacro_Int_Double_Double()
290 test_info.jobCount = 1; in TestMacro_Int_Double_Double()
294 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestMacro_Int_Double_Double()
[all …]
Dbinary_operator_float.cpp275 TestInfo test_info; in TestFunc_Float_Float_Float_Operator() local
284 memset(&test_info, 0, sizeof(test_info)); in TestFunc_Float_Float_Float_Operator()
285 test_info.threadCount = GetThreadCount(); in TestFunc_Float_Float_Float_Operator()
286 test_info.subBufferSize = BUFFER_SIZE in TestFunc_Float_Float_Float_Operator()
287 / (sizeof(cl_float) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Float_Float_Float_Operator()
288 test_info.scale = getTestScale(sizeof(cl_float)); in TestFunc_Float_Float_Float_Operator()
290 test_info.step = (cl_uint)test_info.subBufferSize * test_info.scale; in TestFunc_Float_Float_Float_Operator()
291 if (test_info.step / test_info.subBufferSize != test_info.scale) in TestFunc_Float_Float_Float_Operator()
294 test_info.jobCount = 1; in TestFunc_Float_Float_Float_Operator()
298 test_info.jobCount = (cl_uint)((1ULL << 32) / test_info.step); in TestFunc_Float_Float_Float_Operator()
[all …]
/external/libtextclassifier/native/utils/testing/
Dlogging_event_listener.cc50 void LoggingEventListener::OnTestStart(const testing::TestInfo& test_info) { in OnTestStart() argument
51 TC3_LOG(INFO) << "[ RUN ] " << test_info.test_case_name() << "." in OnTestStart()
52 << test_info.name(); in OnTestStart()
64 void LoggingEventListener::OnTestEnd(const testing::TestInfo& test_info) { in OnTestEnd() argument
65 if (test_info.result()->Passed()) { in OnTestEnd()
66 TC3_LOG(INFO) << "[ OK ] " << test_info.test_case_name() << "." in OnTestEnd()
67 << test_info.name(); in OnTestEnd()
69 TC3_LOG(ERROR) << "[ FAILED ] " << test_info.test_case_name() << "." in OnTestEnd()
70 << test_info.name(); in OnTestEnd()
105 const testing::TestInfo& test_info = *test_case.GetTestInfo(j); in OnTestIterationEnd() local
[all …]
/external/icing/icing/testing/
Dlogging-event-listener.cc51 void LoggingEventListener::OnTestStart(const testing::TestInfo& test_info) { in OnTestStart() argument
52 ICING_LOG(INFO) << "[ RUN ] " << test_info.test_case_name() << "." in OnTestStart()
53 << test_info.name(); in OnTestStart()
65 void LoggingEventListener::OnTestEnd(const testing::TestInfo& test_info) { in OnTestEnd() argument
66 if (test_info.result()->Passed()) { in OnTestEnd()
67 ICING_LOG(INFO) << "[ OK ] " << test_info.test_case_name() << "." in OnTestEnd()
68 << test_info.name(); in OnTestEnd()
70 ICING_LOG(ERROR) << "[ FAILED ] " << test_info.test_case_name() << "." in OnTestEnd()
71 << test_info.name(); in OnTestEnd()
106 const testing::TestInfo& test_info = *test_case.GetTestInfo(j); in OnTestIterationEnd() local
[all …]
/external/perfetto/test/
Dgtest_logcat_printer.cc41 void OnTestStart(const testing::TestInfo& test_info) override;
42 void OnTestEnd(const testing::TestInfo& test_info) override;
53 void LogcatPrinter::OnTestStart(const testing::TestInfo& test_info) { in OnTestStart() argument
54 PERFETTO_TEST_LOG("Test start: %s.%s", test_info.test_case_name(), in OnTestStart()
55 test_info.name()); in OnTestStart()
58 void LogcatPrinter::OnTestEnd(const testing::TestInfo& test_info) { in OnTestEnd() argument
59 const auto* result = test_info.result(); in OnTestEnd()
69 PERFETTO_TEST_LOG("Test end: %s.%s [%s]", test_info.test_case_name(), in OnTestEnd()
70 test_info.name(), state); in OnTestEnd()
/external/libchrome/base/test/
Dgtest_xml_unittest_result_printer.cc71 const testing::TestInfo& test_info) { in OnTestStart() argument
77 test_info.name(), in OnTestStart()
78 test_info.test_case_name()); in OnTestStart()
82 void XmlUnitTestResultPrinter::OnTestEnd(const testing::TestInfo& test_info) { in OnTestEnd() argument
86 test_info.name(), in OnTestEnd()
87 static_cast<double>(test_info.result()->elapsed_time()) / in OnTestEnd()
89 test_info.test_case_name()); in OnTestEnd()
90 if (test_info.result()->Failed()) { in OnTestEnd()
95 int limit = test_info.result()->total_part_count(); in OnTestEnd()
109 const auto& test_part_result = test_info.result()->GetTestPartResult(i); in OnTestEnd()
[all …]
Dgtest_util.cc41 const testing::TestInfo* test_info = test_case->GetTestInfo(j); in GetCompiledInTests() local
44 test_data.test_name = test_info->name(); in GetCompiledInTests()
45 test_data.file = test_info->file(); in GetCompiledInTests()
46 test_data.line = test_info->line(); in GetCompiledInTests()
58 std::unique_ptr<DictionaryValue> test_info(new DictionaryValue); in WriteCompiledInTestsToFile() local
59 test_info->SetString("test_case_name", tests[i].test_case_name); in WriteCompiledInTestsToFile()
60 test_info->SetString("test_name", tests[i].test_name); in WriteCompiledInTestsToFile()
61 test_info->SetString("file", tests[i].file); in WriteCompiledInTestsToFile()
62 test_info->SetInteger("line", tests[i].line); in WriteCompiledInTestsToFile()
63 root.Append(std::move(test_info)); in WriteCompiledInTestsToFile()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/samples/
Dsample9_unittest.cc61 void OnTestStart(const TestInfo& test_info) override { in OnTestStart() argument
64 test_info.test_case_name(), in OnTestStart()
65 test_info.name()); in OnTestStart()
81 void OnTestEnd(const TestInfo& test_info) override { in OnTestEnd() argument
84 test_info.test_case_name(), in OnTestEnd()
85 test_info.name()); in OnTestEnd()
141 const TestInfo& test_info = *test_case.GetTestInfo(j); in main() local
144 if (test_info.result()->Failed() && in main()
145 strcmp(test_info.name(), "Fails") != 0) { in main()
/external/googletest/googletest/samples/
Dsample9_unittest.cc61 void OnTestStart(const TestInfo& test_info) override { in OnTestStart() argument
64 test_info.test_case_name(), in OnTestStart()
65 test_info.name()); in OnTestStart()
81 void OnTestEnd(const TestInfo& test_info) override { in OnTestEnd() argument
84 test_info.test_case_name(), in OnTestEnd()
85 test_info.name()); in OnTestEnd()
141 const TestInfo& test_info = *test_suite.GetTestInfo(j); in main() local
144 if (test_info.result()->Failed() && in main()
145 strcmp(test_info.name(), "Fails") != 0) { in main()
/external/autotest/client/tests/monotonic_time/src/
Dtime_test.c137 typedef struct test_info { struct
139 void (*func)(struct test_info *); /* the test */ argument
150 void show_warps(struct test_info *test) in show_warps() argument
158 void _name##_test(struct test_info *test) \
184 struct test_info _name##_test_info = { \
195 struct test_info *tests[] = {
205 void show_progress(struct test_info *test) in show_progress()
222 struct test_info *test = arg; in test_loop()
231 int run_test(cpu_set_t *cpus, long duration, struct test_info *test) in run_test()
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/
DTestBase.cpp16 const auto *test_info = in getLogFileName() local
18 assert(test_info); in getLogFileName()
31 test_info->test_case_name() + "-" + in getLogFileName()
32 test_info->name() + ".log"); in getLogFileName()
/external/autotest/server/cros/chaos_lib/
Dchaos_analyzer.py211 test_info = ChaosTestInfo(root, files, failures_only)
212 if test_info.is_valid(packet_capture_only):
213 test_infos.append(test_info)
231 for test_info in self._get_all_test_infos(input_dir_name, failures_only,
233 for trace in test_info.traces:
257 test_info.bssids, test_info.ssid,
258 test_info.dut_mac, logger))
261 with open(test_info.message_log, "r") as message_log, \
262 open(test_info.net_log, "r") as net_log:
/external/googletest/googletest/test/
Dgoogletest-failfast-unittest_.cc130 void OnTestStart(const ::testing::TestInfo& test_info) override { in OnTestStart() argument
131 printf("We are in OnTestStart of %s.%s.\n", test_info.test_suite_name(), in OnTestStart()
132 test_info.name()); in OnTestStart()
141 void OnTestEnd(const ::testing::TestInfo& test_info) override { in OnTestEnd() argument
142 printf("We are in OnTestEnd of %s.%s.\n", test_info.test_suite_name(), in OnTestEnd()
143 test_info.name()); in OnTestEnd()
/external/webrtc/audio/test/
Dpc_low_bandwidth_audio_test.cc46 const ::testing::TestInfo* const test_info = in GetMetricTestCaseName() local
50 return test_info->name(); in GetMetricTestCaseName()
52 return test_case_prefix + "_" + test_info->name(); in GetMetricTestCaseName()
103 const ::testing::TestInfo* const test_info = in AudioOutputFile() local
105 return webrtc::test::OutputPath() + "PCLowBandwidth_" + test_info->name() + in AudioOutputFile()
118 const ::testing::TestInfo* const test_info = in LogTestResults() local
123 printf("TEST %s %s %s %s\n", test_info->name(), AudioInputFile().c_str(), in LogTestResults()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-param-test-test.cc780 const ::testing::TestInfo* const test_info = in TEST_P() local
783 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_suite_name()); in TEST_P()
787 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); in TEST_P()
789 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param()); in TEST_P()
801 const ::testing::TestInfo* const test_info = in TEST_P() local
804 EXPECT_STREQ("FortyTwo/MacroNamingTest", test_info->test_suite_name()); in TEST_P()
805 EXPECT_STREQ("FooSomeTestName", test_info->name()); in TEST_P()
815 const ::testing::TestInfo* const test_info = in TEST_F() local
818 EXPECT_STREQ("MacroNamingTestNonParametrized", test_info->test_suite_name()); in TEST_F()
819 EXPECT_STREQ("FooSomeTestName", test_info->name()); in TEST_F()
[all …]

12345