Lines Matching defs:HistoryPath
194 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In,
196 : Prompt((ProgName + "> ").str()), HistoryPath(std::string(HistoryPath)),
198 if (HistoryPath.empty())
199 this->HistoryPath = getDefaultHistoryPath(ProgName);
239 if (!HistoryPath.empty()) {
241 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str());
246 if (!HistoryPath.empty()) {
248 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str());
287 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In,