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

  /external/chromium/net/tools/flip_server/
simple_buffer.cc 25 write_idx_(0),
31 : write_idx_(0),
43 return write_idx_ - read_idx_;
66 return (storage_size_ - write_idx_);
72 return (read_idx_ == write_idx_);
78 return ((write_idx_ == storage_size_) && (read_idx_ != write_idx_));
86 bool has_room = ((storage_size_ - write_idx_) >= size);
90 memcpy(storage_ + write_idx_, bytes, size);
101 *ptr = storage_ + write_idx_;
    [all...]
ring_buffer.cc 15 write_idx_(0) {
85 this->buffer_[this->write_idx_] = *p;
87 ++this->write_idx_;
88 if (this->write_idx_ >= this->buffer_size_) {
89 this->write_idx_ = 0;
102 *ptr = buffer_.get() + write_idx_;
106 } else if (read_idx_ > write_idx_) {
107 *size = read_idx_ - write_idx_;
109 *size = buffer_size_ - write_idx_;
122 } else if (write_idx_ > read_idx_)
    [all...]
simple_buffer.h 31 iterator end() { return storage_ + write_idx_; }
32 const_iterator end() const { return storage_ + write_idx_; }
69 int tmp_int = write_idx_;
70 write_idx_ = other->write_idx_;
71 other->write_idx_ = tmp_int;
84 int write_idx_; member in class:net::SimpleBuffer
ring_buffer.h 91 int write_idx() const { return write_idx_; }
97 int set_write_idx(int idx) { return write_idx_ = idx; }
104 int write_idx_; member in class:net::RingBuffer

Completed in 2111 milliseconds