Home
last modified time | relevance | path

Searched refs:StartOfFile (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/Object/
DArchive.cpp91 uint16_t StartOfFile) in Child() argument
92 : Parent(Parent), Data(Data), StartOfFile(StartOfFile) {} in Child()
111 StartOfFile = sizeof(ArchiveMemberHeader); in Child()
118 StartOfFile += NameSize; in Child()
129 return Data.size() - StartOfFile; in getSize()
164 return StringRef(Data.data() + StartOfFile, Size.get()); in getBuffer()
282 FirstRegularStartOfFile = C.StartOfFile; in setFirstRegular()
/external/llvm-project/clang-tools-extra/clang-include-fixer/
DIncludeFixer.cpp122 StringRef Code, SourceLocation StartOfFile, in addDiagnosticsForContext() argument
137 auto Begin = StartOfFile.getLocWithOffset(Placed.getOffset()); in addDiagnosticsForContext()
168 SourceLocation StartOfFile = in MaybeDiagnoseMissingCompleteType() local
175 Code, StartOfFile, CI->getASTContext()); in MaybeDiagnoseMissingCompleteType()
289 SourceLocation StartOfFile = SM.getLocForStartOfFile(FID); in CorrectTypo() local
294 Code, StartOfFile, CI->getASTContext())) in CorrectTypo()
/external/llvm-project/llvm/include/llvm/Object/
DArchive.h96 uint16_t StartOfFile; variable
102 Child(const Archive *Parent, StringRef Data, uint16_t StartOfFile);
138 uint64_t getDataOffset() const { return getChildOffset() + StartOfFile; } in getDataOffset()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DArchive.h96 uint16_t StartOfFile; variable
102 Child(const Archive *Parent, StringRef Data, uint16_t StartOfFile);
138 uint64_t getDataOffset() const { return getChildOffset() + StartOfFile; } in getDataOffset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchive.cpp322 uint16_t StartOfFile) in Child() argument
324 Data(Data), StartOfFile(StartOfFile) { in Child()
368 StartOfFile = Header.getSizeOf(); in Child()
390 StartOfFile += NameSize; in Child()
401 return Data.size() - StartOfFile; in getSize()
443 return StringRef(Data.data() + StartOfFile, Size.get()); in getBuffer()
540 FirstRegularStartOfFile = C.StartOfFile; in setFirstRegular()
/external/llvm-project/llvm/lib/Object/
DArchive.cpp322 uint16_t StartOfFile) in Child() argument
324 Data(Data), StartOfFile(StartOfFile) { in Child()
368 StartOfFile = Header.getSizeOf(); in Child()
390 StartOfFile += NameSize; in Child()
397 return Data.size() - StartOfFile; in getSize()
439 return StringRef(Data.data() + StartOfFile, Size.get()); in getBuffer()
536 FirstRegularStartOfFile = C.StartOfFile; in setFirstRegular()
/external/llvm-project/clang/lib/Format/
DTokenAnalyzer.cpp43 SourceLocation StartOfFile = SM.getLocForStartOfFile(ID); in Environment() local
45 SourceLocation Start = StartOfFile.getLocWithOffset(Range.getOffset()); in Environment()
/external/clang/lib/Format/
DTokenAnalyzer.cpp65 SourceLocation StartOfFile = VirtualSM->getLocForStartOfFile(ID); in CreateVirtualEnvironment() local
68 SourceLocation Start = StartOfFile.getLocWithOffset(Range.getOffset()); in CreateVirtualEnvironment()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DLexerUtils.cpp26 auto StartOfFile = SM.getLocForStartOfFile(SM.getFileID(Location)); in getPreviousToken() local
27 while (Location != StartOfFile) { in getPreviousToken()
/external/llvm/include/llvm/Object/
DArchive.h61 uint16_t StartOfFile; variable
71 Child(const Archive *Parent, StringRef Data, uint16_t StartOfFile);
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSourceCodeTests.cpp295 SourceLocation StartOfFile = SM.getLocForStartOfFile(SM.getMainFileID()); in TEST() local
297 HasValue(StartOfFile)); in TEST()
301 HasValue(StartOfFile.getLocWithOffset(Source.code().size()))); in TEST()
313 HasValue(StartOfFile.getLocWithOffset(Offset))); in TEST()