Home
last modified time | relevance | path

Searched refs:RestOfBuffer (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Lex/
DLexer.cpp2613 auto RestOfBuffer = StringRef(CurPtr, BufferEnd - CurPtr).substr(TermLen); in FindConflictEnd() local
2614 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()
/external/llvm-project/clang/lib/Lex/
DLexer.cpp2850 auto RestOfBuffer = StringRef(CurPtr, BufferEnd - CurPtr).substr(TermLen); in FindConflictEnd() local
2851 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()