Searched refs:default_alloc (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 472 static const VkAllocationCallbacks default_alloc = { variable 560 instance = vk_alloc2(&default_alloc, pAllocator, sizeof(*instance), 8, in anv_CreateInstance() 570 instance->alloc = default_alloc; in anv_CreateInstance() 594 vk_free2(&default_alloc, pAllocator, instance); in anv_CreateInstance()
|
/external/python/cpython3/Modules/ |
D | main.c | 2949 PyMemAllocatorEx default_alloc; in pymain_cmdline() local 2950 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &default_alloc); in pymain_cmdline() 2973 assert(memcmp(&cur_alloc, &default_alloc, sizeof(cur_alloc)) == 0); in pymain_cmdline()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 318 static const VkAllocationCallbacks default_alloc = { variable 418 instance = vk_zalloc2(&default_alloc, pAllocator, sizeof(*instance), 8, in radv_CreateInstance() 428 instance->alloc = default_alloc; in radv_CreateInstance() 435 vk_free2(&default_alloc, pAllocator, instance); in radv_CreateInstance()
|
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 1731 static void *default_alloc(void *_ud, void *ptr, size_t oldsize, size_t size) { in default_alloc() function 1812 upb_env_setallocfunc(e, default_alloc, ud); in upb_env_init() 1826 if (e->alloc == default_alloc) { in upb_env_uninit() 1949 upb_seededalloc_setfallbackalloc(a, default_alloc, ud); in upb_seededalloc_init() 1953 if (a->alloc == default_alloc && a->need_cleanup) { in upb_seededalloc_uninit()
|