Home
last modified time | relevance | path

Searched refs:ResStringPool_header (Results 1 – 6 of 6) 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/libs/androidfw/
DStringPool.cpp434 android::ResStringPool_header* header = out->NextBlock<android::ResStringPool_header>(); in Flatten()
440 header->flags |= android::ResStringPool_header::UTF8_FLAG; in Flatten()
DLoadedArsc.cpp526 child_chunk.header<ResStringPool_header>(), child_chunk.size()); in Load()
535 child_chunk.header<ResStringPool_header>(), child_chunk.size()); in Load()
835 status_t err = global_string_pool_->setTo(child_chunk.header<ResStringPool_header>(), in LoadTable()
DResourceTypes.cpp488 mOwnedData = calloc(1, sizeof(ResStringPool_header)); in setToEmpty()
489 ResStringPool_header* header = (ResStringPool_header*) mOwnedData; in setToEmpty()
497 mHeader = (const ResStringPool_header*) header; in setToEmpty()
509 if (size < sizeof(ResStringPool_header)) { in setTo()
518 if (validate_chunk(chunk_header, sizeof(ResStringPool_header), data.convert<uint8_t>() + size, in setTo()
542 const auto header = data.convert<ResStringPool_header>(); in setTo()
549 ResStringPool_header* h = const_cast<ResStringPool_header*>(mHeader.unsafe_ptr()); in setTo()
580 if (mHeader->flags&ResStringPool_header::UTF8_FLAG) { in setTo()
627 if (!(mHeader->flags&ResStringPool_header::UTF8_FLAG)) { in setTo()
635 if (mHeader->flags&ResStringPool_header::UTF8_FLAG) { in setTo()
[all …]
/frameworks/base/tools/aapt2/
DDebug.cpp749 void PrintStringPool(const ResStringPool_header* chunk) { in PrintStringPool()
810 PrintStringPool(reinterpret_cast<const ResStringPool_header*>(chunk)); in PrintChunk()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h461 struct ResStringPool_header struct
560 incfs::verified_map_ptr<ResStringPool_header> mHeader;