Home
last modified time | relevance | path

Searched refs:ResStringPool_header (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt/
DStringPool.cpp430 const size_t preSize = sizeof(ResStringPool_header) in writeStringBlock()
547 ResStringPool_header* header = in writeStringBlock()
548 (ResStringPool_header*)pool->padData(sizeof(uint32_t)); in writeStringBlock()
560 header->flags |= htodl(ResStringPool_header::UTF8_FLAG); in writeStringBlock()
/frameworks/base/tools/aapt2/
DStringPool.cpp438 android::ResStringPool_header* header = out->NextBlock<android::ResStringPool_header>(); in Flatten()
444 header->flags |= android::ResStringPool_header::UTF8_FLAG; in Flatten()
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp461 child_chunk.header<ResStringPool_header>(), child_chunk.size()); in Load()
469 child_chunk.header<ResStringPool_header>(), child_chunk.size()); in Load()
718 status_t err = global_string_pool_.setTo(child_chunk.header<ResStringPool_header>(), in LoadTable()
DResourceTypes.cpp442 mOwnedData = calloc(1, sizeof(ResStringPool_header)); in setToEmpty()
443 ResStringPool_header* header = (ResStringPool_header*) mOwnedData; in setToEmpty()
451 mHeader = (const ResStringPool_header*) header; in setToEmpty()
463 if (size < sizeof(ResStringPool_header)) { in setTo()
471 if (validate_chunk(reinterpret_cast<const ResChunk_header*>(data), sizeof(ResStringPool_header), in setTo()
491 mHeader = (const ResStringPool_header*)data; in setTo()
494 ResStringPool_header* h = const_cast<ResStringPool_header*>(mHeader); in setTo()
526 if (mHeader->flags&ResStringPool_header::UTF8_FLAG) { in setTo()
574 if (!(mHeader->flags&ResStringPool_header::UTF8_FLAG)) { in setTo()
583 if ((mHeader->flags&ResStringPool_header::UTF8_FLAG && in setTo()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h438 struct ResStringPool_header struct
533 const ResStringPool_header* mHeader;