Searched refs:PyMem_RawMalloc (Results 1 – 25 of 30) sorted by relevance
12
153 wbuf = (wchar_t*)PyMem_RawMalloc(wbuflen * sizeof(wchar_t)); in _PyOS_WindowsConsoleReadline()172 buf = PyMem_RawMalloc(1); in _PyOS_WindowsConsoleReadline()182 buf = PyMem_RawMalloc(u8len + 1); in _PyOS_WindowsConsoleReadline()232 wbuf = PyMem_RawMalloc(wlen * sizeof(wchar_t)); in PyOS_StdioReadline()259 p = (char *)PyMem_RawMalloc(n); in PyOS_StdioReadline()
378 keyBuf = keyBufPtr = PyMem_RawMalloc(keyBufLen); in getpythonregpath()410 ppPaths = PyMem_RawMalloc( sizeof(WCHAR *) * numKeys ); in getpythonregpath()438 ppPaths[index] = PyMem_RawMalloc(reqdSize); in getpythonregpath()455 dataBuf = PyMem_RawMalloc((dataSize+1) * sizeof(WCHAR)); in getpythonregpath()553 config->program_full_path = PyMem_RawMalloc( in get_program_full_path()578 wchar_t *buf = (wchar_t*)PyMem_RawMalloc(bufsiz * sizeof(wchar_t)); in read_pth_file()608 wchar_t *wline = (wchar_t*)PyMem_RawMalloc((wn + 1) * sizeof(wchar_t)); in read_pth_file()826 buf = PyMem_RawMalloc(bufsz * sizeof(wchar_t)); in calculate_module_search_path()
36 argv_copy = PyMem_RawMalloc(sizeof(wchar_t*) * argc); in Py_FrozenMain()37 argv_copy2 = PyMem_RawMalloc(sizeof(wchar_t*) * argc); in Py_FrozenMain()
213 pythread_callback *callback = PyMem_RawMalloc(sizeof(pythread_callback)); in PyThread_start_new_thread()289 lock = (sem_t *)PyMem_RawMalloc(sizeof(sem_t)); in PyThread_allocate_lock()460 lock = (pthread_lock *) PyMem_RawMalloc(sizeof(pthread_lock)); in PyThread_allocate_lock()
214 result = PyMem_RawMalloc(len + 1); in encode_ascii()283 res = PyMem_RawMalloc(argsize * sizeof(wchar_t)); in decode_ascii()344 res = (wchar_t *)PyMem_RawMalloc((argsize + 1) * sizeof(wchar_t)); in decode_current_locale()378 res = (wchar_t*)PyMem_RawMalloc(argsize * sizeof(wchar_t)); in decode_current_locale()608 result = PyMem_RawMalloc(size); in encode_current_locale()
122 Py_tss_t *new_key = (Py_tss_t *)PyMem_RawMalloc(sizeof(Py_tss_t)); in PyThread_tss_alloc()
37 PNRMUTEX m = (PNRMUTEX)PyMem_RawMalloc(sizeof(NRMUTEX)); in AllocNonRecursiveMutex()
126 PyMem_RawMalloc(sizeof(PyInterpreterState)); in PyInterpreterState_New()358 PyThreadState *tstate = (PyThreadState *)PyMem_RawMalloc(sizeof(PyThreadState)); in new_threadstate()
1115 (verblock = PyMem_RawMalloc(verblock_size))) { in sys_getwindowsversion()
4331 str = PyMem_RawMalloc(len + 3); in fstring_compile_expr()4783 l->p = PyMem_RawMalloc(sizeof(expr_ty) * new_size); in ExprList_Append()
110 .. c:function:: void* PyMem_RawMalloc(size_t n)116 if ``PyMem_RawMalloc(1)`` had been called instead. The memory will not have138 If *p* is *NULL*, the call is equivalent to ``PyMem_RawMalloc(n)``; else if143 :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or153 previous call to :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or340 Configuration Name PyMem_RawMalloc PyMem_Malloc P…395 * :c:func:`PyMem_RawMalloc`482 with a fixed size of 256 KiB. It falls back to :c:func:`PyMem_RawMalloc` and
170 The result must be a string allocated by :c:func:`PyMem_RawMalloc` or174 The result must be allocated by :c:func:`PyMem_RawMalloc` or
15 PyAPI_FUNC(void *) PyMem_RawMalloc(size_t size);
510 PyMem_RawMalloc(size_t size) in PyMem_RawMalloc() function592 wchar_t *str2 = PyMem_RawMalloc(size); in _PyMem_RawWcsdup()606 char *copy = PyMem_RawMalloc(size); in _PyMem_RawStrdup()1579 ptr = PyMem_RawMalloc(nbytes); in _PyObject_Malloc()
1270 p = PyMem_RawMalloc(1); in call_readline()1300 p = PyMem_RawMalloc(n+2); in call_readline()
529 wchar_t** argv = (wchar_t **)PyMem_RawMalloc(size); in pymain_init_cmdline_argv()755 wchar_t *command = PyMem_RawMalloc(sizeof(wchar_t) * len); in pymain_parse_cmdline_impl()1251 wchar_t **list_copy = PyMem_RawMalloc(size); in copy_wstrlist()2241 wchar_t *path = PyMem_RawMalloc((path_len + 1) * sizeof(wchar_t)); in config_init_module_search_paths()
152 alloc.malloc = PyMem_RawMalloc; in _Py_hashtable_new_full()
284 return PyMem_RawMalloc((size_t)items * (size_t)size); in BZ2_Malloc()
28 # define PyMem_RawMalloc PyMem_Malloc macro277 pdata = PyMem_RawMalloc(sizeof(struct PostCallbackData)); in overlapped_RegisterWaitWithQueue()
835 wchar_t *buf = PyMem_RawMalloc(bufsz * sizeof(wchar_t)); in calculate_module_search_path()
124 return PyMem_RawMalloc((size_t)items * (size_t)size); in PyZlib_Malloc()
115 return PyMem_RawMalloc(items * size); in PyLzma_Malloc()
548 rdb = (_Py_PREPARSE_DATA_BUFFER)PyMem_RawMalloc(rdb_size); in _winapi_CreateJunction_impl()
3328 ptr = PyMem_RawMalloc(0); in test_pymem_alloc0()3444 case PYMEM_DOMAIN_RAW: ptr = PyMem_RawMalloc(size); break; in test_setallocators()
1534 new_path = PyMem_RawMalloc(result * sizeof(wchar_t)); in win32_wchdir()1612 buf = (wchar_t *)PyMem_RawMalloc((buf_size + 1) * sizeof(wchar_t)); in get_target_path()3281 wbuf2 = PyMem_RawMalloc(len * sizeof(wchar_t)); in posix_getcwd()