Searched refs:PyMem_RawMalloc (Results 1 – 25 of 29) sorted by relevance
12
156 wbuf = (wchar_t*)PyMem_RawMalloc(wbuflen * sizeof(wchar_t)); in _PyOS_WindowsConsoleReadline()165 buf = PyMem_RawMalloc(1); in _PyOS_WindowsConsoleReadline()172 buf = PyMem_RawMalloc(u8len + 1); in _PyOS_WindowsConsoleReadline()222 (wbuf = PyMem_RawMalloc(wlen * sizeof(wchar_t)))) { in PyOS_StdioReadline()245 p = (char *)PyMem_RawMalloc(n); in PyOS_StdioReadline()
317 keyBuf = keyBufPtr = PyMem_RawMalloc(keyBufLen); in getpythonregpath()341 ppPaths = PyMem_RawMalloc( sizeof(WCHAR *) * numKeys ); in getpythonregpath()363 ppPaths[index] = PyMem_RawMalloc(reqdSize); in getpythonregpath()378 dataBuf = PyMem_RawMalloc((dataSize+1) * sizeof(WCHAR)); in getpythonregpath()555 wchar_t *buf = (wchar_t*)PyMem_RawMalloc(bufsiz * sizeof(wchar_t)); in read_pth_file()580 wchar_t *wline = (wchar_t*)PyMem_RawMalloc((wn + 1) * sizeof(wchar_t)); in read_pth_file()761 module_search_path = buf = PyMem_RawMalloc(bufsz*sizeof(wchar_t)); in calculate_path()893 module_search_path = PyMem_RawMalloc((wcslen(path) + 1) * sizeof(wchar_t)); in Py_SetPath()
30 argv_copy = (wchar_t **)PyMem_RawMalloc(sizeof(wchar_t*) * (argc+1)); in main()31 argv_copy2 = (wchar_t **)PyMem_RawMalloc(sizeof(wchar_t*) * (argc+1)); in main()
28 argv_copy = PyMem_RawMalloc(sizeof(wchar_t*) * argc); in Py_FrozenMain()29 argv_copy2 = PyMem_RawMalloc(sizeof(wchar_t*) * argc); in Py_FrozenMain()
285 lock = (sem_t *)PyMem_RawMalloc(sizeof(sem_t)); in PyThread_allocate_lock()413 lock = (pthread_lock *) PyMem_RawMalloc(sizeof(pthread_lock)); in PyThread_allocate_lock()
235 res = PyMem_RawMalloc(argsize*sizeof(wchar_t)); in decode_ascii_surrogateescape()324 res = (wchar_t *)PyMem_RawMalloc(argsize*sizeof(wchar_t)); in Py_DecodeLocale()352 res = (wchar_t*)PyMem_RawMalloc(argsize*sizeof(wchar_t)); in Py_DecodeLocale()
73 PyMem_RawMalloc(sizeof(PyInterpreterState)); in PyInterpreterState_New()183 PyThreadState *tstate = (PyThreadState *)PyMem_RawMalloc(sizeof(PyThreadState)); in new_threadstate()
237 p = (struct key *)PyMem_RawMalloc(sizeof(struct key)); in find_key()
37 PNRMUTEX m = (PNRMUTEX)PyMem_RawMalloc(sizeof(NRMUTEX)); in AllocNonRecursiveMutex()
976 (verblock = PyMem_RawMalloc(verblock_size))) { in sys_getwindowsversion()
411 command = (wchar_t *)PyMem_RawMalloc(sizeof(wchar_t) * len); in Py_Main()555 buf = (wchar_t *)PyMem_RawMalloc((wcslen(wp) + 1) * sizeof(wchar_t)); in Py_Main()574 buf = (char *)PyMem_RawMalloc(strlen(p) + 1); in Py_Main()662 buffer = PyMem_RawMalloc(len * sizeof(wchar_t)); in Py_Main()
1338 p = PyMem_RawMalloc(1); in call_readline()1366 p = PyMem_RawMalloc(n+2); in call_readline()
28 # define PyMem_RawMalloc PyMem_Malloc macro274 pdata = PyMem_RawMalloc(sizeof(struct PostCallbackData)); in overlapped_RegisterWaitWithQueue()
152 alloc.malloc = PyMem_RawMalloc; in _Py_hashtable_new_full()
295 return PyMem_RawMalloc(items * size); in BZ2_Malloc()
838 module_search_path = PyMem_RawMalloc((wcslen(path) + 1) * sizeof(wchar_t)); in Py_SetPath()
133 return PyMem_RawMalloc(items * size); in PyZlib_Malloc()
550 rdb = (_Py_PREPARSE_DATA_BUFFER)PyMem_RawMalloc(rdb_size); in _winapi_CreateJunction_impl()
126 return PyMem_RawMalloc(items * size); in PyLzma_Malloc()
3208 ptr = PyMem_RawMalloc(0); in test_pymem_alloc0()3317 case PYMEM_DOMAIN_RAW: ptr = PyMem_RawMalloc(size); break; in test_setallocators()
1429 new_path = PyMem_RawMalloc(result * sizeof(wchar_t)); in win32_wchdir()1507 buf = (wchar_t *)PyMem_RawMalloc((buf_size + 1) * sizeof(wchar_t)); in get_target_path()3207 wbuf2 = PyMem_RawMalloc(len * sizeof(wchar_t)); in posix_getcwd()
109 .. c:function:: void* PyMem_RawMalloc(size_t n)115 if ``PyMem_RawMalloc(1)`` had been called instead. The memory will not have137 If *p* is *NULL*, the call is equivalent to ``PyMem_RawMalloc(n)``; else if142 :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or152 previous call to :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or304 * :c:func:`PyMem_RawMalloc`390 with a fixed size of 256 KB. It falls back to :c:func:`PyMem_RawMalloc` and
169 The result must be a string allocated by :c:func:`PyMem_RawMalloc` or173 The result must be allocated by :c:func:`PyMem_RawMalloc` or
15 PyAPI_FUNC(void *) PyMem_RawMalloc(size_t size);
376 PyMem_RawMalloc(size_t size) in PyMem_RawMalloc() function452 copy = PyMem_RawMalloc(size); in _PyMem_RawStrdup()1427 result = PyMem_RawMalloc(nbytes); in _PyObject_Alloc()