/external/llvm/lib/Object/ |
D | Archive.cpp | 91 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/ |
D | IncludeFixer.cpp | 122 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/ |
D | Archive.h | 96 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/ |
D | Archive.h | 96 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/ |
D | Archive.cpp | 322 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/ |
D | Archive.cpp | 322 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/ |
D | TokenAnalyzer.cpp | 43 SourceLocation StartOfFile = SM.getLocForStartOfFile(ID); in Environment() local 45 SourceLocation Start = StartOfFile.getLocWithOffset(Range.getOffset()); in Environment()
|
/external/clang/lib/Format/ |
D | TokenAnalyzer.cpp | 65 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/ |
D | LexerUtils.cpp | 26 auto StartOfFile = SM.getLocForStartOfFile(SM.getFileID(Location)); in getPreviousToken() local 27 while (Location != StartOfFile) { in getPreviousToken()
|
/external/llvm/include/llvm/Object/ |
D | Archive.h | 61 uint16_t StartOfFile; variable 71 Child(const Archive *Parent, StringRef Data, uint16_t StartOfFile);
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | SourceCodeTests.cpp | 295 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()
|