Home
last modified time | relevance | path

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

12

/third_party/python/Modules/
Dgetpath.c164 PyMem_RawFree(fname); in _Py_wstat()
363 PyMem_RawFree(*path_p); in absolutize()
382 PyMem_RawFree(filename); in ismodule()
391 PyMem_RawFree(filename); in ismodule()
400 PyMem_RawFree(filename); in ismodule()
401 PyMem_RawFree(pyc); in ismodule()
435 PyMem_RawFree(*progpath_p); in add_exe_suffix()
439 PyMem_RawFree(progpath2); in add_exe_suffix()
482 PyMem_RawFree(path); in search_for_prefix()
624 PyMem_RawFree(prefix); in calculate_set_prefix()
[all …]
Dgrpmodule.c161 PyMem_RawFree(buf); in grp_getgrgid_impl()
174 PyMem_RawFree(buf); in grp_getgrgid_impl()
252 PyMem_RawFree(buf); in grp_getgrnam_impl()
Dpwdmodule.c183 PyMem_RawFree(buf); in pwd_getpwuid()
197 PyMem_RawFree(buf); in pwd_getpwuid()
277 PyMem_RawFree(buf); in pwd_getpwnam_impl()
Dreadline.c1168 PyMem_RawFree(s); in flex_complete()
1176 PyMem_RawFree(s); in flex_complete()
Doverlapped.c29 # define PyMem_RawFree PyMem_Free macro
316 PyMem_RawFree(p); in PostToQueueCallback()
354 PyMem_RawFree(pdata); in _overlapped_RegisterWaitWithQueue_impl()
D_bz2module.c308 PyMem_RawFree(ptr); in BZ2_Free()
D_posixsubprocess.c997 PyMem_RawFree(groups); in subprocess_fork_exec()
D_testcapimodule.c3921 PyMem_RawFree(ptr); in test_pymem_alloc0()
3928 PyMem_RawFree(ptr); in test_pymem_alloc0()
4077 case PYMEM_DOMAIN_RAW: PyMem_RawFree(ptr2); break; in test_setallocators()
4112 case PYMEM_DOMAIN_RAW: PyMem_RawFree(ptr); break; in test_setallocators()
4766 PyMem_RawFree(buffer); in pymem_api_misuse()
5272 PyMem_RawFree(str); in encode_locale_ex()
5315 PyMem_RawFree(wstr); in decode_locale_ex()
Dposixmodule.c1803 PyMem_RawFree(new_path); in win32_wchdir()
1814 PyMem_RawFree(new_path); in win32_wchdir()
3087 PyMem_RawFree(buffer); in os_ttyname_impl()
3092 PyMem_RawFree(buffer); in os_ttyname_impl()
3785 PyMem_RawFree(wbuf2); in posix_getcwd()
3791 PyMem_RawFree(wbuf2); in posix_getcwd()
3820 PyMem_RawFree(buf); in posix_getcwd()
3834 PyMem_RawFree(buf); in posix_getcwd()
3845 PyMem_RawFree(buf); in posix_getcwd()
4276 PyMem_RawFree(abspath); in os__getfullpathname_impl()
/third_party/python/Python/
Dfrozenmain.c75 PyMem_RawFree(oldloc); in Py_FrozenMain()
121 PyMem_RawFree(argv_copy); in Py_FrozenMain()
124 PyMem_RawFree(argv_copy2[i]); in Py_FrozenMain()
125 PyMem_RawFree(argv_copy2); in Py_FrozenMain()
127 PyMem_RawFree(oldloc); in Py_FrozenMain()
Dpathconfig.c50 PyMem_RawFree(ATTR); \ in pathconfig_clear()
151 PyMem_RawFree(pathconfig->module_search_path); in pathconfig_set_from_config()
160 PyMem_RawFree(pathconfig->PATH_ATTR); \ in pathconfig_set_from_config()
295 PyMem_RawFree(path); in config_init_module_search_paths()
487 PyMem_RawFree(_Py_path_config.prefix); in Py_SetPath()
488 PyMem_RawFree(_Py_path_config.exec_prefix); in Py_SetPath()
489 PyMem_RawFree(_Py_path_config.module_search_path); in Py_SetPath()
516 PyMem_RawFree(_Py_path_config.home); in Py_SetPythonHome()
537 PyMem_RawFree(_Py_path_config.program_name); in Py_SetProgramName()
557 PyMem_RawFree(_Py_path_config.program_full_path); in _Py_SetProgramFullPath()
[all …]
Dfileutils.c349 PyMem_RawFree(result); in encode_ascii()
413 PyMem_RawFree(res); in decode_ascii()
479 PyMem_RawFree(res); in decode_current_locale()
543 PyMem_RawFree(res); in decode_current_locale()
741 PyMem_RawFree(result); in encode_current_locale()
933 PyMem_RawFree(encoding); in _Py_GetLocaleEncodingObject()
1595 PyMem_RawFree(cpath); in _Py_wfopen()
1909 PyMem_RawFree(cpath); in _Py_wreadlink()
1925 PyMem_RawFree(wbuf); in _Py_wreadlink()
1930 PyMem_RawFree(wbuf); in _Py_wreadlink()
[all …]
Dthread_pthread.h246 PyMem_RawFree(arg); in pythread_wrapper()
309 PyMem_RawFree(callback); in PyThread_start_new_thread()
399 PyMem_RawFree((void *)lock); in PyThread_allocate_lock()
423 PyMem_RawFree((void *)thelock); in PyThread_free_lock()
600 PyMem_RawFree((void *)lock); in PyThread_allocate_lock()
627 PyMem_RawFree((void *)thelock); in PyThread_free_lock()
Dinitconfig.c318 PyMem_RawFree(list->items[i]); in _PyWideStringList_Clear()
320 PyMem_RawFree(list->items); in _PyWideStringList_Clear()
385 PyMem_RawFree(item2); in PyWideStringList_Insert()
489 PyMem_RawFree(_Py_StandardStreamEncoding); in Py_SetStandardStreamEncoding()
497 PyMem_RawFree(_Py_StandardStreamErrors); in Py_SetStandardStreamEncoding()
500 PyMem_RawFree(_Py_StandardStreamEncoding); in Py_SetStandardStreamEncoding()
529 PyMem_RawFree(_Py_StandardStreamEncoding); in _Py_ClearStandardStreamEncoding()
533 PyMem_RawFree(_Py_StandardStreamErrors); in _Py_ClearStandardStreamEncoding()
658 PyMem_RawFree(ATTR); \ in PyConfig_Clear()
814 PyMem_RawFree(*config_str); in PyConfig_SetString()
[all …]
Dpystate.c253 PyMem_RawFree(interp); in PyInterpreterState_New()
282 PyMem_RawFree(interp); in PyInterpreterState_New()
415 PyMem_RawFree(interp); in PyInterpreterState_Delete()
453 PyMem_RawFree(prev_interp); in _PyInterpreterState_DeleteExceptMain()
923 PyMem_RawFree(tstate); in _PyThreadState_Delete()
942 PyMem_RawFree(tstate); in _PyThreadState_DeleteCurrent()
991 PyMem_RawFree(p); in _PyThreadState_DeleteExcept()
1638 data->free = PyMem_RawFree; // Set a default that may be overridden. in _PyObject_GetCrossInterpreterData()
Dpreconfig.c31 PyMem_RawFree((char*)Py_FileSystemDefaultEncoding); in _Py_ClearFileSystemEncoding()
35 PyMem_RawFree((char*)Py_FileSystemDefaultEncodeErrors); in _Py_ClearFileSystemEncoding()
56 PyMem_RawFree(encoding2); in _Py_SetFileSystemEncoding()
923 PyMem_RawFree(init_ctype_locale); in _PyPreConfig_Read()
Dthread_nt.h50 PyMem_RawFree(m); in AllocNonRecursiveMutex()
60 PyMem_RawFree(mutex); in FreeNonRecursiveMutex()
Dsysmodule.c377 PyMem_RawFree(e); in _PySys_ClearAuditHooks()
570 PyMem_RawFree(envar); in sys_breakpointhook()
581 PyMem_RawFree(envar); in sys_breakpointhook()
592 PyMem_RawFree(envar); in sys_breakpointhook()
595 PyMem_RawFree(envar); in sys_breakpointhook()
606 PyMem_RawFree(envar); in sys_breakpointhook()
1547 PyMem_RawFree(verblock); in sys_getwindowsversion_impl()
2173 PyMem_RawFree(node); in _alloc_preinit_entry()
2214 PyMem_RawFree(current->value); in _clear_preinit_entries()
2215 PyMem_RawFree(current); in _clear_preinit_entries()
Dthread.c152 PyMem_RawFree((void *)key); in PyThread_tss_free()
/third_party/python/Parser/
Dmyreadline.c224 PyMem_RawFree(wbuf); in _PyOS_WindowsConsoleReadline()
279 PyMem_RawFree(wbuf); in PyOS_StdioReadline()
303 PyMem_RawFree(p); in PyOS_StdioReadline()
311 PyMem_RawFree(p); in PyOS_StdioReadline()
321 PyMem_RawFree(p); in PyOS_StdioReadline()
333 PyMem_RawFree(p); in PyOS_StdioReadline()
410 PyMem_RawFree(rv); in PyOS_Readline()
/third_party/python/PC/
Dgetpathp.c468 PyMem_RawFree(dataBuf); in getpythonregpath()
479 PyMem_RawFree(ppPaths[index]); in getpythonregpath()
480 PyMem_RawFree(ppPaths); in getpythonregpath()
485 PyMem_RawFree(keyBuf); in getpythonregpath()
643 PyMem_RawFree(wline); in read_pth_file()
660 PyMem_RawFree(buf); in read_pth_file()
661 PyMem_RawFree(wline); in read_pth_file()
741 PyMem_RawFree(home); in calculate_pyvenv_file()
1045 PyMem_RawFree(calculate->machine_path); in calculate_free()
1046 PyMem_RawFree(calculate->user_path); in calculate_free()
/third_party/python/Include/cpython/
Dpymem.h8 PyAPI_FUNC(void) PyMem_RawFree(void *ptr);
/third_party/python/Programs/
D_testembed.c189 PyMem_RawFree(program); in test_pre_initialization_api()
1420 PyMem_RawFree(path); in test_init_setpath()
1453 PyMem_RawFree(path); in test_init_setpath_config()
1482 PyMem_RawFree(home); in test_init_setpythonhome()
/third_party/python/Doc/c-api/
Dmemory.rst182 .. c:function:: void PyMem_RawFree(void *p)
186 :c:func:`PyMem_RawCalloc`. Otherwise, or if ``PyMem_RawFree(p)`` has been
439 * :c:func:`PyMem_RawFree`
/third_party/python/Objects/
Dunicodeobject.c3844 PyMem_RawFree(str); in unicode_encode_locale()
4065 PyMem_RawFree(wstr); in unicode_decode_locale()
5426 PyMem_RawFree(unicode ); in _Py_DecodeUTF8Ex()
5563 PyMem_RawFree(bytes); in _Py_EncodeUTF8Ex()
5601 PyMem_RawFree(bytes); in _Py_EncodeUTF8Ex()
16170 PyMem_RawFree(encoding); in config_get_codec_name()
16194 PyMem_RawFree(*config_encoding); in config_get_codec_name()
16242 PyMem_RawFree(encoding); in init_fs_codec()
16247 PyMem_RawFree(fs_codec->encoding); in init_fs_codec()
16251 PyMem_RawFree(fs_codec->errors); in init_fs_codec()
[all …]

12