Searched refs:distance (Results 1 – 5 of 5) sorted by relevance
220 bool advance_read(int distance) { in advance_read() argument221 if (static_cast<size_t>(read_position_ + distance) <= write_position_) { in advance_read()222 read_position_ += distance; in advance_read()228 bool advance_write(int distance) { in advance_write() argument229 if (static_cast<size_t>(write_position_ + distance) <= buffer_size_) { in advance_write()230 write_position_ += distance; in advance_write()
186 return size_t(distance(begin(), end())); in size()274 ptrdiff_t distance( in distance() function
185 return size_t(distance(begin(), end())); in size()273 ptrdiff_t distance( in distance() function