Searched refs:unicode_encode_ucs1 (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 6724 unicode_encode_ucs1(PyObject *unicode, in unicode_encode_ucs1() function 6904 result = unicode_encode_ucs1(unicode, errors, 256); in PyUnicode_EncodeLatin1() 6925 return unicode_encode_ucs1(unicode, errors, 256); in _PyUnicode_AsLatin1String() 7045 result = unicode_encode_ucs1(unicode, errors, 128); in PyUnicode_EncodeASCII() 7064 return unicode_encode_ucs1(unicode, errors, 128); in _PyUnicode_AsASCIIString() 8564 return unicode_encode_ucs1(unicode, errors, 256); in _PyUnicode_EncodeCharmap()
|
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 3615 static PyObject *unicode_encode_ucs1(const Py_UNICODE *p, in unicode_encode_ucs1() function 3807 return unicode_encode_ucs1(p, size, errors, 256); in PyUnicode_EncodeLatin1() 3886 return unicode_encode_ucs1(p, size, errors, 128); in PyUnicode_EncodeASCII()
|