/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_org/net/url_request/ |
D | view_cache_helper.cc | 49 buf_len_(0), in ViewCacheHelper() 286 buf_len_ = entry_->GetDataSize(0); in DoReadResponse() 287 if (!buf_len_) in DoReadResponse() 288 return buf_len_; in DoReadResponse() 290 buf_ = new IOBuffer(buf_len_); in DoReadResponse() 295 buf_len_, in DoReadResponse() 300 if (result && result == buf_len_) { in DoReadResponseComplete() 304 buf_->data(), buf_len_, &response, &truncated) && in DoReadResponseComplete() 334 buf_len_ = entry_->GetDataSize(index_); in DoReadData() 335 if (!buf_len_) in DoReadData() [all …]
|
D | view_cache_helper.h | 107 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 __anon58ef75770111::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_org/net/disk_cache/ |
D | file_ios.cc | 30 buf_(buf), buf_len_(buf_len), offset_(offset) { in FileBackgroundIO() 56 size_t buf_len_; member in __anonf72120960111::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 | 30 buf_len_(0), in BackendIO() 163 buf_len_ = buf_len; in ReadData() 173 buf_len_ = buf_len; in WriteData() 183 buf_len_ = buf_len; in ReadSparseData() 192 buf_len_ = buf_len; in WriteSparseData() 200 buf_len_ = len; in GetAvailableRange() 291 entry_->ReadDataImpl(index_, offset_, buf_.get(), buf_len_, in ExecuteEntryOperation() 296 entry_->WriteDataImpl(index_, offset_, buf_.get(), buf_len_, in ExecuteEntryOperation() 302 offset64_, buf_.get(), buf_len_, in ExecuteEntryOperation() 307 offset64_, buf_.get(), buf_len_, in ExecuteEntryOperation() [all …]
|
D | sparse_control.cc | 198 buf_len_(0), in SparseControl() 268 buf_len_ = buf_len; in StartIO() 279 CreateNetLogSparseOperationCallback(offset_, buf_len_)); in StartIO() 579 child_len_ = std::min(buf_len_, kMaxEntrySize - child_offset_); in VerifyRange() 603 child_len_ = std::min(child_len_ + partial_block_len, buf_len_); in VerifyRange() 606 buf_len_ = child_len_; in VerifyRange() 702 if (!buf_len_ || result_ < 0) in DoChildIO() 809 buf_len_ = 0; in DoGetAvailableRange() 825 buf_len_ -= result; in DoChildIOCompleted() 828 if (buf_len_ && user_buf_.get()) in DoChildIOCompleted()
|
D | sparse_control.h | 167 int buf_len_; // Bytes to read or write. variable
|
D | in_flight_backend_io.h | 136 int buf_len_; variable
|
/external/chromium_org/net/disk_cache/v3/ |
D | sparse_control_v3.cc | 200 buf_len_(0), in SparseControl() 249 buf_len_ = buf_len; in StartIO() 260 CreateNetLogSparseOperationCallback(offset_, buf_len_)); in StartIO() 546 if (!buf_len_ || result_ < 0) in DoChildIO() 622 buf_len_ -= result; in DoChildIOCompleted() 625 if (buf_len_ && user_buf_) in DoChildIOCompleted() 669 child_len_ = std::min(buf_len_, kMaxEntrySize - child_offset_); in VerifyRange() 693 child_len_ = std::min(child_len_ + partial_block_len, buf_len_); in VerifyRange() 696 buf_len_ = child_len_; in VerifyRange() 812 buf_len_ = 0; in DoGetAvailableRange()
|
D | sparse_control_v3.h | 165 int buf_len_; // Bytes to read or write. variable
|
/external/chromium_org/net/http/ |
D | http_response_body_drainer_unittest.cc | 68 buf_len_(0), in MockHttpStream() 151 int buf_len_; member in net::__anonee8faeac0111::MockHttpStream 176 buf_len_ = buf_len; in ReadResponseBody() 203 int result = ReadResponseBodyImpl(user_buf_.get(), buf_len_); in CompleteRead()
|
D | http_cache.cc | 194 buf_len_(0) { in MetadataWriter() 211 int buf_len_; member in net::HttpCache::MetadataWriter 229 buf_len_ = buf_len; in Write() 252 buf_len_, in VerifyResponse()
|
/external/chromium_org/base/third_party/symbolize/ |
D | symbolize.cc | 387 buf_(buf), buf_len_(buf_len), bol_(buf), eol_(buf), eod_(buf) { in LineReader() 397 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_); in ReadLine() 412 const int capacity_left = buf_len_ - incomplete_line_length; in ReadLine() 461 const int buf_len_; member in __anone2b26f570111::LineReader
|
/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()
|