Searched refs:PyMem_RawMalloc (Results 1 – 25 of 34) sorted by relevance
12
168 wbuf = (wchar_t*)PyMem_RawMalloc(wbuflen * sizeof(wchar_t)); in _PyOS_WindowsConsoleReadline()192 buf = PyMem_RawMalloc(1); in _PyOS_WindowsConsoleReadline()208 buf = PyMem_RawMalloc(u8len + 1); in _PyOS_WindowsConsoleReadline()264 wbuf = PyMem_RawMalloc(wlen * sizeof(wchar_t)); in PyOS_StdioReadline()
360 keyBuf = keyBufPtr = PyMem_RawMalloc(keyBufLen); in getpythonregpath()419 ppPaths[index] = PyMem_RawMalloc(reqdSize); in getpythonregpath()436 dataBuf = PyMem_RawMalloc((dataSize+1) * sizeof(WCHAR)); in getpythonregpath()510 pathconfig->base_executable = PyMem_RawMalloc( in get_program_full_path()530 pathconfig->program_full_path = PyMem_RawMalloc( in get_program_full_path()568 buf = (wchar_t*)PyMem_RawMalloc(bufsiz * sizeof(wchar_t)); in read_pth_file()602 wchar_t *wline = (wchar_t*)PyMem_RawMalloc((wn + 1) * sizeof(wchar_t)); in read_pth_file()834 buf = PyMem_RawMalloc(bufsz * sizeof(wchar_t)); in calculate_module_search_path()
88 return PyMem_RawMalloc(cb); in FNFCIALLOC()
34 argv_copy = PyMem_RawMalloc(sizeof(wchar_t*) * argc); in Py_FrozenMain()35 argv_copy2 = PyMem_RawMalloc(sizeof(wchar_t*) * argc); in Py_FrozenMain()
326 result = PyMem_RawMalloc(len + 1); in encode_ascii()400 res = PyMem_RawMalloc(argsize * sizeof(wchar_t)); in decode_ascii()466 res = (wchar_t *)PyMem_RawMalloc((argsize + 1) * sizeof(wchar_t)); in decode_current_locale()492 res = (wchar_t*)PyMem_RawMalloc(argsize * sizeof(wchar_t)); in decode_current_locale()726 result = PyMem_RawMalloc(size); in encode_current_locale()2009 woutbufp = PyMem_RawMalloc((size_t)result * sizeof(wchar_t)); in _Py_abspath()2050 *abspath_p = PyMem_RawMalloc(len * sizeof(wchar_t)); in _Py_abspath()
139 Py_tss_t *new_key = (Py_tss_t *)PyMem_RawMalloc(sizeof(Py_tss_t)); in PyThread_tss_alloc()
287 pythread_callback *callback = PyMem_RawMalloc(sizeof(pythread_callback)); in PyThread_start_new_thread()392 lock = (sem_t *)PyMem_RawMalloc(sizeof(sem_t)); in PyThread_allocate_lock()
123 wchar_t *text = PyMem_RawMalloc(len * sizeof(wchar_t)); in _PyWideStringList_Join()287 wchar_t *path = PyMem_RawMalloc((path_len + 1) * sizeof(wchar_t)); in config_init_module_search_paths()
38 PNRMUTEX m = (PNRMUTEX)PyMem_RawMalloc(sizeof(NRMUTEX)); in AllocNonRecursiveMutex()
411 e = (_Py_AuditHookEntry*)PyMem_RawMalloc(sizeof(_Py_AuditHookEntry)); in PySys_AddAuditHook()417 e = e->next = (_Py_AuditHookEntry*)PyMem_RawMalloc( in PySys_AddAuditHook()1537 (verblock = PyMem_RawMalloc(verblock_size))) { in sys_getwindowsversion_impl()
617 PyThreadState *tstate = (PyThreadState *)PyMem_RawMalloc(sizeof(PyThreadState)); in new_threadstate()1739 struct _xidregitem *newhead = PyMem_RawMalloc(sizeof(struct _xidregitem)); in _register_xidata()
80 wargv.items = (wchar_t **)PyMem_RawMalloc(size); in _PyArgv_AsWstrList()
340 copy.items = PyMem_RawMalloc(size); in _PyWideStringList_Copy()2320 wchar_t *command = PyMem_RawMalloc(sizeof(wchar_t) * len); in config_parse_cmdline()
5 PyAPI_FUNC(void *) PyMem_RawMalloc(size_t size);
267 wchar_t *substr = PyMem_RawMalloc((len + 1) * sizeof(wchar_t)); in substring()292 wchar_t *new_path = PyMem_RawMalloc((len + 1) * sizeof(wchar_t)); in joinpath2()389 wchar_t *pyc = PyMem_RawMalloc((len + 2) * sizeof(wchar_t)); in ismodule()425 wchar_t *progpath2 = PyMem_RawMalloc((n + s + 1) * sizeof(wchar_t)); in add_exe_suffix()1369 wchar_t *buf = PyMem_RawMalloc(bufsz * sizeof(wchar_t)); in calculate_module_search_path()
1406 p = PyMem_RawMalloc(1); in call_readline()1434 p = PyMem_RawMalloc(n+2); in call_readline()
302 return PyMem_RawMalloc((size_t)items * (size_t)size); in BZ2_Malloc()
28 # define PyMem_RawMalloc PyMem_Malloc macro344 pdata = PyMem_RawMalloc(sizeof(struct PostCallbackData)); in _overlapped_RegisterWaitWithQueue_impl()
857 if ((groups = PyMem_RawMalloc(num_groups * sizeof(gid_t))) == NULL) { in subprocess_fork_exec()
176 return PyMem_RawMalloc(items * size); in PyLzma_Malloc()
289 return PyMem_RawMalloc((size_t)items * (size_t)size); in PyZlib_Malloc()
107 :c:func:`PyMem_RawMalloc` for allocating Python objects or the memory returned142 .. c:function:: void* PyMem_RawMalloc(size_t n)148 if ``PyMem_RawMalloc(1)`` had been called instead. The memory will not have170 If *p* is ``NULL``, the call is equivalent to ``PyMem_RawMalloc(n)``; else if175 :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or185 previous call to :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or378 Configuration Name PyMem_RawMalloc PyMem_Malloc P…436 * :c:func:`PyMem_RawMalloc`598 with a fixed size of 256 KiB. It falls back to :c:func:`PyMem_RawMalloc` and
180 The result must be a string allocated by :c:func:`PyMem_RawMalloc` or184 The result must be allocated by :c:func:`PyMem_RawMalloc` or
292 compiled_patterns = (PyObject**) PyMem_RawMalloc( in init_sre_match()
562 PyMem_RawMalloc(size_t size) in PyMem_RawMalloc() function644 wchar_t *str2 = PyMem_RawMalloc(size); in _PyMem_RawWcsdup()658 char *copy = PyMem_RawMalloc(size); in _PyMem_RawStrdup()1956 ptr = PyMem_RawMalloc(nbytes); in _PyObject_Malloc()