Searched refs:_PyUnicode_AsASCIIString (Results 1 – 5 of 5) sorted by relevance
938 return codec_tuple(_PyUnicode_AsASCIIString(str, errors), in _codecs_ascii_encode_impl()
1601 PyAPI_FUNC(PyObject*) _PyUnicode_AsASCIIString(
596 ascii = _PyUnicode_AsASCIIString(repr, "backslashreplace"); in PyObject_ASCII()
3513 return _PyUnicode_AsASCIIString(unicode, errors); in PyUnicode_AsEncodedString()7051 _PyUnicode_AsASCIIString(PyObject *unicode, const char *errors) in _PyUnicode_AsASCIIString() function7070 return _PyUnicode_AsASCIIString(unicode, NULL); in PyUnicode_AsASCIIString()
706 return _PyUnicode_AsASCIIString(text, PyUnicode_AsUTF8(self->errors)); in ascii_encode()