Searched refs:num_bytes_to_write (Results 1 – 1 of 1) sorted by relevance
125 uint32_t num_bytes_to_write = std::min(*num_bytes, available_capacity_); in WriteData() local126 if (num_bytes_to_write == 0) in WriteData()129 *num_bytes = num_bytes_to_write; in WriteData()140 std::min(options_.capacity_num_bytes - write_offset_, num_bytes_to_write); in WriteData()141 uint32_t head_bytes_to_write = num_bytes_to_write - tail_bytes_to_write; in WriteData()148 DCHECK_LE(num_bytes_to_write, available_capacity_); in WriteData()149 available_capacity_ -= num_bytes_to_write; in WriteData()151 (write_offset_ + num_bytes_to_write) % options_.capacity_num_bytes; in WriteData()156 NotifyWrite(num_bytes_to_write); in WriteData()