HomeSort by relevance Sort by last modified time
    Searched defs:RingBuffer (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/gpu/command_buffer/client/
ring_buffer.cc 5 // This file contains the implementation of the RingBuffer class.
16 RingBuffer::RingBuffer(
25 RingBuffer::~RingBuffer() {
32 void RingBuffer::FreeOldestBlock() {
52 RingBuffer::Offset RingBuffer::Alloc(unsigned int size) {
80 void RingBuffer::FreePendingToken(RingBuffer::Offset offset
    [all...]
ring_buffer.h 5 // This file contains the definition of the RingBuffer class.
19 // RingBuffer manages a piece of memory as a ring buffer. Memory is allocated
22 class GPU_EXPORT RingBuffer {
26 // Creates a RingBuffer.
31 RingBuffer(
34 ~RingBuffer();
108 DISALLOW_IMPLICIT_CONSTRUCTORS(RingBuffer);
111 // This class functions just like RingBuffer, but its API uses pointers
120 RingBufferWrapper(RingBuffer::Offset base_offset,
139 RingBuffer::Offset offset = allocator_.Alloc(size)
    [all...]
  /frameworks/ex/variablespeed/jni/
ring_buffer.cc 23 void RingBuffer::Init(int size, int num_channels, int num_readers) {
32 RingBuffer::RingBuffer()
37 RingBuffer::~RingBuffer() {
42 void RingBuffer::Reset() {
61 int RingBuffer::available(int reader) const {
65 int RingBuffer::overhead() const {
70 int64 RingBuffer::GetTail() const {
74 int64 RingBuffer::Tell(int reader) const
    [all...]
ring_buffer.h 35 class RingBuffer {
37 RingBuffer();
38 virtual ~RingBuffer();
40 // Initializes a RingBuffer.
81 // owned by the RingBuffer object.
112 DISALLOW_COPY_AND_ASSIGN(RingBuffer);
  /external/chromium/net/tools/flip_server/
ring_buffer.h 26 class RingBuffer : public BufferInterface {
28 explicit RingBuffer(int buffer_size);
29 virtual ~RingBuffer();
49 // appends up-to-'size' bytes to the ringbuffer.
106 RingBuffer(const RingBuffer&);
107 void operator=(const RingBuffer&);
ring_buffer.cc 10 RingBuffer::RingBuffer(int buffer_size)
18 RingBuffer::~RingBuffer() {}
22 int RingBuffer::ReadableBytes() const {
28 int RingBuffer::BufferSize() const {
34 int RingBuffer::BytesFree() const {
40 bool RingBuffer::Empty() const {
46 bool RingBuffer::Full() const {
53 // Appends up-to-'size' bytes to the ringbuffer
    [all...]
  /external/chromium_org/net/tools/flip_server/
ring_buffer.h 26 class RingBuffer : public BufferInterface {
28 explicit RingBuffer(int buffer_size);
29 virtual ~RingBuffer();
49 // appends up-to-'size' bytes to the ringbuffer.
106 RingBuffer(const RingBuffer&);
107 void operator=(const RingBuffer&);
ring_buffer.cc 10 RingBuffer::RingBuffer(int buffer_size)
17 RingBuffer::~RingBuffer() {}
19 int RingBuffer::ReadableBytes() const { return bytes_used_; }
21 int RingBuffer::BufferSize() const { return buffer_size_; }
23 int RingBuffer::BytesFree() const { return BufferSize() - ReadableBytes(); }
25 bool RingBuffer::Empty() const { return ReadableBytes() == 0; }
27 bool RingBuffer::Full() const { return ReadableBytes() == BufferSize(); }
30 // Appends up-to-'size' bytes to the ringbuffer
    [all...]
  /external/chromium_org/cc/debug/
ring_buffer.h 13 class RingBuffer {
15 explicit RingBuffer()
53 // Iterator has const access to the RingBuffer it got retrieved from.
80 Iterator(const RingBuffer<T, kSize>& buffer, size_t index)
86 const RingBuffer<T, kSize>& buffer_;
90 friend class RingBuffer<T, kSize>;
95 // for (RingBuffer<T, kSize>::Iterator it = ring_buffer.Begin(); it; ++it) {}
104 // for (RingBuffer<T, kSize>::Iterator it = ring_buffer.End(); it; --it) {}
117 DISALLOW_COPY_AND_ASSIGN(RingBuffer);
  /external/jmonkeyengine/engine/src/android/com/jme3/util/
RingBuffer.java 12 public class RingBuffer<T> implements Iterable<T> {
20 public RingBuffer(int capacity) {

Completed in 113 milliseconds