Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/Frontend/
DInclusionRewriter.cpp72 void OutputContentUpTo(const MemoryBuffer &FromFile,
77 const MemoryBuffer &FromFile, StringRef EOL,
199 static StringRef DetectEOL(const MemoryBuffer &FromFile) { in DetectEOL() argument
202 const char *Pos = strchr(FromFile.getBufferStart(), '\n'); in DetectEOL()
205 if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r') in DetectEOL()
207 if (Pos - 1 >= FromFile.getBufferStart() && Pos[-1] == '\r') in DetectEOL()
214 void InclusionRewriter::OutputContentUpTo(const MemoryBuffer &FromFile, in OutputContentUpTo() argument
220 if (&FromFile == PredefinesBuffer) { in OutputContentUpTo()
225 OS.write(FromFile.getBufferStart() + WriteFrom, WriteTo - WriteFrom); in OutputContentUpTo()
227 Line += std::count(FromFile.getBufferStart() + WriteFrom, 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.cpp80 const FileEntry *FromFile in InclusionDirective() local
82 if (!FromFile) in InclusionDirective()
85 Dependencies[FromFile].push_back(File); in InclusionDirective()
88 AllFiles.insert(FromFile); in InclusionDirective()
DCompilerInstance.cpp246 const FileEntry *FromFile = in InitializeFileRemapping() local
248 if (!FromFile) { in InitializeFileRemapping()
257 SourceMgr.overrideFileContents(FromFile, RB.second, in InitializeFileRemapping()
271 const FileEntry *FromFile = in InitializeFileRemapping() local
273 if (!FromFile) { in InitializeFileRemapping()
280 SourceMgr.overrideFileContents(FromFile, ToFile); in InitializeFileRemapping()
DFrontendActions.cpp552 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in ExecuteAction() local
553 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction()
DCacheTokens.cpp508 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in GeneratePTH() local
509 Lexer L(FID, FromFile, SM, LOpts); in GeneratePTH()
DVerifyDiagnosticConsumer.cpp591 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in findDirectives() local
592 Lexer RawLex(FID, FromFile, SM, LangOpts); in findDirectives()
/external/chromium_org/tools/telemetry/telemetry/page/
Dpage_set_unittest.py46 pps = page_set.PageSet.FromFile(test_pps_dir)
65 pps1 = page_set.PageSet.FromFile(test_pps_1_dir)
66 pps2 = page_set.PageSet.FromFile(test_pps_2_dir)
73 pps = page_set.PageSet.FromFile(test_pps_dir)
Dpage_set_archive_info_unittest.py49 self.archive_info = page_set_archive_info.PageSetArchiveInfo.FromFile(
135 self.archive_info = page_set_archive_info.PageSetArchiveInfo.FromFile(
159 read_archive_info = page_set_archive_info.PageSetArchiveInfo.FromFile(
Dpage_set.py82 def FromFile(file_path): member in PageSet
133 page_set_archive_info.PageSetArchiveInfo.FromFile(
Drecord_wpr.py115 ps = page_set.PageSet.FromFile(target)
Dpage_set_archive_info.py63 def FromFile(cls, file_path, ignore_archive=False): member in PageSetArchiveInfo
/external/clang/lib/Rewrite/Core/
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_org/tools/telemetry/telemetry/unittest/
Dpage_set_smoke_test.py32 wpr_archive_info = page_set_archive_info.PageSetArchiveInfo.FromFile(
/external/pdfium/core/src/fxge/Microsoft SDK/include/
DGdiPlusBitmap.h47 Image::FromFile( in FromFile() function
111 Image::FromFile( in FromFile() function
753 Bitmap::FromFile( in FromFile() function
DGdiPlusHeaders.h451 static Image* FromFile(
469 static Image* FromFile(
600 static Bitmap* FromFile(
/external/chromium_org/tools/telemetry/telemetry/
Dtest_runner.py162 return page_set.PageSet.FromFile(page_set_path)
/external/clang/lib/Lex/
DLexer.cpp144 Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *FromFile, in Lexer() argument
148 InitLexer(FromFile->getBufferStart(), FromFile->getBufferStart(), in Lexer()
149 FromFile->getBufferEnd()); in Lexer()