Lines Matching refs:PyUnicode_READ
535 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_CheckConsistency()
555 CHECK(PyUnicode_READ(kind, data, ascii->length) == 0); in _PyUnicode_CheckConsistency()
615 Py_UCS4 ch = PyUnicode_READ(kind, data, 0); in unicode_result_ready()
682 ch = PyUnicode_READ(kind, data, i); in backslashreplace()
705 ch = PyUnicode_READ(kind, data, i); in backslashreplace()
749 ch = PyUnicode_READ(kind, data, i); in xmlcharrefreplace()
780 str += sprintf(str, "&#%d;", PyUnicode_READ(kind, data, i)); in xmlcharrefreplace()
1504 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()
1600 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()
4078 return PyUnicode_READ(kind, data, index); in PyUnicode_ReadChar()
4692 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_EncodeUTF7()
6355 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in PyUnicode_AsUnicodeEscapeString()
6604 Py_UCS4 ch = PyUnicode_READ(kind, data, pos); in PyUnicode_AsRawUnicodeEscapeString()
6805 Py_UCS4 ch = PyUnicode_READ(kind, data, pos); in unicode_encode_ucs1()
6820 while ((collend < size) && (PyUnicode_READ(kind, data, collend) >= limit)) in unicode_encode_ucs1()
6865 ch = PyUnicode_READ(kind, data, i); in unicode_encode_ucs1()
7713 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in encode_code_page_errors()
7924 x = PyUnicode_READ(mapkind, mapdata, ch); in charmap_decode_string()
8190 if (PyUnicode_READ(kind, data, 0) != 0) in PyUnicode_BuildEncodingMap()
8194 ch = PyUnicode_READ(kind, data, i); in PyUnicode_BuildEncodingMap()
8219 key = PyLong_FromLong(PyUnicode_READ(kind, data, i)); in PyUnicode_BuildEncodingMap()
8254 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in PyUnicode_BuildEncodingMap()
8553 Py_UCS4 repch = PyUnicode_READ(kind, data, index); in charmap_encoding_error()
8608 Py_UCS4 ch = PyUnicode_READ(kind, data, inpos); in _PyUnicode_EncodeCharmap()
9027 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_TranslateCharmap()
9045 ch = PyUnicode_READ(kind, data, collend); in _PyUnicode_TranslateCharmap()
9134 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_TransformDecimalAndSpaceToASCII()
9227 ch = PyUnicode_READ(kind, data, i); in PyUnicode_EncodeDecimal()
9302 Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0); in any_find_slice()
9651 if (PyUnicode_READ(kind_self, data_self, offset) == in tailmatch()
9652 PyUnicode_READ(kind_sub, data_sub, 0) && in tailmatch()
9653 PyUnicode_READ(kind_self, data_self, offset + end_sub) == in tailmatch()
9654 PyUnicode_READ(kind_sub, data_sub, end_sub)) { in tailmatch()
9669 if (PyUnicode_READ(kind_self, data_self, offset + i) != in tailmatch()
9670 PyUnicode_READ(kind_sub, data_sub, i)) in tailmatch()
9724 c = PyUnicode_READ(kind, data, j); in handle_capital_sigma()
9731 c = PyUnicode_READ(kind, data, j); in handle_capital_sigma()
9759 c = PyUnicode_READ(kind, data, 0); in do_capitalize()
9766 c = PyUnicode_READ(kind, data, i); in do_capitalize()
9781 Py_UCS4 c = PyUnicode_READ(kind, data, i), mapped[3]; in do_swapcase()
9808 Py_UCS4 c = PyUnicode_READ(kind, data, i), mapped[3]; in do_upper_or_lower()
9840 Py_UCS4 c = PyUnicode_READ(kind, data, i); in do_casefold()
9859 const Py_UCS4 c = PyUnicode_READ(kind, data, i); in do_title()
10535 u1 = PyUnicode_READ(kind1, buf1, 0); in replace()
10539 u2 = PyUnicode_READ(kind2, buf2, 0); in replace()
11072 for (i = 0; (chr = PyUnicode_READ(kind, data, i)) && str[i]; i++) in PyUnicode_CompareWithASCIIString()
11245 Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0); in PyUnicode_Contains()
11555 ch = PyUnicode_READ(kind, src_data, i); in unicode_expandtabs_impl()
11587 ch = PyUnicode_READ(kind, src_data, i); in unicode_expandtabs_impl()
11664 ch = PyUnicode_READ(kind, data, index); in unicode_getitem()
11772 Py_UNICODE_ISLOWER(PyUnicode_READ(kind, data, 0))); in unicode_islower_impl()
11780 const Py_UCS4 ch = PyUnicode_READ(kind, data, i); in unicode_islower_impl()
11817 Py_UNICODE_ISUPPER(PyUnicode_READ(kind, data, 0)) != 0); in unicode_isupper_impl()
11825 const Py_UCS4 ch = PyUnicode_READ(kind, data, i); in unicode_isupper_impl()
11861 Py_UCS4 ch = PyUnicode_READ(kind, data, 0); in unicode_istitle_impl()
11873 const Py_UCS4 ch = PyUnicode_READ(kind, data, i); in unicode_istitle_impl()
11919 Py_UNICODE_ISSPACE(PyUnicode_READ(kind, data, 0))); in unicode_isspace_impl()
11926 const Py_UCS4 ch = PyUnicode_READ(kind, data, i); in unicode_isspace_impl()
11959 Py_UNICODE_ISALPHA(PyUnicode_READ(kind, data, 0))); in unicode_isalpha_impl()
11966 if (!Py_UNICODE_ISALPHA(PyUnicode_READ(kind, data, i))) in unicode_isalpha_impl()
11998 const Py_UCS4 ch = PyUnicode_READ(kind, data, 0); in unicode_isalnum_impl()
12007 const Py_UCS4 ch = PyUnicode_READ(kind, data, i); in unicode_isalnum_impl()
12040 Py_UNICODE_ISDECIMAL(PyUnicode_READ(kind, data, 0))); in unicode_isdecimal_impl()
12047 if (!Py_UNICODE_ISDECIMAL(PyUnicode_READ(kind, data, i))) in unicode_isdecimal_impl()
12078 const Py_UCS4 ch = PyUnicode_READ(kind, data, 0); in unicode_isdigit_impl()
12087 if (!Py_UNICODE_ISDIGIT(PyUnicode_READ(kind, data, i))) in unicode_isdigit_impl()
12119 Py_UNICODE_ISNUMERIC(PyUnicode_READ(kind, data, 0))); in unicode_isnumeric_impl()
12126 if (!Py_UNICODE_ISNUMERIC(PyUnicode_READ(kind, data, i))) in unicode_isnumeric_impl()
12159 first = PyUnicode_READ(kind, data, 0); in PyUnicode_IsIdentifier()
12164 if (!_PyUnicode_IsXidContinue(PyUnicode_READ(kind, data, i))) in PyUnicode_IsIdentifier()
12211 Py_UNICODE_ISPRINTABLE(PyUnicode_READ(kind, data, 0))); in unicode_isprintable_impl()
12214 if (!Py_UNICODE_ISPRINTABLE(PyUnicode_READ(kind, data, i))) { in unicode_isprintable_impl()
12325 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_XStrip()
12338 Py_UCS4 ch = PyUnicode_READ(kind, data, j); in _PyUnicode_XStrip()
12431 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in do_strip()
12442 Py_UCS4 ch = PyUnicode_READ(kind, data, j); in do_strip()
12560 const Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0); in unicode_repeat()
12655 Py_UCS4 ch = PyUnicode_READ(ikind, idata, i); in unicode_repr()
12714 Py_UCS4 ch = PyUnicode_READ(ikind, idata, i); in unicode_repr()
13211 key = PyLong_FromLong(PyUnicode_READ(x_kind, x_data, i)); in unicode_maketrans_impl()
13214 value = PyLong_FromLong(PyUnicode_READ(y_kind, y_data, i)); in unicode_maketrans_impl()
13230 key = PyLong_FromLong(PyUnicode_READ(z_kind, z_data, i)); in unicode_maketrans_impl()
13261 newkey = PyLong_FromLong(PyUnicode_READ(kind, data, 0)); in unicode_maketrans_impl()
13360 chr = PyUnicode_READ(kind, data, fill); in unicode_zfill_impl()
14031 ch = PyUnicode_READ(src_kind, src_data, cur); in unicode_subscript()
14048 Py_UCS4 ch = PyUnicode_READ(src_kind, src_data, cur); in unicode_subscript()
14456 PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos) in unicode_format_arg_parse()
14790 Py_UCS4 ch = PyUnicode_READ(kind, pbuf, pindex); in unicode_format_arg_output()
14843 assert(PyUnicode_READ(kind, pbuf, pindex) == '0'); in unicode_format_arg_output()
14844 assert(PyUnicode_READ(kind, pbuf, pindex + 1) == arg->ch); in unicode_format_arg_output()
14873 assert(PyUnicode_READ(kind, pbuf, pindex) == '0'); in unicode_format_arg_output()
14874 assert(PyUnicode_READ(kind, pbuf, pindex+1) == arg->ch); in unicode_format_arg_output()
14907 arg.ch = PyUnicode_READ(ctx->fmtkind, ctx->fmtdata, ctx->fmtpos); in unicode_format_arg()
14983 if (PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') { in PyUnicode_Format()
14988 PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') { in PyUnicode_Format()
15425 Py_UCS4 chr = PyUnicode_READ(kind, data, it->it_index); in unicodeiter_next()