Lines Matching refs:ResolvedBag
456 const ResolvedBag* AssetManager2::GetBag(uint32_t resid) {
492 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>(
493 malloc(sizeof(ResolvedBag) + (entry_count * sizeof(ResolvedBag::Entry))))};
494 ResolvedBag::Entry* new_entry = new_bag->entries;
514 ResolvedBag* result = new_bag.get();
523 const ResolvedBag* parent_bag = GetBag(parent_resid);
536 ResolvedBag* new_bag = reinterpret_cast<ResolvedBag*>(
537 malloc(sizeof(ResolvedBag) + (max_count * sizeof(ResolvedBag::Entry))));
538 ResolvedBag::Entry* new_entry = new_bag->entries;
540 const ResolvedBag::Entry* parent_entry = parent_bag->entries;
541 const ResolvedBag::Entry* const parent_entry_end = parent_entry + parent_bag->entry_count;
604 new_bag = reinterpret_cast<ResolvedBag*>(
605 realloc(new_bag, sizeof(ResolvedBag) + (actual_count * sizeof(ResolvedBag::Entry))));
608 util::unique_cptr<ResolvedBag> final_bag{new_bag};
611 ResolvedBag* result = final_bag.get();
707 const ResolvedBag* bag = asset_manager_->GetBag(resid);