/external/python/google-api-python-client/samples/analytics/ |
D | core_reporting_v3_reference.py | 85 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/ |
D | testset.py | 29 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/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_operator.py | 43 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 …]
|
D | fix_idioms.py | 90 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 …]
|
/external/tensorflow/tensorflow/core/util/ |
D | tensor_slice_set_test.cc | 86 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/skqp/tests/ |
D | StringTest.cpp | 210 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/libcxxabi/src/ |
D | cxa_personality.cpp | 531 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/llvm-project/libcxxabi/src/ |
D | cxa_personality.cpp | 530 const scan_results& results) in set_registers() argument 538 static_cast<uintptr_t>(results.ttypeIndex)); in set_registers() 539 _Unwind_SetIP(context, results.landingPad); in set_registers() 563 static void scan_eh_tab(scan_results &results, _Unwind_Action actions, in scan_eh_tab() argument 568 results.ttypeIndex = 0; in scan_eh_tab() 569 results.actionRecord = 0; in scan_eh_tab() 570 results.languageSpecificData = 0; in scan_eh_tab() 571 results.landingPad = 0; in scan_eh_tab() 572 results.adjustedPtr = 0; in scan_eh_tab() 573 results.reason = _URC_FATAL_PHASE1_ERROR; in scan_eh_tab() [all …]
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_preprocessors.cpp | 95 cl_int results[ 7 ]; in test_kernel_preprocessor_macros() local 128 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(results), in test_kernel_preprocessor_macros() 148 …error = clEnqueueReadBuffer( queue, streams[0], CL_TRUE, 0, sizeof(results), results, 0, NULL, NUL… in test_kernel_preprocessor_macros() 162 if( results[ 0 ] == 0xf00baa ) in test_kernel_preprocessor_macros() 167 else if( results[ 0 ] != 1 ) in test_kernel_preprocessor_macros() 169 …efined, but to the wrong value (defined as %d, spec states it should be 1)\n", (int)results[ 0 ] ); in test_kernel_preprocessor_macros() 176 if( results[ 0 ] != 0xf00baa ) in test_kernel_preprocessor_macros() 178 …R: __IMAGE_SUPPORT__ defined to value %d even though images aren't supported", (int)results[ 0 ] ); in test_kernel_preprocessor_macros() 190 if( results[ 1 ] == 0xf00baa ) in test_kernel_preprocessor_macros() 195 else if( results[ 1 ] != 1 ) in test_kernel_preprocessor_macros() [all …]
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_operator.py | 41 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 …]
|
D | fix_idioms.py | 90 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 …]
|
/external/skia/ |
D | PRESUBMIT.py | 79 results = [] 81 results.append( 85 return results 119 results = [] 121 results.append( 126 return results 130 results = [] 143 results.append(output_api.PresubmitError( 145 return results 150 results = [] [all …]
|
/external/skqp/ |
D | PRESUBMIT.py | 79 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/ |
D | cpdf_metadata_unittest.cpp | 22 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/skia/tests/ |
D | StringTest.cpp | 202 SkTArray<SkString> results; in DEF_TEST() local 204 SkStrSplit("a-_b_c-dee--f-_-_-g-", "-_", &results); in DEF_TEST() 205 REPORTER_ASSERT(r, results.count() == 6); in DEF_TEST() 206 REPORTER_ASSERT(r, results[0].equals("a")); in DEF_TEST() 207 REPORTER_ASSERT(r, results[1].equals("b")); in DEF_TEST() 208 REPORTER_ASSERT(r, results[2].equals("c")); in DEF_TEST() 209 REPORTER_ASSERT(r, results[3].equals("dee")); in DEF_TEST() 210 REPORTER_ASSERT(r, results[4].equals("f")); in DEF_TEST() 211 REPORTER_ASSERT(r, results[5].equals("g")); in DEF_TEST() 213 results.reset(); in DEF_TEST() [all …]
|
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/regex/ |
D | RegexTransformerTest.java | 99 ImmutableList<Result> results = transformer.transform(value); in testMultipleResults() local 100 assertThat(results).hasSize(3); in testMultipleResults() 101 assertThat(results.get(0)).hasKey("/numberingSystems/foo/algorithmic:int"); in testMultipleResults() 102 assertThat(results.get(0)).hasValues("0"); in testMultipleResults() 103 assertThat(results.get(0)).isGrouped(false); in testMultipleResults() 105 assertThat(results.get(1)).hasKey("/numberingSystems/foo/desc"); in testMultipleResults() 106 assertThat(results.get(1)).hasValues("bar"); in testMultipleResults() 107 assertThat(results.get(1)).isGrouped(false); in testMultipleResults() 109 assertThat(results.get(2)).hasKey("/numberingSystems/foo/radix:int"); in testMultipleResults() 110 assertThat(results.get(2)).hasValues("10"); in testMultipleResults() [all …]
|
/external/rust/crates/rand_core/src/ |
D | block.rs | 77 fn generate(&mut self, results: &mut Self::Results); in generate() 118 results: R::Results, field 129 .field("result_len", &self.results.as_ref().len()) in fmt() 144 results: results_empty, in new() 162 self.index = self.results.as_ref().len(); in reset() 169 assert!(index < self.results.as_ref().len()); in generate_and_set() 170 self.core.generate(&mut self.results); in generate_and_set() 181 if self.index >= self.results.as_ref().len() { in next_u32() 185 let value = self.results.as_ref()[self.index]; in next_u32() 192 let read_u64 = |results: &[u32], index| { in next_u64() [all …]
|
/external/autotest/client/common_lib/ |
D | gtest_parser.py | 176 results = self._main_name_re.search(line) 177 if results: 178 self.main_name = results.group(1) 181 results = self._disabled.search(line) 182 if results: 184 disabled = int(results.group(1)) 197 results = self._flaky.search(line) 198 if results: 200 flaky = int(results.group(1)) 213 results = self._test_start.search(line) [all …]
|
/external/libchrome/base/strings/ |
D | string_split_unittest.cc | 153 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/llvm-project/flang/test/Semantics/ |
D | canondo04.f90 | 7 integer :: results(100) variable 13 results(count) = j1 21 results(count) = 100*j1 + 10*j2 + j3 25 results(count) = 10*j3 + j4 33 results(count) = 100*j1 + 10*j2 + j3 36 results(count) = 10*j3 + j4 42 results(count) = 10*j1 + j2 46 5 results(count) = j1 49 6 results(count) = j1 50 if (count == 34 .and. sum(results(1:count)) == 3739) then [all …]
|
/external/icing/icing/query/ |
D | query-processor_test.cc | 212 ICING_ASSERT_OK_AND_ASSIGN(QueryProcessor::QueryResults results, in TEST_F() 216 EXPECT_THAT(GetDocumentIds(results.root_iterator.get()), in TEST_F() 218 EXPECT_THAT(results.query_terms, IsEmpty()); in TEST_F() 219 EXPECT_THAT(results.query_term_iterators, IsEmpty()); in TEST_F() 263 ICING_ASSERT_OK_AND_ASSIGN(QueryProcessor::QueryResults results, in TEST_F() 267 EXPECT_THAT(GetDocumentIds(results.root_iterator.get()), in TEST_F() 269 EXPECT_THAT(results.query_terms, IsEmpty()); in TEST_F() 270 EXPECT_THAT(results.query_term_iterators, IsEmpty()); in TEST_F() 324 ICING_ASSERT_OK_AND_ASSIGN(QueryProcessor::QueryResults results, in TEST_F() 328 ASSERT_THAT(results.root_iterator->Advance(), IsOk()); in TEST_F() [all …]
|
/external/autotest/client/site_tests/platform_BootPerf/ |
D | platform_BootPerf.py | 212 def _gather_firmware_boot_time(self, results): argument 238 boot_time = results['seconds_kernel_to_login'] 239 results['seconds_power_on_to_kernel'] = firmware_time 240 results['seconds_power_on_to_login'] = ( 244 def _gather_time_keyvals(self, results): argument 267 results[key] = self._parse_uptime(event_name, required=required) 287 results[metric_name] = network_time 290 results['seconds_kernel_to_network'] = network_time 295 def _gather_disk_keyvals(self, results): argument 322 results[key] = 512 * self._parse_diskstat(event_name) [all …]
|
/external/google-benchmark/src/ |
D | benchmark_runner.cc | 66 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/tensorflow/tensorflow/lite/tools/benchmark/experimental/c/ |
D | benchmark_c_api.cc | 27 const tflite::benchmark::BenchmarkResults* results; member 40 const TfLiteBenchmarkResults* results) { in TfLiteBenchmarkResultsGetInferenceTimeMicroseconds() argument 41 return ConvertStat(results->results->inference_time_us()); in TfLiteBenchmarkResultsGetInferenceTimeMicroseconds() 45 const TfLiteBenchmarkResults* results) { in TfLiteBenchmarkResultsGetWarmupTimeMicroseconds() argument 46 return ConvertStat(results->results->warmup_time_us()); in TfLiteBenchmarkResultsGetWarmupTimeMicroseconds() 50 const TfLiteBenchmarkResults* results) { in TfLiteBenchmarkResultsGetStartupLatencyMicroseconds() argument 51 return results->results->startup_latency_us(); in TfLiteBenchmarkResultsGetStartupLatencyMicroseconds() 55 const TfLiteBenchmarkResults* results) { in TfLiteBenchmarkResultsGetInputBytes() argument 56 return results->results->input_bytes(); in TfLiteBenchmarkResultsGetInputBytes() 60 const TfLiteBenchmarkResults* results) { in TfLiteBenchmarkResultsGetThroughputMbPerSecond() argument [all …]
|
/external/libcxx/utils/google-benchmark/src/ |
D | benchmark_runner.cc | 66 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 …]
|