Lines Matching refs:Line
254 const char *Line = ::el_gets(Data->EL, &LineLen); in readLine() local
257 if (!Line || LineLen == 0) in readLine()
262 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')) in readLine()
267 ::history(Data->Hist, &HE, H_ENTER, Line); in readLine()
269 return std::string(Line, LineLen); in readLine()
298 std::string Line; in readLine() local
303 if (Line.empty()) in readLine()
306 return Line; in readLine()
308 Line.append(Buf); in readLine()
309 } while (Line.empty() || in readLine()
310 (Line[Line.size() - 1] != '\n' && Line[Line.size() - 1] != '\r')); in readLine()
312 while (!Line.empty() && in readLine()
313 (Line[Line.size() - 1] == '\n' || Line[Line.size() - 1] == '\r')) in readLine()
314 Line.resize(Line.size() - 1); in readLine()
316 return Line; in readLine()