Home
last modified time | relevance | path

Searched refs:HistoryPath (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/LineEditor/
DLineEditor.cpp199 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument
201 : Prompt((ProgName + "> ").str()), HistoryPath(HistoryPath), in LineEditor()
203 if (HistoryPath.empty()) in LineEditor()
204 this->HistoryPath = getDefaultHistoryPath(ProgName); in LineEditor()
244 if (!HistoryPath.empty()) { in saveHistory()
246 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str()); in saveHistory()
251 if (!HistoryPath.empty()) { in loadHistory()
253 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str()); in loadHistory()
287 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument
/external/llvm/lib/LineEditor/
DLineEditor.cpp199 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument
201 : Prompt((ProgName + "> ").str()), HistoryPath(HistoryPath), in LineEditor()
203 if (HistoryPath.empty()) in LineEditor()
204 this->HistoryPath = getDefaultHistoryPath(ProgName); in LineEditor()
244 if (!HistoryPath.empty()) { in saveHistory()
246 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str()); in saveHistory()
251 if (!HistoryPath.empty()) { in loadHistory()
253 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str()); in loadHistory()
287 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LineEditor/
DLineEditor.h34 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
114 std::string HistoryPath; variable
/external/llvm/include/llvm/LineEditor/
DLineEditor.h34 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
114 std::string HistoryPath; variable