/external/python/cpython3/Include/ |
D | pymem.h | 55 PyAPI_FUNC(void) PyMem_Free(void *ptr); 89 #define PyMem_FREE(p) PyMem_Free(p) 90 #define PyMem_Del PyMem_Free 91 #define PyMem_DEL PyMem_Free
|
/external/python/cpython3/Modules/_io/ |
D | winconsoleio.c | 96 PyMem_Free(decoded_wstr); in _PyIO_get_console_type() 111 PyMem_Free(decoded_wstr); in _PyIO_get_console_type() 130 PyMem_Free(pname_buf); in _PyIO_get_console_type() 410 PyMem_Free(name); in _io__WindowsConsoleIO___init___impl() 614 PyMem_Free(buf); in read_console_w() 626 PyMem_Free(buf); in read_console_w() 678 PyMem_Free(wbuf); in readinto() 711 PyMem_Free(wbuf); in readinto() 806 PyMem_Free(buf); in _io__WindowsConsoleIO_readall_impl() 814 PyMem_Free(buf); in _io__WindowsConsoleIO_readall_impl() [all …]
|
/external/python/cpython3/Modules/_ctypes/ |
D | stgdict.c | 45 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() 435 PyMem_Free(stgdict->format); in PyCStructUnionType_update_stgdict() 440 PyMem_Free(stgdict->ffi_type_pointer.elements); in PyCStructUnionType_update_stgdict() 591 PyMem_Free(ptr); in PyCStructUnionType_update_stgdict() 592 PyMem_Free(buf); in PyCStructUnionType_update_stgdict() [all …]
|
/external/python/cpython2/Modules/_ctypes/ |
D | stgdict.c | 45 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/PC/clinic/ |
D | winreg.c.h | 187 PyMem_Free((void *)computer_name); in winreg_ConnectRegistry() 258 PyMem_Free((void *)sub_key); in winreg_CreateKey() 322 PyMem_Free((void *)sub_key); in winreg_CreateKeyEx() 382 PyMem_Free((void *)sub_key); in winreg_DeleteKey() 441 PyMem_Free((void *)sub_key); in winreg_DeleteKeyEx() 499 PyMem_Free((void *)value); in winreg_DeleteValue() 638 PyMem_Free((void *)string); in winreg_ExpandEnvironmentStrings() 762 PyMem_Free((void *)sub_key); in winreg_LoadKey() 766 PyMem_Free((void *)file_name); in winreg_LoadKey() 823 PyMem_Free((void *)sub_key); in winreg_OpenKey() [all …]
|
D | _msi.c.h | 224 PyMem_Free((void *)value); in _msi_Record_SetString() 273 PyMem_Free((void *)value); in _msi_Record_SetStream() 577 PyMem_Free((void *)sql); in _msi_Database_OpenView() 680 PyMem_Free((void *)path); in _msi_OpenDatabase()
|
/external/python/cpython3/PC/ |
D | winreg.c | 775 PyMem_Free(str); in Reg2Py() 784 PyMem_Free(str); in Reg2Py() 790 PyMem_Free(str); in Reg2Py() 1195 PyMem_Free(retValueBuf); in winreg_EnumValue_impl() 1239 PyMem_Free(retValueBuf); in winreg_EnumValue_impl() 1240 PyMem_Free(retDataBuf); in winreg_EnumValue_impl() 1280 PyMem_Free(retValue); in winreg_ExpandEnvironmentStrings_impl() 1285 PyMem_Free(retValue); in winreg_ExpandEnvironmentStrings_impl() 1537 PyMem_Free(retBuf); in winreg_QueryValue_impl() 1544 PyMem_Free(retBuf); in winreg_QueryValue_impl() [all …]
|
D | _testconsole.c | 84 PyMem_Free((void*)rec); in _testconsole_write_input_impl() 89 PyMem_Free((void*)rec); in _testconsole_write_input_impl()
|
D | _msi.c | 103 PyMem_Free(ws); in FNFCIOPEN() 148 PyMem_Free(ws); in FNFCIDELETE() 221 PyMem_Free(ws); in FNFCIGETOPENINFO() 227 PyMem_Free(ws); in FNFCIGETOPENINFO() 240 PyMem_Free(ws); in FNFCIGETOPENINFO() 771 PyMem_Free(value); in _msi_SummaryInformation_SetProperty_impl()
|
/external/python/cpython3/Python/ |
D | pyarena.c | 96 PyMem_Free(b); in block_free() 138 PyMem_Free((void *)arena); in _PyArena_New() 144 PyMem_Free((void *)arena); in _PyArena_New() 177 PyMem_Free(arena); in _PyArena_Free()
|
/external/python/cpython2/Misc/ |
D | pymemcompat.h | 51 #define PyObject_Free PyMem_Free 56 #define PyObject_Del PyMem_Free
|
/external/python/cpython3/Parser/ |
D | tokenizer.c | 111 PyMem_Free(tok->buf); in error_ret() 187 PyMem_Free(r); in get_coding_spec() 238 PyMem_Free(cs); in check_coding_spec() 247 PyMem_Free(cs); in check_coding_spec() 250 PyMem_Free(cs); in check_coding_spec() 313 PyMem_Free(tok->encoding); in check_bom() 336 PyMem_Free(tok->interactive_src_start); in tok_concatenate_interactive_new_line() 633 PyMem_Free(buf); in translate_newlines() 787 PyMem_Free(tok->encoding); in PyTokenizer_Free() 793 PyMem_Free(tok->buf); in PyTokenizer_Free() [all …]
|
D | parser.c | 21975 PyMem_Free(_children); in _loop0_1_rule() 21982 PyMem_Free(_children); in _loop0_1_rule() 22044 PyMem_Free(_children); in _loop0_2_rule() 22051 PyMem_Free(_children); in _loop0_2_rule() 22098 PyMem_Free(_children); in _loop0_4_rule() 22122 PyMem_Free(_children); in _loop0_4_rule() 22129 PyMem_Free(_children); in _loop0_4_rule() 22218 PyMem_Free(_children); in _loop0_6_rule() 22242 PyMem_Free(_children); in _loop0_6_rule() 22249 PyMem_Free(_children); in _loop0_6_rule() [all …]
|
/external/python/cpython3/Modules/ |
D | _xxsubinterpretersmodule.c | 62 PyMem_Free(item->name); in _sharednsitem_clear() 103 PyMem_Free(shared); in _sharedns_new() 115 PyMem_Free(shared->items); in _sharedns_free() 116 PyMem_Free(shared); in _sharedns_free() 189 PyMem_Free(exc->name); in _sharedexception_clear() 192 PyMem_Free(exc->msg); in _sharedexception_clear() 200 PyMem_Free(exc); in _sharedexception_free() 252 PyMem_Free(err->name); in _sharedexception_bind() 377 PyMem_Free(item->data); in _channelitem_clear() 387 PyMem_Free(item); in _channelitem_free() [all …]
|
D | _zoneinfo.c | 309 PyMem_Free(self->trans_list_utc); in zoneinfo_dealloc() 314 PyMem_Free(self->trans_list_wall[i]); in zoneinfo_dealloc() 322 PyMem_Free(self->_ttinfos); in zoneinfo_dealloc() 326 PyMem_Free(self->trans_ttinfos); in zoneinfo_dealloc() 1116 PyMem_Free(self->trans_list_utc); in load_data() 1122 PyMem_Free(self->trans_list_wall[i]); in load_data() 1131 PyMem_Free(self->_ttinfos); in load_data() 1136 PyMem_Free(self->trans_ttinfos); in load_data() 1145 PyMem_Free(utcoff); in load_data() 1149 PyMem_Free(dstoff); in load_data() [all …]
|
D | atexitmodule.c | 34 PyMem_Free(cb); in atexit_delete_cb() 76 PyMem_Free(state->callbacks); in _PyAtExit_Fini() 172 PyMem_Free(callback); in atexit_register()
|
D | selectmodule.c | 297 if (rfd2obj) PyMem_Free(rfd2obj); in select_select_impl() 298 if (wfd2obj) PyMem_Free(wfd2obj); in select_select_impl() 299 if (efd2obj) PyMem_Free(efd2obj); in select_select_impl() 384 PyMem_Free(rfd2obj); in select_select_impl() 385 PyMem_Free(wfd2obj); in select_select_impl() 386 PyMem_Free(efd2obj); in select_select_impl() 738 PyMem_Free(self->ufds); in poll_dealloc() 1106 PyMem_Free(fds); in newDevPollObject() 1122 PyMem_Free(self->fds); in devpoll_dealloc() 1621 PyMem_Free(evs); in select_epoll_poll_impl() [all …]
|
D | _lsprof.c | 202 PyMem_Free(self); in newProfilerEntry() 253 PyMem_Free(subentry); in freeSubEntry() 262 PyMem_Free(entry); in freeEntry() 272 PyMem_Free(pObj->currentProfilerContext); in clearEntries() 278 PyMem_Free(c); in clearEntries() 694 PyMem_Free(pContext); in flush_unmatched()
|
D | _tkinter.c | 426 PyMem_Free(buf); in unicodeFromTclStringAndSize() 478 PyMem_Free(u); in unicodeFromTclStringAndSize() 773 PyMem_Free(argv0); in Tkapp_New() 814 PyMem_Free(args); in Tkapp_New() 1136 PyMem_Free(argv); in AsObj() 1247 PyMem_Free(bytes); in fromBignumObj() 1253 PyMem_Free(bytes); in fromBignumObj() 1392 PyMem_Free(objv); in Tkapp_CallDeallocArgs() 2317 PyMem_Free(list); in _tkinter_tkapp_splitlist() 2322 PyMem_Free(list); in _tkinter_tkapp_splitlist() [all …]
|
D | _localemodule.c | 230 PyMem_Free(oldloc); in locale_decode_monetary() 373 if (ws1) PyMem_Free(ws1); in _locale_strcoll_impl() 374 if (ws2) PyMem_Free(ws2); in _locale_strcoll_impl() 438 PyMem_Free(buf); in _locale_strxfrm_impl() 439 PyMem_Free(s); in _locale_strxfrm_impl()
|
/external/python/cpython2/Include/ |
D | pymem.h | 54 PyAPI_FUNC(void) PyMem_Free(void *); 115 #define PyMem_Del PyMem_Free
|
/external/python/cpython2/Python/ |
D | peephole.c | 650 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/cpython2/Modules/ |
D | posixmodule.c | 729 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.c | 1224 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/cpython3/Objects/ |
D | codeobject.c | 216 PyMem_Free(cell2arg); in PyCode_NewWithPosOnlyArgs() 227 PyMem_Free(cell2arg); in PyCode_NewWithPosOnlyArgs() 234 PyMem_Free(cell2arg); in PyCode_NewWithPosOnlyArgs() 317 PyMem_Free(co->co_opcache_map); in _PyCode_InitOpcache() 322 PyMem_Free(co->co_opcache_map); in _PyCode_InitOpcache() 634 PyMem_Free(co->co_opcache); in code_dealloc() 637 PyMem_Free(co->co_opcache_map); in code_dealloc() 654 PyMem_Free(co_extra); in code_dealloc() 667 PyMem_Free(co->co_cell2arg); in code_dealloc()
|