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.cpp47 current_chunk_ = data_; in Next()
49 current_chunk_ = (const ResChunk_header*)(((const char*)current_chunk_) + in Next()
50 android::util::DeviceToHost32(current_chunk_->size)); in Next()
53 const std::ptrdiff_t diff = (const char*)current_chunk_ - (const char*)data_; in Next()
58 current_chunk_ = nullptr; in Next()
62 current_chunk_ = nullptr; in Next()
66 if (android::util::DeviceToHost16(current_chunk_->headerSize) < sizeof(ResChunk_header)) { in Next()
68 current_chunk_ = nullptr; in Next()
70 } else if (android::util::DeviceToHost32(current_chunk_->size) < in Next()
71 android::util::DeviceToHost16(current_chunk_->headerSize)) { in Next()
[all …]
DResChunkPullParser.h66 const android::ResChunk_header* current_chunk_; variable
99 current_chunk_(nullptr) { in ResChunkPullParser()
111 return current_chunk_; in chunk()