Home
last modified time | relevance | path

Searched refs:entry_idx (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/androidfw/
DLoadedArsc.cpp264 [](const ResTable_sparseTypeEntry& entry, uint16_t entry_idx) { in GetEntryOffset() argument
265 return dtohs(entry.idx) < entry_idx; in GetEntryOffset()
375 for (size_t entry_idx = 0; entry_idx < entry_count; entry_idx++) { in FindEntryByName() local
378 const uint32_t offset = dtohl(entry_offsets[entry_idx]); in FindEntryByName()
385 return make_resid(0x00, type_idx + type_id_offset_ + 1, entry_idx); in FindEntryByName()
DAssetManager2.cpp395 const uint16_t entry_idx = get_entry_id(resid); in FindEntry() local
434 uint16_t local_entry_idx = entry_idx; in FindEntry()
1160 const int entry_idx = get_entry_id(attr_resid); in ApplyStyle() local
1178 calloc(sizeof(ThemeType) + (entry_idx + 1) * sizeof(ThemeEntry), 1))); in ApplyStyle()
1179 type->entry_count = entry_idx + 1; in ApplyStyle()
1180 } else if (entry_idx >= type->entry_count) { in ApplyStyle()
1183 const int new_count = entry_idx + 1; in ApplyStyle()
1196 ThemeEntry& entry = last_type->entries[entry_idx]; in ApplyStyle()
1221 const int entry_idx = get_entry_id(resid); in GetAttribute() local
1222 if (entry_idx < type->entry_count) { in GetAttribute()
[all …]