Searched refs:entry_idx (Results 1 – 2 of 2) sorted by relevance
264 [](const ResTable_sparseTypeEntry& entry, uint16_t entry_idx) { in GetEntryOffset() argument265 return dtohs(entry.idx) < entry_idx; in GetEntryOffset()375 for (size_t entry_idx = 0; entry_idx < entry_count; entry_idx++) { in FindEntryByName() local378 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()
395 const uint16_t entry_idx = get_entry_id(resid); in FindEntry() local434 uint16_t local_entry_idx = entry_idx; in FindEntry()1160 const int entry_idx = get_entry_id(attr_resid); in ApplyStyle() local1178 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() local1222 if (entry_idx < type->entry_count) { in GetAttribute()[all …]