Home
last modified time | relevance | path

Searched refs:ScratchBuffer (Results 1 – 25 of 30) sorted by relevance

12

/external/angle/src/common/
DMemoryBuffer.cpp92 ScratchBuffer::ScratchBuffer() : ScratchBuffer(kDefaultScratchBufferLifetime) {} in ScratchBuffer() function in angle::ScratchBuffer
94 ScratchBuffer::ScratchBuffer(uint32_t lifetime) : mLifetime(lifetime), mResetCounter(lifetime) {} in ScratchBuffer() function in angle::ScratchBuffer
96 ScratchBuffer::~ScratchBuffer() {} in ~ScratchBuffer()
98 ScratchBuffer::ScratchBuffer(ScratchBuffer &&other) in ScratchBuffer() function in angle::ScratchBuffer
103 ScratchBuffer &ScratchBuffer::operator=(ScratchBuffer &&other) in operator =()
111 bool ScratchBuffer::get(size_t requestedSize, MemoryBuffer **memoryBufferOut) in get()
116 bool ScratchBuffer::getInitialized(size_t requestedSize, in getInitialized()
123 bool ScratchBuffer::getImpl(size_t requestedSize, in getImpl()
158 void ScratchBuffer::tick() in tick()
170 void ScratchBuffer::clear() in clear()
DMemoryBuffer.h59 class ScratchBuffer final : NonCopyable
65 ScratchBuffer();
66 ScratchBuffer(uint32_t lifetime);
67 ~ScratchBuffer();
69 ScratchBuffer(ScratchBuffer &&other);
70 ScratchBuffer &operator=(ScratchBuffer &&other);
/external/clang/lib/Lex/
DScratchBuffer.cpp24 ScratchBuffer::ScratchBuffer(SourceManager &SM) in ScratchBuffer() function in ScratchBuffer
34 SourceLocation ScratchBuffer::getToken(const char *Buf, unsigned Len, in getToken()
60 void ScratchBuffer::AllocScratchBuffer(unsigned RequestLen) { in AllocScratchBuffer()
DCMakeLists.txt25 ScratchBuffer.cpp
/external/llvm-project/clang/lib/Lex/
DScratchBuffer.cpp23 ScratchBuffer::ScratchBuffer(SourceManager &SM) in ScratchBuffer() function in ScratchBuffer
33 SourceLocation ScratchBuffer::getToken(const char *Buf, unsigned Len, in getToken()
67 void ScratchBuffer::AllocScratchBuffer(unsigned RequestLen) { in AllocScratchBuffer()
DCMakeLists.txt25 ScratchBuffer.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DSimpleTypeSerializer.cpp19 SimpleTypeSerializer::SimpleTypeSerializer() : ScratchBuffer(MaxRecordLength) {} in SimpleTypeSerializer()
25 BinaryStreamWriter Writer(ScratchBuffer, support::little); in serialize()
32 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); in serialize()
45 return {ScratchBuffer.data(), Writer.getOffset()}; in serialize()
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DSimpleTypeSerializer.cpp30 SimpleTypeSerializer::SimpleTypeSerializer() : ScratchBuffer(MaxRecordLength) {} in SimpleTypeSerializer()
36 BinaryStreamWriter Writer(ScratchBuffer, support::little); in serialize()
43 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); in serialize()
56 return {ScratchBuffer.data(), Writer.getOffset()}; in serialize()
/external/angle/src/libANGLE/
DDisplay.h281 angle::ScratchBuffer requestScratchBuffer();
282 void returnScratchBuffer(angle::ScratchBuffer scratchBuffer);
284 angle::ScratchBuffer requestZeroFilledBuffer();
285 void returnZeroFilledBuffer(angle::ScratchBuffer zeroFilledBuffer);
313 angle::ScratchBuffer requestScratchBufferImpl(std::vector<angle::ScratchBuffer> *bufferVector);
314 void returnScratchBufferImpl(angle::ScratchBuffer scratchBuffer,
315 std::vector<angle::ScratchBuffer> *bufferVector);
364 std::vector<angle::ScratchBuffer> mScratchBuffers;
365 std::vector<angle::ScratchBuffer> mZeroFilledBuffers;
DDisplay.cpp1403 for (angle::ScratchBuffer &scatchBuffer : mScratchBuffers) in makeCurrent()
1407 for (angle::ScratchBuffer &zeroFilledBuffer : mZeroFilledBuffers) in makeCurrent()
2138 angle::ScratchBuffer Display::requestScratchBuffer() in requestScratchBuffer()
2143 void Display::returnScratchBuffer(angle::ScratchBuffer scratchBuffer) in returnScratchBuffer()
2148 angle::ScratchBuffer Display::requestZeroFilledBuffer() in requestZeroFilledBuffer()
2153 void Display::returnZeroFilledBuffer(angle::ScratchBuffer zeroFilledBuffer) in returnZeroFilledBuffer()
2158 angle::ScratchBuffer Display::requestScratchBufferImpl( in requestScratchBufferImpl()
2159 std::vector<angle::ScratchBuffer> *bufferVector) in requestScratchBufferImpl()
2164 angle::ScratchBuffer buffer = std::move(bufferVector->back()); in requestScratchBufferImpl()
2169 return angle::ScratchBuffer(kScratchBufferLifetime); in requestScratchBufferImpl()
[all …]
DBlobCache.h110 ANGLE_NO_DISCARD bool get(angle::ScratchBuffer *scratchBuffer,
DContext.h490 angle::ScratchBuffer *getScratchBuffer() const;
781 mutable Optional<angle::ScratchBuffer> mScratchBuffer;
782 mutable Optional<angle::ScratchBuffer> mZeroFilledBuffer;
DBlobCache.cpp141 bool BlobCache::get(angle::ScratchBuffer *scratchBuffer, in get()
/external/clang/include/clang/Lex/
DScratchBuffer.h25 class ScratchBuffer {
31 ScratchBuffer(SourceManager &SM);
DPreprocessor.h53 class ScratchBuffer; variable
105 std::unique_ptr<ScratchBuffer> ScratchBuf;
/external/llvm-project/clang/include/clang/Lex/
DScratchBuffer.h24 class ScratchBuffer {
30 ScratchBuffer(SourceManager &SM);
/external/clang/include/clang/Rewrite/Core/
DTokenRewriter.h26 class ScratchBuffer; variable
44 std::unique_ptr<ScratchBuffer> ScratchBuf;
/external/llvm-project/clang/include/clang/Rewrite/Core/
DTokenRewriter.h27 class ScratchBuffer; variable
45 std::unique_ptr<ScratchBuffer> ScratchBuf;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DSimpleTypeSerializer.h34 std::vector<uint8_t> ScratchBuffer; variable
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DSimpleTypeSerializer.h20 std::vector<uint8_t> ScratchBuffer; variable
/external/angle/src/libANGLE/renderer/vulkan/
DDisplayVk.h136 angle::ScratchBuffer *getScratchBuffer() const { return &mScratchBuffer; } in getScratchBuffer()
160 mutable angle::ScratchBuffer mScratchBuffer;
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Lex/
DBUILD.gn28 "ScratchBuffer.cpp",
/external/llvm-project/clang/lib/Rewrite/
DTokenRewriter.cpp28 ScratchBuf.reset(new ScratchBuffer(SM)); in TokenRewriter()
/external/clang/lib/Rewrite/
DTokenRewriter.cpp23 ScratchBuf.reset(new ScratchBuffer(SM)); in TokenRewriter()
/external/angle/src/libANGLE/capture/
Dframe_capture_utils.cpp353 ScratchBuffer *scratchBuffer, in ReadPixelsFromAttachment()
383 ScratchBuffer *scratchBuffer, in SerializeFramebufferAttachment()
441 ScratchBuffer *scratchBuffer, in SerializeFramebufferState()
498 ScratchBuffer *scratchBuffer, in SerializeFramebuffer()
794 ScratchBuffer *scratchBuffer, in SerializeBuffer()
891 ScratchBuffer *scratchBuffer, in SerializeRenderbuffer()
1192 ScratchBuffer *scratchBuffer) in SerializeTextureData()
1254 ScratchBuffer *scratchBuffer, in SerializeTexture()
1339 ScratchBuffer scratchBuffer(1); in SerializeContextToString()

12