Home
last modified time | relevance | path

Searched refs:results (Results 1 – 25 of 3566) sorted by relevance

12345678910>>...143

/external/python/google-api-python-client/samples/analytics/
Dcore_reporting_v3_reference.py85 results = get_api_query(service, flags.table_id).execute()
86 print_results(results)
123 def print_results(results): argument
130 print_report_info(results)
131 print_pagination_info(results)
132 print_profile_info(results)
133 print_query(results)
134 print_column_headers(results)
135 print_totals_for_all_results(results)
136 print_rows(results)
[all …]
/external/deqp/scripts/
Dtestset.py29 def all (results, predicate): argument
30 for result in results:
35 def any (results, predicate): argument
36 for result in results:
48 def __init__ (self, name, results): argument
50 self.results = results
68 results = []
70 results.append(TestCaseResult(case, []))
71 return results
73 def addResultsToCaseList (caselist, results): argument
[all …]
/external/skia/tests/
DStringTest.cpp195 SkTArray<SkString> results; in DEF_TEST() local
197 SkStrSplit("a-_b_c-dee--f-_-_-g-", "-_", &results); in DEF_TEST()
198 REPORTER_ASSERT(r, results.count() == 6); in DEF_TEST()
199 REPORTER_ASSERT(r, results[0].equals("a")); in DEF_TEST()
200 REPORTER_ASSERT(r, results[1].equals("b")); in DEF_TEST()
201 REPORTER_ASSERT(r, results[2].equals("c")); in DEF_TEST()
202 REPORTER_ASSERT(r, results[3].equals("dee")); in DEF_TEST()
203 REPORTER_ASSERT(r, results[4].equals("f")); in DEF_TEST()
204 REPORTER_ASSERT(r, results[5].equals("g")); in DEF_TEST()
206 results.reset(); in DEF_TEST()
[all …]
/external/libcxxabi/src/
Dcxa_personality.cpp531 const scan_results& results) in set_registers() argument
539 static_cast<uintptr_t>(results.ttypeIndex)); in set_registers()
540 _Unwind_SetIP(context, results.landingPad); in set_registers()
564 static void scan_eh_tab(scan_results &results, _Unwind_Action actions, in scan_eh_tab() argument
569 results.ttypeIndex = 0; in scan_eh_tab()
570 results.actionRecord = 0; in scan_eh_tab()
571 results.languageSpecificData = 0; in scan_eh_tab()
572 results.landingPad = 0; in scan_eh_tab()
573 results.adjustedPtr = 0; in scan_eh_tab()
574 results.reason = _URC_FATAL_PHASE1_ERROR; in scan_eh_tab()
[all …]
/external/skqp/tests/
DStringTest.cpp210 SkTArray<SkString> results; in DEF_TEST() local
212 SkStrSplit("a-_b_c-dee--f-_-_-g-", "-_", &results); in DEF_TEST()
213 REPORTER_ASSERT(r, results.count() == 6); in DEF_TEST()
214 REPORTER_ASSERT(r, results[0].equals("a")); in DEF_TEST()
215 REPORTER_ASSERT(r, results[1].equals("b")); in DEF_TEST()
216 REPORTER_ASSERT(r, results[2].equals("c")); in DEF_TEST()
217 REPORTER_ASSERT(r, results[3].equals("dee")); in DEF_TEST()
218 REPORTER_ASSERT(r, results[4].equals("f")); in DEF_TEST()
219 REPORTER_ASSERT(r, results[5].equals("g")); in DEF_TEST()
221 results.reset(); in DEF_TEST()
[all …]
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_operator.py43 def transform(self, node, results): argument
44 method = self._check_method(node, results)
46 return method(node, results)
49 def _sequenceIncludes(self, node, results): argument
50 return self._handle_rename(node, results, "contains")
53 def _isCallable(self, node, results): argument
54 obj = results["obj"]
58 def _repeat(self, node, results): argument
59 return self._handle_rename(node, results, "mul")
62 def _irepeat(self, node, results): argument
[all …]
Dfix_idioms.py90 def transform(self, node, results): argument
91 if "isinstance" in results:
92 return self.transform_isinstance(node, results)
93 elif "while" in results:
94 return self.transform_while(node, results)
95 elif "sorted" in results:
96 return self.transform_sort(node, results)
100 def transform_isinstance(self, node, results): argument
101 x = results["x"].clone() # The thing inside of type()
102 T = results["T"].clone() # The type being compared against
[all …]
Dfix_xrange.py27 def transform(self, node, results): argument
28 name = results["name"]
30 return self.transform_xrange(node, results)
32 return self.transform_range(node, results)
36 def transform_xrange(self, node, results): argument
37 name = results["name"]
42 def transform_range(self, node, results): argument
45 range_call = Call(Name("range"), [results["args"].clone()])
50 for n in results["rest"]:
66 results = {}
[all …]
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_set_test.cc86 std::vector<std::pair<TensorSlice, string>> results; in TEST() local
87 EXPECT_TRUE(tss.QueryMeta(s, &results)); in TEST()
88 EXPECT_EQ(1, results.size()); in TEST()
89 EXPECT_EQ("0,2:-", results[0].first.DebugString()); in TEST()
90 EXPECT_EQ("slice_1", results[0].second); in TEST()
101 std::vector<std::pair<TensorSlice, string>> results; in TEST() local
102 EXPECT_TRUE(tss.QueryMeta(s, &results)); in TEST()
103 EXPECT_EQ(1, results.size()); in TEST()
104 EXPECT_EQ("0,2:-", results[0].first.DebugString()); in TEST()
105 EXPECT_EQ("slice_1", results[0].second); in TEST()
[all …]
/external/skia/
DPRESUBMIT.py79 results = []
81 results.append(
85 return results
119 results = []
121 results.append(
126 return results
130 results = []
142 results.append(output_api.PresubmitError(
144 return results
149 results = []
[all …]
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_operator.py41 def transform(self, node, results): argument
42 method = self._check_method(node, results)
44 return method(node, results)
47 def _sequenceIncludes(self, node, results): argument
48 return self._handle_rename(node, results, u"contains")
51 def _isCallable(self, node, results): argument
52 obj = results["obj"]
57 def _repeat(self, node, results): argument
58 return self._handle_rename(node, results, u"mul")
61 def _irepeat(self, node, results): argument
[all …]
Dfix_idioms.py90 def transform(self, node, results): argument
91 if "isinstance" in results:
92 return self.transform_isinstance(node, results)
93 elif "while" in results:
94 return self.transform_while(node, results)
95 elif "sorted" in results:
96 return self.transform_sort(node, results)
100 def transform_isinstance(self, node, results): argument
101 x = results["x"].clone() # The thing inside of type()
102 T = results["T"].clone() # The type being compared against
[all …]
Dfix_xrange.py27 def transform(self, node, results): argument
28 name = results["name"]
30 return self.transform_xrange(node, results)
32 return self.transform_range(node, results)
36 def transform_xrange(self, node, results): argument
37 name = results["name"]
42 def transform_range(self, node, results): argument
45 range_call = Call(Name(u"range"), [results["args"].clone()])
50 for n in results["rest"]:
66 results = {}
[all …]
/external/skqp/
DPRESUBMIT.py79 results = []
81 results.append(
85 return results
119 results = []
121 results.append(
126 return results
130 results = []
142 results.append(output_api.PresubmitError(
144 return results
149 results = []
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_metadata_unittest.cpp22 auto results = metadata.CheckForSharedForm(); in TEST() local
23 ASSERT_EQ(1U, results.size()); in TEST()
24 EXPECT_EQ(UnsupportedFeature::kDocumentSharedFormEmail, results[0]); in TEST()
39 auto results = metadata.CheckForSharedForm(); in TEST() local
40 ASSERT_EQ(1U, results.size()); in TEST()
41 EXPECT_EQ(UnsupportedFeature::kDocumentSharedFormAcrobat, results[0]); in TEST()
56 auto results = metadata.CheckForSharedForm(); in TEST() local
57 ASSERT_EQ(1U, results.size()); in TEST()
58 EXPECT_EQ(UnsupportedFeature::kDocumentSharedFormFilesystem, results[0]); in TEST()
73 auto results = metadata.CheckForSharedForm(); in TEST() local
[all …]
/external/OpenCL-CTS/test_conformance/basic/
Dtest_preprocessors.cpp95 cl_int results[ 7 ]; in test_kernel_preprocessor_macros() local
128 …streams[0] = clCreateBuffer(context, (cl_mem_flags)(CL_MEM_READ_WRITE), sizeof(results), NULL, &e… in test_kernel_preprocessor_macros()
145 …error = clEnqueueReadBuffer( queue, streams[0], CL_TRUE, 0, sizeof(results), results, 0, NULL, NUL… in test_kernel_preprocessor_macros()
159 if( results[ 0 ] == 0xf00baa ) in test_kernel_preprocessor_macros()
164 else if( results[ 0 ] != 1 ) in test_kernel_preprocessor_macros()
166 …efined, but to the wrong value (defined as %d, spec states it should be 1)\n", (int)results[ 0 ] ); in test_kernel_preprocessor_macros()
173 if( results[ 0 ] != 0xf00baa ) in test_kernel_preprocessor_macros()
175 …R: __IMAGE_SUPPORT__ defined to value %d even though images aren't supported", (int)results[ 0 ] ); in test_kernel_preprocessor_macros()
187 if( results[ 1 ] == 0xf00baa ) in test_kernel_preprocessor_macros()
192 else if( results[ 1 ] != 1 ) in test_kernel_preprocessor_macros()
[all …]
/external/autotest/client/site_tests/platform_BootPerf/
Dplatform_BootPerf.py198 def _gather_firmware_boot_time(self, results): argument
216 boot_time = results['seconds_kernel_to_login']
217 results['seconds_power_on_to_kernel'] = firmware_time
218 results['seconds_power_on_to_login'] = (
222 def _gather_time_keyvals(self, results): argument
245 results[key] = self._parse_uptime(event_name)
265 results[metric_name] = network_time
268 results['seconds_kernel_to_network'] = network_time
273 def _gather_disk_keyvals(self, results): argument
300 results[key] = 512 * self._parse_diskstat(event_name)
[all …]
/external/autotest/client/common_lib/
Dgtest_parser.py173 results = self._master_name_re.search(line)
174 if results:
175 self.master_name = results.group(1)
178 results = self._disabled.search(line)
179 if results:
181 disabled = int(results.group(1))
194 results = self._flaky.search(line)
195 if results:
197 flaky = int(results.group(1))
210 results = self._test_start.search(line)
[all …]
/external/libchrome/base/strings/
Dstring_split_unittest.cc153 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
155 ASSERT_EQ(1u, results.size()); in TEST()
156 EXPECT_THAT(results, ElementsAre("")); in TEST()
234 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
237 ASSERT_EQ(1u, results.size()); in TEST()
238 EXPECT_THAT(results, ElementsAre("alongwordwithnodelimiter")); in TEST()
242 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
245 ASSERT_EQ(6u, results.size()); in TEST()
246 EXPECT_THAT(results, ElementsAre("", "", "", "one", "two", "three")); in TEST()
250 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
[all …]
/external/google-benchmark/src/
Dbenchmark_runner.cc66 const internal::ThreadManager::Result& results, in CreateRunReport() argument
74 report.error_occurred = results.has_error_; in CreateRunReport()
75 report.error_message = results.error_message_; in CreateRunReport()
76 report.report_label = results.report_label_; in CreateRunReport()
78 report.iterations = results.iterations; in CreateRunReport()
86 report.real_accumulated_time = results.manual_time_used; in CreateRunReport()
88 report.real_accumulated_time = results.real_time_used; in CreateRunReport()
90 report.cpu_accumulated_time = results.cpu_time_used; in CreateRunReport()
91 report.complexity_n = results.complexity_n; in CreateRunReport()
95 report.counters = results.counters; in CreateRunReport()
[all …]
/external/libcxx/utils/google-benchmark/src/
Dbenchmark_runner.cc66 const internal::ThreadManager::Result& results, size_t memory_iterations, in CreateRunReport() argument
72 report.error_occurred = results.has_error_; in CreateRunReport()
73 report.error_message = results.error_message_; in CreateRunReport()
74 report.report_label = results.report_label_; in CreateRunReport()
76 report.iterations = results.iterations; in CreateRunReport()
81 report.real_accumulated_time = results.manual_time_used; in CreateRunReport()
83 report.real_accumulated_time = results.real_time_used; in CreateRunReport()
85 report.cpu_accumulated_time = results.cpu_time_used; in CreateRunReport()
86 report.complexity_n = results.complexity_n; in CreateRunReport()
90 report.counters = results.counters; in CreateRunReport()
[all …]
/external/tensorflow/tensorflow/lite/tools/benchmark/experimental/c/
Dbenchmark_c_api.cc29 const tflite::benchmark::BenchmarkResults* results; member
42 const TfLiteBenchmarkResults* results) { in TfLiteBenchmarkResultsGetInferenceTimeMicroseconds() argument
43 return ConvertStat(results->results->inference_time_us()); in TfLiteBenchmarkResultsGetInferenceTimeMicroseconds()
47 const TfLiteBenchmarkResults* results) { in TfLiteBenchmarkResultsGetWarmupTimeMicroseconds() argument
48 return ConvertStat(results->results->warmup_time_us()); in TfLiteBenchmarkResultsGetWarmupTimeMicroseconds()
52 const TfLiteBenchmarkResults* results) { in TfLiteBenchmarkResultsGetStartupLatencyMicroseconds() argument
53 return results->results->startup_latency_us(); in TfLiteBenchmarkResultsGetStartupLatencyMicroseconds()
57 const TfLiteBenchmarkResults* results) { in TfLiteBenchmarkResultsGetInputBytes() argument
58 return results->results->input_bytes(); in TfLiteBenchmarkResultsGetInputBytes()
62 const TfLiteBenchmarkResults* results) { in TfLiteBenchmarkResultsGetThroughputMbPerSecond() argument
[all …]
/external/libyuv/files/
DPRESUBMIT.py34 results = []
35 results.extend(input_api.canned_checks.RunPylint(input_api, output_api,
52 results.extend(_RunPythonTests(input_api, output_api))
53 return results
57 results = []
58 results.extend(_CommonChecks(input_api, output_api))
59 results.extend(
61 return results
65 results = []
66 results.extend(_CommonChecks(input_api, output_api))
[all …]
/external/tensorflow/tensorflow/core/graph/
Dgraph_constructor_test.cc74 ImportGraphDefResults* results = nullptr) { in ExpectError() argument
79 Status status = ImportGraphDef(opts, gdef_, &graph_, refiner, results); in ExpectError()
98 ImportGraphDefResults* results = nullptr) { in ExpectOK() argument
100 Status s = ImportGraphDef(opts, gdef_, &graph_, refiner, results); in ExpectOK()
1443 ImportGraphDefResults results; in TEST_F() local
1447 opts, &refiner, &results); in TEST_F()
1448 EXPECT_TRUE(results.missing_unused_input_map_keys.empty()); in TEST_F()
1451 results.missing_unused_input_map_keys.push_back(TensorId()); in TEST_F()
1455 &refiner, &results); in TEST_F()
1459 results.missing_unused_input_map_keys.clear(); in TEST_F()
[all …]
/external/boringssl/src/tool/
Dspeed.cc141 static bool TimeFunction(TimeResults *results, std::function<bool()> func) { in TimeFunction() argument
180 results->us = now - start; in TimeFunction()
181 results->num_calls = done; in TimeFunction()
214 TimeResults results; in SpeedRSA() local
215 if (!TimeFunction(&results, in SpeedRSA()
227 results.Print(name + " signing"); in SpeedRSA()
229 if (!TimeFunction(&results, in SpeedRSA()
239 results.Print(name + " verify (same key)"); in SpeedRSA()
241 if (!TimeFunction(&results, in SpeedRSA()
266 results.Print(name + " verify (fresh key)"); in SpeedRSA()
[all …]

12345678910>>...143