Home
last modified time | relevance | path

Searched refs:FromFile (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp75 void OutputContentUpTo(const MemoryBuffer &FromFile,
80 const MemoryBuffer &FromFile, StringRef EOL,
216 static StringRef DetectEOL(const MemoryBuffer &FromFile) { in DetectEOL() argument
220 const char *Pos = strchr(FromFile.getBufferStart(), '\n'); in DetectEOL()
223 if (Pos - 1 >= FromFile.getBufferStart() && Pos[-1] == '\r') in DetectEOL()
225 if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r') in DetectEOL()
232 const MemoryBuffer &FromFile = *SM.getBuffer(SM.getMainFileID(), &Invalid); in detectMainFileEOL() local
236 MainEOL = DetectEOL(FromFile); in detectMainFileEOL()
241 void InclusionRewriter::OutputContentUpTo(const MemoryBuffer &FromFile, in OutputContentUpTo() argument
247 if (&FromFile == PredefinesBuffer) { in OutputContentUpTo()
[all …]
DRewriteMacros.cpp68 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in LexRawTokensFromMainFile() local
69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile()
/external/clang/lib/Frontend/
DDependencyGraph.cpp81 const FileEntry *FromFile in InclusionDirective() local
83 if (!FromFile) in InclusionDirective()
86 Dependencies[FromFile].push_back(File); in InclusionDirective()
89 AllFiles.insert(FromFile); in InclusionDirective()
DCompilerInstance.cpp253 const FileEntry *FromFile = in InitializeFileRemapping() local
255 if (!FromFile) { in InitializeFileRemapping()
264 SourceMgr.overrideFileContents(FromFile, RB.second, in InitializeFileRemapping()
278 const FileEntry *FromFile = in InitializeFileRemapping() local
280 if (!FromFile) { in InitializeFileRemapping()
287 SourceMgr.overrideFileContents(FromFile, ToFile); in InitializeFileRemapping()
DCacheTokens.cpp519 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in GeneratePTH() local
520 Lexer L(FID, FromFile, SM, LOpts); in GeneratePTH()
DFrontendActions.cpp621 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in ExecuteAction() local
622 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction()
DVerifyDiagnosticConsumer.cpp588 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in findDirectives() local
589 Lexer RawLex(FID, FromFile, SM, LangOpts); in findDirectives()
/external/clang/lib/Rewrite/
DTokenRewriter.cpp26 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in TokenRewriter() local
27 Lexer RawLex(FID, FromFile, SM, LangOpts); in TokenRewriter()
DHTMLRewrite.cpp361 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in SyntaxHighlight() local
362 Lexer L(FID, FromFile, SM, PP.getLangOpts()); in SyntaxHighlight()
451 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in HighlightMacros() local
452 Lexer L(FID, FromFile, SM, PP.getLangOpts()); in HighlightMacros()
/external/chromium-trace/catapult/telemetry/telemetry/wpr/
Darchive_info_unittest.py53 self.archive_info = archive_info.WprArchiveInfo.FromFile(
197 self.archive_info = archive_info.WprArchiveInfo.FromFile(
221 read_archive_info = archive_info.WprArchiveInfo.FromFile(
Darchive_info.py55 def FromFile(cls, file_path, bucket): member in WprArchiveInfo
/external/chromium-trace/catapult/telemetry/telemetry/story/
Dstory_set.py95 self._wpr_archive_info = archive_info.WprArchiveInfo.FromFile(
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dstory_set_smoke_test.py45 wpr_archive_info = archive_info.WprArchiveInfo.FromFile(
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/samples/storage_sample/storage/
Dstorage_v1.py1952 download = apitools_base.Download.FromFile(FLAGS.download_filename, overwrite=FLAGS.overwrite,
2128 download = apitools_base.Download.FromFile(FLAGS.download_filename, overwrite=FLAGS.overwrite,
2312 download = apitools_base.Download.FromFile(FLAGS.download_filename, overwrite=FLAGS.overwrite,
2468 upload = apitools_base.Upload.FromFile(
2474 download = apitools_base.Download.FromFile(FLAGS.download_filename, overwrite=FLAGS.overwrite,
2987 download = apitools_base.Download.FromFile(FLAGS.download_filename, overwrite=FLAGS.overwrite,
/external/clang/lib/Lex/
DPPDirectives.cpp608 const FileEntry *FromFile, in LookupFile() argument
620 if (!FromDir && !FromFile) { in LookupFile()
661 if (FromFile) { in LookupFile()
673 if (FE == FromFile) { in LookupFile()
DLexer.cpp144 Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *FromFile, in Lexer() argument
146 : Lexer(SM.getLocForStartOfFile(FID), langOpts, FromFile->getBufferStart(), in Lexer()
147 FromFile->getBufferStart(), FromFile->getBufferEnd()) {} in Lexer()
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dtransfer.py206 def FromFile(cls, filename, overwrite=False, auto_transfer=True, **kwds): member in Download
558 def FromFile(cls, filename, mime_type=None, auto_transfer=True, **kwds): member in Upload
/external/ImageMagick/coders/
Demf.c714 source=Gdiplus::Image::FromFile(fileName); in ReadEMFImage()
/external/clang/include/clang/Lex/
DPreprocessor.h1620 const FileEntry *FromFile,