Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tools/aapt/
H A 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()
/aosp14/frameworks/base/libs/androidfw/
H A DStringPool.cpp434 android::ResStringPool_header* header = out->NextBlock<android::ResStringPool_header>(); in Flatten()
440 header->flags |= android::ResStringPool_header::UTF8_FLAG; in Flatten()
H A 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()
H A 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()
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()
617 if (mHeader->flags&ResStringPool_header::UTF8_FLAG) { in setTo()
1050 if (mHeader->flags&ResStringPool_header::SORTED_FLAG) { in indexOfString()
1121 if (mHeader->flags&ResStringPool_header::SORTED_FLAG) { in indexOfString()
[all …]
/aosp14/frameworks/base/tools/aapt2/
H A DDebug.cpp739 void PrintStringPool(const ResStringPool_header* chunk) { in PrintStringPool()
800 PrintStringPool(reinterpret_cast<const ResStringPool_header*>(chunk)); in PrintChunk()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h460 struct ResStringPool_header struct
558 incfs::verified_map_ptr<ResStringPool_header> mHeader;