Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DResChunkPullParser.cpp45 current_chunk_ = data_; in Next()
47 current_chunk_ = (const ResChunk_header*)(((const char*)current_chunk_) + in Next()
48 util::DeviceToHost32(current_chunk_->size)); in Next()
51 const std::ptrdiff_t diff = (const char*)current_chunk_ - (const char*)data_; in Next()
56 current_chunk_ = nullptr; in Next()
60 current_chunk_ = nullptr; in Next()
64 if (util::DeviceToHost16(current_chunk_->headerSize) < sizeof(ResChunk_header)) { in Next()
66 current_chunk_ = nullptr; in Next()
68 } else if (util::DeviceToHost32(current_chunk_->size) < in Next()
69 util::DeviceToHost16(current_chunk_->headerSize)) { in Next()
[all …]
DResChunkPullParser.h66 const android::ResChunk_header* current_chunk_; variable
98 current_chunk_(nullptr) { in ResChunkPullParser()
110 return current_chunk_; in chunk()