Lines Matching refs:new_bag
1093 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag() local
1097 for (auto new_entry = new_bag->entries; map_entry != map_entry_end; ++map_entry) { in GetBag()
1128 (new_entry != new_bag->entries && (new_entry->key < (new_entry - 1U)->key)); in GetBag()
1133 std::sort(new_bag->entries, new_bag->entries + entry_count, in GetBag()
1137 new_bag->type_spec_flags = entry->type_flags; in GetBag()
1138 new_bag->entry_count = static_cast<uint32_t>(entry_count); in GetBag()
1139 ResolvedBag* result = new_bag.get(); in GetBag()
1140 cached_bags_[resid] = std::move(new_bag); in GetBag()
1159 util::unique_cptr<ResolvedBag> new_bag{reinterpret_cast<ResolvedBag*>( in GetBag() local
1161 ResolvedBag::Entry* new_entry = new_bag->entries; in GetBag()
1205 (new_entry != new_bag->entries && (new_entry->key < (new_entry - 1U)->key)); in GetBag()
1241 (new_entry != new_bag->entries && (new_entry->key < (new_entry - 1U)->key)); in GetBag()
1255 const size_t actual_count = new_entry - new_bag->entries; in GetBag()
1257 new_bag.reset(reinterpret_cast<ResolvedBag*>(realloc( in GetBag()
1258 new_bag.release(), sizeof(ResolvedBag) + (actual_count * sizeof(ResolvedBag::Entry))))); in GetBag()
1262 std::sort(new_bag->entries, new_bag->entries + actual_count, in GetBag()
1267 new_bag->type_spec_flags = entry->type_flags | (*parent_bag)->type_spec_flags; in GetBag()
1268 new_bag->entry_count = static_cast<uint32_t>(actual_count); in GetBag()
1269 ResolvedBag* result = new_bag.get(); in GetBag()
1270 cached_bags_[resid] = std::move(new_bag); in GetBag()