Searched refs:_PyUnicode_AsASCIIString (Results 1 – 5 of 5) sorted by relevance
868 return codec_tuple(_PyUnicode_AsASCIIString(str, errors), in _codecs_ascii_encode_impl()
891 PyAPI_FUNC(PyObject*) _PyUnicode_AsASCIIString(
534 ascii = _PyUnicode_AsASCIIString(repr, "backslashreplace"); in PyObject_ASCII()
3935 return _PyUnicode_AsASCIIString(unicode, errors); in PyUnicode_AsEncodedString()7511 _PyUnicode_AsASCIIString(PyObject *unicode, const char *errors) in _PyUnicode_AsASCIIString() function7530 return _PyUnicode_AsASCIIString(unicode, NULL); in PyUnicode_AsASCIIString()
709 return _PyUnicode_AsASCIIString(text, PyUnicode_AsUTF8(self->errors)); in ascii_encode()