Searched refs:bytes_ (Results 1 – 6 of 6) sorted by relevance
27 : blocks_(std::move(that.blocks_)), bytes_{that.bytes_}, in CharBuffer()33 bytes_ = that.bytes_;39 bool empty() const { return bytes_ == 0; } in empty()40 std::size_t bytes() const { return bytes_; } in bytes()44 bytes_ = 0; in clear()65 int LastBlockOffset() const { return bytes_ % Block::capacity; } in LastBlockOffset()67 std::size_t bytes_{0};
24 explicit Store(std::size_t bytes = 65536) : bytes_{bytes} { in Store()28 std::size_t bytes() const { return bytes_; } in bytes()38 } else if (at < 0 || at + minBytes > bytes_) { in Read()43 auto result{std::min<std::size_t>(maxBytes, bytes_ - at)}; in Read()54 } else if (at < 0 || at + bytes > bytes_) { in Write()64 std::size_t bytes_; member in Store
32 bytes_ += n; in Claim()45 return bytes_ - n; in Put()54 std::size_t bytes{bytes_}; in Marshal()64 CHECK(result.size() == bytes_); in Marshal()
125 : str_{str}, bytes_{n} {} in TokenStringMatch()132 for (std::size_t j{0}; j < bytes_ && *p != '\0'; ++j, ++p) { in Parse()135 if (j + 1 == bytes_ || p[1] == ' ' || p[1] == '\0') { in Parse()158 state.Say(start, MessageExpectedText{str_, bytes_}); in Parse()165 state.Say(start, MessageExpectedText{str_, bytes_}); in Parse()180 const std::size_t bytes_{std::string::npos};
1513 bytes_ += n; in Emit()1518 bytes_ += sizeof *p * n; in Emit()1523 bytes_ += sizeof *p * n; in Emit()1528 bytes_ += sizeof *p * n; in Emit()
698 std::size_t bytes() const { return bytes_; } in bytes()705 std::size_t bytes_{0};