Lines Matching refs:header
2600 ResTable_package* header = (ResTable_package*)data->editData(baseSize);
2601 if (header == NULL) {
2605 memset(header, 0, sizeof(*header));
2606 header->header.type = htods(RES_TABLE_PACKAGE_TYPE);
2607 header->header.headerSize = htods(sizeof(*header));
2608 header->id = htodl(p->getAssignedId());
2609 strcpy16_htod(header->name, p->getName().string());
2657 tsHeader->header.type = htods(RES_TABLE_TYPE_SPEC_TYPE);
2658 tsHeader->header.headerSize = htods(sizeof(*tsHeader));
2659 tsHeader->header.size = htodl(typeSpecSize);
2730 tHeader->header.type = htods(RES_TABLE_TYPE_TYPE);
2731 tHeader->header.headerSize = htods(sizeof(*tHeader));
2780 tHeader->header.size = htodl(data->getSize()-typeStart);
2785 header = (ResTable_package*)data->editData();
2786 header->header.size = htodl(data->getSize());
2787 header->typeStrings = htodl(typeStringsStart);
2788 header->lastPublicType = htodl(p->getTypeStrings().size());
2789 header->keyStrings = htodl(keyStringsStart);
2790 header->lastPublicKey = htodl(p->getKeyStrings().size());
2800 ResTable_header header;
2801 memset(&header, 0, sizeof(header));
2802 header.header.type = htods(RES_TABLE_TYPE);
2803 header.header.headerSize = htods(sizeof(header));
2804 header.packageCount = htodl(flatPackages.size());
2805 status_t err = dest->writeData(&header, sizeof(header));
2834 ResTable_header* header = (ResTable_header*)
2836 header->header.size = htodl(dest->getSize() - dataStart);
3145 ResTable_entry header;
3146 memset(&header, 0, sizeof(header));
3147 header.size = htods(sizeof(header));
3151 header.flags |= htods(header.FLAG_COMPLEX);
3154 header.flags |= htods(header.FLAG_PUBLIC);
3156 header.key.index = htodl(mNameIndex);
3159 status_t err = data->writeData(&header, sizeof(header));
3195 memcpy(&mapHeader, &header, sizeof(header));