Lines Matching refs:new_bag
1032 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag() local
1036 ResolvedBag::Entry* new_entry = new_bag->entries; in GetBag()
1062 (new_entry != new_bag->entries && (new_entry->key < (new_entry - 1U)->key)); in GetBag()
1067 std::sort(new_bag->entries, new_bag->entries + entry_count, compare_bag_entries); in GetBag()
1070 new_bag->type_spec_flags = entry.type_flags; in GetBag()
1071 new_bag->entry_count = static_cast<uint32_t>(entry_count); in GetBag()
1072 ResolvedBag* result = new_bag.get(); in GetBag()
1073 cached_bags_[resid] = std::move(new_bag); in GetBag()
1092 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag() local
1094 ResolvedBag::Entry* new_entry = new_bag->entries; in GetBag()
1134 (new_entry != new_bag->entries && (new_entry->key < (new_entry - 1U)->key)); in GetBag()
1166 (new_entry != new_bag->entries && (new_entry->key < (new_entry - 1U)->key)); in GetBag()
1180 const size_t actual_count = new_entry - new_bag->entries; in GetBag()
1182 new_bag.reset(reinterpret_cast<ResolvedBag*>(realloc( in GetBag()
1183 new_bag.release(), sizeof(ResolvedBag) + (actual_count * sizeof(ResolvedBag::Entry))))); in GetBag()
1187 std::sort(new_bag->entries, new_bag->entries + actual_count, compare_bag_entries); in GetBag()
1191 new_bag->type_spec_flags = entry.type_flags | parent_bag->type_spec_flags; in GetBag()
1192 new_bag->entry_count = static_cast<uint32_t>(actual_count); in GetBag()
1193 ResolvedBag* result = new_bag.get(); in GetBag()
1194 cached_bags_[resid] = std::move(new_bag); in GetBag()