Home
last modified time | relevance | path

Searched refs:Comps (Results 1 – 18 of 18) sorted by relevance

/external/llvm/unittests/LineEditor/
DLineEditor.cpp58 std::vector<LineEditor::Completion> Comps; in TEST_F() local
60 Comps.push_back(LineEditor::Completion("foo", "int foo()")); in TEST_F()
61 LE->setListCompleter(TestListCompleter(Comps)); in TEST_F()
66 Comps.push_back(LineEditor::Completion("bar", "int bar()")); in TEST_F()
67 LE->setListCompleter(TestListCompleter(Comps)); in TEST_F()
74 Comps.clear(); in TEST_F()
75 Comps.push_back(LineEditor::Completion("fee", "int fee()")); in TEST_F()
76 Comps.push_back(LineEditor::Completion("fi", "int fi()")); in TEST_F()
77 Comps.push_back(LineEditor::Completion("foe", "int foe()")); in TEST_F()
78 Comps.push_back(LineEditor::Completion("fum", "int fum()")); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/LineEditor/
DLineEditor.cpp58 std::vector<LineEditor::Completion> Comps; in TEST_F() local
60 Comps.push_back(LineEditor::Completion("foo", "int foo()")); in TEST_F()
61 LE->setListCompleter(TestListCompleter(Comps)); in TEST_F()
66 Comps.push_back(LineEditor::Completion("bar", "int bar()")); in TEST_F()
67 LE->setListCompleter(TestListCompleter(Comps)); in TEST_F()
74 Comps.clear(); in TEST_F()
75 Comps.push_back(LineEditor::Completion("fee", "int fee()")); in TEST_F()
76 Comps.push_back(LineEditor::Completion("fi", "int fi()")); in TEST_F()
77 Comps.push_back(LineEditor::Completion("foe", "int foe()")); in TEST_F()
78 Comps.push_back(LineEditor::Completion("fum", "int fum()")); in TEST_F()
[all …]
/external/clang/unittests/ASTMatchers/Dynamic/
DParserTest.cpp280 std::vector<MatcherCompletion> Comps = in TEST() local
282 ASSERT_EQ(1u, Comps.size()); in TEST()
283 EXPECT_EQ("Stmt(", Comps[0].TypedText); in TEST()
285 Comps[0].MatcherDecl); in TEST()
287 Comps = Parser::completeExpression("whileStmt().", 12); in TEST()
288 ASSERT_EQ(1u, Comps.size()); in TEST()
289 EXPECT_EQ("bind(\"", Comps[0].TypedText); in TEST()
290 EXPECT_EQ("bind", Comps[0].MatcherDecl); in TEST()
297 std::vector<MatcherCompletion> Comps = in TEST() local
299 ASSERT_EQ(1u, Comps.size()); in TEST()
[all …]
DRegistryTest.cpp115 bool hasCompletion(const CompVector &Comps, StringRef TypedText, in hasCompletion() argument
117 for (CompVector::const_iterator I = Comps.begin(), E = Comps.end(); I != E; in hasCompletion()
448 CompVector Comps = getCompletions(); in TEST_F() local
451 Comps, "hasParent(", in TEST_F()
455 EXPECT_TRUE(hasCompletion(Comps, "whileStmt(", in TEST_F()
459 Comps, "hasDescendant(", in TEST_F()
494 Comps = getCompletions("classTemplateSpecializationDecl", 0); in TEST_F()
496 Comps, "isSameOrDerivedFrom(", in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LineEditor/
DLineEditor.cpp37 const std::vector<Completion> &Comps) { in getCommonPrefix() argument
38 assert(!Comps.empty()); in getCommonPrefix()
40 std::string CommonPrefix = Comps[0].TypedText; in getCommonPrefix()
41 for (std::vector<Completion>::const_iterator I = Comps.begin() + 1, in getCommonPrefix()
42 E = Comps.end(); in getCommonPrefix()
58 std::vector<Completion> Comps = getCompletions(Buffer, Pos); in complete() local
59 if (Comps.empty()) { in complete()
64 std::string CommonPrefix = getCommonPrefix(Comps); in complete()
73 for (std::vector<Completion>::iterator I = Comps.begin(), E = Comps.end(); in complete()
/external/llvm/lib/LineEditor/
DLineEditor.cpp37 const std::vector<Completion> &Comps) { in getCommonPrefix() argument
38 assert(!Comps.empty()); in getCommonPrefix()
40 std::string CommonPrefix = Comps[0].TypedText; in getCommonPrefix()
41 for (std::vector<Completion>::const_iterator I = Comps.begin() + 1, in getCommonPrefix()
42 E = Comps.end(); in getCommonPrefix()
58 std::vector<Completion> Comps = getCompletions(Buffer, Pos); in complete() local
59 if (Comps.empty()) { in complete()
64 std::string CommonPrefix = getCommonPrefix(Comps); in complete()
73 for (std::vector<Completion>::iterator I = Comps.begin(), E = Comps.end(); in complete()
/external/clang/lib/Parse/
DParseExpr.cpp1997 SmallVector<Sema::OffsetOfComponent, 4> Comps; in ParseBuiltinPrimaryExpression() local
1999 Comps.push_back(Sema::OffsetOfComponent()); in ParseBuiltinPrimaryExpression()
2000 Comps.back().isBrackets = false; in ParseBuiltinPrimaryExpression()
2001 Comps.back().U.IdentInfo = Tok.getIdentifierInfo(); in ParseBuiltinPrimaryExpression()
2002 Comps.back().LocStart = Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2008 Comps.push_back(Sema::OffsetOfComponent()); in ParseBuiltinPrimaryExpression()
2009 Comps.back().isBrackets = false; in ParseBuiltinPrimaryExpression()
2010 Comps.back().LocStart = ConsumeToken(); in ParseBuiltinPrimaryExpression()
2017 Comps.back().U.IdentInfo = Tok.getIdentifierInfo(); in ParseBuiltinPrimaryExpression()
2018 Comps.back().LocEnd = ConsumeToken(); in ParseBuiltinPrimaryExpression()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LineEditor/
DLineEditor.h125 static std::string getCommonPrefix(const std::vector<Completion> &Comps);
/external/llvm/include/llvm/LineEditor/
DLineEditor.h125 static std::string getCommonPrefix(const std::vector<Completion> &Comps);
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenRegisters.cpp95 ListInit *Comps = TheDef->getValueAsListInit("CompositeIndices"); in getSubRegs() local
96 for (unsigned i = 0, e = Comps->size(); i != e; ++i) { in getSubRegs()
97 DagInit *Pat = dynamic_cast<DagInit*>(Comps->getElement(i)); in getSubRegs()
100 Comps->getElement(i)->getAsString() + in getSubRegs()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp60 std::vector<Record*> Comps = TheDef->getValueAsListOfDefs("ComposedOf"); in updateComponents() local
61 if (!Comps.empty()) { in updateComponents()
62 if (Comps.size() != 2) in updateComponents()
65 CodeGenSubRegIndex *A = RegBank.getSubRegIdx(Comps[0]); in updateComponents()
66 CodeGenSubRegIndex *B = RegBank.getSubRegIdx(Comps[1]); in updateComponents()
259 const CodeGenSubRegIndex::CompMap &Comps = Idx->getComposites(); in computeSubRegs() local
265 for (CodeGenSubRegIndex::CompMap::const_iterator I = Comps.begin(), in computeSubRegs()
266 E = Comps.end(); I != E; ++I) { in computeSubRegs()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenRegisters.cpp80 std::vector<Record*> Comps = TheDef->getValueAsListOfDefs("ComposedOf"); in updateComponents() local
81 if (!Comps.empty()) { in updateComponents()
82 if (Comps.size() != 2) in updateComponents()
85 CodeGenSubRegIndex *A = RegBank.getSubRegIdx(Comps[0]); in updateComponents()
86 CodeGenSubRegIndex *B = RegBank.getSubRegIdx(Comps[1]); in updateComponents()
311 const CodeGenSubRegIndex::CompMap &Comps = Idx->getComposites(); in computeSubRegs() local
317 for (CodeGenSubRegIndex::CompMap::const_iterator I = Comps.begin(), in computeSubRegs()
318 E = Comps.end(); I != E; ++I) { in computeSubRegs()
/external/syzkaller/pkg/ipc/
Dipc.go90 Comps prog.CompMap // per-call comparison operands member
325 inf.Comps = comps
/external/syzkaller/tools/syz-execprog/
Dexecprog.go197 comps := info[i].Comps
/external/syzkaller/syz-fuzzer/
Dproc.go227 p.MutateWithHints(call, info[call].Comps, func(p *prog.Prog) {
/external/pdfium/core/fpdfapi/page/
Dcpdf_colorspace.cpp1080 CFX_FixedBufGrow<float, 16> Comps(m_nBaseComponents); in GetRGB() local
1081 float* comps = Comps; in GetRGB()
/external/clang/lib/Sema/
DSemaExpr.cpp11730 SmallVector<OffsetOfNode, 4> Comps; in BuildBuiltinOffsetOf() local
11758 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
11767 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
11850 Comps.push_back(OffsetOfNode(B.Base)); in BuildBuiltinOffsetOf()
11856 Comps.push_back(OffsetOfNode(OC.LocStart, in BuildBuiltinOffsetOf()
11860 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
11866 Comps, Exprs, RParenLoc); in BuildBuiltinOffsetOf()
/external/cldr/tools/java/org/unicode/cldr/util/data/external/
D2013-1_UNLOCODE_CodeListPart1.csv34742 ,"FR","EZX","Comps","Comps","33","1----6--","RQ","0907",,,
34743 ,"FR","OPA","Comps-sur-Artuby","Comps-sur-Artuby","83","--3-----","RL","0901",,"4343N 00630E",
37653 ,"FR","LZP","Les Ancizes-Comps","Les Ancizes-Comps","63","--3-----","RL","0601",,"4555N 00248E",