Home
last modified time | relevance | path

Searched refs:SourceFile (Results 1 – 25 of 71) sorted by relevance

123

/external/llvm/lib/DebugInfo/PDB/DIA/
DDIASourceFile.cpp23 : Session(PDBSession), SourceFile(DiaSourceFile) {} in DIASourceFile()
27 HRESULT Result = SourceFile->get_fileName(&FileName16); in getFileName()
40 return (S_OK == SourceFile->get_uniqueId(&Id)) ? Id : 0; in getUniqueId()
45 HRESULT Result = SourceFile->get_checksum(0, &ByteSize, nullptr); in getChecksum()
49 Result = SourceFile->get_checksum(ByteSize, &ByteSize, &ChecksumBytes[0]); in getChecksum()
57 HRESULT Result = SourceFile->get_checksumType(&Type); in getChecksumType()
66 HRESULT Result = SourceFile->get_compilands(&DiaEnumerator); in getCompilands()
/external/llvm/tools/llvm-cov/
DCodeCoverage.cpp65 ErrorOr<const MemoryBuffer &> getSourceFile(StringRef SourceFile);
78 createSourceFileView(StringRef SourceFile, CoverageMapping &Coverage);
151 CodeCoverageTool::getSourceFile(StringRef SourceFile) { in getSourceFile() argument
154 auto Loc = RemappedFilenames.find(SourceFile); in getSourceFile()
156 SourceFile = Loc->second; in getSourceFile()
159 if (sys::fs::equivalent(SourceFile, Files.first)) in getSourceFile()
161 auto Buffer = MemoryBuffer::getFile(SourceFile); in getSourceFile()
163 deferError(EC.message(), SourceFile); in getSourceFile()
167 LoadedSourceFiles.emplace_back(SourceFile, std::move(Buffer.get())); in getSourceFile()
213 CodeCoverageTool::createSourceFileView(StringRef SourceFile, in createSourceFileView() argument
[all …]
Dgcov.cpp23 static void reportCoverage(StringRef SourceFile, StringRef ObjectDir, in reportCoverage() argument
30 CoverageFileStem = sys::path::parent_path(SourceFile); in reportCoverage()
31 sys::path::append(CoverageFileStem, sys::path::stem(SourceFile)); in reportCoverage()
34 sys::path::append(CoverageFileStem, sys::path::stem(SourceFile)); in reportCoverage()
81 FI.print(llvm::outs(), SourceFile, GCNO, GCDA); in reportCoverage()
141 for (const auto &SourceFile : SourceFiles) in gcovMain() local
142 reportCoverage(SourceFile, ObjectDir, InputGCNO, InputGCDA, DumpGCOV, in gcovMain()
/external/turbine/java/com/google/turbine/parse/
DIteratorLexer.java19 import com.google.turbine.diag.SourceFile;
29 private final SourceFile source;
33 public IteratorLexer(SourceFile source, Iterator<SavedToken> it) { in IteratorLexer()
39 public SourceFile source() { in source()
DUnicodeEscapePreprocessor.java19 import com.google.turbine.diag.SourceFile;
26 private final SourceFile source;
33 public UnicodeEscapePreprocessor(SourceFile source) { in UnicodeEscapePreprocessor()
134 public SourceFile source() { in source()
DLexer.java19 import com.google.turbine.diag.SourceFile;
33 SourceFile source(); in source()
/external/turbine/java/com/google/turbine/binder/bound/
DPackageSourceBoundClass.java23 import com.google.turbine.diag.SourceFile;
32 private final SourceFile source;
38 SourceFile source) { in PackageSourceBoundClass()
79 public SourceFile source() { in source()
DSourceTypeBoundClass.java27 import com.google.turbine.diag.SourceFile;
54 private final SourceFile source;
72 SourceFile source) { in SourceTypeBoundClass()
190 public SourceFile source() {
/external/turbine/java/com/google/turbine/type/
DAnnoInfo.java24 import com.google.turbine.diag.SourceFile;
32 private final SourceFile source;
38 SourceFile source, ClassSymbol sym, Anno tree, ImmutableMap<String, Const> values) { in AnnoInfo()
46 public SourceFile source() { in source()
/external/protobuf/objectivec/DevTools/
Dpddm_tests.py352 sf = pddm.SourceFile(f)
388 pddm.SourceFile(f)._ParseFile()
454 sf = pddm.SourceFile(f, _Resolver)
459 sf2 = pddm.SourceFile(f2, _Resolver)
465 sf2 = pddm.SourceFile(f2)
469 sf2 = pddm.SourceFile(f2, _Resolver)
483 sf = pddm.SourceFile(f)
503 sf = pddm.SourceFile(f)
Dpddm.py358 class SourceFile(object): class
448 SourceFile.SectionBase.__init__(self, first_line_num)
474 captured_lines = SourceFile.SectionBase.lines.fget(self)
535 SourceFile.SectionBase.__init__(self, first_line_num)
558 imported_src_file = SourceFile(imported_file, self._import_resolver)
661 src_file = SourceFile(f, _ImportResolver)
/external/turbine/javatests/com/google/turbine/parse/
DParseErrorTest.java23 import com.google.turbine.diag.SourceFile;
37 new UnicodeEscapePreprocessor(new SourceFile("<>", String.valueOf("2147483648")))); in intBound()
51 new UnicodeEscapePreprocessor(new SourceFile("<>", String.valueOf("0x100000000")))); in hexIntBound()
DExpressionParserTest.java21 import com.google.turbine.diag.SourceFile;
148 StreamLexer lexer = new StreamLexer(new UnicodeEscapePreprocessor(new SourceFile(null, input))); in test()
DVariableInitializerTest.java22 import com.google.turbine.diag.SourceFile;
134 Lexer lexer = new StreamLexer(new UnicodeEscapePreprocessor(new SourceFile(null, input))); in test()
DUnicodeEscapePreprocessorTest.java22 import com.google.turbine.diag.SourceFile;
78 UnicodeEscapePreprocessor reader = new UnicodeEscapePreprocessor(new SourceFile(null, input)); in readAll()
/external/turbine/java/com/google/turbine/binder/lookup/
DImportIndex.java27 import com.google.turbine.diag.SourceFile;
58 SourceFile source, in create()
102 SourceFile source, TopLevelIndex cpi, ImportDecl i, CanonicalSymbolResolver resolve) { in namedImport()
124 private static ImportScope staticNamedImport(SourceFile source, TopLevelIndex cpi, ImportDecl i) {
DCanonicalSymbolResolver.java20 import com.google.turbine.diag.SourceFile;
29 ClassSymbol resolve(SourceFile source, int position, LookupResult result); in resolve()
DImportScope.java20 import com.google.turbine.diag.SourceFile;
40 default ClassSymbol resolve(SourceFile source, int position, LookupResult result) { in resolve()
/external/turbine/java/com/google/turbine/diag/
DSourceFile.java20 public class SourceFile { class
25 public SourceFile(String path, String source) { in SourceFile() method in SourceFile
/external/clang/include/clang/Basic/
DSourceManager.h778 FileID createFileID(const FileEntry *SourceFile, SourceLocation IncludePos,
782 IR = getOrCreateContentCache(SourceFile,
802 FileID getOrCreateFileID(const FileEntry *SourceFile, in getOrCreateFileID() argument
804 FileID ID = translateFile(SourceFile); in getOrCreateFileID()
805 return ID.isValid() ? ID : createFileID(SourceFile, SourceLocation(), in getOrCreateFileID()
844 void overrideFileContents(const FileEntry *SourceFile,
846 void overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() argument
848 overrideFileContents(SourceFile, Buffer.release(), /*DoNotFree*/ false); in overrideFileContents()
857 void overrideFileContents(const FileEntry *SourceFile,
879 void setFileIsTransient(const FileEntry *SourceFile);
[all …]
/external/clang/lib/Basic/
DSourceManager.cpp641 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() argument
644 const SrcMgr::ContentCache *IR = getOrCreateContentCache(SourceFile); in overrideFileContents()
650 getOverriddenFilesInfo().OverriddenFilesWithBuffer.insert(SourceFile); in overrideFileContents()
653 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() argument
655 assert(SourceFile->getSize() == NewFile->getSize() && in overrideFileContents()
658 assert(FileInfos.count(SourceFile) == 0 && in overrideFileContents()
661 getOverriddenFilesInfo().OverriddenFiles[SourceFile] = NewFile; in overrideFileContents()
1593 SourceLocation SourceManager::translateFileLineCol(const FileEntry *SourceFile, in translateFileLineCol() argument
1596 assert(SourceFile && "Null source file!"); in translateFileLineCol()
1599 FileID FirstFID = translateFile(SourceFile); in translateFileLineCol()
[all …]
/external/llvm/lib/DebugInfo/PDB/
DPDBContext.cpp57 auto SourceFile = Session->getSourceFileById(LineInfo->getSourceFileId()); in getLineInfoForAddress() local
59 if (SourceFile && in getLineInfoForAddress()
61 Result.FileName = SourceFile->getFileName(); in getLineInfoForAddress()
/external/llvm/include/llvm/DebugInfo/PDB/DIA/
DDIASourceFile.h32 CComPtr<IDiaSourceFile> getDiaFile() const { return SourceFile; } in getDiaFile()
36 CComPtr<IDiaSourceFile> SourceFile; variable
/external/turbine/java/com/google/turbine/binder/
DCompUnitPreprocessor.java27 import com.google.turbine.diag.SourceFile;
48 private final SourceFile source;
54 SourceFile source, in PreprocessedCompUnit()
70 public SourceFile source() { in source()
/external/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h747 UdtSourceLineRecord(TypeIndex UDT, TypeIndex SourceFile, uint32_t LineNumber) in UdtSourceLineRecord() argument
749 SourceFile(SourceFile), LineNumber(LineNumber) {} in UdtSourceLineRecord()
759 TypeIndex getSourceFile() const { return SourceFile; } in getSourceFile()
765 TypeIndex SourceFile; // StringID containing the source filename member
770 TypeIndex SourceFile; variable
777 UdtModSourceLineRecord(TypeIndex UDT, TypeIndex SourceFile, in UdtModSourceLineRecord() argument
780 SourceFile(SourceFile), LineNumber(LineNumber), Module(Module) {} in UdtModSourceLineRecord()
789 return UdtModSourceLineRecord(L->UDT, L->SourceFile, L->LineNumber, in deserialize()
794 TypeIndex getSourceFile() const { return SourceFile; } in getSourceFile()
801 TypeIndex SourceFile; // StringID containing the source filename member
[all …]

123