Lines Matching refs:PyUnicode_READ
497 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_CheckConsistency()
517 assert(PyUnicode_READ(kind, data, ascii->length) == 0); in _PyUnicode_CheckConsistency()
575 Py_UCS4 ch = PyUnicode_READ(kind, data, 0); in unicode_result_ready()
642 ch = PyUnicode_READ(kind, data, i); in backslashreplace()
665 ch = PyUnicode_READ(kind, data, i); in backslashreplace()
709 ch = PyUnicode_READ(kind, data, i); in xmlcharrefreplace()
740 str += sprintf(str, "&#%d;", PyUnicode_READ(kind, data, i)); in xmlcharrefreplace()
1461 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()
1557 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()
4040 return PyUnicode_READ(kind, data, index); in PyUnicode_ReadChar()
4635 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_EncodeUTF7()
6207 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in PyUnicode_AsUnicodeEscapeString()
6456 Py_UCS4 ch = PyUnicode_READ(kind, data, pos); in PyUnicode_AsRawUnicodeEscapeString()
6759 Py_UCS4 ch = PyUnicode_READ(kind, data, pos); in unicode_encode_ucs1()
6774 while ((collend < size) && (PyUnicode_READ(kind, data, collend) >= limit)) in unicode_encode_ucs1()
6819 ch = PyUnicode_READ(kind, data, i); in unicode_encode_ucs1()
7672 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in encode_code_page_errors()
7885 x = PyUnicode_READ(mapkind, mapdata, ch); in charmap_decode_string()
8157 if (PyUnicode_READ(kind, data, 0) != 0) in PyUnicode_BuildEncodingMap()
8161 ch = PyUnicode_READ(kind, data, i); in PyUnicode_BuildEncodingMap()
8186 key = PyLong_FromLong(PyUnicode_READ(kind, data, i)); in PyUnicode_BuildEncodingMap()
8221 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in PyUnicode_BuildEncodingMap()
8520 Py_UCS4 repch = PyUnicode_READ(kind, data, index); in charmap_encoding_error()
8575 Py_UCS4 ch = PyUnicode_READ(kind, data, inpos); in _PyUnicode_EncodeCharmap()
8994 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_TranslateCharmap()
9012 ch = PyUnicode_READ(kind, data, collend); in _PyUnicode_TranslateCharmap()
9101 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_TransformDecimalAndSpaceToASCII()
9194 ch = PyUnicode_READ(kind, data, i); in PyUnicode_EncodeDecimal()
9269 Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0); in any_find_slice()
9618 if (PyUnicode_READ(kind_self, data_self, offset) == in tailmatch()
9619 PyUnicode_READ(kind_sub, data_sub, 0) && in tailmatch()
9620 PyUnicode_READ(kind_self, data_self, offset + end_sub) == in tailmatch()
9621 PyUnicode_READ(kind_sub, data_sub, end_sub)) { in tailmatch()
9636 if (PyUnicode_READ(kind_self, data_self, offset + i) != in tailmatch()
9637 PyUnicode_READ(kind_sub, data_sub, i)) in tailmatch()
9691 c = PyUnicode_READ(kind, data, j); in handle_capital_sigma()
9698 c = PyUnicode_READ(kind, data, j); in handle_capital_sigma()
9726 c = PyUnicode_READ(kind, data, 0); in do_capitalize()
9733 c = PyUnicode_READ(kind, data, i); in do_capitalize()
9748 Py_UCS4 c = PyUnicode_READ(kind, data, i), mapped[3]; in do_swapcase()
9775 Py_UCS4 c = PyUnicode_READ(kind, data, i), mapped[3]; in do_upper_or_lower()
9807 Py_UCS4 c = PyUnicode_READ(kind, data, i); in do_casefold()
9826 const Py_UCS4 c = PyUnicode_READ(kind, data, i); in do_title()
10502 u1 = PyUnicode_READ(kind1, buf1, 0); in replace()
10506 u2 = PyUnicode_READ(kind2, buf2, 0); in replace()
11039 for (i = 0; (chr = PyUnicode_READ(kind, data, i)) && str[i]; i++) in PyUnicode_CompareWithASCIIString()
11212 Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0); in PyUnicode_Contains()
11522 ch = PyUnicode_READ(kind, src_data, i); in unicode_expandtabs_impl()
11554 ch = PyUnicode_READ(kind, src_data, i); in unicode_expandtabs_impl()
11631 ch = PyUnicode_READ(kind, data, index); in unicode_getitem()
11748 Py_UNICODE_ISLOWER(PyUnicode_READ(kind, data, 0))); in unicode_islower_impl()
11756 const Py_UCS4 ch = PyUnicode_READ(kind, data, i); in unicode_islower_impl()
11793 Py_UNICODE_ISUPPER(PyUnicode_READ(kind, data, 0)) != 0); in unicode_isupper_impl()
11801 const Py_UCS4 ch = PyUnicode_READ(kind, data, i); in unicode_isupper_impl()
11837 Py_UCS4 ch = PyUnicode_READ(kind, data, 0); in unicode_istitle_impl()
11849 const Py_UCS4 ch = PyUnicode_READ(kind, data, i); in unicode_istitle_impl()
11895 Py_UNICODE_ISSPACE(PyUnicode_READ(kind, data, 0))); in unicode_isspace_impl()
11902 const Py_UCS4 ch = PyUnicode_READ(kind, data, i); in unicode_isspace_impl()
11935 Py_UNICODE_ISALPHA(PyUnicode_READ(kind, data, 0))); in unicode_isalpha_impl()
11942 if (!Py_UNICODE_ISALPHA(PyUnicode_READ(kind, data, i))) in unicode_isalpha_impl()
11974 const Py_UCS4 ch = PyUnicode_READ(kind, data, 0); in unicode_isalnum_impl()
11983 const Py_UCS4 ch = PyUnicode_READ(kind, data, i); in unicode_isalnum_impl()
12016 Py_UNICODE_ISDECIMAL(PyUnicode_READ(kind, data, 0))); in unicode_isdecimal_impl()
12023 if (!Py_UNICODE_ISDECIMAL(PyUnicode_READ(kind, data, i))) in unicode_isdecimal_impl()
12054 const Py_UCS4 ch = PyUnicode_READ(kind, data, 0); in unicode_isdigit_impl()
12063 if (!Py_UNICODE_ISDIGIT(PyUnicode_READ(kind, data, i))) in unicode_isdigit_impl()
12095 Py_UNICODE_ISNUMERIC(PyUnicode_READ(kind, data, 0))); in unicode_isnumeric_impl()
12102 if (!Py_UNICODE_ISNUMERIC(PyUnicode_READ(kind, data, i))) in unicode_isnumeric_impl()
12135 first = PyUnicode_READ(kind, data, 0); in PyUnicode_IsIdentifier()
12140 if (!_PyUnicode_IsXidContinue(PyUnicode_READ(kind, data, i))) in PyUnicode_IsIdentifier()
12187 Py_UNICODE_ISPRINTABLE(PyUnicode_READ(kind, data, 0))); in unicode_isprintable_impl()
12190 if (!Py_UNICODE_ISPRINTABLE(PyUnicode_READ(kind, data, i))) { in unicode_isprintable_impl()
12301 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_XStrip()
12314 Py_UCS4 ch = PyUnicode_READ(kind, data, j); in _PyUnicode_XStrip()
12407 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in do_strip()
12418 Py_UCS4 ch = PyUnicode_READ(kind, data, j); in do_strip()
12536 const Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0); in unicode_repeat()
12631 Py_UCS4 ch = PyUnicode_READ(ikind, idata, i); in unicode_repr()
12690 Py_UCS4 ch = PyUnicode_READ(ikind, idata, i); in unicode_repr()
13187 key = PyLong_FromLong(PyUnicode_READ(x_kind, x_data, i)); in unicode_maketrans_impl()
13190 value = PyLong_FromLong(PyUnicode_READ(y_kind, y_data, i)); in unicode_maketrans_impl()
13206 key = PyLong_FromLong(PyUnicode_READ(z_kind, z_data, i)); in unicode_maketrans_impl()
13237 newkey = PyLong_FromLong(PyUnicode_READ(kind, data, 0)); in unicode_maketrans_impl()
13336 chr = PyUnicode_READ(kind, data, fill); in unicode_zfill_impl()
14006 ch = PyUnicode_READ(src_kind, src_data, cur); in unicode_subscript()
14023 Py_UCS4 ch = PyUnicode_READ(src_kind, src_data, cur); in unicode_subscript()
14431 PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos) in unicode_format_arg_parse()
14765 Py_UCS4 ch = PyUnicode_READ(kind, pbuf, pindex); in unicode_format_arg_output()
14818 assert(PyUnicode_READ(kind, pbuf, pindex) == '0'); in unicode_format_arg_output()
14819 assert(PyUnicode_READ(kind, pbuf, pindex + 1) == arg->ch); in unicode_format_arg_output()
14848 assert(PyUnicode_READ(kind, pbuf, pindex) == '0'); in unicode_format_arg_output()
14849 assert(PyUnicode_READ(kind, pbuf, pindex+1) == arg->ch); in unicode_format_arg_output()
14882 arg.ch = PyUnicode_READ(ctx->fmtkind, ctx->fmtdata, ctx->fmtpos); in unicode_format_arg()
14958 if (PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') { in PyUnicode_Format()
14963 PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') { in PyUnicode_Format()
15402 Py_UCS4 chr = PyUnicode_READ(kind, data, it->it_index); in unicodeiter_next()