Home
last modified time | relevance | path

Searched refs:PyMem_Free (Results 1 – 25 of 147) sorted by relevance

123456

/external/python/cpython3/Modules/_io/
Dwinconsoleio.c98 PyMem_Free(decoded_wstr); in _PyIO_get_console_type()
113 PyMem_Free(decoded_wstr); in _PyIO_get_console_type()
132 PyMem_Free(pname_buf); in _PyIO_get_console_type()
415 PyMem_Free(name); in _io__WindowsConsoleIO___init___impl()
630 PyMem_Free(buf); in read_console_w()
642 PyMem_Free(buf); in read_console_w()
690 PyMem_Free(wbuf); in readinto()
723 PyMem_Free(wbuf); in readinto()
813 PyMem_Free(buf); in _io__WindowsConsoleIO_readall_impl()
821 PyMem_Free(buf); in _io__WindowsConsoleIO_readall_impl()
[all …]
/external/python/cpython2/Modules/_ctypes/
Dstgdict.c45 PyMem_Free(self->format); in PyCStgDict_dealloc()
46 PyMem_Free(self->shape); in PyCStgDict_dealloc()
47 PyMem_Free(self->ffi_type_pointer.elements); in PyCStgDict_dealloc()
58 PyMem_Free(dst->ffi_type_pointer.elements); in PyCStgDict_clone()
59 PyMem_Free(dst->format); in PyCStgDict_clone()
61 PyMem_Free(dst->shape); in PyCStgDict_clone()
385 PyMem_Free(stgdict->format); in PyCStructUnionType_update_stgdict()
390 PyMem_Free(stgdict->ffi_type_pointer.elements); in PyCStructUnionType_update_stgdict()
538 PyMem_Free(ptr); in PyCStructUnionType_update_stgdict()
539 PyMem_Free(buf); in PyCStructUnionType_update_stgdict()
[all …]
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c45 PyMem_Free(self->format); in PyCStgDict_dealloc()
46 PyMem_Free(self->shape); in PyCStgDict_dealloc()
47 PyMem_Free(self->ffi_type_pointer.elements); in PyCStgDict_dealloc()
73 PyMem_Free(dst->ffi_type_pointer.elements); in PyCStgDict_clone()
74 PyMem_Free(dst->format); in PyCStgDict_clone()
76 PyMem_Free(dst->shape); in PyCStgDict_clone()
401 PyMem_Free(stgdict->format); in PyCStructUnionType_update_stgdict()
406 PyMem_Free(stgdict->ffi_type_pointer.elements); in PyCStructUnionType_update_stgdict()
548 PyMem_Free(ptr); in PyCStructUnionType_update_stgdict()
549 PyMem_Free(buf); in PyCStructUnionType_update_stgdict()
[all …]
/external/python/cpython3/Python/
Dpyarena.c95 PyMem_Free(b); in block_free()
137 PyMem_Free((void *)arena); in PyArena_New()
143 PyMem_Free((void *)arena); in PyArena_New()
176 PyMem_Free(arena); in PyArena_Free()
Dpeephole.c485 PyMem_Free(blocks); in PyCode_Optimize()
487 PyMem_Free(codestr); in PyCode_Optimize()
495 PyMem_Free(blocks); in PyCode_Optimize()
496 PyMem_Free(codestr); in PyCode_Optimize()
Dpystrhex.c40 PyMem_Free(retbuf); in _Py_strhex_impl()
/external/python/cpython3/PC/
Dwinreg.c747 PyMem_Free(str); in Reg2Py()
757 PyMem_Free(str); in Reg2Py()
763 PyMem_Free(str); in Reg2Py()
768 PyMem_Free(str); in Reg2Py()
1128 PyMem_Free(retValueBuf); in winreg_EnumValue_impl()
1172 PyMem_Free(retValueBuf); in winreg_EnumValue_impl()
1173 PyMem_Free(retDataBuf); in winreg_EnumValue_impl()
1208 PyMem_Free(retValue); in winreg_ExpandEnvironmentStrings_impl()
1213 PyMem_Free(retValue); in winreg_ExpandEnvironmentStrings_impl()
1443 PyMem_Free(retBuf); in winreg_QueryValue_impl()
[all …]
D_testconsole.c82 PyMem_Free((void*)rec); in _testconsole_write_input_impl()
87 PyMem_Free((void*)rec); in _testconsole_write_input_impl()
/external/python/cpython2/Misc/
Dpymemcompat.h51 #define PyObject_Free PyMem_Free
56 #define PyObject_Del PyMem_Free
/external/python/cpython3/Include/
Dpymem.h106 PyAPI_FUNC(void) PyMem_Free(void *ptr);
129 #define PyMem_FREE(p) PyMem_Free(p)
164 #define PyMem_Del PyMem_Free
/external/python/cpython2/Include/
Dpymem.h54 PyAPI_FUNC(void) PyMem_Free(void *);
115 #define PyMem_Del PyMem_Free
/external/python/cpython2/Python/
Dpeephole.c650 PyMem_Free(addrmap); in PyCode_Optimize()
651 PyMem_Free(codestr); in PyCode_Optimize()
652 PyMem_Free(blocks); in PyCode_Optimize()
660 PyMem_Free(blocks); in PyCode_Optimize()
662 PyMem_Free(addrmap); in PyCode_Optimize()
664 PyMem_Free(codestr); in PyCode_Optimize()
/external/python/cpython3/Modules/
D_lsprof.c237 PyMem_Free(self); in newProfilerEntry()
288 PyMem_Free(subentry); in freeSubEntry()
297 PyMem_Free(entry); in freeEntry()
307 PyMem_Free(pObj->currentProfilerContext); in clearEntries()
313 PyMem_Free(c); in clearEntries()
709 PyMem_Free(pContext); in flush_unmatched()
Datexitmodule.c44 PyMem_Free(cb); in atexit_delete_cb()
164 PyMem_Free(new_callback); in atexit_register()
257 PyMem_Free(modstate->atexit_callbacks); in atexit_free()
D_tkinter.c393 PyMem_Free(buf); in unicodeFromTclStringAndSize()
678 PyMem_Free(argv0); in Tkapp_New()
719 PyMem_Free(args); in Tkapp_New()
1048 PyMem_Free(argv); in AsObj()
1092 PyMem_Free(outbuf); in AsObj()
1099 PyMem_Free(outbuf); in AsObj()
1161 PyMem_Free(bytes); in fromBignumObj()
1167 PyMem_Free(bytes); in fromBignumObj()
1309 PyMem_Free(objv); in Tkapp_CallDeallocArgs()
2230 PyMem_Free(list); in _tkinter_tkapp_splitlist()
[all …]
D_scproxy.c43 PyMem_Free(buf); in cfstring_to_pystring()
48 PyMem_Free(buf); in cfstring_to_pystring()
D_winapi.c804 PyMem_Free(buffer); in getenvironment()
808 PyMem_Free(buffer); in getenvironment()
850 PyMem_Free(ret); in gethandlelist()
872 PyMem_Free(attribute_list->attribute_list); in freeattributelist()
875 PyMem_Free(attribute_list->handle_list); in freeattributelist()
940 PyMem_Free(attribute_list->attribute_list); in getattributelist()
1087 PyMem_Free(command_line_copy); in _winapi_CreateProcess_impl()
Dfaulthandler.c605 PyMem_Free(thread.header); in cancel_dump_traceback_later()
710 PyMem_Free(header); in faulthandler_dump_traceback_later()
1317 PyMem_Free(stack.ss_sp); in _PyFaulthandler_Init()
1362 PyMem_Free(user_signals); in _PyFaulthandler_Fini()
1385 PyMem_Free(stack.ss_sp); in _PyFaulthandler_Fini()
/external/python/cpython2/Modules/
Dposixmodule.c729 PyMem_Free(name); in posix_error_with_allocated_filename()
890 PyMem_Free(path1); in posix_1str()
909 PyMem_Free(path1); in posix_2str()
910 PyMem_Free(path2); in posix_2str()
1689 PyMem_Free(pathfree); in posix_do_stat()
1727 PyMem_Free(path); in posix_access()
1746 PyMem_Free(path); in posix_access()
1901 PyMem_Free(path); in posix_chmod()
1904 PyMem_Free(path); in posix_chmod()
1916 PyMem_Free(path); in posix_chmod()
[all …]
/external/python/cpython2/PC/
D_winreg.c1224 PyMem_Free(retValueBuf); in PyEnumValue()
1268 PyMem_Free(retValueBuf); in PyEnumValue()
1269 PyMem_Free(retDataBuf); in PyEnumValue()
1297 PyMem_Free(retValue); in PyExpandEnvironmentStrings()
1302 PyMem_Free(retValue); in PyExpandEnvironmentStrings()
1441 PyMem_Free(retBuf); in PyQueryValue()
1448 PyMem_Free(retBuf); in PyQueryValue()
1457 PyMem_Free(retBuf); in PyQueryValue()
1503 PyMem_Free(retBuf); in PyQueryValueEx()
1510 PyMem_Free(retBuf); in PyQueryValueEx()
[all …]
/external/python/cpython2/Modules/_multiprocessing/
Dconnection.h181 PyMem_Free(freeme); in connection_recvbytes()
237 PyMem_Free(freeme); in connection_recvbytes_into()
321 PyMem_Free(freeme); in connection_recv_obj()
Dsocket_connection.c123 PyMem_Free(message); in conn_send_string()
177 PyMem_Free(*newbuffer); in conn_recv_string()
/external/python/cpython2/Objects/stringlib/
Dformatter.h1062 PyMem_Free(buf); in format_float_internal()
1064 PyMem_Free(unicode_tmp); in format_float_internal()
1292 PyMem_Free(re_buf); in format_complex_internal()
1293 PyMem_Free(im_buf); in format_complex_internal()
1295 PyMem_Free(re_unicode_tmp); in format_complex_internal()
1296 PyMem_Free(im_unicode_tmp); in format_complex_internal()
/external/python/cpython3/Objects/
Dcall.c546 PyMem_Free((PyObject **)stack); in _PyMethodDef_RawFastCallDict()
868 PyMem_Free(args2); in _PyObject_FastCall_Prepend()
908 PyMem_Free(stack); in _PyObject_Call_Prepend()
964 PyMem_Free(stack); in _PyObject_CallFunctionVa()
1201 PyMem_Free(stack); in object_vacall()
1378 PyMem_Free(stack); in _PyStack_UnpackDict()
/external/python/cpython3/Modules/_multiprocessing/
Dsemaphore.c476 PyMem_Free(name_copy); in semlock_new()
505 PyMem_Free(name_copy); in semlock_rebuild()
519 PyMem_Free(self->name); in semlock_dealloc()

123456