/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/ |
D | GsymReader.cpp | 27 MemBuffer(std::move(Buffer)), in GsymReader() 45 auto MemBuffer = MemoryBuffer::getMemBufferCopy(Bytes, "GSYM bytes"); in copyBuffer() local 46 return create(MemBuffer); in copyBuffer() 50 GsymReader::create(std::unique_ptr<MemoryBuffer> &MemBuffer) { in create() argument 51 if (!MemBuffer.get()) in create() 54 GsymReader GR(std::move(MemBuffer)); in create() 63 BinaryStreamReader FileData(MemBuffer->getBuffer(), in parse() 90 DataExtractor Data(MemBuffer->getBuffer(), DataIsLittleEndian, 4); in parse() 138 DataExtractor Data(MemBuffer->getBuffer(), DataIsLittleEndian, 4); in parse() 191 StrTab.Data = MemBuffer->getBuffer().substr(Hdr->StrtabOffset, in parse() [all …]
|
/external/llvm-project/llvm/lib/DebugInfo/GSYM/ |
D | GsymReader.cpp | 27 MemBuffer(std::move(Buffer)), in GsymReader() 45 auto MemBuffer = MemoryBuffer::getMemBufferCopy(Bytes, "GSYM bytes"); in copyBuffer() local 46 return create(MemBuffer); in copyBuffer() 50 GsymReader::create(std::unique_ptr<MemoryBuffer> &MemBuffer) { in create() argument 51 if (!MemBuffer.get()) in create() 54 GsymReader GR(std::move(MemBuffer)); in create() 63 BinaryStreamReader FileData(MemBuffer->getBuffer(), in parse() 90 DataExtractor Data(MemBuffer->getBuffer(), DataIsLittleEndian, 4); in parse() 138 DataExtractor Data(MemBuffer->getBuffer(), DataIsLittleEndian, 4); in parse() 191 StrTab.Data = MemBuffer->getBuffer().substr(Hdr->StrtabOffset, in parse() [all …]
|
/external/llvm-project/llvm/tools/llvm-objcopy/ |
D | Buffer.cpp | 63 Error MemBuffer::allocate(size_t Size) { in allocate() 68 Error MemBuffer::commit() { return Error::success(); } in commit() 70 uint8_t *MemBuffer::getBufferStart() { in getBufferStart() 74 std::unique_ptr<WritableMemoryBuffer> MemBuffer::releaseMemoryBuffer() { in releaseMemoryBuffer()
|
D | Buffer.h | 52 class MemBuffer : public Buffer { 60 explicit MemBuffer(StringRef Name) : Buffer(Name) {} in MemBuffer() function
|
D | llvm-objcopy.cpp | 200 MemBuffer MB(ChildNameOrErr.get()); in createNewArchiveMembers()
|
/external/webp/src/demux/ |
D | demux.c | 36 } MemBuffer; typedef 62 MemBuffer mem_; 109 static int RemapMemBuffer(MemBuffer* const mem, in RemapMemBuffer() 118 static int InitMemBuffer(MemBuffer* const mem, in InitMemBuffer() 125 static WEBP_INLINE size_t MemDataSize(const MemBuffer* const mem) { in MemDataSize() 130 static WEBP_INLINE int SizeIsInvalid(const MemBuffer* const mem, size_t size) { in SizeIsInvalid() 134 static WEBP_INLINE void Skip(MemBuffer* const mem, size_t size) { in Skip() 138 static WEBP_INLINE void Rewind(MemBuffer* const mem, size_t size) { in Rewind() 142 static WEBP_INLINE const uint8_t* GetBuffer(MemBuffer* const mem) { in GetBuffer() 147 static WEBP_INLINE uint8_t ReadByte(MemBuffer* const mem) { in ReadByte() [all …]
|
/external/llvm-project/llvm/tools/dsymutil/ |
D | BinaryHolder.cpp | 56 MemBuffer = std::move(*ErrOrBuff); in load() 66 object::MachOUniversalBinary::create(MemBuffer->getMemBufferRef()); in load() 69 ArchiveBuffers.push_back(MemBuffer->getMemBufferRef()); in load() 74 getMachOFatMemoryBuffers(FatBinaryName, *MemBuffer, *FatBinary); in load() 98 MemBuffer = std::move(*ErrOrBuff); in load() 108 object::MachOUniversalBinary::create(MemBuffer->getMemBufferRef()); in load() 111 ObjectBuffers.push_back(MemBuffer->getMemBufferRef()); in load() 116 getMachOFatMemoryBuffers(FatBinaryName, *MemBuffer, *FatBinary); in load()
|
D | BinaryHolder.h | 51 std::unique_ptr<MemoryBuffer> MemBuffer;
|
/external/llvm-project/lldb/source/Utility/ |
D | DataBufferLLVM.cpp | 18 std::unique_ptr<llvm::WritableMemoryBuffer> MemBuffer) in DataBufferLLVM() argument 19 : Buffer(std::move(MemBuffer)) { in DataBufferLLVM()
|
/external/webp/src/dec/ |
D | idec_dec.c | 63 } MemBuffer; typedef 72 MemBuffer mem_; // input memory buffer. 91 static WEBP_INLINE size_t MemDataSize(const MemBuffer* mem) { in MemDataSize() 113 MemBuffer* const mem = &idec->mem_; in DoRemap() 167 MemBuffer* const mem = &idec->mem_; in AppendToMemBuffer() 208 MemBuffer* const mem = &idec->mem_; in RemapMemBuffer() 224 static void InitMemBuffer(MemBuffer* const mem) { in InitMemBuffer() 232 static void ClearMemBuffer(MemBuffer* const mem) { in ClearMemBuffer() 240 static int CheckMemBufferMode(MemBuffer* const mem, MemBufferMode expected) { in CheckMemBufferMode() 299 MemBuffer* const mem = &idec->mem_; in ChangeState() [all …]
|
/external/llvm/tools/llvm-pdbdump/fuzzer/ |
D | llvm-pdbdump-fuzzer.cpp | 39 MemBuffer(std::move(Buffer)) {} in InputByteStream() 41 std::unique_ptr<MemoryBuffer> MemBuffer; member in __anonc984ff920111::InputByteStream
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/ |
D | GsymReader.h | 51 std::unique_ptr<MemoryBuffer> MemBuffer; variable 225 create(std::unique_ptr<MemoryBuffer> &MemBuffer);
|
/external/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
D | GsymReader.h | 51 std::unique_ptr<MemoryBuffer> MemBuffer; variable 284 create(std::unique_ptr<MemoryBuffer> &MemBuffer);
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | RawSession.cpp | 37 MemBuffer(std::move(Buffer)) {} in InputByteStream() 39 std::unique_ptr<MemoryBuffer> MemBuffer; member in __anona010d5a70111::InputByteStream
|
/external/llvm/tools/llvm-lto/ |
D | llvm-lto.cpp | 552 for (auto &MemBuffer : InputBuffers) in import() local 553 ThinGenerator.addModule(MemBuffer->getBufferIdentifier(), in import() 554 MemBuffer->getBuffer()); in import() 583 for (auto &MemBuffer : InputBuffers) in internalize() local 584 ThinGenerator.addModule(MemBuffer->getBufferIdentifier(), in internalize() 585 MemBuffer->getBuffer()); in internalize()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 275 using MemBuffer = MemoryBufferMem<WritableMemoryBuffer>; in getNewUninitMemBuffer() typedef 282 size_t AlignedStringLen = alignTo(sizeof(MemBuffer) + NameRef.size() + 1, 16); in getNewUninitMemBuffer() 289 CopyStringRef(Mem + sizeof(MemBuffer), NameRef); in getNewUninitMemBuffer() 295 auto *Ret = new (Mem) MemBuffer(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
|
/external/llvm-project/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 289 using MemBuffer = MemoryBufferMem<WritableMemoryBuffer>; in getNewUninitMemBuffer() typedef 296 size_t AlignedStringLen = alignTo(sizeof(MemBuffer) + NameRef.size() + 1, 16); in getNewUninitMemBuffer() 303 CopyStringRef(Mem + sizeof(MemBuffer), NameRef); in getNewUninitMemBuffer() 309 auto *Ret = new (Mem) MemBuffer(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
|
/external/llvm-project/llvm/tools/llvm-lto/ |
D | llvm-lto.cpp | 731 for (auto &MemBuffer : InputBuffers) in import() local 732 ThinGenerator.addModule(MemBuffer->getBufferIdentifier(), in import() 733 MemBuffer->getBuffer()); in import() 764 for (auto &MemBuffer : InputBuffers) in internalize() local 765 ThinGenerator.addModule(MemBuffer->getBufferIdentifier(), in internalize() 766 MemBuffer->getBuffer()); in internalize()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | BinaryByteStream.h | 80 MemBuffer(std::move(Buffer)) {} in MemoryBufferByteStream() 82 std::unique_ptr<MemoryBuffer> MemBuffer; variable
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | BinaryByteStream.h | 80 MemBuffer(std::move(Buffer)) {} in MemoryBufferByteStream() 82 std::unique_ptr<MemoryBuffer> MemBuffer; variable
|
/external/llvm/tools/lto/ |
D | lto.cpp | 483 auto &MemBuffer = unwrap(cg)->getProducedBinaries()[index]; in thinlto_module_get_object() local 484 return LTOObjectBuffer{MemBuffer->getBufferStart(), in thinlto_module_get_object() 485 MemBuffer->getBufferSize()}; in thinlto_module_get_object()
|
/external/llvm-project/clang-tools-extra/modularize/ |
D | PreprocessorTracker.cpp | 315 llvm::MemoryBufferRef MemBuffer = PP.getSourceManager().getBufferOrFake( in getSourceLine() local 317 const char *Buffer = MemBuffer.getBufferStart(); in getSourceLine() 318 const char *BufferEnd = MemBuffer.getBufferEnd(); in getSourceLine() 341 llvm::MemoryBufferRef MemBuffer = in getSourceLine() local 343 const char *Buffer = MemBuffer.getBufferStart(); in getSourceLine() 344 const char *BufferEnd = MemBuffer.getBufferEnd(); in getSourceLine()
|
/external/llvm-project/llvm/tools/lto/ |
D | lto.cpp | 558 auto &MemBuffer = unwrap(cg)->getProducedBinaries()[index]; in thinlto_module_get_object() local 559 return LTOObjectBuffer{MemBuffer->getBufferStart(), in thinlto_module_get_object() 560 MemBuffer->getBufferSize()}; in thinlto_module_get_object()
|
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
D | MachOObjcopy.cpp | 463 MemBuffer MB(ArchFlagName); in executeObjcopyOnMachOUniversalBinary()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 377 Optional<llvm::MemoryBufferRef> MemBuffer = SM.getBufferOrNone(FID); in computeChecksum() local 378 if (!MemBuffer) in computeChecksum() 384 Hash.update(MemBuffer->getBuffer()); in computeChecksum()
|