Searched refs:entry_idx (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/androidfw/
H A DLoadedArsc.cpp116 bool LoadedPackage::FindEntry(uint8_t type_idx, uint16_t entry_idx, const ResTable_config& config, argument
130 if (entry_idx >= dtohl(ptr->type_spec->entryCount)) {
146 if (entry_idx < entry_count) {
149 const uint32_t offset = dtohl(entry_offsets[entry_idx]);
165 *out_flags = dtohl(flags[entry_idx]);
396 for (size_t entry_idx = 0; entry_idx < entry_count; entry_idx++) {
399 const uint32_t offset = dtohl(entry_offsets[entry_idx]);
407 return make_resid(0x00, type_idx + type_id_offset_ + 1, entry_idx);
[all...]
H A DAssetManager2.cpp731 const uint32_t entry_idx = get_entry_id(attr_resid); local
742 const uint32_t initial_capacity = std::max(entry_idx, kInitialCapacity);
750 if (entry_idx + 1 > type->entry_count) {
752 type->entry_count = entry_idx + 1;
762 const uint32_t entry_idx = get_entry_id(attr_resid); local
778 Entry& entry = type->entries[entry_idx];
803 const uint32_t entry_idx = get_entry_id(resid); local
815 if (entry_idx >= type->entry_count) {
819 const Entry& entry = type->entries[entry_idx];
/frameworks/base/libs/androidfw/include/androidfw/
H A DLoadedArsc.h68 bool FindEntry(uint8_t type_idx, uint16_t entry_idx, const ResTable_config& config,

Completed in 634 milliseconds