H A D | unicodeobject.c | 169 (_PyUnicode_WSTR(unicode) == PyUnicode_DATA(op))) 222 /* This dictionary holds all interned unicode strings. Note that references 238 unicode_encode_utf8(PyObject *unicode, _Py_error_handler error_handler, 246 static int unicode_is_singleton(PyObject *unicode); 340 static int unicode_modifiable(PyObject *unicode); 353 PyObject *unicode, PyObject **exceptionObject, 359 PyObject *unicode, 471 if (!interp->unicode.fs_codec.encoding) { in unicode_check_encoding_errors() 530 PyUnicodeObject *unicode = _PyUnicodeObject_CAST(op); in _PyUnicode_CheckConsistency() local 532 data = unicode in _PyUnicode_CheckConsistency() 619 unicode_result_wchar(PyObject *unicode) unicode_result_wchar() argument 653 unicode_result_ready(PyObject *unicode) unicode_result_ready() argument 686 unicode_result(PyObject *unicode) unicode_result() argument 696 unicode_result_unchanged(PyObject *unicode) unicode_result_unchanged() argument 712 backslashreplace(_PyBytesWriter *writer, char *str, PyObject *unicode, Py_ssize_t collstart, Py_ssize_t collend) backslashreplace() argument 779 xmlcharrefreplace(_PyBytesWriter *writer, char *str, PyObject *unicode, Py_ssize_t collstart, Py_ssize_t collend) xmlcharrefreplace() argument 1008 unicode_fill_invalid(PyObject *unicode, Py_ssize_t old_length) unicode_fill_invalid() argument 1020 resize_compact(PyObject *unicode, Py_ssize_t length) resize_compact() argument 1091 resize_inplace(PyObject *unicode, Py_ssize_t length) resize_inplace() argument 1170 resize_copy(PyObject *unicode, Py_ssize_t length) resize_copy() argument 1212 PyUnicodeObject *unicode; _PyUnicode_New() local 1269 unicode_kind_name(PyObject *unicode) unicode_kind_name() argument 1311 PyObject *unicode = _PyObject_CAST(unicode_raw); _PyUnicode_utf8() local 1316 PyObject *unicode = _PyObject_CAST(unicode_raw); _PyUnicode_compact_data() local 1320 PyObject *unicode = _PyObject_CAST(unicode_raw); _PyUnicode_data() local 1335 PyUnicodeObject *unicode = _PyUnicodeObject_CAST(op); _PyUnicode_Dump() local 1374 PyCompactUnicodeObject *unicode; PyUnicode_New() local 1485 unicode_convert_wchar_to_ucs4(const wchar_t *begin, const wchar_t *end, PyObject *unicode) unicode_convert_wchar_to_ucs4() argument 1518 unicode_check_modifiable(PyObject *unicode) unicode_check_modifiable() argument 1780 _PyUnicode_Ready(PyObject *unicode) _PyUnicode_Ready() argument 1888 unicode_convert_wchar_to_ucs4(_PyUnicode_WSTR(unicode), end, unicode); _PyUnicode_Ready() local 1909 unicode_dealloc(PyObject *unicode) unicode_dealloc() argument 1961 unicode_is_singleton(PyObject *unicode) unicode_is_singleton() argument 1979 unicode_modifiable(PyObject *unicode) unicode_modifiable() argument 2000 PyObject *unicode; unicode_resize() local 2044 PyObject *unicode; PyUnicode_Resize() local 2064 unicode_write_cstr(PyObject *unicode, Py_ssize_t index, const char *str, Py_ssize_t len) unicode_write_cstr() argument 2119 PyObject *unicode; unicode_char() local 2167 PyObject *unicode; PyUnicode_FromWideChar() local 2195 PyObject *unicode = _PyUnicode_FromUCS4(converted, size); PyUnicode_FromWideChar() local 2364 PyObject *unicode; _PyUnicode_FromASCII() local 2492 _PyUnicode_FindMaxChar(PyObject *unicode, Py_ssize_t start, Py_ssize_t end) _PyUnicode_FindMaxChar() argument 2533 PyObject *unicode, *copy; unicode_adjust_maxchar() local 2575 _PyUnicode_Copy(PyObject *unicode) _PyUnicode_Copy() argument 2765 PyObject *unicode; unicode_fromformat_write_cstr() local 3158 unicode_get_widechar_size(PyObject *unicode) unicode_get_widechar_size() argument 3188 unicode_copy_as_widechar(PyObject *unicode, wchar_t *w, Py_ssize_t size) unicode_copy_as_widechar() argument 3252 PyUnicode_AsWideChar(PyObject *unicode, wchar_t *w, Py_ssize_t size) PyUnicode_AsWideChar() argument 3294 PyUnicode_AsWideCharString(PyObject *unicode, Py_ssize_t *size) PyUnicode_AsWideCharString() argument 3551 PyObject *buffer = NULL, *unicode; PyUnicode_Decode() local 3636 PyUnicode_AsDecodedObject(PyObject *unicode, const char *encoding, const char *errors) PyUnicode_AsDecodedObject() argument 3658 PyUnicode_AsDecodedUnicode(PyObject *unicode, const char *encoding, const char *errors) PyUnicode_AsDecodedUnicode() argument 3697 PyUnicode_AsEncodedObject(PyObject *unicode, const char *encoding, const char *errors) PyUnicode_AsEncodedObject() argument 3729 unicode_encode_locale(PyObject *unicode, _Py_error_handler error_handler, int current_locale) unicode_encode_locale() argument 3779 PyUnicode_EncodeLocale(PyObject *unicode, const char *errors) PyUnicode_EncodeLocale() argument 3786 PyUnicode_EncodeFSDefault(PyObject *unicode) PyUnicode_EncodeFSDefault() argument 3820 PyUnicode_AsEncodedString(PyObject *unicode, const char *encoding, const char *errors) PyUnicode_AsEncodedString() argument 3920 PyUnicode_AsEncodedUnicode(PyObject *unicode, const char *encoding, const char *errors) PyUnicode_AsEncodedUnicode() argument 3994 PyObject *unicode = PyUnicode_FromWideChar(wstr, wlen); unicode_decode_locale() local 4172 PyUnicode_AsUTF8AndSize(PyObject *unicode, Py_ssize_t *psize) PyUnicode_AsUTF8AndSize() argument 4193 PyUnicode_AsUTF8(PyObject *unicode) PyUnicode_AsUTF8() argument 4199 PyUnicode_AsUnicodeAndSize(PyObject *unicode, Py_ssize_t *size) PyUnicode_AsUnicodeAndSize() argument 4238 PyUnicode_AsUnicode(PyObject *unicode) PyUnicode_AsUnicode() argument 4244 _PyUnicode_AsUnicode(PyObject *unicode) _PyUnicode_AsUnicode() argument 4259 PyUnicode_GetSize(PyObject *unicode) PyUnicode_GetSize() argument 4278 PyUnicode_GetLength(PyObject *unicode) PyUnicode_GetLength() argument 4290 PyUnicode_ReadChar(PyObject *unicode, Py_ssize_t index) PyUnicode_ReadChar() argument 4312 PyUnicode_WriteChar(PyObject *unicode, Py_ssize_t index, Py_UCS4 ch) PyUnicode_WriteChar() argument 5269 wchar_t *unicode; _Py_DecodeUTF8Ex() local 5535 unicode_encode_utf8(PyObject *unicode, _Py_error_handler error_handler, const char *errors) unicode_encode_utf8() argument 5581 unicode_fill_utf8(PyObject *unicode) unicode_fill_utf8() argument 5633 _PyUnicode_AsUTF8String(PyObject *unicode, const char *errors) _PyUnicode_AsUTF8String() argument 5640 PyUnicode_AsUTF8String(PyObject *unicode) PyUnicode_AsUTF8String() argument 5951 PyUnicode_AsUTF32String(PyObject *unicode) PyUnicode_AsUTF32String() argument 6291 PyUnicode_AsUTF16String(PyObject *unicode) PyUnicode_AsUTF16String() argument 6591 PyUnicode_AsUnicodeEscapeString(PyObject *unicode) PyUnicode_AsUnicodeEscapeString() argument 6856 PyUnicode_AsRawUnicodeEscapeString(PyObject *unicode) PyUnicode_AsRawUnicodeEscapeString() argument 6947 make_encode_exception(PyObject **exceptionObject, const char *encoding, PyObject *unicode, Py_ssize_t startpos, Py_ssize_t endpos, const char *reason) make_encode_exception() argument 6973 raise_encode_exception(PyObject **exceptionObject, const char *encoding, PyObject *unicode, Py_ssize_t startpos, Py_ssize_t endpos, const char *reason) raise_encode_exception() argument 6990 unicode_encode_call_errorhandler(const char *errors, PyObject **errorHandler, const char *encoding, const char *reason, PyObject *unicode, PyObject **exceptionObject, Py_ssize_t startpos, Py_ssize_t endpos, Py_ssize_t *newpos) unicode_encode_call_errorhandler() argument 7048 unicode_encode_ucs1(PyObject *unicode, const char *errors, const Py_UCS4 limit) unicode_encode_ucs1() argument 7230 _PyUnicode_AsLatin1String(PyObject *unicode, const char *errors) _PyUnicode_AsLatin1String() argument 7249 PyUnicode_AsLatin1String(PyObject *unicode) PyUnicode_AsLatin1String() argument 7356 _PyUnicode_AsASCIIString(PyObject *unicode, const char *errors) _PyUnicode_AsASCIIString() argument 7373 PyUnicode_AsASCIIString(PyObject *unicode) PyUnicode_AsASCIIString() argument 7725 encode_code_page_strict(UINT code_page, PyObject **outbytes, PyObject *unicode, Py_ssize_t offset, int len, const char* errors) encode_code_page_strict() argument 7841 encode_code_page_errors(UINT code_page, PyObject **outbytes, PyObject *unicode, Py_ssize_t unicode_offset, Py_ssize_t insize, const char* errors) encode_code_page_errors() argument 8025 encode_code_page(int code_page, PyObject *unicode, const char *errors) encode_code_page() argument 8086 PyUnicode_EncodeCodePage(int code_page, PyObject *unicode, const char *errors) PyUnicode_EncodeCodePage() argument 8094 PyUnicode_AsMBCSString(PyObject *unicode) PyUnicode_AsMBCSString() argument 8670 charmap_encoding_error( PyObject *unicode, Py_ssize_t *inpos, PyObject *mapping, PyObject **exceptionObject, _Py_error_handler *error_handler, PyObject **error_handler_obj, const char *errors, PyObject **res, Py_ssize_t *respos) charmap_encoding_error() argument 8816 _PyUnicode_EncodeCharmap(PyObject *unicode, PyObject *mapping, const char *errors) _PyUnicode_EncodeCharmap() argument 8887 PyUnicode_AsCharmapString(PyObject *unicode, PyObject *mapping) PyUnicode_AsCharmapString() argument 8899 make_translate_exception(PyObject **exceptionObject, PyObject *unicode, Py_ssize_t startpos, Py_ssize_t endpos, const char *reason) make_translate_exception() argument 8926 unicode_translate_call_errorhandler(const char *errors, PyObject **errorHandler, const char *reason, PyObject *unicode, PyObject **exceptionObject, Py_ssize_t startpos, Py_ssize_t endpos, Py_ssize_t *newpos) unicode_translate_call_errorhandler() argument 9321 _PyUnicode_TransformDecimalAndSpaceToASCII(PyObject *unicode) _PyUnicode_TransformDecimalAndSpaceToASCII() argument 10235 _PyUnicode_FastFill(PyObject *unicode, Py_ssize_t start, Py_ssize_t length, Py_UCS4 fill_char) _PyUnicode_FastFill() argument 10249 PyUnicode_Fill(PyObject *unicode, Py_ssize_t start, Py_ssize_t length, Py_UCS4 fill_char) PyUnicode_Fill() argument 11232 non_ready_unicode_equal_to_ascii_string(PyObject *unicode, const char *str) non_ready_unicode_equal_to_ascii_string() argument 11250 _PyUnicode_EqualToASCIIString(PyObject *unicode, const char *str) _PyUnicode_EqualToASCIIString() argument 12888 unicode_repr(PyObject *unicode) unicode_repr() argument 14538 PyObject *unicode; _PyUnicode_FormatLong() local 15285 PyObject *unicode; unicode_new_impl() local 15303 unicode_subtype_new(PyTypeObject *type, PyObject *unicode) unicode_subtype_new() argument [all...] |