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.cpp516 child_chunk.header<ResStringPool_header>(), child_chunk.size()); in Load()
525 child_chunk.header<ResStringPool_header>(), child_chunk.size()); in Load()
815 status_t err = global_string_pool_->setTo(child_chunk.header<ResStringPool_header>(), in LoadTable()
DResourceTypes.cpp470 mOwnedData = calloc(1, sizeof(ResStringPool_header)); in setToEmpty()
471 ResStringPool_header* header = (ResStringPool_header*) mOwnedData; in setToEmpty()
479 mHeader = (const ResStringPool_header*) header; in setToEmpty()
491 if (size < sizeof(ResStringPool_header)) { in setTo()
500 if (validate_chunk(chunk_header, sizeof(ResStringPool_header), data.convert<uint8_t>() + size, in setTo()
524 const auto header = data.convert<ResStringPool_header>(); in setTo()
531 ResStringPool_header* h = const_cast<ResStringPool_header*>(mHeader.unsafe_ptr()); in setTo()
562 if (mHeader->flags&ResStringPool_header::UTF8_FLAG) { in setTo()
609 if (!(mHeader->flags&ResStringPool_header::UTF8_FLAG)) { in setTo()
617 if (mHeader->flags&ResStringPool_header::UTF8_FLAG) { in setTo()
[all …]
/frameworks/base/tools/aapt2/
DDebug.cpp739 void PrintStringPool(const ResStringPool_header* chunk) { in PrintStringPool()
800 PrintStringPool(reinterpret_cast<const ResStringPool_header*>(chunk)); in PrintChunk()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h460 struct ResStringPool_header struct
558 incfs::verified_map_ptr<ResStringPool_header> mHeader;