Searched refs:PyMem_RawCalloc (Results 1 - 8 of 8) sorted by relevance
/third_party/python/Include/cpython/ |
H A D | pymem.h | 6 PyAPI_FUNC(void *) PyMem_RawCalloc(size_t nelem, size_t elsize);
|
/third_party/python/Objects/ |
H A D | obmalloc.c | 107 /* PyMem_RawCalloc(0, 0) means calloc(1, 1). Some systems would return NULL in _PyMem_RawCalloc() 590 PyMem_RawCalloc(size_t nelem, size_t elsize) in PyMem_RawCalloc() function 1459 arena_map_mid_t *n = PyMem_RawCalloc(1, sizeof(arena_map_mid_t)); in arena_map_get() 1471 arena_map_bot_t *n = PyMem_RawCalloc(1, sizeof(arena_map_bot_t)); in arena_map_get() 2023 ptr = PyMem_RawCalloc(nelem, elsize); in _PyObject_Calloc()
|
/third_party/python/Python/ |
H A D | thread_pthread.h | 582 lock = (pthread_lock *) PyMem_RawCalloc(1, sizeof(pthread_lock)); in PyThread_allocate_lock()
|
H A D | pystate.c | 254 return PyMem_RawCalloc(1, sizeof(PyInterpreterState)); in alloc_interpreter() 268 e.g. by PyMem_RawCalloc() or memset(), or otherwise pre-initialized. 744 return PyMem_RawCalloc(1, sizeof(PyThreadState)); in alloc_threadstate() 758 e.g. by PyMem_RawCalloc() or memset(), or otherwise pre-initialized.
|
H A D | sysmodule.c | 2136 _Py_PreInitEntry node = PyMem_RawCalloc(1, sizeof(*node)); in _alloc_preinit_entry()
|
H A D | compile.c | 8218 int *sorted = PyMem_RawCalloc(nvars, sizeof(int)); in insert_prefix_instructions()
|
/third_party/python/Modules/ |
H A D | _winapi.c | 615 rdb = (_Py_PREPARSE_DATA_BUFFER)PyMem_RawCalloc(1, rdb_size); in _winapi_CreateJunction_impl()
|
H A D | _testcapimodule.c | 4098 ptr = PyMem_RawCalloc(0, 0); in test_pymem_alloc0() 4100 PyErr_SetString(PyExc_RuntimeError, "PyMem_RawCalloc(0, 0) returns NULL"); in test_pymem_alloc0() 4268 case PYMEM_DOMAIN_RAW: ptr = PyMem_RawCalloc(nelem, elsize); break; in test_setallocators()
|
Completed in 40 milliseconds