Home
last modified time | relevance | path

Searched refs:encoding_obj (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Python/
Dpythonrun.c186 PyObject *encoding_obj = NULL; in pyrun_one_parse_ast() local
191 encoding_obj = PyObject_GetAttr(attr, &_Py_ID(encoding)); in pyrun_one_parse_ast()
192 if (encoding_obj) { in pyrun_one_parse_ast()
193 encoding = PyUnicode_AsUTF8(encoding_obj); in pyrun_one_parse_ast()
243 Py_XDECREF(encoding_obj); in pyrun_one_parse_ast()
/external/python/cpython3/Objects/
Dunicodeobject.c7309 PyObject *encoding_obj = NULL; in decode_code_page_errors() local
7316 encoding = code_page_name(code_page, &encoding_obj); in decode_code_page_errors()
7405 Py_XDECREF(encoding_obj); in decode_code_page_errors()
7650 PyObject *encoding_obj = NULL; in encode_code_page_errors() local
7658 encoding = code_page_name(code_page, &encoding_obj); in encode_code_page_errors()
7670 Py_XDECREF(encoding_obj); in encode_code_page_errors()
7805 Py_XDECREF(encoding_obj); in encode_code_page_errors()