Lines Matching refs:entry_count
86 const size_t entry_count = dtohl(header->entryCount); in VerifyResTableType() local
87 if (entry_count > std::numeric_limits<uint16_t>::max()) { in VerifyResTableType()
88 LOG(ERROR) << "RES_TABLE_TYPE_TYPE has too many entries (" << entry_count << ")."; in VerifyResTableType()
96 ? sizeof(uint16_t) * entry_count in VerifyResTableType()
97 : sizeof(uint32_t) * entry_count; in VerifyResTableType()
255 const size_t entry_count = dtohl(type_chunk->entryCount); in GetEntryOffset() local
263 auto sparse_indices_end = sparse_indices + entry_count; in GetEntryOffset()
292 if (entry_index >= entry_count) { in GetEntryOffset()
399 const size_t entry_count = dtohl(type->entryCount); in FindEntryByName() local
402 for (size_t entry_idx = 0; entry_idx < entry_count; entry_idx++) { in FindEntryByName()
566 const size_t entry_count = dtohl(type_spec->entryCount); in Load() local
570 if (entry_count > std::numeric_limits<uint16_t>::max()) { in Load()
571 LOG(ERROR) << "RES_TABLE_TYPE_SPEC_TYPE has too many entries (" << entry_count << ")."; in Load()
575 if (entry_count * sizeof(uint32_t) > child_chunk.data_size()) { in Load()
583 loaded_package->resource_ids_.set(type_spec->id, entry_count); in Load()
686 < dtohl(policy_header->entry_count)) { in Load()
693 const auto ids_end = ids_begin + dtohl(policy_header->entry_count); in Load()