Home
last modified time | relevance | path

Searched refs:FromFile (Results 1 – 20 of 20) 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.cpp255 const FileEntry *FromFile = in InitializeFileRemapping() local
257 if (!FromFile) { in InitializeFileRemapping()
266 SourceMgr.overrideFileContents(FromFile, RB.second, in InitializeFileRemapping()
280 const FileEntry *FromFile = in InitializeFileRemapping() local
282 if (!FromFile) { in InitializeFileRemapping()
289 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.cpp623 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in ExecuteAction() local
624 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction()
DVerifyDiagnosticConsumer.cpp586 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in findDirectives() local
587 Lexer RawLex(FID, FromFile, SM, LangOpts); in findDirectives()
/external/toolchain-utils/automation/clients/report/dejagnu/
Dmain.py51 test_run = DejaGnuTestRun.FromFile(filename)
99 manifests.append(Manifest.FromFile(filename))
101 test_runs = [DejaGnuTestRun.FromFile(filename)
Dmanifest.py50 def FromFile(cls, filename): member in Manifest
Dsummary.py130 def FromFile(cls, filename): member in DejaGnuTestRun
/external/toolchain-utils/automation/clients/report/
Dvalidate_failures.py141 manifest = set(Manifest.FromFile(manifest_path))
151 test_run = DejaGnuTestRun.FromFile(summary)
188 testruns = map(DejaGnuTestRun.FromFile, GetSumFiles(build_dir))
/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DConverter.java61 return new FromFile(); in getConverter()
202 private static class FromFile extends Converter<Object> { class in Converter
/external/libmojo/build/android/gyp/util/
Dmd5_check.py72 old_metadata = _Metadata.FromFile(jsonfile)
253 def FromFile(cls, fileobj): member in _Metadata
/external/tensorflow/tensorflow/core/kernels/
Dimmutable_constant_op_test.cc158 TEST(ImmutableConstantOpTest, FromFile) { in TEST() argument
/external/clang/lib/Lex/
DPPDirectives.cpp743 const FileEntry *FromFile, in LookupFile() argument
757 if (!FromDir && !FromFile) { in LookupFile()
799 if (FromFile) { in LookupFile()
811 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/ImageMagick/coders/
Demf.c714 source=Gdiplus::Image::FromFile(fileName); in ReadEMFImage()
/external/clang/include/clang/Lex/
DPreprocessor.h1648 const FileEntry *FromFile,