Home
last modified time | relevance | path

Searched refs:buf_len_ (Results 1 – 17 of 17) sorted by relevance

/external/cronet/net/disk_cache/blockfile/
Dfile_ios.cc36 buf_(buf), buf_len_(buf_len), offset_(offset) { in FileBackgroundIO()
65 size_t buf_len_; member in __anon0b20d68b0111::FileBackgroundIO
101 if (file_->Read(const_cast<void*>(buf_), buf_len_, offset_)) { in Read()
102 result_ = static_cast<int>(buf_len_); in Read()
111 bool rv = file_->Write(buf_, buf_len_, offset_); in Write()
113 result_ = rv ? static_cast<int>(buf_len_) : net::ERR_CACHE_WRITE_FAILURE; in Write()
Din_flight_backend_io.cc211 buf_len_ = buf_len; in ReadData()
221 buf_len_ = buf_len; in WriteData()
233 buf_len_ = buf_len; in ReadSparseData()
244 buf_len_ = buf_len; in WriteSparseData()
251 buf_len_ = len; in GetAvailableRange()
390 entry_->ReadDataImpl(index_, offset_, buf_.get(), buf_len_, in ExecuteEntryOperation()
395 index_, offset_, buf_.get(), buf_len_, in ExecuteEntryOperation()
400 offset64_, buf_.get(), buf_len_, in ExecuteEntryOperation()
405 offset64_, buf_.get(), buf_len_, in ExecuteEntryOperation()
409 range_result_ = entry_->GetAvailableRangeImpl(offset64_, buf_len_); in ExecuteEntryOperation()
Dsparse_control.cc302 buf_len_ = buf_len; in StartIO()
312 net::NetLogEventPhase::BEGIN, offset_, buf_len_); in StartIO()
608 child_len_ = std::min(buf_len_, kMaxEntrySize - child_offset_); in VerifyRange()
632 child_len_ = std::min(child_len_ + partial_block_len, buf_len_); in VerifyRange()
635 buf_len_ = child_len_; in VerifyRange()
724 if (!buf_len_ || result_ < 0) in DoChildIO()
883 buf_len_ -= result; in DoChildIOCompleted()
886 if (buf_len_ && user_buf_.get()) in DoChildIOCompleted()
Dsparse_control.h176 int buf_len_ = 0; // Bytes to read or write. variable
Din_flight_backend_io.h182 int buf_len_ = 0; variable
/external/rust/crates/quiche/deps/boringssl/src/tool/
Dtransport_common.cc778 for (size_t i = 0; i < buf_len_; i++) { in Next()
789 buf_len_ -= i + 1; in Next()
790 OPENSSL_memmove(buf_, &buf_[i + 1], buf_len_); in Next()
795 if (buf_len_ == sizeof(buf_)) { in Next()
802 n = recv(sock_, &buf_[buf_len_], sizeof(buf_) - buf_len_, 0); in Next()
810 buf_len_ += n; in Next()
876 size_t buf_len_ = 0; member in SocketLineReader
/external/cronet/third_party/boringssl/src/tool/
Dtransport_common.cc778 for (size_t i = 0; i < buf_len_; i++) { in Next()
789 buf_len_ -= i + 1; in Next()
790 OPENSSL_memmove(buf_, &buf_[i + 1], buf_len_); in Next()
795 if (buf_len_ == sizeof(buf_)) { in Next()
802 n = recv(sock_, &buf_[buf_len_], sizeof(buf_) - buf_len_, 0); in Next()
810 buf_len_ += n; in Next()
876 size_t buf_len_ = 0; member in SocketLineReader
/external/boringssl/src/tool/
Dtransport_common.cc778 for (size_t i = 0; i < buf_len_; i++) { in Next()
789 buf_len_ -= i + 1; in Next()
790 OPENSSL_memmove(buf_, &buf_[i + 1], buf_len_); in Next()
795 if (buf_len_ == sizeof(buf_)) { in Next()
802 n = recv(sock_, &buf_[buf_len_], sizeof(buf_) - buf_len_, 0); in Next()
810 buf_len_ += n; in Next()
876 size_t buf_len_ = 0; member in SocketLineReader
/external/cronet/net/http/
Dhttp_response_body_drainer_unittest.cc176 int buf_len_ = 0; member in net::__anon4d9bc9a70111::MockHttpStream
203 buf_len_ = buf_len; in ReadResponseBody()
230 int result = ReadResponseBodyImpl(user_buf_.get(), buf_len_); in CompleteRead()
/external/openscreen/third_party/abseil/src/absl/debugging/
Dsymbolize_elf.inc840 buf_len_(buf_len),
856 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_);
871 const int capacity_left = buf_len_ - incomplete_line_length;
904 const int buf_len_;
/external/libtextclassifier/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc840 buf_len_(buf_len),
856 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_);
871 const int capacity_left = buf_len_ - incomplete_line_length;
904 const int buf_len_;
/external/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc855 buf_len_(buf_len),
871 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_);
886 const int capacity_left = buf_len_ - incomplete_line_length;
919 const int buf_len_;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc840 buf_len_(buf_len),
856 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_);
871 const int capacity_left = buf_len_ - incomplete_line_length;
904 const int buf_len_;
/external/webrtc/third_party/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc873 buf_len_(buf_len),
889 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_);
904 const size_t capacity_left = buf_len_ - incomplete_line_length;
938 const size_t buf_len_;
/external/cronet/third_party/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc883 buf_len_(buf_len),
899 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_);
914 const size_t capacity_left = buf_len_ - incomplete_line_length;
948 const size_t buf_len_;
/external/angle/third_party/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc885 buf_len_(buf_len),
901 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_);
916 const size_t capacity_left = buf_len_ - incomplete_line_length;
950 const size_t buf_len_;
/external/tensorflow/third_party/absl/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc863 buf_len_(buf_len),
879 const ssize_t num_bytes = ReadPersistent(fd_, buf_, buf_len_);
894 const int capacity_left = buf_len_ - incomplete_line_length;
927 const int buf_len_;