Searched refs:PyMem_RawMalloc (Results 1 – 25 of 48) sorted by relevance
12
183 wbuf = (wchar_t*)PyMem_RawMalloc(wbuflen * sizeof(wchar_t)); in _PyOS_WindowsConsoleReadline()207 buf = PyMem_RawMalloc(1); in _PyOS_WindowsConsoleReadline()223 buf = PyMem_RawMalloc(u8len + 1); in _PyOS_WindowsConsoleReadline()280 wbuf = PyMem_RawMalloc(wlen * sizeof(wchar_t)); in PyOS_StdioReadline()
11 $1 = (unsigned int*)PyMem_RawMalloc($2*sizeof(unsigned int));
11 $2 = (unsigned int*)PyMem_RawMalloc($1*sizeof(unsigned int));
95 PyAPI_FUNC(void *) PyMem_RawMalloc(size_t size);
32 buf = PyMem_RawMalloc(sizeof(_PyObjectStackChunk)); in _PyObjectStackChunk_New()
187 Py_tss_t *new_key = (Py_tss_t *)PyMem_RawMalloc(sizeof(Py_tss_t)); in PyThread_tss_alloc()
180 struct _xidregitem *newhead = PyMem_RawMalloc(sizeof(struct _xidregitem)); in _xidregistry_add_type()514 struct _shared_tuple_data *shared = PyMem_RawMalloc(sizeof(struct _shared_tuple_data)); in _tuple_shared()
345 result = PyMem_RawMalloc(len + 1); in encode_ascii()419 res = PyMem_RawMalloc(argsize * sizeof(wchar_t)); in decode_ascii()485 res = (wchar_t *)PyMem_RawMalloc((argsize + 1) * sizeof(wchar_t)); in decode_current_locale()511 res = (wchar_t*)PyMem_RawMalloc(argsize * sizeof(wchar_t)); in decode_current_locale()745 result = PyMem_RawMalloc(size); in encode_current_locale()2209 *abspath_p = PyMem_RawMalloc(len * sizeof(wchar_t)); in _Py_abspath()2442 wchar_t *filename = PyMem_RawMalloc(bufsize * sizeof(wchar_t)); in _Py_join_relfile()
281 pythread_callback *callback = PyMem_RawMalloc(sizeof(pythread_callback)); in do_start_joinable_thread()437 lock = (sem_t *)PyMem_RawMalloc(sizeof(sem_t)); in PyThread_allocate_lock()
77 _PyCrossInterpreterData *xid = PyMem_RawMalloc( in _PyCrossInterpreterData_New()158 data->data = PyMem_RawMalloc(size); in _PyCrossInterpreterData_InitWithSize()354 char *copied = PyMem_RawMalloc(size+1); in _copy_string_obj_raw()1149 item->data = PyMem_RawMalloc(sizeof(_PyCrossInterpreterData)); in _sharednsitem_set_value()
39 PNRMUTEX m = (PNRMUTEX)PyMem_RawMalloc(sizeof(NRMUTEX)); in AllocNonRecursiveMutex()
219 char* perf_map_entry = (char*) PyMem_RawMalloc(perf_map_entry_size); in perf_map_write_entry()
179 wchar_t *path = (wchar_t*)PyMem_RawMalloc(sizeof(wchar_t) * cch); in _PyPathConfig_UpdateGlobal()
520 char* perf_map_entry = (char*) PyMem_RawMalloc(perf_map_entry_size); in perf_map_jit_write_entry()
84 wargv.items = (wchar_t **)PyMem_RawMalloc(size); in _PyArgv_AsWstrList()
983 = PyMem_RawMalloc(sizeof(struct extensions_cache_value)); in alloc_extensions_cache_value()1171 char *key = PyMem_RawMalloc(size); in hashtable_key_from_2_strings()1242 _Py_hashtable_allocator_t alloc = {PyMem_RawMalloc, PyMem_RawFree}; in _extensions_cache_init()2444 struct _inittab *copied = PyMem_RawMalloc(size * sizeof(struct _inittab)); in init_builtin_modules_table()
131 :c:func:`PyMem_RawMalloc`, or :c:func:`malloc`, but not :c:func:`PyObject_Malloc`.152 .. c:function:: void* PyMem_RawMalloc(size_t n)158 if ``PyMem_RawMalloc(1)`` had been called instead. The memory will not have180 If *p* is ``NULL``, the call is equivalent to ``PyMem_RawMalloc(n)``; else if185 :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or195 previous call to :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawRealloc` or390 Configuration Name PyMem_RawMalloc PyMem_Malloc P…452 * :c:func:`PyMem_RawMalloc`642 platforms. It falls back to :c:func:`PyMem_RawMalloc` and
162 The result must be a string allocated by :c:func:`PyMem_RawMalloc` or166 The result must be allocated by :c:func:`PyMem_RawMalloc` or
204 ptr = PyMem_RawMalloc(size); in test_setallocators()392 ptr = PyMem_RawMalloc(0); in test_pymem_alloc0()
1473 p = PyMem_RawMalloc(1); in call_readline()1501 p = PyMem_RawMalloc(n+2); in call_readline()
754 buffer = (wchar_t*)PyMem_RawMalloc(cch * sizeof(wchar_t)); in winmodule_to_dict()779 path = PyMem_RawMalloc((pathLen + 1) * sizeof(char)); in progname_to_dict()
316 return PyMem_RawMalloc((size_t)items * (size_t)size); in BZ2_Malloc()
24 PyMem_RawMalloc(sizeof(TYPE))1316 struct _queueid_xid *data = PyMem_RawMalloc(sizeof(struct _queueid_xid)); in _queueid_xid_new()
293 compiled_patterns = (PyObject**) PyMem_RawMalloc( in init_sre_match()
938 PyMem_RawMalloc(size_t size) in PyMem_RawMalloc() function1037 wchar_t *str2 = PyMem_RawMalloc(size); in _PyMem_RawWcsdup()1051 char *copy = PyMem_RawMalloc(size); in _PyMem_RawStrdup()2140 ptr = PyMem_RawMalloc(nbytes); in _PyObject_Malloc()