/external/chromium/net/base/ |
upload_data_stream.cc | 32 DCHECK_LE(num_bytes, buf_len_); 36 buf_len_ -= num_bytes; 37 if (buf_len_) 38 memmove(buf_->data(), buf_->data() + num_bytes, buf_len_); 49 buf_len_(0), 61 while (buf_len_ < kBufSize && next_element_ < elements.size()) { 66 size_t size_remaining = kBufSize - buf_len_; 78 memcpy(buf_->data() + buf_len_, &d[next_element_offset_], bytes_copied); 79 buf_len_ += bytes_copied; 119 rv = next_element_java_stream_->Read(buf_->data() + buf_len_, count) [all...] |
upload_data_stream.h | 32 size_t buf_len() const { return buf_len_; } 90 // the next "write" call. buf_len_ indicates how much data is in the buffer. 92 size_t buf_len_; member in class:net::UploadDataStream
|
/external/chromium/net/url_request/ |
view_cache_helper.cc | 80 buf_len_(0), 280 buf_len_ = entry_->GetDataSize(0); 282 if (!buf_len_) 283 return buf_len_; 285 buf_ = new IOBuffer(buf_len_); 286 return entry_->ReadData(0, 0, buf_, buf_len_, entry_callback_); 291 if (result && result == buf_len_) { 294 if (HttpCache::ParseResponseInfo(buf_->data(), buf_len_, &response, 325 buf_len_ = entry_->GetDataSize(index_); 327 if (!buf_len_) [all...] |
view_cache_helper.h | 101 int buf_len_; member in class:net::ViewCacheHelper
|
/external/chromium_org/net/url_request/ |
view_cache_helper.cc | 49 buf_len_(0), 286 buf_len_ = entry_->GetDataSize(0); 287 if (!buf_len_) 288 return buf_len_; 290 buf_ = new IOBuffer(buf_len_); 295 buf_len_, 300 if (result && result == buf_len_) { 304 buf_->data(), buf_len_, &response, &truncated) && 334 buf_len_ = entry_->GetDataSize(index_); 335 if (!buf_len_) [all...] |
view_cache_helper.h | 107 int buf_len_; member in class:net::ViewCacheHelper
|
/external/chromium/net/disk_cache/ |
in_flight_backend_io.cc | 134 buf_len_ = buf_len; 144 buf_len_ = buf_len; 154 buf_len_ = buf_len; 163 buf_len_ = buf_len; 171 buf_len_ = len; 249 result_ = entry_->ReadDataImpl(index_, offset_, buf_, buf_len_, 253 result_ = entry_->WriteDataImpl(index_, offset_, buf_, buf_len_, 257 result_ = entry_->ReadSparseDataImpl(offset64_, buf_, buf_len_, 261 result_ = entry_->WriteSparseDataImpl(offset64_, buf_, buf_len_, 265 result_ = entry_->GetAvailableRangeImpl(offset64_, buf_len_, start_) [all...] |
file_posix.cc | 30 buf_(buf), buf_len_(buf_len), offset_(offset) { 56 size_t buf_len_; member in class:__anon2732::FileBackgroundIO 93 if (file_->Read(const_cast<void*>(buf_), buf_len_, offset_)) { 94 result_ = static_cast<int>(buf_len_); 103 bool rv = file_->Write(buf_, buf_len_, offset_); 105 result_ = rv ? static_cast<int>(buf_len_) : net::ERR_CACHE_WRITE_FAILURE;
|
net_log_parameters.cc | 28 : index_(index), offset_(offset), buf_len_(buf_len), truncate_(truncate) { 35 dict->SetInteger("buf_len", buf_len_);
|
net_log_parameters.h | 41 const int buf_len_; member in class:disk_cache::ReadWriteDataParameters
|
sparse_control.cc | 259 buf_len_ = buf_len; 270 make_scoped_refptr(new SparseOperationParameters(offset_, buf_len_))); 558 child_len_ = std::min(buf_len_, kMaxEntrySize - child_offset_); 582 child_len_ = std::min(child_len_ + partial_block_len, buf_len_); 585 buf_len_ = child_len_; 682 if (!buf_len_ || result_ < 0) 787 buf_len_ = 0; 803 buf_len_ -= result; 806 if (buf_len_ && user_buf_)
|
in_flight_backend_io.h | 129 int buf_len_; member in class:disk_cache::BackendIO
|
sparse_control.h | 167 int buf_len_; // Bytes to read or write. member in class:disk_cache::SparseControl
|
/external/chromium_org/net/disk_cache/ |
in_flight_backend_io.cc | 30 buf_len_(0), 163 buf_len_ = buf_len; 173 buf_len_ = buf_len; 183 buf_len_ = buf_len; 192 buf_len_ = buf_len; 200 buf_len_ = len; 291 entry_->ReadDataImpl(index_, offset_, buf_.get(), buf_len_, 296 entry_->WriteDataImpl(index_, offset_, buf_.get(), buf_len_, 302 offset64_, buf_.get(), buf_len_, 307 offset64_, buf_.get(), buf_len_, [all...] |
file_ios.cc | 30 buf_(buf), buf_len_(buf_len), offset_(offset) { 56 size_t buf_len_; member in class:__anon8992::FileBackgroundIO 93 if (file_->Read(const_cast<void*>(buf_), buf_len_, offset_)) { 94 result_ = static_cast<int>(buf_len_); 103 bool rv = file_->Write(buf_, buf_len_, offset_); 105 result_ = rv ? static_cast<int>(buf_len_) : net::ERR_CACHE_WRITE_FAILURE;
|
sparse_control.cc | 198 buf_len_(0), 268 buf_len_ = buf_len; 279 CreateNetLogSparseOperationCallback(offset_, buf_len_)); 579 child_len_ = std::min(buf_len_, kMaxEntrySize - child_offset_); 603 child_len_ = std::min(child_len_ + partial_block_len, buf_len_); 606 buf_len_ = child_len_; 702 if (!buf_len_ || result_ < 0) 809 buf_len_ = 0; 825 buf_len_ -= result; 828 if (buf_len_ && user_buf_.get() [all...] |
in_flight_backend_io.h | 136 int buf_len_; member in class:disk_cache::BackendIO
|
sparse_control.h | 167 int buf_len_; // Bytes to read or write. member in class:disk_cache::SparseControl
|
/external/chromium_org/net/http/ |
http_response_body_drainer_unittest.cc | 68 buf_len_(0), 151 int buf_len_; member in class:net::__anon9151::MockHttpStream 176 buf_len_ = buf_len; 203 int result = ReadResponseBodyImpl(user_buf_.get(), buf_len_);
|
http_cache.cc | 194 buf_len_(0) { 211 int buf_len_; member in class:net::HttpCache::MetadataWriter 229 buf_len_ = buf_len; 252 buf_len_, [all...] |
/external/chromium_org/net/disk_cache/v3/ |
sparse_control_v3.cc | 200 buf_len_(0), 249 buf_len_ = buf_len; 260 CreateNetLogSparseOperationCallback(offset_, buf_len_)); 546 if (!buf_len_ || result_ < 0) 622 buf_len_ -= result; 625 if (buf_len_ && user_buf_) 669 child_len_ = std::min(buf_len_, kMaxEntrySize - child_offset_); 693 child_len_ = std::min(child_len_ + partial_block_len, buf_len_); 696 buf_len_ = child_len_; 812 buf_len_ = 0 [all...] |
sparse_control_v3.h | 165 int buf_len_; // Bytes to read or write. member in class:disk_cache::SparseControl
|
/external/chromium_org/base/third_party/symbolize/ |
symbolize.cc | 387 buf_(buf), buf_len_(buf_len), bol_(buf), eol_(buf), eod_(buf) { 397 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_); 412 const int capacity_left = buf_len_ - incomplete_line_length; 461 const int buf_len_; member in class:__anon3706::LineReader
|
/external/chromium/net/http/ |
http_cache.cc | 239 int buf_len_; member in class:net::HttpCache::MetadataWriter 258 buf_len_ = buf_len; 276 result = transaction_->WriteMetadata(buf_, buf_len_, &callback_); [all...] |