Home
last modified time | relevance | path

Searched refs:heap_index (Results 1 - 8 of 8) sorted by relevance

/third_party/unity/extras/memory/src/
H A Dunity_memory.c44 static size_t heap_index; variable
84 if (heap_index + total_size > UNITY_INTERNAL_HEAP_SIZE_BYTES) in unity_malloc()
91 guard = (Guard*)(void*)(&unity_heap[heap_index]); in unity_malloc()
92 heap_index += total_size; in unity_malloc()
128 if (mem == unity_heap + heap_index - block_size) in release_memory()
130 heap_index -= (sizeof(Guard) + block_size); in release_memory()
189 if ((oldMem == unity_heap + heap_index - old_total_size) && in unity_realloc()
190 ((heap_index - old_total_size + unity_size_round_up(size + sizeof(end))) <= UNITY_INTERNAL_HEAP_SIZE_BYTES)) in unity_realloc()
/third_party/cJSON/tests/unity/extras/fixture/src/
H A Dunity_fixture.c167 static size_t heap_index; variable
196 if (heap_index + total_size > UNITY_INTERNAL_HEAP_SIZE_BYTES) in unity_malloc()
202 guard = (Guard*)&unity_heap[heap_index]; in unity_malloc()
203 heap_index += total_size; in unity_malloc()
234 if (mem == unity_heap + heap_index - guard->size - sizeof(end)) in release_memory()
236 heap_index -= (guard->size + sizeof(Guard) + sizeof(end)); in release_memory()
291 if (oldMem == unity_heap + heap_index - guard->size - sizeof(end) && in unity_realloc()
292 heap_index + size - guard->size <= UNITY_INTERNAL_HEAP_SIZE_BYTES) in unity_realloc()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_resource.h53 unsigned heap_index; member
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
H A Dpvr_srv_bridge.h288 uint32_t heap_index; member
862 uint32_t heap_index,
H A Dpvr_srv_bridge.c341 uint32_t heap_index, in pvr_srv_get_heap_details()
351 .heap_index = heap_index, in pvr_srv_get_heap_details()
340 pvr_srv_get_heap_details(int fd, uint32_t heap_index, uint32_t buffer_size, char *const buffer_out, pvr_dev_addr_t *const base_address_out, uint64_t *const size_out, uint64_t *const reserved_size_out, uint32_t *const log2_page_size_out) pvr_srv_get_heap_details() argument
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_device.c5416 device->allocated_memory_size[mem->heap_index] -= mem->alloc_size; in radv_free_memory()
5569 uint32_t heap_index; in radv_alloc_memory() local
5571 heap_index = in radv_alloc_memory()
5593 device->physical_device->memory_properties.memoryHeaps[heap_index].size; in radv_alloc_memory()
5596 if (device->allocated_memory_size[heap_index] + alloc_size > total_size) { in radv_alloc_memory()
5601 device->allocated_memory_size[heap_index] += alloc_size; in radv_alloc_memory()
5612 device->allocated_memory_size[heap_index] -= alloc_size; in radv_alloc_memory()
5618 mem->heap_index = heap_index; in radv_alloc_memory()
H A Dradv_private.h953 uint32_t heap_index;
/third_party/node/deps/v8/src/wasm/
H A Dfunction-body-decoder-impl.h192 int64_t heap_index = decoder->read_i33v<validate>(pc, length, "heap type"); in read_heap_type() local
193 if (heap_index < 0) { in read_heap_type()
195 if (!VALIDATE(heap_index >= min_1_byte_leb128)) { in read_heap_type()
197 heap_index); in read_heap_type()
201 uint8_t code = static_cast<ValueTypeCode>(heap_index) & uint_7_mask; in read_heap_type()
221 heap_index); in read_heap_type()
231 uint32_t type_index = static_cast<uint32_t>(heap_index); in read_heap_type()

Completed in 29 milliseconds