/external/python/cpython3/Python/ |
pathconfig.c | 23 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 43 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 61 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 95 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 141 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 162 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 174 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 179 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 195 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 200 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc) [all...] |
pystate.c | 68 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 72 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 81 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 88 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 108 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 112 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 943 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 947 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); [all...] |
pylifecycle.c | 184 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 218 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 849 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 856 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 865 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 867 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); [all...] |
import.c | 295 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 300 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); [all...] |
sysmodule.c | [all...] |
/external/python/cpython3/Include/ |
pymem.h | 170 PYMEM_DOMAIN_RAW, 205 For the PYMEM_DOMAIN_RAW domain, the allocator must be thread-safe: the GIL
|
/external/python/cpython3/Objects/ |
obmalloc.c | 229 case PYMEM_DOMAIN_RAW: 273 (void)_PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, NULL); 278 (void)pymem_set_default_allocator(PYMEM_DOMAIN_RAW, 1, NULL); 285 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &malloc_alloc); 298 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &malloc_alloc); 417 if (domain == PYMEM_DOMAIN_RAW) { 422 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &_PyMem_Debug.raw.alloc); 428 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &alloc); 462 _PyMem_SetupDebugHooksDomain(PYMEM_DOMAIN_RAW); 472 case PYMEM_DOMAIN_RAW: *allocator = _PyMem_Raw; break [all...] |
/external/python/cpython3/Modules/ |
_tracemalloc.c | 968 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw); 1104 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw); 1105 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &alloc); 1139 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw); [all...] |
main.c | 574 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 589 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 614 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 618 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 655 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); 663 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); [all...] |
_testcapimodule.c | [all...] |