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/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()
DDebug.cpp724 void PrintStringPool(const ResStringPool_header* chunk) { in PrintStringPool()
781 PrintStringPool(reinterpret_cast<const ResStringPool_header*>(chunk)); in PrintChunk()
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp489 child_chunk.header<ResStringPool_header>(), child_chunk.size()); in Load()
498 child_chunk.header<ResStringPool_header>(), child_chunk.size()); in Load()
781 status_t err = global_string_pool_->setTo(child_chunk.header<ResStringPool_header>(), in LoadTable()
DResourceTypes.cpp457 mOwnedData = calloc(1, sizeof(ResStringPool_header)); in setToEmpty()
458 ResStringPool_header* header = (ResStringPool_header*) mOwnedData; in setToEmpty()
466 mHeader = (const ResStringPool_header*) header; in setToEmpty()
478 if (size < sizeof(ResStringPool_header)) { in setTo()
487 if (validate_chunk(chunk_header, sizeof(ResStringPool_header), data.convert<uint8_t>() + size, in setTo()
511 const auto header = data.convert<ResStringPool_header>(); in setTo()
518 ResStringPool_header* h = const_cast<ResStringPool_header*>(mHeader.unsafe_ptr()); in setTo()
549 if (mHeader->flags&ResStringPool_header::UTF8_FLAG) { in setTo()
596 if (!(mHeader->flags&ResStringPool_header::UTF8_FLAG)) { in setTo()
604 if (mHeader->flags&ResStringPool_header::UTF8_FLAG) { in setTo()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h456 struct ResStringPool_header struct
554 incfs::verified_map_ptr<ResStringPool_header> mHeader;