Home
last modified time | relevance | path

Searched refs:Completions (Results 1 – 25 of 34) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clangd/unittests/
DCodeCompleteTests.cpp175 EXPECT_THAT(Results.Completions, in TEST()
187 .Completions, in TEST()
193 .Completions, in TEST()
211 ASSERT_EQ(Results.Completions.size(), 1u); in TEST()
212 EXPECT_EQ(Results.Completions[0].Score.Total, MagicNumber); in TEST()
213 EXPECT_EQ(Results.Completions[0].Score.ExcludingName, MagicNumber); in TEST()
219 ASSERT_EQ(Results.Completions.size(), 1u); in TEST()
220 EXPECT_NE(Results.Completions[0].Score.Total, MagicNumber); in TEST()
221 EXPECT_NE(Results.Completions[0].Score.ExcludingName, MagicNumber); in TEST()
239 EXPECT_THAT(Results.Completions, ElementsAre(Named("AAA"), Named("BBB"))); in TEST()
[all …]
DClangdTests.cpp640 .Completions, in TEST()
973 auto Completions = cantFail(runCodeComplete(Server, SourcePath, Code.point(), in TEST() local
975 .Completions; in TEST()
976 EXPECT_THAT(Completions, ElementsAre(Field(&CodeCompletion::Name, "bar"))); in TEST()
981 Completions = cantFail(runCodeComplete(Server, SourcePath, Code.point(), in TEST()
983 .Completions; in TEST()
985 EXPECT_THAT(Completions, ElementsAre(Field(&CodeCompletion::Name, "bar"), in TEST()
1051 auto Completions = cantFail(runCodeComplete(Server, SourcePath, Code.point(), in TEST() local
1053 .Completions; in TEST()
1055 EXPECT_THAT(Completions, in TEST()
[all …]
/external/llvm-project/llvm/unittests/LineEditor/
DLineEditor.cpp43 std::vector<LineEditor::Completion> Completions; member
45 TestListCompleter(const std::vector<LineEditor::Completion> &Completions) in TestListCompleter()
46 : Completions(Completions) {} in TestListCompleter()
52 return Completions; in operator ()()
69 ASSERT_EQ(2u, CA.Completions.size()); in TEST_F()
70 ASSERT_EQ("int foo()", CA.Completions[0]); in TEST_F()
71 ASSERT_EQ("int bar()", CA.Completions[1]); in TEST_F()
/external/llvm/unittests/LineEditor/
DLineEditor.cpp44 std::vector<LineEditor::Completion> Completions; member
46 TestListCompleter(const std::vector<LineEditor::Completion> &Completions) in TestListCompleter()
47 : Completions(Completions) {} in TestListCompleter()
53 return Completions; in operator ()()
70 ASSERT_EQ(2u, CA.Completions.size()); in TEST_F()
71 ASSERT_EQ("int foo()", CA.Completions[0]); in TEST_F()
72 ASSERT_EQ("int bar()", CA.Completions[1]); in TEST_F()
/external/llvm-project/lldb/utils/TableGen/
DLLDBOptionDefEmitter.cpp35 std::vector<StringRef> Completions; member
72 Completions = Option->getValueAsListOfStrings("Completions"); in CommandOption()
124 if (!O.Completions.empty()) { in emitOption()
126 for (llvm::StringRef Completion : O.Completions) in emitOption()
/external/llvm-project/llvm/lib/LineEditor/
DLineEditor.cpp74 Action.Completions.push_back(I->DisplayText); in complete()
154 if (Action.Completions.empty()) { in ElCompletionFn()
173 for (std::vector<std::string>::iterator I = Action.Completions.begin(), in ElCompletionFn()
174 E = Action.Completions.end(); in ElCompletionFn()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LineEditor/
DLineEditor.cpp74 Action.Completions.push_back(I->DisplayText); in complete()
154 if (Action.Completions.empty()) { in ElCompletionFn()
173 for (std::vector<std::string>::iterator I = Action.Completions.begin(), in ElCompletionFn()
174 E = Action.Completions.end(); in ElCompletionFn()
/external/llvm/lib/LineEditor/
DLineEditor.cpp75 Action.Completions.push_back(I->DisplayText); in complete()
155 if (Action.Completions.empty()) { in ElCompletionFn()
174 for (std::vector<std::string>::iterator I = Action.Completions.begin(), in ElCompletionFn()
175 E = Action.Completions.end(); in ElCompletionFn()
/external/llvm-project/lldb/source/Commands/
DOptionsBase.td72 // - `Completions`: Sets a given kinds of completions.
74 // Completions<["DiskFile", "DiskDirectory"]>;
167 class Completions<list<string> completions> {
168 list<string> Completions = completions;
172 list<string> Completions = [completion];
/external/python/cpython2/Lib/idlelib/
Dhelp.txt49 Show Completions -- Open a scroll window allowing selection keywords
187 Completions:
189 Completions are supplied for functions, classes, and attributes of
190 classes, both built-in and user-defined. Completions are also provided
202 'Show Completions' will force open a completions window. In an empty
219 Completions and the 'Expand Word' facility can save a lot of typing!
221 Completions are currently limited to those in the namespaces. Names in
/external/llvm-project/clang-tools-extra/clang-query/
DQueryParser.cpp84 P->Completions.push_back(LineEditor::Completion( in Case()
207 Completions.push_back(LineEditor::Completion(I->TypedText, I->MatcherDecl)); in completeMatcherExpression()
368 return P.Completions; in complete()
DQueryParser.h62 std::vector<llvm::LineEditor::Completion> Completions; variable
/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp443 Completions.emplace_back(Completion.TypedText.substr(CompToken.Text.size()), in addCompletion()
581 std::sort(P.Completions.begin(), P.Completions.end(), in completeExpression()
588 return P.Completions; in completeExpression()
DRegistry.cpp493 std::vector<MatcherCompletion> Completions; in getMatcherCompletions() local
563 Completions.emplace_back(TypedText, OS.str(), MaxSpecificity); in getMatcherCompletions()
567 return Completions; in getMatcherCompletions()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LineEditor/
DLineEditor.h62 std::vector<std::string> Completions; member
/external/llvm/include/llvm/LineEditor/
DLineEditor.h63 std::vector<std::string> Completions; member
/external/llvm-project/llvm/include/llvm/LineEditor/
DLineEditor.h62 std::vector<std::string> Completions; member
/external/llvm-project/clang-tools-extra/clangd/
DCodeComplete.h258 std::vector<CodeCompletion> Completions; member
DCodeComplete.cpp1364 SPAN_ATTACH(Tracer, "returned_results", int64_t(Output.Completions.size())); in logResults()
1368 NSema, NIndex, NSemaAndIndex, NIdent, Output.Completions.size(), in logResults()
1370 assert(!Opts.Limit || Output.Completions.size() <= Opts.Limit); in logResults()
1508 Output.Completions.push_back(toCodeCompletion(C.first)); in toCodeCompleteResult()
1509 Output.Completions.back().Score = C.second; in toCodeCompleteResult()
1510 Output.Completions.back().CompletionTokenRange = ReplacedRange; in toCodeCompleteResult()
1953 OS << "CodeCompleteResult: " << R.Completions.size() << (R.HasMore ? "+" : "") in operator <<()
1956 for (const auto &C : R.Completions) in operator <<()
/external/python/cpython2/Doc/library/
Didle.rst139 Show Completions
141 Completions in the Tips sections below.
398 Completions section in Editing and navigation
401 Completions are supplied for functions, classes, and attributes of classes,
402 both built-in and user-defined. Completions are also provided for
413 'Show Completions' will force open a completions window, by default the
431 Completions and the 'Expand Word' facility can save a lot of typing!
433 Completions are currently limited to those in the namespaces. Names in
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DParser.cpp545 Completions.emplace_back(Completion.TypedText.substr(CompToken.Text.size()), in addCompletion()
685 llvm::sort(P.Completions, in completeExpression()
692 return P.Completions; in completeExpression()
DRegistry.cpp615 std::vector<MatcherCompletion> Completions; in getMatcherCompletions() local
685 Completions.emplace_back(TypedText, OS.str(), MaxSpecificity); in getMatcherCompletions()
689 return Completions; in getMatcherCompletions()
/external/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
DParser.h255 std::vector<MatcherCompletion> Completions; variable
/external/clang/include/clang/ASTMatchers/Dynamic/
DParser.h250 std::vector<MatcherCompletion> Completions; variable
/external/rust/crates/clap/
DCHANGELOG.md46 * **Completions:** adds completion support for Elvish. ([e9d0562a](https://github.com/kbknapp/clap…
87 * **Completions:** adds completion support for Elvish. ([e9d0562a](https://github.com/kbknapp/clap…
110 * **Fish Completions:** fixes a bug that only allowed a single completion in in Fish Shell ([e8774…
160 * **Bash Completions:** instead of completing a generic option name, all bash completions fall bac…
471 * **PowerShell Completions:** fixes a bug where powershells completions cant be used if no subcomm…
476 * **PowerShell Completions:** massively dedups subcommand names in the generate script to make sma…
619 * **Completions:** fixes a bug that tried to propogate global args multiple times when generating…
642 * **Completions:** fixes a bug that tried to propogate global args multiple times when generating…
766 * **ZSH Completions:** escapes square brackets in ZSH completions ([7e17d5a3](https://github.com/k…
798 * **ZSH Completions:** fixes an issue where zsh completions caused panics if there were no subcomm…
[all …]

12