Home
last modified time | relevance | path

Searched refs:new_region (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/v8/src/wasm/
Dwasm-code-manager.cc59 base::AddressRegion new_region) { in Merge() argument
64 auto above = regions_.lower_bound(new_region); in Merge()
65 DCHECK(above == regions_.end() || above->begin() >= new_region.end()); in Merge()
68 if (above != regions_.end() && new_region.end() == above->begin()) { in Merge()
69 base::AddressRegion merged_region{new_region.begin(), in Merge()
70 new_region.size() + above->size()}; in Merge()
76 if (below->end() == new_region.begin()) { in Merge()
88 regions_.insert(above, new_region); in Merge()
89 return new_region; in Merge()
98 if (below->end() == new_region.begin()) { in Merge()
[all …]
/third_party/node/deps/v8/src/base/
Dregion-allocator.cc97 Region* new_region = in Split() local
105 all_regions_.insert(new_region); in Split()
109 FreeListAddRegion(new_region); in Split()
111 return new_region; in Split()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_memory_helper.c427 struct nine_memfd_file_region *region, *best_region, *new_region; in insert_new_allocation() local
463new_region = allocate_region(allocator, best_region->offset + best_region->size, min_blocksize); in insert_new_allocation()
464 new_region->zero_filled = best_region->zero_filled; in insert_new_allocation()
465 move_region_ordered_merge(allocator, &best_memfd_file->free_regions, new_region); in insert_new_allocation()