/external/chromium/net/base/ |
D | upload_data_stream.cc | 32 DCHECK_LE(num_bytes, buf_len_); in MarkConsumedAndFillBuffer() 36 buf_len_ -= num_bytes; in MarkConsumedAndFillBuffer() 37 if (buf_len_) in MarkConsumedAndFillBuffer() 38 memmove(buf_->data(), buf_->data() + num_bytes, buf_len_); in MarkConsumedAndFillBuffer() 49 buf_len_(0), in UploadDataStream() 61 while (buf_len_ < kBufSize && next_element_ < elements.size()) { in FillBuf() 66 size_t size_remaining = kBufSize - buf_len_; in FillBuf() 78 memcpy(buf_->data() + buf_len_, &d[next_element_offset_], bytes_copied); in FillBuf() 79 buf_len_ += bytes_copied; in FillBuf() 119 rv = next_element_java_stream_->Read(buf_->data() + buf_len_, count); in FillBuf() [all …]
|
D | upload_data_stream.h | 32 size_t buf_len() const { return buf_len_; } in buf_len() 92 size_t buf_len_; variable
|
/external/chromium/net/url_request/ |
D | view_cache_helper.cc | 80 buf_len_(0), in ViewCacheHelper() 280 buf_len_ = entry_->GetDataSize(0); in DoReadResponse() 282 if (!buf_len_) in DoReadResponse() 283 return buf_len_; in DoReadResponse() 285 buf_ = new IOBuffer(buf_len_); in DoReadResponse() 286 return entry_->ReadData(0, 0, buf_, buf_len_, entry_callback_); in DoReadResponse() 291 if (result && result == buf_len_) { in DoReadResponseComplete() 294 if (HttpCache::ParseResponseInfo(buf_->data(), buf_len_, &response, in DoReadResponseComplete() 325 buf_len_ = entry_->GetDataSize(index_); in DoReadData() 327 if (!buf_len_) in DoReadData() [all …]
|
D | view_cache_helper.h | 101 int buf_len_; variable
|
/external/chromium/net/disk_cache/ |
D | file_posix.cc | 30 buf_(buf), buf_len_(buf_len), offset_(offset) { in FileBackgroundIO() 56 size_t buf_len_; member in __anon02a465130111::FileBackgroundIO 93 if (file_->Read(const_cast<void*>(buf_), buf_len_, offset_)) { in Read() 94 result_ = static_cast<int>(buf_len_); in Read() 103 bool rv = file_->Write(buf_, buf_len_, offset_); in Write() 105 result_ = rv ? static_cast<int>(buf_len_) : net::ERR_CACHE_WRITE_FAILURE; in Write()
|
D | in_flight_backend_io.cc | 134 buf_len_ = buf_len; in ReadData() 144 buf_len_ = buf_len; in WriteData() 154 buf_len_ = buf_len; in ReadSparseData() 163 buf_len_ = buf_len; in WriteSparseData() 171 buf_len_ = len; in GetAvailableRange() 249 result_ = entry_->ReadDataImpl(index_, offset_, buf_, buf_len_, in ExecuteEntryOperation() 253 result_ = entry_->WriteDataImpl(index_, offset_, buf_, buf_len_, in ExecuteEntryOperation() 257 result_ = entry_->ReadSparseDataImpl(offset64_, buf_, buf_len_, in ExecuteEntryOperation() 261 result_ = entry_->WriteSparseDataImpl(offset64_, buf_, buf_len_, in ExecuteEntryOperation() 265 result_ = entry_->GetAvailableRangeImpl(offset64_, buf_len_, start_); in ExecuteEntryOperation()
|
D | sparse_control.cc | 259 buf_len_ = buf_len; in StartIO() 270 make_scoped_refptr(new SparseOperationParameters(offset_, buf_len_))); in StartIO() 558 child_len_ = std::min(buf_len_, kMaxEntrySize - child_offset_); in VerifyRange() 582 child_len_ = std::min(child_len_ + partial_block_len, buf_len_); in VerifyRange() 585 buf_len_ = child_len_; in VerifyRange() 682 if (!buf_len_ || result_ < 0) in DoChildIO() 787 buf_len_ = 0; in DoGetAvailableRange() 803 buf_len_ -= result; in DoChildIOCompleted() 806 if (buf_len_ && user_buf_) in DoChildIOCompleted()
|
D | net_log_parameters.cc | 28 : index_(index), offset_(offset), buf_len_(buf_len), truncate_(truncate) { in ReadWriteDataParameters() 35 dict->SetInteger("buf_len", buf_len_); in ToValue()
|
D | net_log_parameters.h | 41 const int buf_len_; variable
|
D | sparse_control.h | 167 int buf_len_; // Bytes to read or write. variable
|
D | in_flight_backend_io.h | 129 int buf_len_; variable
|
/external/chromium/net/http/ |
D | http_cache.cc | 239 int buf_len_; member in net::HttpCache::MetadataWriter 258 buf_len_ = buf_len; in Write() 276 result = transaction_->WriteMetadata(buf_, buf_len_, &callback_); in VerifyResponse()
|