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.cpp332 android::ResStringPool_header* header = in Flatten()
333 out->NextBlock<android::ResStringPool_header>(); in Flatten()
338 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()
471 mHeader = (const ResStringPool_header*)data; in setTo()
474 ResStringPool_header* h = const_cast<ResStringPool_header*>(mHeader); in setTo()
506 if (mHeader->flags&ResStringPool_header::UTF8_FLAG) { in setTo()
554 if (!(mHeader->flags&ResStringPool_header::UTF8_FLAG)) { in setTo()
563 if ((mHeader->flags&ResStringPool_header::UTF8_FLAG && in setTo()
565 (!(mHeader->flags&ResStringPool_header::UTF8_FLAG) && in setTo()
700 const bool isUTF8 = (mHeader->flags&ResStringPool_header::UTF8_FLAG) != 0; in stringAt()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h433 struct ResStringPool_header struct
528 const ResStringPool_header* mHeader;