Lines Matching refs:allocators
30 } allocators; variable
297 return allocators.raw.malloc(allocators.raw.ctx, size); in raw_malloc()
303 allocators.raw.free(allocators.raw.ctx, ptr); in raw_free()
968 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw); in tracemalloc_init()
1103 alloc.ctx = &allocators.raw; in tracemalloc_start()
1104 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw); in tracemalloc_start()
1113 alloc.ctx = &allocators.mem; in tracemalloc_start()
1114 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &allocators.mem); in tracemalloc_start()
1117 alloc.ctx = &allocators.obj; in tracemalloc_start()
1118 PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &allocators.obj); in tracemalloc_start()
1139 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw); in tracemalloc_stop()
1141 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &allocators.mem); in tracemalloc_stop()
1142 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &allocators.obj); in tracemalloc_stop()