/external/llvm-project/lldb/unittests/Interpreter/ |
D | TestCompletion.cpp | 116 StringList &Results) { in DoDirCompletions() argument 119 CommandCompletions::DiskDirectories(Prefix + "foo", Results, Resolver); in DoDirCompletions() 120 ASSERT_EQ(4u, Results.GetSize()); in DoDirCompletions() 121 EXPECT_TRUE(HasEquivalentFile(DirFoo, Results)); in DoDirCompletions() 122 EXPECT_TRUE(HasEquivalentFile(DirFooA, Results)); in DoDirCompletions() 123 EXPECT_TRUE(HasEquivalentFile(DirFooB, Results)); in DoDirCompletions() 124 EXPECT_TRUE(HasEquivalentFile(DirFooC, Results)); in DoDirCompletions() 127 CommandCompletions::DiskDirectories(Twine(Prefix) + "b", Results, Resolver); in DoDirCompletions() 128 ASSERT_EQ(2u, Results.GetSize()); in DoDirCompletions() 129 EXPECT_TRUE(HasEquivalentFile(DirBar, Results)); in DoDirCompletions() [all …]
|
/external/llvm-project/clang/unittests/Analysis/ |
D | ExprMutationAnalyzerTest.cpp | 53 bool isMutated(const SmallVectorImpl<BoundNodes> &Results, ASTUnit *AST) { in isMutated() argument 54 const auto *const S = selectFirst<Stmt>("stmt", Results); in isMutated() 55 const auto *const E = selectFirst<Expr>("expr", Results); in isMutated() 61 mutatedBy(const SmallVectorImpl<BoundNodes> &Results, ASTUnit *AST) { in mutatedBy() argument 62 const auto *const S = selectFirst<Stmt>("stmt", Results); in mutatedBy() 66 for (const auto *E = selectFirst<Expr>("expr", Results); E != nullptr;) { in mutatedBy() 110 const auto Results = in TEST() local 112 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST() 127 const auto Results = in TEST_P() local 129 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre(ModExpr)); in TEST_P() [all …]
|
/external/python/google-api-python-client/samples/analytics/ |
D | core_reporting_v3_reference.py | 83 # Try to make a request to the API. Print the results or handle errors. 85 results = get_api_query(service, flags.table_id).execute() 86 print_results(results) 123 def print_results(results): argument 124 """Prints all the results in the Core Reporting API Response. 127 results: The response returned from the Core Reporting API. 130 print_report_info(results) 131 print_pagination_info(results) 132 print_profile_info(results) 133 print_query(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/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 41 /// \brief A container of code-completion results. 53 /// \brief The actual results we have found. 54 std::vector<Result> Results; member in __anon2cff34520111::ResultBuilder 90 // 1 -> 2 elements: create the vector of results and push in the in Add() 118 /// results. 121 /// \brief The semantic analysis object for which results are being 131 /// results that are not desirable. 159 /// \brief The completion context in which we are gathering results. 204 /// results. 210 /// \brief Set the filter used for code-completion results. [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCodeComplete.cpp | 62 /// A container of code-completion results. 74 /// The actual results we have found. 75 std::vector<Result> Results; member in __anon5739d2400111::ResultBuilder 120 // 1 -> 2 elements: create the vector of results and push in the in Add() 148 /// results. 151 /// The semantic analysis object for which results are being 161 /// results that are not desirable. 196 /// The completion context in which we are gathering results. 239 /// results. 245 /// Set the filter used for code-completion results. [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/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 …]
|
/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 …]
|
/external/rust/crates/rand_core/src/ |
D | block.rs | 32 //! type Results = [u32; 16]; 34 //! fn generate(&mut self, results: &mut Self::Results) { 69 /// Results element type, e.g. `u32`. 72 /// Results type. This is the 'block' an RNG implementing `BlockRngCore` 74 type Results: AsRef<[Self::Item]> + AsMut<[Self::Item]> + Default; typedef 76 /// Generate a new block of results. 77 fn generate(&mut self, results: &mut Self::Results); in generate() argument 84 /// The `core` field may be accessed directly but the results buffer may not. 93 /// reading values from the results buffer, as well as 118 results: R::Results, field [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/OpenCL-CTS/test_conformance/basic/ |
D | test_preprocessors.cpp | 24 …"__kernel void test( __global int *results, __global char *outFileString, __global char *outRoundi… 29 " results[0] = __IMAGE_SUPPORT__;\n" 31 " results[0] = 0xf00baa;\n" 35 " results[1] = __ENDIAN_LITTLE__;\n" 37 " results[1] = 0xf00baa;\n" 41 " results[2] = __OPENCL_VERSION__;\n" 43 " results[2] = 0xf00baa;\n" 47 " results[3] = __OPENCL_C_VERSION__;\n" 49 " results[3] = 0xf00baa;\n" 53 " results[4] = __LINE__;\n" [all …]
|
D | test_kernel_memory_alignment.cpp | 28 "kernel void test(global ulong *results, %s %s *mem0, %s %s2 *mem2, %s %s3 *mem3, %s %s4 *mem4, %s … 30 " results[0] = (ulong)&mem0[0];\n" 31 " results[1] = (ulong)&mem2[0];\n" 32 " results[2] = (ulong)&mem3[0];\n" 33 " results[3] = (ulong)&mem4[0];\n" 34 " results[4] = (ulong)&mem8[0];\n" 35 " results[5] = (ulong)&mem16[0];\n" 41 "kernel void test(global ulong *results)\n" 49 " results[0] = (ulong)&mem0[0];\n" 50 " results[1] = (ulong)&mem2[0];\n" [all …]
|
/external/llvm-project/mlir/test/mlir-tblgen/ |
D | op-python-bindings.td | 24 // CHECK: results = [] 36 …/ CHECK: "test.attr_sized_operands", attributes=attributes, operands=operands, results=results, 70 // CHECK: results = [] 73 // CHECK: if variadic1 is not None: results.append(variadic1) 75 // CHECK: results.append(non_variadic) 77 // CHECK: if variadic2 is not None: results.append(variadic2) 82 …// CHECK: "test.attr_sized_results", attributes=attributes, operands=operands, results=results, 88 // CHECK: self.operation.results, 95 // CHECK: self.operation.results, 102 // CHECK: self.operation.results, [all …]
|
/external/dagger2/javatests/dagger/producers/internal/ |
D | SetOfProducedProducerTest.java | 73 Results<Integer> results = Results.create(producer.get().get()); in delegateNpe() local 74 assertThat(results.successes).isEmpty(); in delegateNpe() 75 assertThat(results.failures).hasSize(1); in delegateNpe() 76 assertThat(Iterables.getOnlyElement(results.failures)) in delegateNpe() 87 Results<Integer> results = Results.create(producer.get().get()); in delegateSetNpe() local 88 assertThat(results.successes).isEmpty(); in delegateSetNpe() 89 assertThat(results.failures).hasSize(1); in delegateSetNpe() 90 assertThat(Iterables.getOnlyElement(results.failures)) in delegateSetNpe() 102 Results<Integer> results = Results.create(producer.get().get()); in delegateElementNpe() local 103 assertThat(results.successes).isEmpty(); in delegateElementNpe() [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/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/fonttools/Tests/cu2qu/ |
D | cu2qu_test.py | 33 """Do the curve conversion ahead of time, and run tests on results.""" 50 cls.results = [] 56 for tag, results in cls.results: 60 for k, v in sorted(results.items())))) 63 """Tests that the results of conversion haven't changed since the time 77 results = collections.defaultdict(int) 80 results[n] += 1 81 self.assertEqual(results, expected) 82 self.results.append(('single spline lengths', results)) 85 """Test that conversion results are unchanged for multiple curves.""" [all …]
|
/external/eigen/bench/ |
D | dense_solvers.cpp | 10 std::map<std::string,Array<float,1,8,DontAlign|RowMajor> > results; variable 74 results["LLT"][id] = t_llt.best(); in bench() 75 results["LDLT"][id] = t_ldlt.best(); in bench() 76 results["PartialPivLU"][id] = t_lu.best(); in bench() 77 results["FullPivLU"][id] = t_fplu.best(); in bench() 78 results["HouseholderQR"][id] = t_qr.best(); in bench() 79 results["ColPivHouseholderQR"][id] = t_cpqr.best(); in bench() 80 results["CompleteOrthogonalDecomposition"][id] = t_cod.best(); in bench() 81 results["FullPivHouseholderQR"][id] = t_fpqr.best(); in bench() 82 results["JacobiSVD"][id] = t_jsvd.best(); in bench() [all …]
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | data_service_ops_ft_test.py | 47 results = [] 48 results.append(next(iterator).numpy()) 53 results.append(next(iterator).numpy()) 54 self.assertEqual(results, list(range(num_elements))) 71 results = [] 73 results.append(next(iterator).numpy()) 76 results.append(elem.numpy()) 78 self.assertEqual(list(range(num_elements)), results) 87 results = [] 89 results.append(next(iterator).numpy()) [all …]
|
/external/autotest/server/ |
D | autoserv | 125 @param resultsdir: Folder to store results. This could be different from 126 parser.options.results: parser.options.results can be set to None 127 for results to be stored in a temp folder. resultsdir can be None 160 def _run_with_ssp(job, container_id, job_id, results, parser, ssp_url, argument 167 @param results: Folder to store results. This could be different from 168 parser.options.results: 169 parser.options.results can be set to None for results to be 171 results can be None if the autoserv run requires no logging. 188 results, control=control, 219 if parser.options.results: [all …]
|
D | autoserv.py | 125 @param resultsdir: Folder to store results. This could be different from 126 parser.options.results: parser.options.results can be set to None 127 for results to be stored in a temp folder. resultsdir can be None 160 def _run_with_ssp(job, container_id, job_id, results, parser, ssp_url, argument 167 @param results: Folder to store results. This could be different from 168 parser.options.results: 169 parser.options.results can be set to None for results to be 171 results can be None if the autoserv run requires no logging. 188 results, control=control, 219 if parser.options.results: [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/llvm-project/flang/unittests/Runtime/ |
D | format.cpp | 15 using Results = std::vector<std::string>; typedef 29 void Check(Results &); 30 Results results; member in TestFormatContext 39 results.push_back("'"s + str + '\''); in Emit() 53 results.emplace_back("/"); in AdvanceRecord() 59 results.push_back("T"s + std::to_string(n)); in HandleAbsolutePosition() 64 results.push_back("TL"s + std::to_string(-n)); in HandleRelativePosition() 66 results.push_back(std::to_string(n) + 'X'); in HandleRelativePosition() 88 results.push_back(str); in Report() 91 void TestFormatContext::Check(Results &expect) { in Check() [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 …]
|