Searched refs:ResChunk_header (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/tools/aapt2/format/binary/ |
D | ResChunkPullParser.h | 55 const android::ResChunk_header* chunk() const; 64 const android::ResChunk_header* data_; 66 const android::ResChunk_header* current_chunk_; 71 inline static const T* ConvertTo(const android::ResChunk_header* chunk) { in ConvertTo() 78 inline static const uint8_t* GetChunkData(const android::ResChunk_header* chunk) { in GetChunkData() 82 inline static uint32_t GetChunkDataLen(const android::ResChunk_header* chunk) { in GetChunkDataLen() 96 data_(reinterpret_cast<const android::ResChunk_header*>(data)), in ResChunkPullParser() 109 inline const android::ResChunk_header* ResChunkPullParser::chunk() const { in chunk()
|
D | ChunkWriter.h | 54 inline android::ResChunk_header* chunk_header() { in chunk_header() 62 inline android::ResChunk_header* Finish() { in Finish() 73 android::ResChunk_header* header_ = nullptr; 77 inline android::ResChunk_header* ChunkWriter::StartChunk(uint16_t type) { in StartChunk() 79 header_ = buffer_->NextBlock<android::ResChunk_header>(); in StartChunk() 81 header_->headerSize = util::HostToDevice16(sizeof(android::ResChunk_header)); in StartChunk()
|
D | ResChunkPullParser.cpp | 30 using android::ResChunk_header; 33 static std::string ChunkHeaderDump(const ResChunk_header* header) { in ChunkHeaderDump() 47 current_chunk_ = (const ResChunk_header*)(((const char*)current_chunk_) + in Next() 58 } else if (offset + sizeof(ResChunk_header) > len_) { in Next() 64 if (util::DeviceToHost16(current_chunk_->headerSize) < sizeof(ResChunk_header)) { in Next()
|
D | BinaryResourceParser.h | 52 bool ParseTable(const android::ResChunk_header* chunk); 53 bool ParsePackage(const android::ResChunk_header* chunk); 54 bool ParseTypeSpec(const ResourceTablePackage* package, const android::ResChunk_header* chunk); 55 bool ParseType(const ResourceTablePackage* package, const android::ResChunk_header* chunk); 56 bool ParseLibrary(const android::ResChunk_header* chunk); 57 bool ParseOverlayable(const android::ResChunk_header* chunk);
|
D | BinaryResourceParser.cpp | 127 bool BinaryResourceParser::ParseTable(const ResChunk_header* chunk) { in ParseTable() 176 bool BinaryResourceParser::ParsePackage(const ResChunk_header* chunk) { in ParsePackage() 279 const ResChunk_header* chunk) { in ParseTypeSpec() 327 const ResChunk_header* chunk) { in ParseType() 423 bool BinaryResourceParser::ParseLibrary(const ResChunk_header* chunk) { in ParseLibrary() 438 bool BinaryResourceParser::ParseOverlayable(const ResChunk_header* chunk) { in ParseOverlayable()
|
D | XmlFlattener.cpp | 349 res_id_map_writer.StartChunk<ResChunk_header>(RES_XML_RESOURCE_MAP_TYPE); in Flatten()
|
D | TableFlattener_test.cpp | 263 const ResChunk_header* package_chunk = nullptr; in TEST_F() 275 const ResChunk_header* type_chunk = nullptr; in TEST_F()
|
/frameworks/base/libs/androidfw/ |
D | ChunkIterator.cpp | 26 const ResChunk_header* this_chunk = next_chunk_; in Next() 29 next_chunk_ = reinterpret_cast<const ResChunk_header*>( in Next() 45 if (len_ < sizeof(ResChunk_header)) { in VerifyNextChunkNonFatal() 71 if (len_ < sizeof(ResChunk_header)) { in VerifyNextChunk() 78 if (header_size < sizeof(ResChunk_header)) { in VerifyNextChunk()
|
D | ResourceTypes.cpp | 108 static status_t validate_chunk(const ResChunk_header* chunk, in validate_chunk() 471 if (validate_chunk(reinterpret_cast<const ResChunk_header*>(data), sizeof(ResStringPool_header), in setTo() 1679 const ResChunk_header* chunk = in setTo() 1680 (const ResChunk_header*)(((const uint8_t*)mHeader) + dtohs(mHeader->header.headerSize)); in setTo() 1681 const ResChunk_header* lastChunk = chunk; in setTo() 1682 while (((const uint8_t*)chunk) < (mDataEnd-sizeof(ResChunk_header)) && in setTo() 1684 status_t err = validate_chunk(chunk, sizeof(ResChunk_header), mDataEnd, "XML"); in setTo() 1722 chunk = (const ResChunk_header*) in setTo() 4173 const ResChunk_header* chunk = in addInternal() 4174 (const ResChunk_header*)(((const uint8_t*)header->header) in addInternal() [all …]
|
D | LoadedArsc.cpp | 456 reinterpret_cast<uintptr_t>(child_chunk.header<ResChunk_header>()); in Load()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Chunk.h | 39 explicit Chunk(const ResChunk_header* chunk) : device_chunk_(chunk) {} in Chunk() 66 const ResChunk_header* device_chunk_; 88 : next_chunk_(reinterpret_cast<const ResChunk_header*>(data)), in ChunkIterator() 116 const ResChunk_header* next_chunk_;
|
D | ResourceTypes.h | 196 struct ResChunk_header struct 440 struct ResChunk_header header; 583 struct ResChunk_header header; 592 struct ResChunk_header header; 861 struct ResChunk_header header; 874 struct ResChunk_header header; 1345 struct ResChunk_header header; 1392 struct ResChunk_header header; 1593 struct ResChunk_header header; 1617 struct ResChunk_header header; [all …]
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 1119 sizeof(ResChunk_header)+(sizeof(uint32_t)*resids.size()); in flatten() 1120 ResChunk_header* idsHeader = (ResChunk_header*) in flatten()
|