Searched refs:buf_len_ (Results 1 – 7 of 7) sorted by relevance
/external/chromium/net/base/ |
D | upload_data_stream.cc | 16 buf_len_(0), in UploadDataStream() 30 CHECK(num_bytes <= buf_len_); in DidConsume() 32 buf_len_ -= num_bytes; in DidConsume() 33 if (buf_len_) in DidConsume() 34 memmove(buf_->data(), buf_->data() + num_bytes, buf_len_); in DidConsume() 45 while (buf_len_ < kBufSize && next_element_ != end) { in FillBuf() 50 size_t size_remaining = kBufSize - buf_len_; in FillBuf() 57 memcpy(buf_->data() + buf_len_, &d[next_element_offset_], bytes_copied); in FillBuf() 58 buf_len_ += bytes_copied; in FillBuf() 94 (rv = next_element_stream_.Read(buf_->data() + buf_len_, in FillBuf() [all …]
|
D | file_stream_posix.cc | 85 const int buf_len_; member in net::__anonc58c345f0111::BackgroundReadTask 94 : file_(file), buf_(buf), buf_len_(buf_len), callback_(callback) {} in BackgroundReadTask() 99 int result = ReadFile(file_, buf_, buf_len_); in Run() 116 const int buf_len_; member in net::__anonc58c345f0111::BackgroundWriteTask 125 : file_(file), buf_(buf), buf_len_(buf_len), callback_(callback) {} in BackgroundWriteTask() 130 int result = WriteFile(file_, buf_, buf_len_); in Run()
|
D | upload_data_stream.h | 22 size_t buf_len() const { return buf_len_; } in buf_len() 44 size_t buf_len_; variable
|
/external/chromium/net/disk_cache/ |
D | file_posix.cc | 35 buf_len_(buf_len), offset_(offset), controller_(controller), in BackgroundIO() 86 size_t buf_len_; member in __anonc14170370111::BackgroundIO 152 if (file_->Read(const_cast<void*>(buf_), buf_len_, offset_)) { in Read() 153 bytes_ = static_cast<int>(buf_len_); in Read() 171 bool rv = file_->Write(buf_, buf_len_, offset_); in Write() 177 bytes_ = rv ? static_cast<int>(buf_len_) : -1; in Write()
|
D | sparse_control.cc | 193 buf_len_ = buf_len; in StartIO() 481 child_len_ = std::min(buf_len_, kMaxEntrySize - child_offset_); in VerifyRange() 505 child_len_ = std::min(child_len_ + partial_block_len, buf_len_); in VerifyRange() 508 buf_len_ = child_len_; in VerifyRange() 590 if (!buf_len_ || result_ < 0) in DoChildIO() 681 buf_len_ = 0; in DoGetAvailableRange() 696 buf_len_ -= result; in DoChildIOCompleted() 699 if (buf_len_ && user_buf_) in DoChildIOCompleted()
|
D | sparse_control.h | 167 int buf_len_; // Bytes to read or write. variable
|
/external/chromium/base/third_party/symbolize/ |
D | symbolize.cc | 385 buf_(buf), buf_len_(buf_len), bol_(buf), eol_(buf), eod_(buf) { in LineReader() 395 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_); in ReadLine() 410 const int capacity_left = buf_len_ - incomplete_line_length; in ReadLine() 459 const int buf_len_; member in __anoncc39a8500111::LineReader
|