Home
last modified time | relevance | path

Searched refs:bytes_read_ (Results 1 – 14 of 14) sorted by relevance

/external/pigweed/pw_stream/
Dmemory_stream.cc40 if (source_.size_bytes() == bytes_read_) { in DoRead()
45 std::min(dest.size_bytes(), source_.size_bytes() - bytes_read_); in DoRead()
47 std::memcpy(dest.data(), source_.data() + bytes_read_, bytes_to_read); in DoRead()
48 bytes_read_ += bytes_to_read; in DoRead()
/external/pigweed/pw_stream/public/pw_stream/
Dmemory_stream.h62 MemoryReader(ConstByteSpan source) : source_(source), bytes_read_(0) {} in MemoryReader()
65 return source_.size_bytes() - bytes_read_; in ConservativeReadLimit()
68 size_t bytes_read() const { return bytes_read_; } in bytes_read()
80 size_t bytes_read_; variable
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_inputstream.cc31 bytes_read_(0), in SnappyInputStream()
139 bytes_read_ += can_read_bytes; in ReadBytesFromCache()
143 int64 SnappyInputStream::Tell() const { return bytes_read_; } in Tell()
148 bytes_read_ = 0; in Reset()
Dsnappy_inputbuffer.cc31 bytes_read_(0) {} in SnappyInputBuffer()
59 int64 SnappyInputBuffer::Tell() const { return bytes_read_; } in Tell()
66 bytes_read_ = 0; in Reset()
78 bytes_read_ += can_read_bytes; in ReadBytesFromCache()
Dsnappy_inputstream.h70 int64 bytes_read_; variable
Dsnappy_inputbuffer.h123 int64 bytes_read_; variable
/external/tensorflow/tensorflow/core/lib/io/
Dzlib_inputstream.cc67 bytes_read_(0) { in ZlibInputStream()
94 bytes_read_ = 0; in Reset()
185 bytes_read_ += can_read_bytes; in ReadBytesFromCache()
242 int64 ZlibInputStream::Tell() const { return bytes_read_; } in Tell()
Dzlib_inputstream.h133 int64 bytes_read_; variable
Dtable_test.cc121 : contents_(contents.data(), contents.size()), bytes_read_(0) {} in StringSource()
141 bytes_read_ += n; in Read()
145 uint64 BytesRead() const { return bytes_read_; } in BytesRead()
149 mutable uint64 bytes_read_; member in tensorflow::table::StringSource
/external/libchrome/base/files/
Dfile_proxy.cc181 bytes_read_(0) { in ReadHelper()
185 bytes_read_ = file_.Read(offset, buffer_.get(), bytes_to_read_); in RunWork()
186 error_ = (bytes_read_ < 0) ? File::FILE_ERROR_FAILED : File::FILE_OK; in RunWork()
192 std::move(callback).Run(error_, buffer_.get(), bytes_read_); in Reply()
198 int bytes_read_; member in base::__anon97248d760211::ReadHelper
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.h76 int bytes_read_; variable
Dsanitizer_linux.cc741 bytes_read_(0) { in ThreadLister()
760 if ((char *)entry_ >= &buffer_[bytes_read_] && !GetDirectoryEntries()) in GetNextTID()
788 bytes_read_ = internal_getdents(descriptor_, in GetDirectoryEntries()
791 if (internal_iserror(bytes_read_)) { in GetDirectoryEntries()
795 } else if (bytes_read_ == 0) { in GetDirectoryEntries()
/external/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi5961 <!-- int __sanitizer::ThreadLister::bytes_read_ -->
5962 …<var-decl name='bytes_read_' type-id='type-id-10' visibility='default' filepath='../../.././libsan…
/external/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi3449 …<var-decl name='bytes_read_' type-id='type-id-10' visibility='default' filepath='../../.././libsan…