Home
last modified time | relevance | path

Searched refs:ResChunk_header (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/include/androidfw/
DResourceTypes.h160 struct ResChunk_header struct
384 struct ResChunk_header header;
506 struct ResChunk_header header;
515 struct ResChunk_header header;
767 struct ResChunk_header header;
780 struct ResChunk_header header;
1079 struct ResChunk_header header;
1117 struct ResChunk_header header;
/frameworks/base/libs/androidfw/
DResourceTypes.cpp96 static status_t validate_chunk(const ResChunk_header* chunk, in validate_chunk()
1244 const ResChunk_header* chunk = in setTo()
1245 (const ResChunk_header*)(((const uint8_t*)mHeader) + dtohs(mHeader->header.headerSize)); in setTo()
1246 const ResChunk_header* lastChunk = chunk; in setTo()
1247 while (((const uint8_t*)chunk) < (mDataEnd-sizeof(ResChunk_header)) && in setTo()
1249 status_t err = validate_chunk(chunk, sizeof(ResChunk_header), mDataEnd, "XML"); in setTo()
1283 chunk = (const ResChunk_header*) in setTo()
2849 const ResChunk_header* chunk = in add()
2850 (const ResChunk_header*)(((const uint8_t*)header->header) in add()
2852 while (((const uint8_t*)chunk) <= (header->dataEnd-sizeof(ResChunk_header)) && in add()
[all …]
/frameworks/base/tools/aapt/
DXMLNode.cpp1015 sizeof(ResChunk_header)+(sizeof(uint32_t)*resids.size()); in flatten()
1016 ResChunk_header* idsHeader = (ResChunk_header*) in flatten()