Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DStringPool.cpp437 const size_t preSize = sizeof(ResStringPool_header) in writeStringBlock()
554 ResStringPool_header* header = in writeStringBlock()
555 (ResStringPool_header*)pool->padData(sizeof(uint32_t)); in writeStringBlock()
567 header->flags |= htodl(ResStringPool_header::UTF8_FLAG); in writeStringBlock()
/frameworks/base/tools/aapt2/
DStringPool.cpp387 android::ResStringPool_header* header = out->NextBlock<android::ResStringPool_header>(); in Flatten()
393 header->flags |= android::ResStringPool_header::UTF8_FLAG; in Flatten()
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp465 child_chunk.header<ResStringPool_header>(), child_chunk.size()); in Load()
473 child_chunk.header<ResStringPool_header>(), child_chunk.size()); in Load()
641 status_t err = global_string_pool_.setTo(child_chunk.header<ResStringPool_header>(), in LoadTable()
DResourceTypes.cpp440 mOwnedData = calloc(1, sizeof(ResStringPool_header)); in setToEmpty()
441 ResStringPool_header* header = (ResStringPool_header*) mOwnedData; in setToEmpty()
449 mHeader = (const ResStringPool_header*) header; in setToEmpty()
461 if (size < sizeof(ResStringPool_header)) { in setTo()
469 if (validate_chunk(reinterpret_cast<const ResChunk_header*>(data), sizeof(ResStringPool_header), in setTo()
489 mHeader = (const ResStringPool_header*)data; in setTo()
492 ResStringPool_header* h = const_cast<ResStringPool_header*>(mHeader); in setTo()
524 if (mHeader->flags&ResStringPool_header::UTF8_FLAG) { in setTo()
572 if (!(mHeader->flags&ResStringPool_header::UTF8_FLAG)) { in setTo()
581 if ((mHeader->flags&ResStringPool_header::UTF8_FLAG && in setTo()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h433 struct ResStringPool_header struct
528 const ResStringPool_header* mHeader;