Lines Matching refs:FromFile

88   void OutputContentUpTo(const MemoryBufferRef &FromFile, unsigned &WriteFrom,
92 const MemoryBufferRef &FromFile, StringRef EOL,
252 std::optional<MemoryBufferRef> FromFile = in detectMainFileEOL() local
254 assert(FromFile); in detectMainFileEOL()
255 if (!FromFile) in detectMainFileEOL()
257 MainEOL = FromFile->getBuffer().detectEOL(); in detectMainFileEOL()
262 void InclusionRewriter::OutputContentUpTo(const MemoryBufferRef &FromFile, in OutputContentUpTo() argument
268 if (FromFile == PredefinesBuffer) { in OutputContentUpTo()
278 LocalEOL[0] == (FromFile.getBufferStart() + WriteTo)[-1] && in OutputContentUpTo()
279 LocalEOL[1] == (FromFile.getBufferStart() + WriteTo)[0]) in OutputContentUpTo()
282 StringRef TextToWrite(FromFile.getBufferStart() + WriteFrom, in OutputContentUpTo()
321 const MemoryBufferRef &FromFile, in CommentOutDirective() argument
324 OutputContentUpTo(FromFile, NextToWrite, in CommentOutDirective()
331 if (FromFile == PredefinesBuffer) { in CommentOutDirective()
336 OutputContentUpTo(FromFile, NextToWrite, in CommentOutDirective()
358 MemoryBufferRef FromFile; in Process() local
363 FromFile = *B; in Process()
365 StringRef FileName = FromFile.getBufferIdentifier(); in Process()
366 Lexer RawLex(FileId, FromFile, PP.getSourceManager(), PP.getLangOpts()); in Process()
369 StringRef LocalEOL = FromFile.getBuffer().detectEOL(); in Process()
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()
457 OutputContentUpTo(FromFile, NextToWrite, in Process()
473 OutputContentUpTo(FromFile, NextToWrite, in Process()
496 OutputContentUpTo(FromFile, NextToWrite, in Process()
512 OutputContentUpTo(FromFile, NextToWrite, in Process()