Searched refs:ResStringPool_header (Results 1 – 3 of 3) sorted by relevance
423 const size_t preSize = sizeof(ResStringPool_header) in writeStringBlock()540 ResStringPool_header* header = in writeStringBlock()541 (ResStringPool_header*)pool->padData(sizeof(uint32_t)); in writeStringBlock()553 header->flags |= htodl(ResStringPool_header::UTF8_FLAG); in writeStringBlock()
435 mOwnedData = calloc(1, sizeof(ResStringPool_header)); in setToEmpty()436 ResStringPool_header* header = (ResStringPool_header*) mOwnedData; in setToEmpty()444 mHeader = (const ResStringPool_header*) header; in setToEmpty()466 mHeader = (const ResStringPool_header*)data; in setTo()469 ResStringPool_header* h = const_cast<ResStringPool_header*>(mHeader); in setTo()501 if (mHeader->flags&ResStringPool_header::UTF8_FLAG) { in setTo()549 if (!(mHeader->flags&ResStringPool_header::UTF8_FLAG)) { in setTo()558 if ((mHeader->flags&ResStringPool_header::UTF8_FLAG && in setTo()560 (!mHeader->flags&ResStringPool_header::UTF8_FLAG && in setTo()695 const bool isUTF8 = (mHeader->flags&ResStringPool_header::UTF8_FLAG) != 0; in stringAt()[all …]
427 struct ResStringPool_header struct522 const ResStringPool_header* mHeader;