Home
last modified time | relevance | path

Searched refs:data_length_ (Results 1 – 7 of 7) sorted by relevance

/system/libziparchive/
Dzip_archive_private.h38 : 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
Dzip_archive.cc1473 if (data_length_ != -1) { in GetFileLength()
1474 return data_length_; in GetFileLength()
1476 data_length_ = lseek64(fd_, 0, SEEK_END); in GetFileLength()
1477 if (data_length_ == -1) { in GetFileLength()
1480 return data_length_; in GetFileLength()
1486 return data_length_; in GetFileLength()
1504 if (data_length_ != -1) { in ReadAtOffset()
1513 if (read_end > data_length_) { in ReadAtOffset()
1515 PRId64, static_cast<off64_t>(len), data_length_, off); in ReadAtOffset()
1525 if (off < 0 || data_length_ < len || off > data_length_ - len) { in ReadAtOffset()
[all …]
/system/core/adb/
Dshell_service_protocol.cpp42 data_length_ = 0; in Read()
51 data_length_ = read_length; in Read()
Dshell_protocol.h87 size_t data_length() const { return data_length_; } in data_length()
109 size_t data_length_ = 0, bytes_left_ = 0; variable
/system/update_engine/common/
Dfile_fetcher.h48 void SetLength(size_t length) override { data_length_ = length; } in SetLength()
113 int64_t data_length_{-1};
Dfile_fetcher.cc117 if (data_length_ >= 0) { in ScheduleRead()
119 data_length_ - bytes_copied_); in ScheduleRead()
/system/bt/btif/src/
Dbtif_av.cc99 size_t DataLength() const { return data_length_; } in DataLength()
109 size_t data_length_; member in BtifAvEvent
765 : event_(event), data_(nullptr), data_length_(0) { in BtifAvEvent()
770 : event_(0), data_(nullptr), data_length_(0) { in BtifAvEvent()
796 data_length_ = data_length; in DeepCopy()
800 data_ = osi_malloc(data_length_); in DeepCopy()
867 data_length_ = 0; in DeepFree()