Home
last modified time | relevance | path

Searched refs:length_ (Results 1 – 11 of 11) 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()
105 size_t remaining_length = length_; in Append()
117 length_ += to_add.length_; in Append()
Dpacket_view.h61 size_t length_; variable
/system/libziparchive/
Dzip_archive_stream_entry.cc60 uint32_t length_ = 0u; member in ZipArchiveStreamEntryUncompressed
72 length_ = entry.uncompressed_length; in Init()
87 if (length_ == 0) { in Read()
91 size_t bytes = (length_ > data_.size()) ? data_.size() : length_; in Read()
100 length_ = 0; in Read()
109 length_ -= bytes; in Read()
115 return length_ == 0 && crc32_ == computed_crc32_; in Verify()
284 length_ = entry.compressed_length; in Init()
290 return length_ == 0; in Verify()
Dzip_archive_private.h75 CentralDirectory(void) : base_ptr_(nullptr), length_(0) {} in CentralDirectory()
79 size_t GetMapLength() const { return length_; } in GetMapLength()
85 size_t length_; variable
Dzip_archive.cc1538 length_ = cd_size; in Initialize()
/system/update_engine/common/
Dmulti_range_http_fetcher.h130 Range(off_t offset, size_t length) : offset_(offset), length_(length) {} in Range()
131 explicit Range(off_t offset) : offset_(offset), length_(0) {} in Range()
134 inline size_t length() const { return length_; } in length()
136 inline bool HasLength() const { return (length_ > 0); } in HasLength()
142 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/libunwindstack/
DMemoryRange.h42 uint64_t length() { return length_; } in length()
47 uint64_t length_; variable
DMemory.cpp349 : memory_(memory), begin_(begin), length_(length), offset_(offset) {} in MemoryRange()
357 if (read_offset >= length_) { in Read()
361 uint64_t read_length = std::min(static_cast<uint64_t>(size), length_ - read_offset); in Read()
/system/core/fs_mgr/libdm/include/libdm/
Ddm_target.h64 DmTarget(uint64_t start, uint64_t length) : start_(start), length_(length) {} in DmTarget()
76 uint64_t size() const { return length_; } in size()
93 uint64_t start_, length_;
/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_;