Lines Matching refs:typeSpec

3155           typeSpec(NULL), typeSpecFlags(NULL) { }
3159 const ResTable_typeSpec* typeSpec;
5846 type->typeSpec->id - 1) == "mipmap") {
5986 const Type* const typeSpec = typeList[i];
5994 if (typeSpec->idmapEntries.hasEntries()) {
5996 if (typeSpec->idmapEntries.lookup(entryIndex, &overlayEntryIndex) != NO_ERROR) {
6001 realTypeIndex = typeSpec->idmapEntries.overlayTypeId() - 1;
6005 if (static_cast<size_t>(realEntryIndex) >= typeSpec->entryCount) {
6008 entryIndex, static_cast<int>(typeSpec->entryCount));
6015 if (typeSpec->typeSpecFlags != NULL) {
6016 specFlags |= dtohl(typeSpec->typeSpecFlags[realEntryIndex]);
6021 const Vector<const ResTable_type*>* candidateConfigs = &typeSpec->configs;
6083 bestPackage = typeSpec->package;
6256 const ResTable_typeSpec* typeSpec = (const ResTable_typeSpec*)(chunk);
6257 err = validate_chunk(&typeSpec->header, sizeof(*typeSpec),
6263 const size_t typeSpecSize = dtohl(typeSpec->header.size);
6264 const size_t newEntryCount = dtohl(typeSpec->entryCount);
6269 dtohs(typeSpec->header.type),
6270 dtohs(typeSpec->header.headerSize),
6274 if ((dtohl(typeSpec->entryCount) > (INT32_MAX/sizeof(uint32_t))
6275 || dtohs(typeSpec->header.headerSize)+(sizeof(uint32_t)*newEntryCount)
6278 (void*)(dtohs(typeSpec->header.headerSize) + (sizeof(uint32_t)*newEntryCount)),
6283 if (typeSpec->id == 0) {
6289 uint8_t typeIndex = typeSpec->id - 1;
6290 ssize_t idmapIndex = idmapEntries.indexOfKey(typeSpec->id);
6307 t->typeSpec = typeSpec;
6309 ((const uint8_t*)typeSpec) + dtohs(typeSpec->header.headerSize));
6314 group->largestTypeId = max(group->largestTypeId, typeSpec->id);
6316 ALOGV("Skipping empty ResTable_typeSpec for type %d", typeSpec->id);