Lines Matching refs:new_bag
819 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag() local
821 ResolvedBag::Entry* new_entry = new_bag->entries; in GetBag()
848 new_bag->type_spec_flags = entry.type_flags; in GetBag()
849 new_bag->entry_count = static_cast<uint32_t>(entry_count); in GetBag()
850 ResolvedBag* result = new_bag.get(); in GetBag()
851 cached_bags_[resid] = std::move(new_bag); in GetBag()
870 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag() local
872 ResolvedBag::Entry* new_entry = new_bag->entries; in GetBag()
953 const size_t actual_count = new_entry - new_bag->entries; in GetBag()
955 new_bag.reset(reinterpret_cast<ResolvedBag*>(realloc( in GetBag()
956 new_bag.release(), sizeof(ResolvedBag) + (actual_count * sizeof(ResolvedBag::Entry))))); in GetBag()
960 new_bag->type_spec_flags = entry.type_flags | parent_bag->type_spec_flags; in GetBag()
961 new_bag->entry_count = static_cast<uint32_t>(actual_count); in GetBag()
962 ResolvedBag* result = new_bag.get(); in GetBag()
963 cached_bags_[resid] = std::move(new_bag); in GetBag()