Home
last modified time | relevance | path

Searched refs:allocation (Results 1 – 25 of 1071) sorted by relevance

12345678910>>...43

/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_memory_helper.c260 debug_dump_allocation_state(struct nine_allocation *allocation) in debug_dump_allocation_state() argument
262 switch(allocation->allocation_type) { in debug_dump_allocation_state()
265 debug_dump_memfd_state(allocation->memory.memfd.file, true); in debug_dump_allocation_state()
267 allocation->memory.memfd.region->offset, allocation->memory.memfd.region->size); in debug_dump_allocation_state()
271 allocation->memory.submemfd.relative_offset); in debug_dump_allocation_state()
273 debug_dump_memfd_state(allocation->memory.submemfd.parent->file, false); in debug_dump_allocation_state()
275 allocation->memory.submemfd.parent->region->offset, in debug_dump_allocation_state()
276 allocation->memory.submemfd.parent->region->size); in debug_dump_allocation_state()
299 debug_dump_allocation_state(struct nine_allocation *allocation) in debug_dump_allocation_state() argument
301 (void)allocation; in debug_dump_allocation_state()
[all …]
Dnine_memory_helper.h39 void nine_free(struct nine_allocator *allocator, struct nine_allocation *allocation);
40 void nine_free_worker(struct nine_allocator *allocator, struct nine_allocation *allocation);
42 void *nine_get_pointer(struct nine_allocator *allocator, struct nine_allocation *allocation);
45 void nine_pointer_weakrelease(struct nine_allocator *allocator, struct nine_allocation *allocation);
48 …d nine_pointer_strongrelease(struct nine_allocator *allocator, struct nine_allocation *allocation);
53 struct nine_allocation *allocation,
59 nine_suballocate(struct nine_allocator* allocator, struct nine_allocation *allocation, int offset);
/third_party/pcre2/pcre2/testdata/
Dtestoutput8-32-213 Memory allocation (code space): 48
24 Memory allocation (code space): 76
39 Memory allocation (code space): 72
54 Memory allocation (code space): 60
64 Memory allocation (code space): 20
76 Memory allocation (code space): 28
89 Memory allocation (code space): 28
98 Memory allocation (code space): 28
107 Memory allocation (code space): 40
117 Memory allocation (code space): 52
[all …]
Dtestoutput8-32-313 Memory allocation (code space): 48
24 Memory allocation (code space): 76
39 Memory allocation (code space): 72
54 Memory allocation (code space): 60
64 Memory allocation (code space): 20
76 Memory allocation (code space): 28
89 Memory allocation (code space): 28
98 Memory allocation (code space): 28
107 Memory allocation (code space): 40
117 Memory allocation (code space): 52
[all …]
Dtestoutput8-8-413 Memory allocation (code space): 25
24 Memory allocation (code space): 35
39 Memory allocation (code space): 33
54 Memory allocation (code space): 45
64 Memory allocation (code space): 11
76 Memory allocation (code space): 13
89 Memory allocation (code space): 13
98 Memory allocation (code space): 13
107 Memory allocation (code space): 17
117 Memory allocation (code space): 26
[all …]
Dtestoutput8-32-413 Memory allocation (code space): 48
24 Memory allocation (code space): 76
39 Memory allocation (code space): 72
54 Memory allocation (code space): 60
64 Memory allocation (code space): 20
76 Memory allocation (code space): 28
89 Memory allocation (code space): 28
98 Memory allocation (code space): 28
107 Memory allocation (code space): 40
117 Memory allocation (code space): 52
[all …]
Dtestoutput8-16-413 Memory allocation (code space): 32
24 Memory allocation (code space): 48
39 Memory allocation (code space): 46
54 Memory allocation (code space): 50
64 Memory allocation (code space): 14
76 Memory allocation (code space): 18
89 Memory allocation (code space): 18
98 Memory allocation (code space): 18
107 Memory allocation (code space): 24
117 Memory allocation (code space): 34
[all …]
Dtestoutput8-8-313 Memory allocation (code space): 21
24 Memory allocation (code space): 30
39 Memory allocation (code space): 28
54 Memory allocation (code space): 43
64 Memory allocation (code space): 9
76 Memory allocation (code space): 11
89 Memory allocation (code space): 11
98 Memory allocation (code space): 11
107 Memory allocation (code space): 15
117 Memory allocation (code space): 22
[all …]
Dtestoutput8-16-313 Memory allocation (code space): 32
24 Memory allocation (code space): 48
39 Memory allocation (code space): 46
54 Memory allocation (code space): 50
64 Memory allocation (code space): 14
76 Memory allocation (code space): 18
89 Memory allocation (code space): 18
98 Memory allocation (code space): 18
107 Memory allocation (code space): 24
117 Memory allocation (code space): 34
[all …]
Dtestoutput8-8-213 Memory allocation (code space): 17
24 Memory allocation (code space): 25
39 Memory allocation (code space): 23
54 Memory allocation (code space): 41
64 Memory allocation (code space): 7
76 Memory allocation (code space): 9
89 Memory allocation (code space): 9
98 Memory allocation (code space): 9
107 Memory allocation (code space): 13
117 Memory allocation (code space): 18
[all …]
Dtestoutput8-16-213 Memory allocation (code space): 24
24 Memory allocation (code space): 38
39 Memory allocation (code space): 36
54 Memory allocation (code space): 46
64 Memory allocation (code space): 10
76 Memory allocation (code space): 14
89 Memory allocation (code space): 14
98 Memory allocation (code space): 14
107 Memory allocation (code space): 20
117 Memory allocation (code space): 26
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
DPoolAlloc_unittest.cpp23 void *allocation = poolAllocator.allocate(numBytes); in TEST() local
25 EXPECT_NE(nullptr, allocation); in TEST()
27 uint32_t *writePtr = static_cast<uint32_t *>(allocation); in TEST()
31 allocation = poolAllocator.allocate(numBytes); in TEST()
32 EXPECT_NE(nullptr, allocation); in TEST()
34 allocation = poolAllocator.allocate(10 * 1024); in TEST()
43 allocation = poolAllocator.allocate(numBytes); in TEST()
44 EXPECT_NE(nullptr, allocation); in TEST()
47 memset(allocation, 0xb8, numBytes); in TEST()
67 void *allocation = poolAllocator.allocate((rand() % (1024 * 4)) + 1); in TEST_P() local
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
DPoolAlloc_unittest.cpp23 void *allocation = poolAllocator.allocate(numBytes); in TEST() local
25 EXPECT_NE(nullptr, allocation); in TEST()
27 uint32_t *writePtr = static_cast<uint32_t *>(allocation); in TEST()
31 allocation = poolAllocator.allocate(numBytes); in TEST()
32 EXPECT_NE(nullptr, allocation); in TEST()
34 allocation = poolAllocator.allocate(10 * 1024); in TEST()
43 allocation = poolAllocator.allocate(numBytes); in TEST()
44 EXPECT_NE(nullptr, allocation); in TEST()
47 memset(allocation, 0xb8, numBytes); in TEST()
68 void *allocation = poolAllocator.allocate(numBytes); in TEST_P() local
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DResourceAllocatorManagerD3D12.cpp223 for (ResourceHeapAllocation& allocation : in Tick()
225 if (allocation.GetInfo().mMethod == AllocationMethod::kSubAllocated) { in Tick()
226 FreeMemory(allocation); in Tick()
232 void ResourceAllocatorManager::DeallocateMemory(ResourceHeapAllocation& allocation) { in DeallocateMemory() argument
233 if (allocation.GetInfo().mMethod == AllocationMethod::kInvalid) { in DeallocateMemory()
237 mAllocationsToDelete.Enqueue(allocation, mDevice->GetPendingCommandSerial()); in DeallocateMemory()
242 if (allocation.GetInfo().mMethod == AllocationMethod::kDirect) { in DeallocateMemory()
243 delete allocation.GetResourceHeap(); in DeallocateMemory()
248 allocation.Invalidate(); in DeallocateMemory()
250 ASSERT(allocation.GetD3D12Resource() == nullptr); in DeallocateMemory()
[all …]
DStagingDescriptorAllocatorD3D12.cpp98 void StagingDescriptorAllocator::Deallocate(CPUDescriptorHeapAllocation* allocation) { in Deallocate() argument
99 ASSERT(allocation->IsValid()); in Deallocate()
101 const uint32_t heapIndex = allocation->GetHeapIndex(); in Deallocate()
117 const D3D12_CPU_DESCRIPTOR_HANDLE baseDescriptor = allocation->OffsetFrom(0, 0); in Deallocate()
124 allocation->Invalidate(); in Deallocate()
137 CPUDescriptorHeapAllocation allocation; in AllocateTransientCPUDescriptors() local
138 DAWN_TRY_ASSIGN(allocation, AllocateCPUDescriptors()); in AllocateTransientCPUDescriptors()
139 mAllocationsToDelete.Enqueue(allocation, mDevice->GetPendingCommandSerial()); in AllocateTransientCPUDescriptors()
140 return allocation; in AllocateTransientCPUDescriptors()
144 for (CPUDescriptorHeapAllocation& allocation : in Tick()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/examples/waylandsink/
Dmain.c102 GtkAllocation allocation; in bus_sync_handler() local
113 gtk_widget_get_allocation (d->video_widget, &allocation); in bus_sync_handler()
118 allocation.width, allocation.height); in bus_sync_handler()
121 gst_video_overlay_set_render_rectangle (d->overlay, allocation.x, in bus_sync_handler()
122 allocation.y, allocation.width, allocation.height); in bus_sync_handler()
140 GtkAllocation allocation; in video_widget_draw_cb() local
142 gtk_widget_get_allocation (widget, &allocation); in video_widget_draw_cb()
145 allocation.x, allocation.y, allocation.width, allocation.height); in video_widget_draw_cb()
148 gst_video_overlay_set_render_rectangle (d->overlay, allocation.x, in video_widget_draw_cb()
149 allocation.y, allocation.width, allocation.height); in video_widget_draw_cb()
/third_party/skia/third_party/externals/expat/expat/tests/
Dmemcheck.c45 void *allocation; member
64 entry->allocation = malloc(size); in tracking_malloc()
65 if (entry->allocation == NULL) { in tracking_malloc()
81 return entry->allocation; in tracking_malloc()
89 if (entry->allocation == ptr) { in find_allocation()
148 entry->allocation = realloc(ptr, size); in tracking_realloc()
149 if (entry->allocation == NULL) { in tracking_realloc()
165 entry->allocation = realloc(ptr, size); in tracking_realloc()
166 if (entry->allocation == NULL) { in tracking_realloc()
168 entry->allocation = ptr; in tracking_realloc()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dmemory.cpp185 auto allocation = malloc(allocSize); in alignedMalloc() local
187 reinterpret_cast<uintptr_t>(allocation), alignment)); // align in alignedMalloc()
188 memcpy(aligned + size, &allocation, sizeof(void*)); // pointer-to-allocation in alignedMalloc()
219 marl::Allocation allocation; in allocate() local
220 allocation.ptr = ptr; in allocate()
221 allocation.request = request; in allocate()
222 return allocation; in allocate()
225 virtual void free(const marl::Allocation& allocation) override { in free() argument
226 if (allocation.request.useGuards) { in free()
227 ::pagedFree(allocation.ptr, allocation.request.alignment, in free()
[all …]
/third_party/gstreamer/gstplugins_base/tests/examples/gl/gtk/switchvideooverlay/
Dmain.cpp37 GtkAllocation allocation; in create_window() local
53 gtk_widget_get_allocation (widget, &allocation); in create_window()
54 …(GST_VIDEO_OVERLAY (GST_MESSAGE_SRC (message)), allocation.x, allocation.y, allocation.width, allo… in create_window()
64 GtkAllocation allocation; in resize_cb() local
66 gtk_widget_get_allocation (widget, &allocation); in resize_cb()
67 …set_render_rectangle (GST_VIDEO_OVERLAY (sink), allocation.x, allocation.y, allocation.width, allo… in resize_cb()
113 GtkAllocation allocation; in on_click_drawing_area() local
119 gtk_widget_get_allocation (widget, &allocation); in on_click_drawing_area()
120 …ender_rectangle (GST_VIDEO_OVERLAY (videosink), allocation.x, allocation.y, allocation.width, allo… in on_click_drawing_area()
/third_party/skia/src/gpu/vk/
DGrVkAMDMemoryAllocator.cpp129 VmaAllocation allocation; in allocateImageMemory() local
130 VkResult result = vmaAllocateMemoryForImage(fAllocator, image, &info, &allocation, nullptr); in allocateImageMemory()
132 *backendMemory = (GrVkBackendMemory)allocation; in allocateImageMemory()
198 VmaAllocation allocation; in allocateBufferMemory() local
199 VkResult result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr); in allocateBufferMemory()
201 *backendMemory = (GrVkBackendMemory)allocation; in allocateBufferMemory()
209 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in freeMemory() local
210 vmaFreeMemory(fAllocator, allocation); in freeMemory()
215 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in getAllocInfo() local
217 vmaGetAllocationInfo(fAllocator, allocation, &vmaInfo); in getAllocInfo()
[all …]
/third_party/mesa3d/src/util/tests/vma/
Dvma_random_test.cpp53 struct allocation { struct
59 bool operator()(const allocation& lhs, const allocation& rhs) const in operator ()()
66 constexpr uint64_t allocation_end_page(const allocation& a) { in allocation_end_page()
76 : heap_holes{allocation{MEM_START_PAGE, MEM_PAGES}}, rand{seed} in random_test()
127 allocation a{addr_page, size_pages}; in alloc()
130 allocation hole = *i; in alloc()
137 heap_holes.emplace(allocation{hole.start_page, in alloc()
141 heap_holes.emplace(allocation{allocation_end_page(a), in alloc()
159 allocation a = allocations.back(); in dealloc()
169 allocation x {a.start_page, a.num_pages + next->num_pages}; in dealloc()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DClient.cpp88 auto* allocation = TextureAllocator().New(this); in ReserveTexture() local
91 result.texture = ToAPI(allocation->object.get()); in ReserveTexture()
92 result.id = allocation->object->id; in ReserveTexture()
93 result.generation = allocation->generation; in ReserveTexture()
100 auto* allocation = SwapChainAllocator().New(this); in ReserveSwapChain() local
103 result.swapchain = ToAPI(allocation->object.get()); in ReserveSwapChain()
104 result.id = allocation->object->id; in ReserveSwapChain()
105 result.generation = allocation->generation; in ReserveSwapChain()
112 auto* allocation = DeviceAllocator().New(this); in ReserveDevice() local
115 result.device = ToAPI(allocation->object.get()); in ReserveDevice()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DResourceMemoryAllocatorVk.cpp69 void DeallocateMemory(const ResourceMemoryAllocation& allocation) { in DeallocateMemory() argument
70 mBuddySystem.Deallocate(allocation); in DeallocateMemory()
99 void DeallocateResourceHeap(std::unique_ptr<ResourceHeapBase> allocation) override { in DeallocateResourceHeap() argument
100 mDevice->GetFencedDeleter()->DeleteWhenUnused(ToBackend(allocation.get())->GetMemory()); in DeallocateResourceHeap()
183 void ResourceMemoryAllocator::Deallocate(ResourceMemoryAllocation* allocation) { in Deallocate() argument
184 switch (allocation->GetInfo().mMethod) { in Deallocate()
193 ResourceHeap* heap = ToBackend(allocation->GetResourceHeap()); in Deallocate()
194 allocation->Invalidate(); in Deallocate()
205 mSubAllocationsToDelete.Enqueue(*allocation, mDevice->GetPendingCommandSerial()); in Deallocate()
215 allocation->Invalidate(); in Deallocate()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DMemoryAllocator.cpp46 DeviceMemoryAllocation* allocation) { in Allocate() argument
122 allocation->mMemory = allocatedMemory; in Allocate()
123 allocation->mOffset = 0; in Allocate()
124 allocation->mMappedPointer = static_cast<uint8_t*>(mappedPointer); in Allocate()
129 void MemoryAllocator::Free(DeviceMemoryAllocation* allocation) { in Free() argument
130 mDevice->GetFencedDeleter()->DeleteWhenUnused(allocation->mMemory); in Free()
131 allocation->mMemory = VK_NULL_HANDLE; in Free()
132 allocation->mOffset = 0; in Free()
133 allocation->mMappedPointer = nullptr; in Free()
/third_party/flutter/skia/src/gpu/vk/
DGrVkAMDMemoryAllocator.cpp92 VmaAllocation allocation; in allocateMemoryForImage() local
93 VkResult result = vmaAllocateMemoryForImage(fAllocator, image, &info, &allocation, nullptr); in allocateMemoryForImage()
97 *backendMemory = (GrVkBackendMemory)allocation; in allocateMemoryForImage()
149 VmaAllocation allocation; in allocateMemoryForBuffer() local
150 VkResult result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr); in allocateMemoryForBuffer()
155 result = vmaAllocateMemoryForBuffer(fAllocator, buffer, &info, &allocation, nullptr); in allocateMemoryForBuffer()
162 *backendMemory = (GrVkBackendMemory)allocation; in allocateMemoryForBuffer()
168 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in freeMemory() local
169 vmaFreeMemory(fAllocator, allocation); in freeMemory()
174 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in getAllocInfo() local
[all …]

12345678910>>...43