Searched refs:size_ (Results 1 – 4 of 4) sorted by relevance
/packages/modules/adb/ |
D | types.h | 48 size_(std::exchange(move.size_, 0)) {} in Block() 55 size_ = std::exchange(move.size_, 0); 66 size_ = new_size; in resize() 80 size_ = 0; in clear() 84 size_t size() const { return size_; } in size() 93 char* end() { return data() + size_; } in end() 94 const char* end() const { return data() + size_; } in end() 107 CHECK_EQ(0ULL, size_); in allocate() 114 size_ = size; in allocate() 120 size_t size_ = 0; member
|
/packages/modules/adb/fastdeploy/deploypatchgenerator/ |
D | apk_archive.cpp | 69 ApkArchive::ApkArchive(const std::string& path) : path_(path), size_(0) { in ApkArchive() 81 size_ = st.st_size; in ApkArchive() 113 auto sizeToRead = std::min(size_, endOfCDMaxSize); in FindEndOfCDRecord() 114 auto readOffset = size_ - sizeToRead; in FindEndOfCDRecord() 334 if (localFileHeaderOffset + kLocalFileHeaderSize > size_) { in CalculateLocalFileEntrySize() 338 static_cast<long long>(size_)); in CalculateLocalFileEntrySize() 375 if (ddOffset + int(sizeof(uint32_t)) > size_) { in CalculateLocalFileEntrySize() 379 path_.c_str(), static_cast<long long>(ddOffset), static_cast<long long>(size_)); in CalculateLocalFileEntrySize() 391 if (ddOffset + kDataDescriptorSize > size_) { in CalculateLocalFileEntrySize() 395 path_.c_str(), static_cast<long long>(ddOffset), static_cast<long long>(size_)); in CalculateLocalFileEntrySize()
|
D | apk_archive.h | 78 off_t size_; variable
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | memorystream.h | 37 …MemoryStream(const Ch *src, size_t size) : src_(src), begin_(src), end_(src + size), size_(size) {} in MemoryStream() 50 return Tell() + 4 <= size_ ? src_ : 0; in Peek4() 56 size_t size_; //!< Size of the stream. member
|