Searched refs:data_length_ (Results 1 – 6 of 6) sorted by relevance
/system/libziparchive/ |
D | zip_archive_private.h | 38 : has_fd_(true), fd_(fd), fd_offset_(0), base_ptr_(nullptr), data_length_(-1) {} in MappedZipFile() 41 : has_fd_(true), fd_(fd), fd_offset_(offset), base_ptr_(nullptr), data_length_(length) {} in MappedZipFile() 45 data_length_(static_cast<off64_t>(length)) {} in MappedZipFile() 70 mutable off64_t data_length_; variable
|
D | zip_archive.cc | 1553 if (data_length_ != -1) { in GetFileLength() 1554 return data_length_; in GetFileLength() 1556 data_length_ = lseek64(fd_, 0, SEEK_END); in GetFileLength() 1557 if (data_length_ == -1) { in GetFileLength() 1560 return data_length_; in GetFileLength() 1566 return data_length_; in GetFileLength() 1584 if (data_length_ != -1) { in ReadAtOffset() 1593 if (read_end > data_length_) { in ReadAtOffset() 1595 PRId64, static_cast<off64_t>(len), data_length_, off); in ReadAtOffset() 1605 if (off < 0 || data_length_ < len || off > data_length_ - len) { in ReadAtOffset() [all …]
|
/system/update_engine/common/ |
D | file_fetcher.h | 48 void SetLength(size_t length) override { data_length_ = length; } in SetLength() 113 int64_t data_length_{-1};
|
D | file_fetcher.cc | 117 if (data_length_ >= 0) { in ScheduleRead() 119 data_length_ - bytes_copied_); in ScheduleRead()
|
/system/core/fs_mgr/libsnapshot/ |
D | cow_reader.cpp | 513 : reader_(reader), offset_(offset), data_length_(data_length) { in CowDataStream() 514 remaining_ = data_length_; in CowDataStream() 531 size_t Size() const override { return data_length_; } in Size() 536 size_t data_length_; member in android::snapshot::CowDataStream
|
/system/bt/btif/src/ |
D | btif_av.cc | 103 size_t DataLength() const { return data_length_; } in DataLength() 113 size_t data_length_; member in BtifAvEvent 770 : event_(event), data_(nullptr), data_length_(0) { in BtifAvEvent() 775 : event_(0), data_(nullptr), data_length_(0) { in BtifAvEvent() 801 data_length_ = data_length; in DeepCopy() 805 data_ = osi_malloc(data_length_); in DeepCopy() 872 data_length_ = 0; in DeepFree()
|