Lines Matching refs:HistoryPath
193 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In,
195 : Prompt((ProgName + "> ").str()), HistoryPath(std::string(HistoryPath)),
197 if (HistoryPath.empty())
198 this->HistoryPath = getDefaultHistoryPath(ProgName);
238 if (!HistoryPath.empty()) {
240 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str());
245 if (!HistoryPath.empty()) {
247 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str());
281 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In,