Searched refs:buffer_len_ (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/third_party/libjingle/source/talk/examples/pcp/ |
D | pcp_main.cc | 407 buffer_len_ = 0; in ProcessStream() 446 while (write_pos < buffer_len_) { in OnStreamEvent() 447 result = stream->Write(buffer_ + write_pos, buffer_len_ - write_pos, in OnStreamEvent() 454 buffer_len_ -= write_pos; in OnStreamEvent() 455 memmove(buffer_, buffer_ + write_pos, buffer_len_); in OnStreamEvent() 467 buffer_len_ = 0; in OnStreamEvent() 468 while (buffer_len_ < sizeof(buffer_)) { in OnStreamEvent() 469 result = file_->Read(buffer_ + buffer_len_, in OnStreamEvent() 470 sizeof(buffer_) - buffer_len_, in OnStreamEvent() 473 buffer_len_ += count; in OnStreamEvent() [all …]
|
/external/chromium_org/url/ |
D | url_canon_stdstring.cc | 14 buffer_len_ = static_cast<int>(str_->size()); in StdStringCanonOutput() 23 buffer_len_ = cur_len_; in Complete() 29 buffer_len_ = sz; in Resize()
|
D | url_canon.h | 30 CanonOutputT() : buffer_(NULL), buffer_len_(0), cur_len_(0) { in CanonOutputT() 65 return buffer_len_; in capacity() 93 if (cur_len_ < buffer_len_) { in push_back() 111 if (cur_len_ + str_len > buffer_len_) { in Append() 112 if (!Grow(cur_len_ + str_len - buffer_len_)) in Append() 125 int new_len = (buffer_len_ == 0) ? kMinBufferLen : buffer_len_; in Grow() 130 } while (new_len < buffer_len_ + min_additional); in Grow() 136 int buffer_len_; variable 150 this->buffer_len_ = fixed_capacity; in RawCanonOutputT() 164 this->buffer_len_ = sz; in Resize()
|
/external/chromium/googleurl/src/ |
D | url_canon.h | 54 CanonOutputT() : buffer_(NULL), buffer_len_(0), cur_len_(0) { in CanonOutputT() 89 return buffer_len_; in capacity() 117 if (cur_len_ < buffer_len_) { in push_back() 135 if (cur_len_ + str_len > buffer_len_) { in Append() 136 if (!Grow(cur_len_ + str_len - buffer_len_)) in Append() 149 int new_len = (buffer_len_ == 0) ? kMinBufferLen : buffer_len_; in Grow() 154 } while (new_len < buffer_len_ + min_additional); in Grow() 160 int buffer_len_; variable 174 this->buffer_len_ = fixed_capacity; in RawCanonOutputT() 188 this->buffer_len_ = sz; in Resize()
|
D | url_canon_stdstring.h | 66 buffer_len_ = static_cast<int>(str_->size()); in StdStringCanonOutput() 75 buffer_len_ = cur_len_; in Complete() 81 buffer_len_ = sz; in Resize()
|
/external/chromium_org/webkit/browser/appcache/ |
D | appcache_response.cc | 84 buffer_len_(0), in AppCacheResponseIO() 191 buffer_len_ = buf_len; in ReadData() 202 if (read_position_ + buffer_len_ > range_length_) { in ContinueReadData() 205 buffer_len_ = range_length_ - read_position_; in ContinueReadData() 210 buffer_len_); in ContinueReadData()
|
D | appcache_response.h | 122 int buffer_len_; variable
|
D | appcache_service_unittest.cc | 55 buffer_len_ = buf_len; in ReadData()
|