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

/frameworks/base/libs/androidfw/
H A DLoadedArsc.cpp231 [](const ResTable_sparseTypeEntry& entry, uint16_t entry_idx) {
232 return dtohs(entry.idx) < entry_idx;
342 for (size_t entry_idx = 0; entry_idx < entry_count; entry_idx++) {
345 const uint32_t offset = dtohl(entry_offsets[entry_idx]);
352 return make_resid(0x00, type_idx + type_id_offset_ + 1, entry_idx);
H A DAssetManager2.cpp330 const uint16_t entry_idx = get_entry_id(resid); local
365 uint16_t local_entry_idx = entry_idx;
939 const int entry_idx = get_entry_id(attr_resid); local
954 // Allocate enough memory to contain this entry_idx. Since we're iterating in reverse over
957 calloc(sizeof(ThemeType) + (entry_idx + 1) * sizeof(ThemeEntry), 1)));
958 type->entry_count = entry_idx + 1;
959 } else if (entry_idx >= type->entry_count) {
960 // Reallocate the memory to contain this entry_idx. Since we're iterating in reverse over
962 const int new_count = entry_idx + 1;
975 ThemeEntry& entry = last_type->entries[entry_idx];
1000 const int entry_idx = get_entry_id(resid); local
[all...]

Completed in 36 milliseconds