/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | heap-visitor.h | 8 #include "src/heap/cppgc/heap-page.h" 9 #include "src/heap/cppgc/heap-space.h" 10 #include "src/heap/cppgc/raw-heap.h" 15 // Visitor for heap, which also implements the accept (traverse) interface. 16 // Implements preorder traversal of the heap. The order of traversal is defined. 22 void Traverse(RawHeap& heap) { in Traverse() argument 23 if (VisitHeapImpl(heap)) retur in Traverse() 67 VisitHeapImpl(RawHeap& heap) VisitHeapImpl() argument [all...] |
H A D | heap.h | 8 #include "include/cppgc/heap.h" 11 #include "src/heap/cppgc/garbage-collector.h" 12 #include "src/heap/cppgc/gc-invoker.h" 13 #include "src/heap/cppgc/heap-base.h" 14 #include "src/heap/cppgc/heap-growing.h" 23 static Heap* From(cppgc::Heap* heap) { return static_cast<Heap*>(heap); } in From() argument 24 static const Heap* From(const cppgc::Heap* heap) { in From() argument [all...] |
H A D | concurrent-marker.cc | 5 #include "src/heap/cppgc/concurrent-marker.h" 8 #include "src/heap/cppgc/heap-object-header.h" 9 #include "src/heap/cppgc/heap.h" 10 #include "src/heap/cppgc/liveness-broker.h" 11 #include "src/heap/cppgc/marking-state.h" 12 #include "src/heap/cppgc/marking-visitor.h" 13 #include "src/heap/cppgc/stats-collector.h" 76 concurrent_marker_.heap() in Run() 190 ConcurrentMarkerBase( HeapBase& heap, MarkingWorklists& marking_worklists, IncrementalMarkingSchedule& incremental_marking_schedule, cppgc::Platform* platform) ConcurrentMarkerBase() argument [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | remembered-set-inl.h | 9 #include "src/heap/remembered-set.h" 15 SlotCallbackResult UpdateTypedSlotHelper::UpdateTypedSlot(Heap* heap, in UpdateTypedSlot() argument 29 return UpdateEmbeddedPointer(heap, &rinfo, callback); in UpdateTypedSlot() 33 return UpdateEmbeddedPointer(heap, &rinfo, callback); in UpdateTypedSlot() 37 return UpdateEmbeddedPointer(heap, &rinfo, callback); in UpdateTypedSlot() 41 DecompressTaggedAny(heap->isolate(), base::Memory<Tagged_t>(addr)))); in UpdateTypedSlot()
|
H A D | large-spaces.h | 16 #include "src/heap/heap.h" 17 #include "src/heap/memory-chunk.h" 18 #include "src/heap/spaces.h" 19 #include "src/objects/heap-object.h" 34 LargePage(Heap* heap, BaseSpace* space, size_t chunk_size, Address area_start, 57 static LargePage* Initialize(Heap* heap, MemoryChunk* chunk, 93 // Checks whether a heap object is in this space; O(1). 118 std::unique_ptr<ObjectIterator> GetObjectIterator(Heap* heap) override; 145 LargeObjectSpace(Heap* heap, AllocationSpac [all...] |
H A D | spaces.h | 14 #include "src/heap/allocation-observer.h" 15 #include "src/heap/base-space.h" 16 #include "src/heap/base/active-system-pages.h" 17 #include "src/heap/basic-memory-chunk.h" 18 #include "src/heap/free-list.h" 19 #include "src/heap/heap.h" 20 #include "src/heap/linear-allocation-area.h" 21 #include "src/heap/list.h" 22 #include "src/heap/memor 33 namespace heap { global() namespace 115 Space(Heap* heap, AllocationSpace id, FreeList* free_list) Space() argument 465 SpaceWithLinearArea(Heap* heap, AllocationSpace id, FreeList* free_list, LinearAllocationArea* allocation_info) SpaceWithLinearArea() argument 576 MemoryChunkIterator(Heap* heap) MemoryChunkIterator() argument [all...] |
H A D | remembered-set.h | 14 #include "src/heap/base/worklist.h" 15 #include "src/heap/heap.h" 16 #include "src/heap/memory-chunk.h" 17 #include "src/heap/paged-spaces.h" 18 #include "src/heap/slot-set.h" 19 #include "src/heap/spaces.h" 139 static void Iterate(Heap* heap, RememberedSetIterationMode mode, in Iterate() argument 141 IterateMemoryChunks(heap, [mode, callback](MemoryChunk* chunk) { in Iterate() 151 static void IterateMemoryChunks(Heap* heap, Callbac argument 252 IterateTyped(Heap* heap, RememberedSetIterationMode mode, Callback callback) IterateTyped() argument 277 ClearAll(Heap* heap) ClearAll() argument 337 UpdateEmbeddedPointer(Heap* heap, RelocInfo* rinfo, Callback callback) UpdateEmbeddedPointer() argument [all...] |
H A D | scavenger.h | 9 #include "src/heap/base/worklist.h" 10 #include "src/heap/evacuation-allocator.h" 11 #include "src/heap/index-generator.h" 12 #include "src/heap/objects-visiting.h" 13 #include "src/heap/parallel-work-item.h" 14 #include "src/heap/slot-set.h" 35 ::heap::base::Worklist<EphemeronHashTable, kEphemeronTableListSegmentSize>; 53 ::heap::base::Worklist<ObjectAndSize, 56 ::heap::base::Worklist<PromotionListEntry, 87 ::heap 120 inline Heap* heap() { return heap_; } heap() function in v8::internal::Scavenger [all...] |
H A D | evacuation-allocator.h | 9 #include "src/heap/heap.h" 10 #include "src/heap/new-spaces.h" 11 #include "src/heap/paged-spaces.h" 12 #include "src/heap/spaces.h" 24 explicit EvacuationAllocator(Heap* heap, in EvacuationAllocator() argument 26 : heap_(heap), in EvacuationAllocator() 27 new_space_(heap->new_space()), in EvacuationAllocator() 28 compaction_spaces_(heap, compaction_space_kind), in EvacuationAllocator()
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_bufmgr_mm.c | 59 struct mem_block *heap; member 204 mm_buf->block = u_mmAllocMem(mm->heap, (int)size, (int)mm->align2, 0); in mm_bufmgr_create_buffer() 207 debug_printf("warning: heap full\n"); in mm_bufmgr_create_buffer() 208 mmDumpMemInfo(mm->heap); in mm_bufmgr_create_buffer() 238 u_mmDestroy(mm->heap); in mm_bufmgr_destroy() 279 mm->heap = u_mmInit(0, (int)size); in mm_bufmgr_create_from_buffer() 280 if (!mm->heap) in mm_bufmgr_create_from_buffer() 286 if(mm->heap) in mm_bufmgr_create_from_buffer() 287 u_mmDestroy(mm->heap); in mm_bufmgr_create_from_buffer()
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DCpuDescriptorManager.cpp | 124 std::unique_ptr<GrD3DDescriptorHeap> heap = in Make() local 126 if (!heap) { in Make() 130 return std::unique_ptr<Heap>(new Heap(heap, numDescriptors)); in Make() 153 std::unique_ptr<GrD3DCpuDescriptorManager::Heap> heap = in HeapPool() local 155 fDescriptorHeaps.push_back(std::move(heap)); in HeapPool() 168 std::unique_ptr<GrD3DCpuDescriptorManager::Heap> heap = in allocateHandle() local 170 // TODO: handle failed heap creation and/or memory restrictions better in allocateHandle() 172 SkASSERT(heap); in allocateHandle() 174 fDescriptorHeaps.push_back(std::move(heap)); in allocateHandle()
|
H A D | GrD3DDescriptorTableManager.h | 21 ID3D12DescriptorHeap* heap, D3D12_DESCRIPTOR_HEAP_TYPE type) in GrD3DDescriptorTable() 24 , fHeap(heap) in GrD3DDescriptorTable() 35 ID3D12DescriptorHeap* heap() const { return fHeap; } in heap() function in GrD3DDescriptorTable 74 Heap(GrD3DGpu* gpu, std::unique_ptr<GrD3DDescriptorHeap>& heap, in Heap() argument 78 , fHeap(std::move(heap)) in Heap() 20 GrD3DDescriptorTable(D3D12_CPU_DESCRIPTOR_HANDLE baseCPU, D3D12_GPU_DESCRIPTOR_HANDLE baseGPU, ID3D12DescriptorHeap* heap, D3D12_DESCRIPTOR_HEAP_TYPE type) GrD3DDescriptorTable() argument
|
/third_party/node/deps/v8/src/heap/cppgc-js/ |
H A D | cpp-heap.cc | 5 #include "src/heap/cppgc-js/cpp-heap.h" 11 #include "include/cppgc/heap-consistency.h" 24 #include "src/heap/base/stack.h" 25 #include "src/heap/cppgc-js/cpp-marking-state.h" 26 #include "src/heap/cppgc-js/cpp-snapshot.h" 27 #include "src/heap/cppgc-js/unified-heap-marking-state.h" 28 #include "src/heap/cppgc-js/unified-heap 206 UnifiedHeapConcurrentMarker( cppgc::internal::HeapBase& heap, Heap* v8_heap, cppgc::internal::MarkingWorklists& marking_worklists, cppgc::internal::IncrementalMarkingSchedule& incremental_marking_schedule, cppgc::Platform* platform, UnifiedHeapMarkingState& unified_heap_marking_state) UnifiedHeapConcurrentMarker() argument 230 FatalOutOfMemoryHandlerImpl(const std::string& reason, const SourceLocation&, HeapBase* heap) FatalOutOfMemoryHandlerImpl() argument 275 UnifiedHeapMarker(Heap* v8_heap, cppgc::internal::HeapBase& heap, cppgc::Platform* platform, MarkingConfig config) UnifiedHeapMarker() argument 824 CollectCustomSpaceStatisticsAtLastGCTask( cppgc::internal::HeapBase& heap, std::vector<cppgc::CustomSpaceIndex> custom_spaces, std::unique_ptr<CustomSpaceStatisticsReceiver> receiver) CollectCustomSpaceStatisticsAtLastGCTask() argument [all...] |
H A D | unified-heap-marking-visitor.cc | 5 #include "src/heap/cppgc-js/unified-heap-marking-visitor.h" 7 #include "src/heap/cppgc-js/unified-heap-marking-state-inl.h" 8 #include "src/heap/cppgc/heap.h" 9 #include "src/heap/cppgc/marking-state.h" 10 #include "src/heap/cppgc/visitor.h" 11 #include "src/heap/heap 17 UnifiedHeapMarkingVisitorBase( HeapBase& heap, cppgc::internal::BasicMarkingState& marking_state, UnifiedHeapMarkingState& unified_heap_marking_state) UnifiedHeapMarkingVisitorBase() argument 62 MutatorUnifiedHeapMarkingVisitor( HeapBase& heap, MutatorMarkingState& marking_state, UnifiedHeapMarkingState& unified_heap_marking_state) MutatorUnifiedHeapMarkingVisitor() argument 83 ConcurrentUnifiedHeapMarkingVisitor( HeapBase& heap, Heap* v8_heap, cppgc::internal::ConcurrentMarkingState& marking_state) ConcurrentUnifiedHeapMarkingVisitor() argument [all...] |
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_bo.c | 199 struct radeon_vm_heap *heap, in radeon_bomgr_find_va() 210 mtx_lock(&heap->mutex); in radeon_bomgr_find_va() 212 LIST_FOR_EACH_ENTRY_SAFE(hole, n, &heap->holes, list) { in radeon_bomgr_find_va() 224 mtx_unlock(&heap->mutex); in radeon_bomgr_find_va() 236 mtx_unlock(&heap->mutex); in radeon_bomgr_find_va() 241 mtx_unlock(&heap->mutex); in radeon_bomgr_find_va() 246 offset = heap->start; in radeon_bomgr_find_va() 250 if (offset + waste + size > heap->end) { in radeon_bomgr_find_va() 251 mtx_unlock(&heap->mutex); in radeon_bomgr_find_va() 259 list_add(&n->list, &heap in radeon_bomgr_find_va() 198 radeon_bomgr_find_va(const struct radeon_info *info, struct radeon_vm_heap *heap, uint64_t size, uint64_t alignment) radeon_bomgr_find_va() argument 283 radeon_bomgr_free_va(const struct radeon_info *info, struct radeon_vm_heap *heap, uint64_t va, uint64_t size) radeon_bomgr_free_va() argument 618 radeon_create_bo(struct radeon_drm_winsys *rws, unsigned size, unsigned alignment, unsigned initial_domains, unsigned flags, int heap) radeon_create_bo() argument 769 radeon_bo_slab_alloc(void *priv, unsigned heap, unsigned entry_size, unsigned group_index) radeon_bo_slab_alloc() argument 1020 int heap = radeon_get_heap_index(domain, flags); radeon_winsys_bo_create() local [all...] |
/third_party/mesa3d/src/imagination/vulkan/winsys/ |
H A D | pvr_winsys_helper.h | 38 struct pvr_winsys_heap *const heap, 56 struct pvr_winsys_heap *const heap); 57 bool pvr_winsys_helper_winsys_heap_finish(struct pvr_winsys_heap *const heap); 59 bool pvr_winsys_helper_heap_alloc(struct pvr_winsys_heap *const heap,
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_video_types.h | 45 GetDesc(ID3D12VideoDecoderHeap *heap) in GetDesc() argument 47 return heap->GetDesc(); in GetDesc() 51 GetDesc(ID3D12VideoDecoderHeap *heap) 54 heap->GetDesc(&ret);
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_descriptor_set.c | 790 dzn_descriptor_heap_finish(struct dzn_descriptor_heap *heap) in dzn_descriptor_heap_finish() argument 792 if (heap->heap) in dzn_descriptor_heap_finish() 793 ID3D12DescriptorHeap_Release(heap->heap); in dzn_descriptor_heap_finish() 795 if (heap->dev) in dzn_descriptor_heap_finish() 796 ID3D12Device_Release(heap->dev); in dzn_descriptor_heap_finish() 800 dzn_descriptor_heap_init(struct dzn_descriptor_heap *heap, in dzn_descriptor_heap_init() argument 806 heap->desc_count = desc_count; in dzn_descriptor_heap_init() 807 heap in dzn_descriptor_heap_init() 839 dzn_descriptor_heap_get_cpu_handle(const struct dzn_descriptor_heap *heap, uint32_t desc_offset) dzn_descriptor_heap_get_cpu_handle() argument 847 dzn_descriptor_heap_get_gpu_handle(const struct dzn_descriptor_heap *heap, uint32_t desc_offset) dzn_descriptor_heap_get_gpu_handle() argument 855 dzn_descriptor_heap_write_sampler_desc(struct dzn_descriptor_heap *heap, uint32_t desc_offset, const struct dzn_sampler *sampler) dzn_descriptor_heap_write_sampler_desc() argument 864 dzn_descriptor_heap_write_image_view_desc(struct dzn_descriptor_heap *heap, uint32_t desc_offset, bool writeable, bool cube_as_2darray, const struct dzn_image_view *iview) dzn_descriptor_heap_write_image_view_desc() argument 906 dzn_descriptor_heap_write_buffer_view_desc(struct dzn_descriptor_heap *heap, uint32_t desc_offset, bool writeable, const struct dzn_buffer_view *bview) dzn_descriptor_heap_write_buffer_view_desc() argument 921 dzn_descriptor_heap_write_buffer_desc(struct dzn_descriptor_heap *heap, uint32_t desc_offset, bool writeable, const struct dzn_buffer_desc *info) dzn_descriptor_heap_write_buffer_desc() argument 1517 dzn_descriptor_heap_pool_alloc_slots(struct dzn_descriptor_heap_pool *pool, struct dzn_device *device, uint32_t desc_count, struct dzn_descriptor_heap **heap, uint32_t *first_slot) dzn_descriptor_heap_pool_alloc_slots() argument [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-callsite.cc | 7 #include "src/heap/heap-inl.h" // For ToBoolean. 142 return isolate->heap()->ToBoolean(frame->IsAsync()); in BUILTIN() 148 return isolate->heap()->ToBoolean(frame->IsConstructor()); in BUILTIN() 154 return isolate->heap()->ToBoolean(frame->IsEval()); in BUILTIN() 160 return isolate->heap()->ToBoolean(frame->IsNative()); in BUILTIN() 166 return isolate->heap()->ToBoolean(frame->IsPromiseAll()); in BUILTIN() 172 return isolate->heap()->ToBoolean(frame->IsToplevel()); in BUILTIN()
|
H A D | constants-table-builder.cc | 8 #include "src/heap/heap-inl.h" 16 : isolate_(isolate), map_(isolate->heap()) { in BuiltinsConstantsTableBuilder() 19 isolate_->heap()->builtins_constants_table()); in BuiltinsConstantsTableBuilder() 36 isolate_->heap()->builtins_constants_table()); in AddObject() 69 isolate->heap()->builtins_constants_table()); in CheckPreconditionsForPatching() 104 isolate_->heap()->builtins_constants_table()); in Finalize() 139 isolate_->heap()->SetBuiltinsConstantsTable(*table); in Finalize()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | formatted_string_builder.cpp | 49 uprv_free(fChars.heap.ptr); in ~FormattedStringBuilder() 50 uprv_free(fFields.heap.ptr); in ~FormattedStringBuilder() 66 uprv_free(fChars.heap.ptr); in operator =() 67 uprv_free(fFields.heap.ptr); in operator =() 86 fChars.heap.capacity = capacity; in operator =() 87 fChars.heap.ptr = newChars; in operator =() 88 fFields.heap.capacity = capacity; in operator =() 89 fFields.heap.ptr = newFields; in operator =() 143 // TODO: Reset the heap here? in clear() 335 fChars.heap in prepareForInsertHelper() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | formatted_string_builder.cpp | 49 uprv_free(fChars.heap.ptr); in ~FormattedStringBuilder() 50 uprv_free(fFields.heap.ptr); in ~FormattedStringBuilder() 66 uprv_free(fChars.heap.ptr); in operator =() 67 uprv_free(fFields.heap.ptr); in operator =() 86 fChars.heap.capacity = capacity; in operator =() 87 fChars.heap.ptr = newChars; in operator =() 88 fFields.heap.capacity = capacity; in operator =() 89 fFields.heap.ptr = newFields; in operator =() 143 // TODO: Reset the heap here? in clear() 335 fChars.heap in prepareForInsertHelper() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | formatted_string_builder.cpp | 48 uprv_free(fChars.heap.ptr); in ~FormattedStringBuilder() 49 uprv_free(fFields.heap.ptr); in ~FormattedStringBuilder() 65 uprv_free(fChars.heap.ptr); in operator =() 66 uprv_free(fFields.heap.ptr); in operator =() 85 fChars.heap.capacity = capacity; in operator =() 86 fChars.heap.ptr = newChars; in operator =() 87 fFields.heap.capacity = capacity; in operator =() 88 fFields.heap.ptr = newFields; in operator =() 142 // TODO: Reset the heap here? in clear() 314 fChars.heap in prepareForInsertHelper() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_heap.h | 26 /* This datastructure represents a memory allocation heap. Fundamentally, this 35 * The first node will remain with in_use == 0 even if the whole heap is 38 * free nodes, they are merged into one, and the relevant heap entries are 41 * The pattern to free the whole heap is to start with the first node and then 44 * full size of the heap. 59 nouveau_heap_init(struct nouveau_heap **heap, unsigned start, 63 nouveau_heap_destroy(struct nouveau_heap **heap); 66 nouveau_heap_alloc(struct nouveau_heap *heap, unsigned size, void *priv,
|
/third_party/node/deps/v8/src/init/ |
H A D | setup-isolate-full.cc | 10 #include "src/heap/heap-inl.h" 27 bool SetupIsolateDelegate::SetupHeap(Heap* heap) { in SetupHeap() argument 29 return SetupHeapInternal(heap); in SetupHeap() 31 CHECK(heap->isolate()->snapshot_available()); in SetupHeap()
|