Lines Matching refs:allocators
34 } allocators; variable
254 return allocators.raw.malloc(allocators.raw.ctx, size); in raw_malloc()
260 allocators.raw.free(allocators.raw.ctx, ptr); in raw_free()
867 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw); in tracemalloc_init()
993 alloc.ctx = &allocators.raw; in tracemalloc_start()
994 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw); in tracemalloc_start()
1003 alloc.ctx = &allocators.mem; in tracemalloc_start()
1004 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &allocators.mem); in tracemalloc_start()
1007 alloc.ctx = &allocators.obj; in tracemalloc_start()
1008 PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &allocators.obj); in tracemalloc_start()
1029 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw); in tracemalloc_stop()
1031 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &allocators.mem); in tracemalloc_stop()
1032 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &allocators.obj); in tracemalloc_stop()