Home
last modified time | relevance | path

Searched refs:base_ptr_ (Results 1 – 2 of 2) sorted by relevance

/system/core/libziparchive/
Dzip_archive_private.h96 : has_fd_(true), fd_(fd), base_ptr_(nullptr), data_length_(0) {} in MappedZipFile()
99 : has_fd_(false), fd_(-1), base_ptr_(address), data_length_(static_cast<off64_t>(length)) {} in MappedZipFile()
120 void* const base_ptr_; variable
126 CentralDirectory(void) : base_ptr_(nullptr), length_(0) {} in CentralDirectory()
128 const uint8_t* GetBasePtr() const { return base_ptr_; } in GetBasePtr()
135 const uint8_t* base_ptr_;
Dzip_archive.cc1208 return base_ptr_; in GetBasePtr()
1219 if (base_ptr_ == nullptr) { in GetFileLength()
1239 memcpy(buf, static_cast<uint8_t*>(base_ptr_) + off, len); in ReadAtOffset()
1245 base_ptr_ = static_cast<uint8_t*>(map_base_ptr) + cd_start_offset; in Initialize()