Searched refs:RestOfBuffer (Results 1 – 2 of 2) sorted by relevance
2613 auto RestOfBuffer = StringRef(CurPtr, BufferEnd - CurPtr).substr(TermLen); in FindConflictEnd() local2614 size_t Pos = RestOfBuffer.find(Terminator); in FindConflictEnd()2618 (RestOfBuffer[Pos - 1] != '\r' && RestOfBuffer[Pos - 1] != '\n')) { in FindConflictEnd()2619 RestOfBuffer = RestOfBuffer.substr(Pos+TermLen); in FindConflictEnd()2620 Pos = RestOfBuffer.find(Terminator); in FindConflictEnd()2623 return RestOfBuffer.data()+Pos; in FindConflictEnd()
2850 auto RestOfBuffer = StringRef(CurPtr, BufferEnd - CurPtr).substr(TermLen); in FindConflictEnd() local2851 size_t Pos = RestOfBuffer.find(Terminator); in FindConflictEnd()2855 (RestOfBuffer[Pos - 1] != '\r' && RestOfBuffer[Pos - 1] != '\n')) { in FindConflictEnd()2856 RestOfBuffer = RestOfBuffer.substr(Pos+TermLen); in FindConflictEnd()2857 Pos = RestOfBuffer.find(Terminator); in FindConflictEnd()2860 return RestOfBuffer.data()+Pos; in FindConflictEnd()