Home
last modified time | relevance | path

Searched refs:PyMem_RawFree (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython3/Python/
Dfrozenmain.c75 PyMem_RawFree(oldloc); in Py_FrozenMain()
115 PyMem_RawFree(argv_copy); in Py_FrozenMain()
118 PyMem_RawFree(argv_copy2[i]); in Py_FrozenMain()
119 PyMem_RawFree(argv_copy2); in Py_FrozenMain()
121 PyMem_RawFree(oldloc); in Py_FrozenMain()
Dpathconfig.c27 PyMem_RawFree(ATTR); \ in _PyPathConfig_Clear()
176 PyMem_RawFree(_Py_path_config.home); in Py_SetPythonHome()
197 PyMem_RawFree(_Py_path_config.program_name); in Py_SetProgramName()
218 PyMem_RawFree(_Py_path_config.program_full_path); in _Py_SetProgramFullPath()
429 PyMem_RawFree(tmpbuffer); in _Py_FindEnvConfigValue()
434 PyMem_RawFree(tmpbuffer); in _Py_FindEnvConfigValue()
Dfileutils.c237 PyMem_RawFree(result); in encode_ascii()
296 PyMem_RawFree(res); in decode_ascii()
365 PyMem_RawFree(res); in decode_current_locale()
439 PyMem_RawFree(res); in decode_current_locale()
623 PyMem_RawFree(result); in encode_current_locale()
1256 PyMem_RawFree(cpath); in _Py_wfopen()
1557 PyMem_RawFree(cpath); in _Py_wreadlink()
1571 PyMem_RawFree(wbuf); in _Py_wreadlink()
1576 PyMem_RawFree(wbuf); in _Py_wreadlink()
1602 PyMem_RawFree(cpath); in _Py_wrealpath()
[all …]
Dthread_pthread.h172 PyMem_RawFree(arg); in pythread_wrapper()
235 PyMem_RawFree(callback); in PyThread_start_new_thread()
296 PyMem_RawFree((void *)lock); in PyThread_allocate_lock()
320 PyMem_RawFree((void *)thelock); in PyThread_free_lock()
480 PyMem_RawFree((void *)lock); in PyThread_allocate_lock()
507 PyMem_RawFree((void *)thelock); in PyThread_free_lock()
Dsysmodule.c146 PyMem_RawFree(envar); in sys_breakpointhook()
153 PyMem_RawFree(envar); in sys_breakpointhook()
165 PyMem_RawFree(envar); in sys_breakpointhook()
176 PyMem_RawFree(envar); in sys_breakpointhook()
179 PyMem_RawFree(envar); in sys_breakpointhook()
190 PyMem_RawFree(envar); in sys_breakpointhook()
1125 PyMem_RawFree(verblock); in sys_getwindowsversion()
1677 PyMem_RawFree(node); in _alloc_preinit_entry()
1718 PyMem_RawFree(current->value); in _clear_preinit_entries()
1719 PyMem_RawFree(current); in _clear_preinit_entries()
Dthread_nt.h49 PyMem_RawFree(m); in AllocNonRecursiveMutex()
59 PyMem_RawFree(mutex); in FreeNonRecursiveMutex()
Dthread.c135 PyMem_RawFree((void *)key); in PyThread_tss_free()
Dpylifecycle.c204 PyMem_RawFree(_Py_StandardStreamEncoding); in Py_SetStandardStreamEncoding()
515 PyMem_RawFree(oldloc); in _Py_CoerceLegacyLocale()
1293 PyMem_RawFree((char*)Py_FileSystemDefaultEncoding); in Py_FinalizeEx()
1985 PyMem_RawFree(_Py_StandardStreamEncoding); in init_sys_streams()
1989 PyMem_RawFree(_Py_StandardStreamErrors); in init_sys_streams()
Dpystate.c258 PyMem_RawFree(interp); in PyInterpreterState_Delete()
624 PyMem_RawFree(tstate); in tstate_delete_common()
692 PyMem_RawFree(p); in _PyThreadState_DeleteExcept()
/external/python/cpython3/Parser/
Dmyreadline.c192 PyMem_RawFree(wbuf); in _PyOS_WindowsConsoleReadline()
245 PyMem_RawFree(wbuf); in PyOS_StdioReadline()
274 PyMem_RawFree(p); in PyOS_StdioReadline()
286 PyMem_RawFree(p); in PyOS_StdioReadline()
292 PyMem_RawFree(p); in PyOS_StdioReadline()
303 PyMem_RawFree(p); in PyOS_StdioReadline()
377 PyMem_RawFree(rv); in PyOS_Readline()
/external/python/cpython3/Modules/
Dgetpath.c149 PyMem_RawFree(fname); in _Py_wstat()
368 PyMem_RawFree(vpath); in search_for_prefix()
492 PyMem_RawFree(rel_builddir_path ); in search_for_exec_prefix()
605 PyMem_RawFree(path); in calculate_program_full_path()
707 PyMem_RawFree(wbuf); in calculate_argv0_path()
926 PyMem_RawFree(calculate->pythonpath); in calculate_free()
927 PyMem_RawFree(calculate->prefix); in calculate_free()
928 PyMem_RawFree(calculate->exec_prefix); in calculate_free()
929 PyMem_RawFree(calculate->lib_python); in calculate_free()
930 PyMem_RawFree(calculate->path_env); in calculate_free()
Dmain.c514 PyMem_RawFree(list[i]); in clear_wstrlist()
516 PyMem_RawFree(list); in clear_wstrlist()
598 PyMem_RawFree(ATTR); \ in pymain_clear_pymain()
711 PyMem_RawFree(str2); in wstrlist_append()
1079 PyMem_RawFree(env); in cmdline_init_env_warnoptions()
1083 PyMem_RawFree(env); in cmdline_init_env_warnoptions()
1308 PyMem_RawFree(argv[0]); in pymain_init_core_argv()
1570 PyMem_RawFree(cfilename_buffer); in pymain_open_filename()
2185 PyMem_RawFree(oldloc); in pymain_read_conf()
2251 PyMem_RawFree(path); in config_init_module_search_paths()
[all …]
Doverlapped.c29 # define PyMem_RawFree PyMem_Free macro
250 PyMem_RawFree(p); in PostToQueueCallback()
288 PyMem_RawFree(pdata); in overlapped_RegisterWaitWithQueue()
Dreadline.c1046 PyMem_RawFree(s); in flex_complete()
1054 PyMem_RawFree(s); in flex_complete()
Dhashtable.c153 alloc.free = PyMem_RawFree; in _Py_hashtable_new_full()
D_bz2module.c290 PyMem_RawFree(ptr); in BZ2_Free()
D_testcapimodule.c3333 PyMem_RawFree(ptr); in test_pymem_alloc0()
3340 PyMem_RawFree(ptr); in test_pymem_alloc0()
3489 case PYMEM_DOMAIN_RAW: PyMem_RawFree(ptr2); break; in test_setallocators()
3524 case PYMEM_DOMAIN_RAW: PyMem_RawFree(ptr); break; in test_setallocators()
4192 PyMem_RawFree(buffer); in pymem_api_misuse()
Dposixmodule.c1541 PyMem_RawFree(new_path); in win32_wchdir()
1552 PyMem_RawFree(new_path); in win32_wchdir()
1622 PyMem_RawFree(buf); in get_target_path()
1713 PyMem_RawFree(target_path); in win32_xstat_impl()
3292 PyMem_RawFree(wbuf2); in posix_getcwd()
3297 PyMem_RawFree(wbuf2); in posix_getcwd()
3329 PyMem_RawFree(buf); in posix_getcwd()
3337 PyMem_RawFree(buf); in posix_getcwd()
Dzlibmodule.c130 PyMem_RawFree(ptr); in PyZlib_Free()
/external/python/cpython3/PC/
Dgetpathp.c487 PyMem_RawFree(dataBuf); in getpythonregpath()
498 PyMem_RawFree(ppPaths[index]); in getpythonregpath()
499 PyMem_RawFree(ppPaths); in getpythonregpath()
504 PyMem_RawFree(keyBuf); in getpythonregpath()
621 PyMem_RawFree(wline); in read_pth_file()
644 PyMem_RawFree(wline); in read_pth_file()
652 PyMem_RawFree(buf); in read_pth_file()
1011 PyMem_RawFree(calculate->machine_path); in calculate_free()
1012 PyMem_RawFree(calculate->user_path); in calculate_free()
/external/python/cpython3/Include/
Dpymem.h18 PyAPI_FUNC(void) PyMem_RawFree(void *ptr);
/external/python/cpython3/Programs/
D_testembed.c162 PyMem_RawFree(program); in test_pre_initialization_api()
/external/python/cpython3/Doc/c-api/
Dmemory.rst150 .. c:function:: void PyMem_RawFree(void *p)
154 :c:func:`PyMem_RawCalloc`. Otherwise, or if ``PyMem_RawFree(p)`` has been
398 * :c:func:`PyMem_RawFree`
Dsys.rst120 :c:func:`PyMem_RawFree` to free the memory. If size is not ``NULL``, write
/external/python/cpython3/Objects/
Dobmalloc.c541 void PyMem_RawFree(void *ptr) in PyMem_RawFree() function
1836 PyMem_RawFree(p); in _PyObject_Free()

12