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

  /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...]
sm_connection.h 144 RingBuffer read_buffer_;
  /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...]
sm_connection.h 146 RingBuffer read_buffer_;
  /frameworks/ex/variablespeed/jni/
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);
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...]
sola_time_scaler.h 34 class RingBuffer;
149 RingBuffer* input_buffer_;
150 RingBuffer* output_buffer_;
sola_time_scaler.cc 160 input_buffer_ = new RingBuffer();
165 output_buffer_ = new RingBuffer();
  /external/chromium_org/gpu/command_buffer/client/
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...]
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...]
transfer_buffer.h 25 RingBuffer::Offset base_offset,
82 virtual RingBuffer::Offset GetOffset(void* pointer) const = 0;
109 virtual RingBuffer::Offset GetOffset(void* pointer) const OVERRIDE;
192 RingBuffer::Offset offset() const {
ring_buffer_test.cc 5 // This file contains the tests for the RingBuffer class.
117 // Test fixture for RingBuffer test - Creates a RingBuffer, using a
125 allocator_.reset(new RingBuffer(kBaseOffset, kBufferSize, helper_.get()));
135 scoped_ptr<RingBuffer> allocator_;
143 RingBuffer::Offset offset = allocator_->Alloc(kSize);
161 RingBuffer::Offset offset = allocator_->Alloc(kSize);
174 RingBuffer::Offset offset1 = allocator_->Alloc(kSize);
187 RingBuffer::Offset offset = allocator_->Alloc(kBufferSize);
196 RingBuffer::Offset offset = allocator_->Alloc(kAlloc1)
    [all...]
transfer_buffer.cc 72 RingBuffer::Offset TransferBuffer::GetOffset(void* pointer) const {
gles2_implementation_unittest.cc 132 virtual RingBuffer::Offset GetOffset(void* pointer) const OVERRIDE;
290 RingBuffer::Offset MockTransferBuffer::GetOffset(void* pointer) const {
    [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);
paint_time_counter.h 31 typedef RingBuffer<base::TimeDelta, 200> RingBufferType;
frame_rate_counter.h 40 typedef RingBuffer<base::TimeTicks, 136> RingBufferType;
  /external/jmonkeyengine/engine/src/android/com/jme3/util/
RingBuffer.java 12 public class RingBuffer<T> implements Iterable<T> {
20 public RingBuffer(int capacity) {
  /external/chromium_org/cc/resources/
memory_history.h 41 typedef RingBuffer<Entry, 80> RingBufferType;
  /external/jmonkeyengine/engine/src/android/com/jme3/input/android/
AndroidInput.java 18 import com.jme3.util.RingBuffer;
41 final private RingBuffer<TouchEvent> eventQueue = new RingBuffer<TouchEvent>(MAX_EVENTS);
42 final private RingBuffer<TouchEvent> eventPoolUnConsumed = new RingBuffer<TouchEvent>(MAX_EVENTS);
43 final private RingBuffer<TouchEvent> eventPool = new RingBuffer<TouchEvent>(MAX_EVENTS);

Completed in 1081 milliseconds