Home
last modified time | relevance | path

Searched refs:PyMem_FREE (Results 1 – 25 of 61) sorted by relevance

123

/external/python/cpython2/Include/
Dpymem.h64 #define PyMem_FREE _PyMem_DebugFree macro
78 #define PyMem_FREE free macro
116 #define PyMem_DEL PyMem_FREE
Dobjimpl.h134 #define PyObject_FREE PyMem_FREE
/external/python/cpython2/Parser/
Dtokenizer.c171 PyMem_FREE(tok->buf); in error_ret()
244 PyMem_FREE(r); in get_coding_spec()
301 PyMem_FREE(cs); in check_coding_spec()
308 PyMem_FREE(cs); in check_coding_spec()
316 PyMem_FREE(cs); in check_coding_spec()
380 PyMem_FREE(tok->encoding); in check_bom()
778 PyMem_FREE(tok->encoding); in PyTokenizer_Free()
784 PyMem_FREE(tok->buf); in PyTokenizer_Free()
786 PyMem_FREE((char *)tok->input); in PyTokenizer_Free()
787 PyMem_FREE(tok); in PyTokenizer_Free()
[all …]
Dparser.c87 PyMem_FREE(ps); in PyParser_New()
101 PyMem_FREE(ps); in PyParser_Delete()
Dmyreadline.c132 PyMem_FREE(p); in PyOS_StdioReadline()
/external/python/cpython3/Parser/
Dtokenizer.c195 PyMem_FREE(tok->buf); in error_ret()
269 PyMem_FREE(r); in get_coding_spec()
329 PyMem_FREE(cs); in check_coding_spec()
337 PyMem_FREE(cs); in check_coding_spec()
400 PyMem_FREE(tok->encoding); in check_bom()
891 PyMem_FREE(tok->encoding); in PyTokenizer_Free()
898 PyMem_FREE(tok->buf); in PyTokenizer_Free()
900 PyMem_FREE((char *)tok->input); in PyTokenizer_Free()
901 PyMem_FREE(tok); in PyTokenizer_Free()
938 PyMem_FREE(newtok); in tok_nextc()
[all …]
Dparser.c87 PyMem_FREE(ps); in PyParser_New()
101 PyMem_FREE(ps); in PyParser_Delete()
/external/python/cpython2/Python/
Dimport.c1146 PyMem_FREE(buf); in load_source_module()
1151 PyMem_FREE(buf); in load_source_module()
1219 PyMem_FREE(buf); in load_package()
1397 PyMem_FREE(name); in find_module()
1419 PyMem_FREE(name); in find_module()
1429 PyMem_FREE(name); in find_module()
1434 PyMem_FREE(name); in find_module()
1442 PyMem_FREE(name); in find_module()
1521 PyMem_FREE(name); in find_module()
1545 PyMem_FREE(name); in find_module()
[all …]
Dmysnprintf.c98 PyMem_FREE(buffer); in PyOS_vsnprintf()
/external/python/cpython3/Include/
Dpymem.h129 #define PyMem_FREE(p) PyMem_Free(p) macro
165 #define PyMem_DEL PyMem_FREE
/external/python/cpython3/Python/
Dmysnprintf.c97 PyMem_FREE(buffer); in PyOS_vsnprintf()
Dmarshal.c1506 PyMem_FREE(rf.buf); in PyMarshal_ReadShortFromFile()
1521 PyMem_FREE(rf.buf); in PyMarshal_ReadLongFromFile()
1558 PyMem_FREE(pBuf); in PyMarshal_ReadLastObjectFromFile()
1587 PyMem_FREE(rf.buf); in PyMarshal_ReadObjectFromFile()
1608 PyMem_FREE(rf.buf); in PyMarshal_ReadObjectFromString()
1743 PyMem_FREE(rf.buf); in marshal_load()
Dtraceback.c412 PyMem_FREE(found_encoding); in _Py_DisplaySourceLine()
417 PyMem_FREE(found_encoding); in _Py_DisplaySourceLine()
/external/python/cpython3/Objects/
Dcodeobject.c172 PyMem_FREE(cell2arg); in PyCode_New()
183 PyMem_FREE(cell2arg); in PyCode_New()
190 PyMem_FREE(cell2arg); in PyCode_New()
455 PyMem_FREE(co->co_cell2arg); in code_dealloc()
Dcapsule.c250 PyMem_FREE(name_dup); in PyCapsule_Import()
Dlistobject.c326 PyMem_FREE(op->ob_item); in list_dealloc()
559 PyMem_FREE(item); in _list_clear()
673 PyMem_FREE(recycle); in list_ass_slice()
2207 PyMem_FREE(keys); in list_sort_impl()
2367 PyMem_FREE(keys); in list_sort_impl()
2395 PyMem_FREE(final_ob_item); in list_sort_impl()
2853 PyMem_FREE(garbage); in list_ass_subscript()
2914 PyMem_FREE(garbage); in list_ass_subscript()
Dodictobject.c568 PyMem_FREE(fast_nodes); in _odict_resize()
575 PyMem_FREE(od->od_fast_nodes); in _odict_resize()
702 PyMem_FREE((void *)node); \
777 PyMem_FREE(od->od_fast_nodes); in _odict_clear_nodes()
/external/python/cpython3/Doc/includes/
Dcapsulethunk.h127 PyMem_FREE(name_dup); in PyCapsule_Import()
/external/python/cpython2/Doc/includes/
Dcapsulethunk.h127 PyMem_FREE(name_dup); in PyCapsule_Import()
/external/python/cpython3/Objects/stringlib/
Djoin.h136 PyMem_FREE(buffers); in STRINGLIB()
/external/python/cpython2/Objects/
Dcapsule.c250 PyMem_FREE(name_dup); in PyCapsule_Import()
Dlistobject.c311 PyMem_FREE(op->ob_item); in list_dealloc()
596 PyMem_FREE(item); in list_clear()
705 PyMem_FREE(recycle); in list_ass_slice()
2206 PyMem_FREE(final_ob_item); in listsort()
2687 PyMem_FREE(garbage); in list_ass_subscript()
2748 PyMem_FREE(garbage); in list_ass_subscript()
/external/python/cpython3/Lib/test/
Dclinic.test1050 PyMem_FREE(a);
1054 PyMem_FREE(b);
1058 PyMem_FREE(c);
1062 PyMem_FREE(d);
1066 PyMem_FREE(e);
/external/python/cpython3/Modules/
D_localemodule.c321 if (ws1) PyMem_FREE(ws1); in PyLocale_strcoll()
322 if (ws2) PyMem_FREE(ws2); in PyLocale_strcoll()
/external/python/cpython2/Modules/
D_localemodule.c339 if (ws1) PyMem_FREE(ws1); in PyLocale_strcoll()
340 if (ws2) PyMem_FREE(ws2); in PyLocale_strcoll()

123