Lines Matching refs:LocalEOL
264 StringRef LocalEOL, int &Line, in OutputContentUpTo() argument
277 if (LocalEOL.size() == 2 && in OutputContentUpTo()
278 LocalEOL[0] == (FromFile.getBufferStart() + WriteTo)[-1] && in OutputContentUpTo()
279 LocalEOL[1] == (FromFile.getBufferStart() + WriteTo)[0]) in OutputContentUpTo()
285 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
287 if (MainEOL == LocalEOL) { in OutputContentUpTo()
294 size_t Idx = Rest.find(LocalEOL); in OutputContentUpTo()
301 Idx += LocalEOL.size(); in OutputContentUpTo()
308 if (EnsureNewline && !TextToWrite.endswith(LocalEOL)) in OutputContentUpTo()
322 StringRef LocalEOL, in CommentOutDirective() argument
325 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()
339 LocalEOL, Line, true); in CommentOutDirective()
369 StringRef LocalEOL = FromFile.getBuffer().detectEOL(); in Process() local
403 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, NextToWrite, in Process()
438 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
446 CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL, in Process()
459 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
476 LocalEOL, Line, /*EnsureNewline=*/true); in Process()
499 LocalEOL, Line, /*EnsureNewline=*/ true); in Process()
513 SM.getFileOffset(SM.getLocForEndOfFile(FileId)), LocalEOL, in Process()