Home
last modified time | relevance | path

Searched refs:buffer_len_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/examples/pcp/
Dpcp_main.cc407 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/
Durl_canon_stdstring.cc14 buffer_len_ = static_cast<int>(str_->size()); in StdStringCanonOutput()
23 buffer_len_ = cur_len_; in Complete()
29 buffer_len_ = sz; in Resize()
Durl_canon.h30 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/
Durl_canon.h54 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()
Durl_canon_stdstring.h66 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/
Dappcache_response.cc84 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()
Dappcache_response.h122 int buffer_len_; variable
Dappcache_service_unittest.cc55 buffer_len_ = buf_len; in ReadData()