/external/clang/lib/Lex/ |
D | HeaderMap.cpp | 56 auto FileBuffer = FM.getBufferForFile(FE); in Create() local 57 if (!FileBuffer || !*FileBuffer) in Create() 60 if (!checkHeader(**FileBuffer, NeedsByteSwap)) in Create() 62 return new HeaderMap(std::move(*FileBuffer), NeedsByteSwap); in Create() 110 return FileBuffer->getBufferIdentifier(); in getFileName() 122 return *reinterpret_cast<const HMapHeader*>(FileBuffer->getBufferStart()); in getHeader() 129 assert(FileBuffer->getBufferSize() >= in getBucket() 137 reinterpret_cast<const HMapBucket*>(FileBuffer->getBufferStart() + in getBucket() 153 if (StrTabIdx >= FileBuffer->getBufferSize()) in getString() 156 const char *Data = FileBuffer->getBufferStart() + StrTabIdx; in getString() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | BinaryByteStream.h | 216 FileBuffer(std::move(Buffer)) {} in StreamImpl() 219 if (FileBuffer->commit()) in commit() 226 uint8_t *getBufferStart() const { return FileBuffer->getBufferStart(); } in getBufferStart() 229 uint8_t *getBufferEnd() const { return FileBuffer->getBufferEnd(); } in getBufferEnd() 232 std::unique_ptr<FileOutputBuffer> FileBuffer;
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mt/ |
D | llvm-mt.cpp | 155 std::unique_ptr<FileOutputBuffer> FileBuffer = std::move(*FileOrErr); in main() local 157 FileBuffer->getBufferStart()); in main() 158 error(FileBuffer->commit()); in main()
|
/external/clang/include/clang/Lex/ |
D | HeaderMap.h | 32 std::unique_ptr<const llvm::MemoryBuffer> FileBuffer; variable 37 : FileBuffer(std::move(File)), NeedsBSwap(NeedsBSwap) {} in HeaderMapImpl()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFDebugInfoTest.cpp | 228 MemoryBufferRef FileBuffer(FileBytes, "dwarf"); in TestAllForms() local 229 auto Obj = object::ObjectFile::createObjectFile(FileBuffer); in TestAllForms() 491 MemoryBufferRef FileBuffer(FileBytes, "dwarf"); in TestChildren() local 492 auto Obj = object::ObjectFile::createObjectFile(FileBuffer); in TestChildren() 667 MemoryBufferRef FileBuffer(FileBytes, "dwarf"); in TestReferences() local 668 auto Obj = object::ObjectFile::createObjectFile(FileBuffer); in TestReferences() 875 MemoryBufferRef FileBuffer(FileBytes, "dwarf"); in TestAddresses() local 876 auto Obj = object::ObjectFile::createObjectFile(FileBuffer); in TestAddresses() 1050 MemoryBufferRef FileBuffer(DG->generate(), "dwarf"); in TEST() local 1051 auto Obj = object::ObjectFile::createObjectFile(FileBuffer); in TEST() [all …]
|
D | DWARFDebugLineTest.cpp | 62 MemoryBufferRef FileBuffer(FileBytes, "dwarf"); in createContext() local 63 auto Obj = object::ObjectFile::createObjectFile(FileBuffer); in createContext()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cvtres/ |
D | llvm-cvtres.cpp | 199 std::unique_ptr<FileOutputBuffer> FileBuffer = std::move(*FileOrErr); in main() local 201 FileBuffer->getBufferStart()); in main() 202 error(FileBuffer->commit()); in main()
|
/external/clang/unittests/Tooling/ |
D | RewriterTestContext.h | 110 auto FileBuffer = Files.getBufferForFile(Path); in getFileContentFromDisk() local 111 return (*FileBuffer)->getBuffer(); in getFileContentFromDisk()
|
D | RefactoringTest.cpp | 298 auto FileBuffer = Context.Files.getBufferForFile(Path); in getFileContentFromDisk() local 299 return (*FileBuffer)->getBuffer(); in getFileContentFromDisk()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/BinaryFormat/ |
D | Magic.cpp | 213 std::unique_ptr<MemoryBuffer> FileBuffer = std::move(*FileOrError); in identify_magic() local 214 Result = identify_magic(FileBuffer->getBuffer()); in identify_magic()
|
/external/llvm/tools/llvm-pdbdump/ |
D | llvm-pdbdump.cpp | 78 FileBuffer(std::move(Buffer)) {} in FileBufferByteStream() 81 if (FileBuffer->commit()) in commit() 87 std::unique_ptr<FileOutputBuffer> FileBuffer; member in __anon45bd85430111::FileBufferByteStream
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/ |
D | llvm-objcopy.cpp | 235 FileBuffer FB(File); in SplitDWOToFile() 497 FileBuffer FB(Member.MemberName); in deepWriteArchive() 547 FileBuffer FB(Config.OutputFilename); in ExecuteElfObjcopy()
|
D | Object.h | 154 class FileBuffer : public Buffer { 162 explicit FileBuffer(StringRef FileName) : Buffer(FileName) {} in FileBuffer() function
|
D | Object.cpp | 36 void FileBuffer::allocate(size_t Size) { in allocate() 45 Error FileBuffer::commit() { return Buf->commit(); } in commit() 47 uint8_t *FileBuffer::getBufferStart() { in getBufferStart()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/ |
D | llvm-objdump.cpp | 956 auto FileBuffer = SourceCache.find(LineInfo.FileName); in printSourceLine() local 957 if (FileBuffer != SourceCache.end()) { in printSourceLine()
|