Lines Matching refs:HistoryPath
198 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In,
200 : Prompt((ProgName + "> ").str()), HistoryPath(std::string(HistoryPath)),
202 if (HistoryPath.empty())
203 this->HistoryPath = getDefaultHistoryPath(ProgName);
243 if (!HistoryPath.empty()) {
245 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str());
250 if (!HistoryPath.empty()) {
252 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str());
286 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In,