Lines Matching refs:entry_count
818 const size_t entry_count = map_entry_end - map_entry; in GetBag() local
820 malloc(sizeof(ResolvedBag) + (entry_count * sizeof(ResolvedBag::Entry))))}; in GetBag()
849 new_bag->entry_count = static_cast<uint32_t>(entry_count); in GetBag()
869 const size_t max_count = parent_bag->entry_count + dtohl(map->count); in GetBag()
875 const ResolvedBag::Entry* const parent_entry_end = parent_entry + parent_bag->entry_count; in GetBag()
961 new_bag->entry_count = static_cast<uint32_t>(actual_count); in GetBag()
1111 int entry_count; member
1179 type->entry_count = entry_idx + 1; in ApplyStyle()
1180 } else if (entry_idx >= type->entry_count) { in ApplyStyle()
1188 memset(type->entries + type->entry_count, 0, in ApplyStyle()
1189 (new_count - type->entry_count) * sizeof(ThemeEntry)); in ApplyStyle()
1190 type->entry_count = new_count; in ApplyStyle()
1222 if (entry_idx < type->entry_count) { in GetAttribute()
1309 const size_t type_alloc_size = sizeof(ThemeType) + (type->entry_count * sizeof(ThemeEntry)); in SetTo()
1380 for (size_t e = 0; e < type->entry_count; e++) { in SetTo()
1459 if (dest_type == nullptr || dest_type->entry_count < type->entry_count) { in SetTo()
1461 + (type->entry_count * sizeof(ThemeEntry)); in SetTo()
1463 memset(dest_data, 0, type->entry_count * sizeof(ThemeEntry)); in SetTo()
1468 + (dest_type->entry_count * sizeof(ThemeEntry))); in SetTo()
1472 dest_type->entry_count = type->entry_count; in SetTo()
1501 for (int e = 0; e < type->entry_count; e++) { in Dump()