/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/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/skia/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/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/tensorflow/tensorflow/core/util/ |
D | tensor_slice_set_test.cc | 90 float results[10]; in TEST() local 91 EXPECT_TRUE(tss.Query(s, results)); in TEST() 93 EXPECT_EQ(expected[i], results[i]); in TEST() 105 float results[5]; in TEST() local 106 EXPECT_TRUE(tss.Query(s, results)); in TEST() 108 EXPECT_EQ(expected[i], results[i]); in TEST() 121 float results[6]; in TEST() local 122 EXPECT_TRUE(tss.Query(s, results)); in TEST() 124 EXPECT_EQ(expected[i], results[i]); in TEST() 135 float results[6]; in TEST() local [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 …]
|
D | fix_xrange.py | 27 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/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 …]
|
D | fix_xrange.py | 27 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/skia/ |
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/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/autotest/client/site_tests/platform_BootPerf/ |
D | platform_BootPerf.py | 202 def _gather_vboot_times(self, results): argument 231 results['mhz_primary_cpu'] = khz / 1000.0 245 results['seconds_power_on_to_lf_start'] = times[0] 246 results['seconds_power_on_to_lf_end'] = times[1] 247 results['seconds_power_on_to_lk_start'] = times[2] 248 results['seconds_power_on_to_lk_end'] = times[3] 251 def _gather_firmware_boot_time(self, results): argument 269 boot_time = results['seconds_kernel_to_login'] 270 results['seconds_power_on_to_kernel'] = firmware_time 271 results['seconds_power_on_to_login'] = ( [all …]
|
/external/v8/tools/testrunner/testproc/ |
D | result.py | 35 def create(results): argument 42 results = [(t, r) for (t, r) in results if not r.is_skipped] 43 if not results: 45 return GroupedResult(results) 47 def __init__(self, results): argument 48 self.results = results 74 def create(results): argument 78 assert results 80 if len(results) == 1: 81 return results[0] [all …]
|
/external/autotest/client/common_lib/ |
D | gtest_parser.py | 173 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/ |
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/v8/ |
D | PRESUBMIT.py | 86 results = [] 89 results.append(output_api.PresubmitError("C++ lint check failed")) 92 results.append(output_api.PresubmitError( 97 results.append(output_api.PresubmitError("Status file check failed")) 98 results.extend(input_api.canned_checks.CheckAuthorizedAuthor( 102 return results 144 results = [] 146 results.append(output_api.PresubmitError( 150 results.append(output_api.PresubmitPromptOrNotify( 155 return results [all …]
|
/external/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 …]
|
/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 …]
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph_constructor_test.cc | 74 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() 1444 ImportGraphDefResults results; in TEST_F() local 1448 opts, &refiner, &results); in TEST_F() 1449 EXPECT_TRUE(results.missing_unused_input_map_keys.empty()); in TEST_F() 1452 results.missing_unused_input_map_keys.push_back(TensorId()); in TEST_F() 1456 &refiner, &results); in TEST_F() 1460 results.missing_unused_input_map_keys.clear(); in TEST_F() [all …]
|
/external/ltp/utils/ffsb-6.0-rc2/ |
D | ffsb_op.c | 58 void init_ffsb_op_results(ffsb_op_results_t * results) in init_ffsb_op_results() argument 60 memset(results, 0, sizeof(ffsb_op_results_t)); in init_ffsb_op_results() 63 static int exclusive_op(ffsb_op_results_t * results, unsigned int op_num) in exclusive_op() argument 70 ret += results->ops[i]; in exclusive_op() 85 static void print_op_results(unsigned int op_num, ffsb_op_results_t * results, in print_op_results() argument 91 double op_pcnt = 100 * (double)results->ops[op_num] / (double)total_ops; in print_op_results() 92 double weight_pcnt = 100 * (double)results->op_weight[op_num] / in print_op_results() 95 ffsb_printsize(buf, results->bytes[op_num] / runtime, 256); in print_op_results() 99 generic_op_print(ffsb_op_list[op_num].op_name, results->ops[op_num], in print_op_results() 105 ffsb_op_results_t * results, double runtime) [all …]
|
/external/libunwind_llvm/src/ |
D | DwarfParser.hpp | 109 int arch, PrologInfo *results); 118 PrologInfo *results); 357 int arch, PrologInfo *results) { in parseFDEInstructions() argument 359 memset(results, '\0', sizeof(PrologInfo)); in parseFDEInstructions() 365 (pint_t)(-1), rememberStack, arch, results) && in parseFDEInstructions() 369 results); in parseFDEInstructions() 378 int arch, PrologInfo *results) { in parseInstructions() argument 381 PrologInfo initialState = *results; in parseInstructions() 434 results->savedRegisters[reg].location = kRegisterInCFA; in parseInstructions() 435 results->savedRegisters[reg].value = offset; in parseInstructions() [all …]
|
/external/libyuv/files/ |
D | PRESUBMIT.py | 34 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 …]
|