Lines Matching refs:size

62         mMap->size = sizeof(*mMap) + sizeof(*sourceBlock);
69 (mOut->size() - mMap->size) + sizeof(*mMap) - sizeof(android::ResTable_entry)
84 mOut->size() - sizeof(*outMapEntry)));
94 mOut->size() - sizeof(outMapEntry->value.data)));
97 outMapEntry->value.size = sizeof(outMapEntry->value);
111 mOut->size() - sizeof(outMapEntry->value.data)));
114 outMapEntry->value.size = sizeof(outMapEntry->value);
165 const size_t count = plural.values.size();
226 mOut->size() - sizeof(mOutValue->data)});
233 mOutValue->size = sizeof(*mOutValue);
262 entry->size = sizeof(*entry);
270 entry->size += sizeof(*sourceBlock);
285 const size_t beginning = out->size();
344 spec->header.size = spec->header.headerSize + (type->entries.size() * sizeof(uint32_t));
346 spec->entryCount = type->entries.size();
354 uint32_t* configMasks = typeBlock.nextBlock<uint32_t>(type->entries.size());
358 const size_t entryCount = type->entries.size();
382 const size_t configCount = entry->values.size();
391 const size_t beforePublicHeader = typeBlock.size();
409 << "resource key string pool exceeded max size."
439 publicHeader->header.size =
440 static_cast<uint32_t>(typeBlock.size() - beforePublicHeader);
445 const size_t typeHeaderStart = typeBlock.size();
450 typeHeader->entryCount = type->entries.size();
452 + (sizeof(uint32_t) * type->entries.size());
455 uint32_t* indices = typeBlock.nextBlock<uint32_t>(type->entries.size());
456 memset(indices, 0xff, type->entries.size() * sizeof(uint32_t));
458 const size_t entryStart = typeBlock.size();
460 assert(flatEntry.entry->entryId < type->entries.size());
461 indices[flatEntry.entry->entryId] = typeBlock.size() - entryStart;
476 typeHeader->header.size = typeBlock.size() - typeHeaderStart;
480 const size_t beforeTable = out->size();
488 const size_t beforeSymbolTable = out->size();
493 symbolHeader->count = symbolEntries.size();
510 symbolHeader->header.size = out->size() - beforeSymbolTable;
513 if (sourcePool.size() > 0 && mOptions.useExtendedChunks) {
514 const size_t beforeSourcePool = out->size();
520 sourceHeader->size = out->size() - beforeSourcePool;
525 const size_t beforePackageIndex = out->size();
540 if (table.getPackage().size() >= sizeof(package->name) / sizeof(package->name[0])) {
554 package->keyStrings = out->size() - beforePackageIndex;
558 for (size_t i = 0; i < symbolEntries.size(); i++) {
559 symbolEntryData[i].offset += out->size() - beginning;
565 package->header.size = out->size() - beforePackageIndex;
566 header->header.size = out->size() - beforeTable;