Home
last modified time | relevance | path

Searched refs:RingBuffer (Results 1 – 20 of 20) sorted by relevance

/third_party/vk-gl-cts/framework/delibs/decpp/
DdeRingBuffer.hpp35 class RingBuffer class
38 RingBuffer (int size);
39 ~RingBuffer (void);
70 RingBuffer<T>::RingBuffer (int size) in RingBuffer() function in de::RingBuffer
81 RingBuffer<T>::~RingBuffer () in ~RingBuffer()
87 void RingBuffer<T>::clear (void) in clear()
95 void RingBuffer<T>::resize (int newSize) in resize()
122 inline void RingBuffer<T>::pushFront (const T& elem) in pushFront()
131 void RingBuffer<T>::pushFront (const T* elemBuf, int count) in pushFront()
141 inline T RingBuffer<T>::popBack () in popBack()
[all …]
DdeRingBuffer.cpp43 RingBuffer<int> buffer (bufSize); in RingBuffer_selfTest()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRingBuffer.cpp37 RingBuffer::RingBuffer(DeviceBase* device, size_t size) : mBufferSize(size), mDevice(device) { in RingBuffer() function in dawn_native::RingBuffer
40 MaybeError RingBuffer::Initialize() { in Initialize()
48 void RingBuffer::Track() { in Track()
62 void RingBuffer::Tick(Serial lastCompletedSerial) { in Tick()
75 size_t RingBuffer::GetSize() const { in GetSize()
79 size_t RingBuffer::GetUsedSize() const { in GetUsedSize()
83 bool RingBuffer::Empty() const { in Empty()
87 StagingBufferBase* RingBuffer::GetStagingBuffer() const { in GetStagingBuffer()
99 UploadHandle RingBuffer::SubAllocate(size_t allocSize) { in SubAllocate()
DDynamicUploader.cpp38 std::unique_ptr<RingBuffer> ringBuffer = std::make_unique<RingBuffer>(mDevice, size); in CreateAndAppendBuffer()
50 RingBuffer* largestRingBuffer = GetLargestBuffer(); in Allocate()
88 RingBuffer* DynamicUploader::GetLargestBuffer() { in GetLargestBuffer()
DRingBuffer.h34 class RingBuffer {
36 RingBuffer(DeviceBase* device, size_t size);
37 ~RingBuffer() = default;
DDynamicUploader.h40 RingBuffer* GetLargestBuffer();
50 std::vector<std::unique_ptr<RingBuffer>> mRingBuffers;
/third_party/skia/third_party/externals/brotli/c/enc/
Dringbuffer.h32 typedef struct RingBuffer { struct
47 } RingBuffer; argument
49 static BROTLI_INLINE void RingBufferInit(RingBuffer* rb) { in RingBufferInit()
57 const BrotliEncoderParams* params, RingBuffer* rb) { in RingBufferSetup()
66 static BROTLI_INLINE void RingBufferFree(MemoryManager* m, RingBuffer* rb) { in RingBufferFree()
73 MemoryManager* m, const uint32_t buflen, RingBuffer* rb) { in RingBufferInitBuffer()
94 const uint8_t* bytes, size_t n, RingBuffer* rb) { in RingBufferWriteTail()
106 MemoryManager* m, const uint8_t* bytes, size_t n, RingBuffer* rb) { in RingBufferWrite()
Dencode.c71 RingBuffer ringbuffer_;
853 RingBuffer* ringbuffer_ = &s->ringbuffer_; in CopyInputToRingBuffer()
/third_party/node/deps/brotli/c/enc/
Dringbuffer.h32 typedef struct RingBuffer { struct
47 } RingBuffer; argument
49 static BROTLI_INLINE void RingBufferInit(RingBuffer* rb) { in RingBufferInit()
57 const BrotliEncoderParams* params, RingBuffer* rb) { in RingBufferSetup()
66 static BROTLI_INLINE void RingBufferFree(MemoryManager* m, RingBuffer* rb) { in RingBufferFree()
73 MemoryManager* m, const uint32_t buflen, RingBuffer* rb) { in RingBufferInitBuffer()
94 const uint8_t* bytes, size_t n, RingBuffer* rb) { in RingBufferWriteTail()
106 MemoryManager* m, const uint8_t* bytes, size_t n, RingBuffer* rb) { in RingBufferWrite()
Dencode.c71 RingBuffer ringbuffer_;
853 RingBuffer* ringbuffer_ = &s->ringbuffer_; in CopyInputToRingBuffer()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/
DRingBufferTests.cpp44 std::unique_ptr<RingBuffer> CreateRingBuffer(size_t size) { in CreateRingBuffer()
45 std::unique_ptr<RingBuffer> ringBuffer = std::make_unique<RingBuffer>(mDevice.get(), size); in CreateRingBuffer()
57 std::unique_ptr<RingBuffer> buffer = CreateRingBuffer(sizeInBytes); in TEST_F()
80 std::unique_ptr<RingBuffer> buffer = CreateRingBuffer(maxNumOfFrames * frameSizeInBytes); in TEST_F()
95 std::unique_ptr<RingBuffer> buffer = CreateRingBuffer(maxNumOfFrames * frameSizeInBytes); in TEST_F()
132 std::unique_ptr<RingBuffer> buffer = CreateRingBuffer(maxNumOfFrames * frameSizeInBytes); in TEST_F()
/third_party/ffmpeg/libavformat/
Dasync.c48 typedef struct RingBuffer struct
54 } RingBuffer; argument
72 RingBuffer ring;
83 static int ring_init(RingBuffer *ring, unsigned int capacity, int read_back_capacity) in ring_init()
85 memset(ring, 0, sizeof(RingBuffer)); in ring_init()
94 static void ring_destroy(RingBuffer *ring) in ring_destroy()
99 static void ring_reset(RingBuffer *ring) in ring_reset()
105 static int ring_size(RingBuffer *ring) in ring_size()
110 static int ring_space(RingBuffer *ring) in ring_space()
115 static int ring_generic_read(RingBuffer *ring, void *dest, int buf_size, void (*func)(void*, void*,… in ring_generic_read()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDynamicUploader.cpp23 std::unique_ptr<RingBuffer>(new RingBuffer{nullptr, {kRingBufferSize}})); in DynamicUploader()
48 RingBuffer* targetRingBuffer = mRingBuffers.back().get(); in AllocateInternal()
70 std::unique_ptr<RingBuffer>(new RingBuffer{nullptr, {kRingBufferSize}})); in AllocateInternal()
DDynamicUploader.h52 struct RingBuffer { struct
60 std::vector<std::unique_ptr<RingBuffer>> mRingBuffers; argument
/third_party/vk-gl-cts/executor/
DxeContainerFormatParser.hpp111 de::RingBuffer<deUint8> m_buf;
DxeCallQueue.hpp128 de::RingBuffer<Call*> m_callQueue;
/third_party/vk-gl-cts/execserver/
DxsDefs.hpp61 typedef de::RingBuffer<deUint8> ByteBuffer;
/third_party/vk-gl-cts/framework/xexml/
DxeXMLParser.hpp133 de::RingBuffer<deUint8> m_buf;
/third_party/flutter/skia/third_party/dawn/
DBUILD.gn299 "src/dawn_native/RingBuffer.cpp",
300 "src/dawn_native/RingBuffer.h",
/third_party/flutter/skia/third_party/externals/dawn/
DBUILD.gn158 "src/dawn_native/RingBuffer.cpp",
159 "src/dawn_native/RingBuffer.h",