Home
last modified time | relevance | path

Searched refs:length_ (Results 1 – 18 of 18) sorted by relevance

/system/bt/gd/packet/
Dpacket_view.cc28 : fragments_(fragments), length_(0) { in PacketView()
30 length_ += fragment.size(); in PacketView()
36 : fragments_({View(packet, 0, packet->size())}), length_(packet->size()) {} in PacketView()
55 ASSERT_LOG(index < length_, "Index %zu out of bounds", index); in at()
68 return length_; in size()
74 ASSERT(end <= length_); in GetSubviewList()
Diterator.cc28 length_ = 0; in Iterator()
30 length_ += view.size(); in Iterator()
134 ASSERT_LOG(index_ < length_, "Index %zu out of bounds: %zu", index_, length_); in operator *()
149 if (length_ > index_) { in NumBytesRemaining()
150 return length_ - index_; in NumBytesRemaining()
Dbit_inserter.cc28 length_ = 0; in Iterator()
30 length_ += view.size(); in Iterator()
134 ASSERT_LOG(index_ < length_, "Index %zu out of bounds: %zu", index_, length_); in operator *()
149 if (length_ > index_) { in NumBytesRemaining()
150 return length_ - index_; in NumBytesRemaining()
Dpacket_view.h57 size_t length_; variable
Diterator.h80 size_t length_; variable
/system/bt/vendor_libs/test_vendor_lib/packets/
Dpacket_view.cc28 : fragments_(fragments), length_(0) { in PacketView()
30 length_ += fragment.size(); in PacketView()
36 : fragments_({View(packet, 0, packet->size())}), length_(packet->size()) {} in PacketView()
55 CHECK(index < length_) << "Index " << index << " out of bounds"; in at()
68 return length_; in size()
74 CHECK(end <= length_) << "End " << end << " is too large"; in SubViewList()
Diterator.cc28 length_ = 0; in Iterator()
30 length_ += view.size(); in Iterator()
134 CHECK(index_ < length_) << "Index " << index_ << " out of bounds: " << length_; in operator *()
149 if (length_ > index_) { in NumBytesRemaining()
150 return length_ - index_; in NumBytesRemaining()
Dpacket_view.h57 size_t length_; variable
Diterator.h81 size_t length_; variable
/system/core/libziparchive/
Dzip_archive_stream_entry.cc59 uint32_t length_ = 0u; member in ZipArchiveStreamEntryUncompressed
71 length_ = entry.uncompressed_length; in Init()
80 if (length_ == 0) { in Read()
84 size_t bytes = (length_ > data_.size()) ? data_.size() : length_; in Read()
93 length_ = 0; in Read()
101 length_ -= bytes; in Read()
107 return length_ == 0 && crc32_ == computed_crc32_; in Verify()
266 length_ = entry.compressed_length; in Init()
272 return length_ == 0; in Verify()
Dzip_archive_private.h126 CentralDirectory(void) : base_ptr_(nullptr), length_(0) {} in CentralDirectory()
130 size_t GetMapLength() const { return length_; } in GetMapLength()
136 size_t length_; variable
Dzip_archive.cc1246 length_ = cd_size; in Initialize()
/system/update_engine/common/
Dmulti_range_http_fetcher.h125 Range(off_t offset, size_t length) : offset_(offset), length_(length) {} in Range()
126 explicit Range(off_t offset) : offset_(offset), length_(0) {} in Range()
129 inline size_t length() const { return length_; } in length()
131 inline bool HasLength() const { return (length_ > 0); } in HasLength()
137 size_t length_; variable
/system/update_engine/
Dcertificate_checker_unittest.cc63 unsigned int length_{4}; member in chromeos_update_engine::CertificateCheckerTest
79 SetArgPointee<2>(length_), in TEST_F()
95 SetArgPointee<2>(length_), in TEST_F()
112 SetArgPointee<2>(length_), in TEST_F()
/system/core/fs_mgr/libdm/include/libdm/
Ddm_target.h52 DmTarget(uint64_t start, uint64_t length) : start_(start), length_(length) {} in DmTarget()
64 uint64_t size() const { return length_; } in size()
81 uint64_t start_, length_;
/system/core/libunwindstack/include/unwindstack/
DMemory.h146 uint64_t length() { return length_; } in length()
151 uint64_t length_; variable
/system/core/libunwindstack/
DMemory.cpp306 : memory_(memory), begin_(begin), length_(length), offset_(offset) {} in MemoryRange()
314 if (read_offset >= length_) { in Read()
318 uint64_t read_length = std::min(static_cast<uint64_t>(size), length_ - read_offset); in Read()
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h380 uoffset_t size() const { return EndianScalar(length_); }
437 return reinterpret_cast<const uint8_t *>(&length_ + 1);
441 return reinterpret_cast<uint8_t *>(&length_ + 1);
466 uoffset_t length_;
484 uoffset_t size() const { return EndianScalar(length_); }
487 return reinterpret_cast<const uint8_t *>(&length_ + 1);
490 return reinterpret_cast<uint8_t *>(&length_ + 1);
495 uoffset_t length_;