Home
last modified time | relevance | path

Searched refs:LineEditor (Results 1 – 20 of 20) sorted by relevance

/external/llvm/unittests/LineEditor/
DLineEditor.cpp20 LineEditor *LE;
29 LE = new LineEditor("test", HistPath); in init()
44 std::vector<LineEditor::Completion> Completions;
46 TestListCompleter(const std::vector<LineEditor::Completion> &Completions) in TestListCompleter()
49 std::vector<LineEditor::Completion> operator()(StringRef Buffer, in operator ()()
58 std::vector<LineEditor::Completion> Comps; in TEST_F()
60 Comps.push_back(LineEditor::Completion("foo", "int foo()")); in TEST_F()
62 LineEditor::CompletionAction CA = LE->getCompletionAction("", 0); in TEST_F()
63 EXPECT_EQ(LineEditor::CompletionAction::AK_Insert, CA.Kind); in TEST_F()
66 Comps.push_back(LineEditor::Completion("bar", "int bar()")); in TEST_F()
[all …]
DCMakeLists.txt2 LineEditor
7 LineEditor.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/LineEditor/
DLineEditor.cpp20 LineEditor *LE;
29 LE = new LineEditor("test", HistPath); in init()
44 std::vector<LineEditor::Completion> Completions;
46 TestListCompleter(const std::vector<LineEditor::Completion> &Completions) in TestListCompleter()
49 std::vector<LineEditor::Completion> operator()(StringRef Buffer, in operator ()()
58 std::vector<LineEditor::Completion> Comps; in TEST_F()
60 Comps.push_back(LineEditor::Completion("foo", "int foo()")); in TEST_F()
62 LineEditor::CompletionAction CA = LE->getCompletionAction("", 0); in TEST_F()
63 EXPECT_EQ(LineEditor::CompletionAction::AK_Insert, CA.Kind); in TEST_F()
66 Comps.push_back(LineEditor::Completion("bar", "int bar()")); in TEST_F()
[all …]
DCMakeLists.txt2 LineEditor
7 LineEditor.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LineEditor/
DLineEditor.cpp24 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { in getDefaultHistoryPath()
33 LineEditor::CompleterConcept::~CompleterConcept() {} in ~CompleterConcept()
34 LineEditor::ListCompleterConcept::~ListCompleterConcept() {} in ~ListCompleterConcept()
36 std::string LineEditor::ListCompleterConcept::getCommonPrefix( in getCommonPrefix()
55 LineEditor::CompletionAction
56 LineEditor::ListCompleterConcept::complete(StringRef Buffer, size_t Pos) const { in complete()
84 LineEditor::CompletionAction LineEditor::getCompletionAction(StringRef Buffer, in getCompletionAction()
99 struct LineEditor::InternalData {
100 LineEditor *LE;
114 LineEditor::InternalData *Data; in ElGetPromptFn()
[all …]
DCMakeLists.txt6 LineEditor.cpp
9 ${LLVM_MAIN_INCLUDE_DIR}/llvm/LineEditor
DLLVMBuild.txt1 ;===- ./lib/LineEditor/LLVMBuild.txt ---------------------------*- Conf -*--===;
20 name = LineEditor
/external/llvm/lib/LineEditor/
DLineEditor.cpp24 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { in getDefaultHistoryPath()
33 LineEditor::CompleterConcept::~CompleterConcept() {} in ~CompleterConcept()
34 LineEditor::ListCompleterConcept::~ListCompleterConcept() {} in ~ListCompleterConcept()
36 std::string LineEditor::ListCompleterConcept::getCommonPrefix( in getCommonPrefix()
55 LineEditor::CompletionAction
56 LineEditor::ListCompleterConcept::complete(StringRef Buffer, size_t Pos) const { in complete()
84 LineEditor::CompletionAction LineEditor::getCompletionAction(StringRef Buffer, in getCompletionAction()
99 struct LineEditor::InternalData {
100 LineEditor *LE;
114 LineEditor::InternalData *Data; in ElGetPromptFn()
[all …]
DCMakeLists.txt6 LineEditor.cpp
9 ${LLVM_MAIN_INCLUDE_DIR}/llvm/LineEditor
DLLVMBuild.txt1 ;===- ./lib/LineEditor/LLVMBuild.txt ---------------------------*- Conf -*--===;
20 name = LineEditor
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LineEditor/
DLineEditor.h23 class LineEditor {
34 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
36 ~LineEditor();
/external/llvm/include/llvm/LineEditor/
DLineEditor.h23 class LineEditor {
34 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
36 ~LineEditor();
/external/llvm/lib/
DCMakeLists.txt19 add_subdirectory(LineEditor)
DLLVMBuild.txt27 LineEditor
/external/llvm/unittests/
DCMakeLists.txt22 add_subdirectory(LineEditor)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/
DCMakeLists.txt22 add_subdirectory(LineEditor)
DLLVMBuild.txt28 LineEditor
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/
DCMakeLists.txt19 add_subdirectory(LineEditor)
/external/llvm/include/llvm/
Dmodule.modulemap179 module LLVM_LineEditor { requires cplusplus umbrella "LineEditor" module * { export * } }
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/
Dmodule.modulemap228 module LLVM_LineEditor { requires cplusplus umbrella "LineEditor" module * { export * } }