Lines Matching refs:total_bytes_read_
69 // total_bytes_read_ doesn't include overflow_bytes_.
70 total_bytes_read_ -= BufferSize() + buffer_size_after_limit_;
80 if (closest_limit < total_bytes_read_) {
83 buffer_size_after_limit_ = total_bytes_read_ - closest_limit;
92 int current_position = total_bytes_read_ -
129 int current_position = total_bytes_read_ -
139 int current_position = total_bytes_read_ -
177 int bytes_until_limit = closest_limit - total_bytes_read_;
181 total_bytes_read_ = closest_limit;
187 total_bytes_read_ += count;
348 int current_position = total_bytes_read_ - buffer_size_after_limit_;
386 total_bytes_read_ - buffer_size_after_limit_ < total_bytes_limit_) {
463 total_bytes_read_ == current_limit_) {
465 int current_position = total_bytes_read_ - buffer_size_after_limit_;
477 total_bytes_read_ >= total_bytes_warning_threshold_) {
497 if (total_bytes_read_ <= INT_MAX - buffer_size) {
498 total_bytes_read_ += buffer_size;
507 // overflow_bytes_ = total_bytes_read_ + buffer_size - INT_MAX;
510 overflow_bytes_ = total_bytes_read_ - (INT_MAX - buffer_size);
512 total_bytes_read_ = INT_MAX;