/external/chromium/net/base/ |
upload_data_stream.cc | 16 buf_len_(0), 30 CHECK(num_bytes <= buf_len_); 32 buf_len_ -= num_bytes; 33 if (buf_len_) 34 memmove(buf_->data(), buf_->data() + num_bytes, buf_len_); 45 while (buf_len_ < kBufSize && next_element_ != end) { 50 size_t size_remaining = kBufSize - buf_len_; 57 memcpy(buf_->data() + buf_len_, &d[next_element_offset_], bytes_copied); 58 buf_len_ += bytes_copied; 94 (rv = next_element_stream_.Read(buf_->data() + buf_len_, [all...] |
upload_data_stream.h | 22 size_t buf_len() const { return buf_len_; } 41 // the next "write" call. buf_len_ indicates how much data is in the buffer. 44 size_t buf_len_; member in class:net::UploadDataStream
|
file_stream_posix.cc | 85 const int buf_len_; member in class:net::__anon2359::BackgroundReadTask 94 : file_(file), buf_(buf), buf_len_(buf_len), callback_(callback) {} 99 int result = ReadFile(file_, buf_, buf_len_); 116 const int buf_len_; member in class:net::__anon2359::BackgroundWriteTask 125 : file_(file), buf_(buf), buf_len_(buf_len), callback_(callback) {} 130 int result = WriteFile(file_, buf_, buf_len_);
|
/external/chromium/net/disk_cache/ |
file_posix.cc | 35 buf_len_(buf_len), offset_(offset), controller_(controller), 86 size_t buf_len_; member in class:__anon2419::BackgroundIO 152 if (file_->Read(const_cast<void*>(buf_), buf_len_, offset_)) { 153 bytes_ = static_cast<int>(buf_len_); 171 bool rv = file_->Write(buf_, buf_len_, offset_); 177 bytes_ = rv ? static_cast<int>(buf_len_) : -1;
|
sparse_control.cc | 193 buf_len_ = buf_len; 481 child_len_ = std::min(buf_len_, kMaxEntrySize - child_offset_); 505 child_len_ = std::min(child_len_ + partial_block_len, buf_len_); 508 buf_len_ = child_len_; 590 if (!buf_len_ || result_ < 0) 681 buf_len_ = 0; 696 buf_len_ -= result; 699 if (buf_len_ && user_buf_)
|
sparse_control.h | 167 int buf_len_; // Bytes to read or write. member in class:disk_cache::SparseControl
|
/external/chromium/base/third_party/symbolize/ |
symbolize.cc | 385 buf_(buf), buf_len_(buf_len), bol_(buf), eol_(buf), eod_(buf) { 395 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_); 410 const int capacity_left = buf_len_ - incomplete_line_length; 459 const int buf_len_; member in class:__anon2284::LineReader
|