Lines Matching refs:new_bag

1242     util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>(  in GetBag()  local
1246 for (auto new_entry = new_bag->entries; map_entry != map_entry_end; ++map_entry) { in GetBag()
1277 (new_entry != new_bag->entries && (new_entry->key < (new_entry - 1U)->key)); in GetBag()
1282 std::sort(new_bag->entries, new_bag->entries + entry_count, in GetBag()
1286 new_bag->type_spec_flags = entry->type_flags; in GetBag()
1287 new_bag->entry_count = static_cast<uint32_t>(entry_count); in GetBag()
1288 ResolvedBag* result = new_bag.get(); in GetBag()
1289 cached_bags_[resid] = std::move(new_bag); in GetBag()
1308 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag() local
1310 ResolvedBag::Entry* new_entry = new_bag->entries; in GetBag()
1354 (new_entry != new_bag->entries && (new_entry->key < (new_entry - 1U)->key)); in GetBag()
1390 (new_entry != new_bag->entries && (new_entry->key < (new_entry - 1U)->key)); in GetBag()
1404 const size_t actual_count = new_entry - new_bag->entries; in GetBag()
1406 new_bag.reset(reinterpret_cast<ResolvedBag*>(realloc( in GetBag()
1407 new_bag.release(), sizeof(ResolvedBag) + (actual_count * sizeof(ResolvedBag::Entry))))); in GetBag()
1411 std::sort(new_bag->entries, new_bag->entries + actual_count, in GetBag()
1416 new_bag->type_spec_flags = entry->type_flags | (*parent_bag)->type_spec_flags; in GetBag()
1417 new_bag->entry_count = static_cast<uint32_t>(actual_count); in GetBag()
1418 ResolvedBag* result = new_bag.get(); in GetBag()
1419 cached_bags_[resid] = std::move(new_bag); in GetBag()