Searched refs:get_unicode (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Objects/ |
D | exceptions.c | 1583 get_unicode(PyObject *attr, const char *name) in get_unicode() function 1612 return get_unicode(((PyUnicodeErrorObject *)exc)->encoding, "encoding"); in PyUnicodeEncodeError_GetEncoding() 1618 return get_unicode(((PyUnicodeErrorObject *)exc)->encoding, "encoding"); in PyUnicodeDecodeError_GetEncoding() 1624 return get_unicode(((PyUnicodeErrorObject *)exc)->object, "object"); in PyUnicodeEncodeError_GetObject() 1636 return get_unicode(((PyUnicodeErrorObject *)exc)->object, "object"); in PyUnicodeTranslateError_GetObject() 1643 PyObject *obj = get_unicode(((PyUnicodeErrorObject *)exc)->object, in PyUnicodeEncodeError_GetStart() 1711 PyObject *obj = get_unicode(((PyUnicodeErrorObject *)exc)->object, in PyUnicodeEncodeError_GetEnd() 1777 return get_unicode(((PyUnicodeErrorObject *)exc)->reason, "reason"); in PyUnicodeEncodeError_GetReason() 1784 return get_unicode(((PyUnicodeErrorObject *)exc)->reason, "reason"); in PyUnicodeDecodeError_GetReason() 1791 return get_unicode(((PyUnicodeErrorObject *)exc)->reason, "reason"); in PyUnicodeTranslateError_GetReason()
|
/external/python/cpython2/Objects/ |
D | exceptions.c | 1322 get_unicode(PyObject *attr, const char *name) in get_unicode() function 1353 return get_unicode(((PyUnicodeErrorObject *)exc)->object, "object"); in PyUnicodeEncodeError_GetObject() 1365 return get_unicode(((PyUnicodeErrorObject *)exc)->object, "object"); in PyUnicodeTranslateError_GetObject() 1372 PyObject *obj = get_unicode(((PyUnicodeErrorObject *)exc)->object, in PyUnicodeEncodeError_GetStart() 1441 PyObject *obj = get_unicode(((PyUnicodeErrorObject *)exc)->object, in PyUnicodeEncodeError_GetEnd()
|