/aosp_15_r20/external/python/cpython3/Modules/ |
D | _json.c | 176 Py_UCS4 c = PyUnicode_READ(kind, input, i); in ascii_escape_unicode() 205 Py_UCS4 c = PyUnicode_READ(kind, input, i); in ascii_escape_unicode() 243 Py_UCS4 c = PyUnicode_READ(kind, input, i); in escape_unicode() 273 Py_UCS4 c = PyUnicode_READ(kind, input, i); \ in escape_unicode() 420 d = PyUnicode_READ(kind, buf, next); in scanstring_unicode() 463 c = PyUnicode_READ(kind, buf, next); in scanstring_unicode() 493 Py_UCS4 digit = PyUnicode_READ(kind, buf, next); in scanstring_unicode() 512 PyUnicode_READ(kind, buf, next++) == '\\' && in scanstring_unicode() 513 PyUnicode_READ(kind, buf, next++) == 'u') { in scanstring_unicode() 518 Py_UCS4 digit = PyUnicode_READ(kind, buf, next); in scanstring_unicode() [all …]
|
D | unicodedata.c | 532 stack[stackptr++] = PyUnicode_READ(kind, data, i++); in nfd_nfkd() 603 prev = _getrecord_ex(PyUnicode_READ(kind, data, i))->combining; in nfd_nfkd() 605 cur = _getrecord_ex(PyUnicode_READ(kind, data, i))->combining; in nfd_nfkd() 613 Py_UCS4 tmp = PyUnicode_READ(kind, data, o+1); in nfd_nfkd() 615 PyUnicode_READ(kind, data, o)); in nfd_nfkd() 620 prev = _getrecord_ex(PyUnicode_READ(kind, data, o))->combining; in nfd_nfkd() 624 prev = _getrecord_ex(PyUnicode_READ(kind, data, i))->combining; in nfd_nfkd() 691 code = PyUnicode_READ(kind, data, i); in nfc_nfkc() 694 VBase <= PyUnicode_READ(kind, data, i+1) && in nfc_nfkc() 695 PyUnicode_READ(kind, data, i+1) < (VBase+VCount)) { in nfc_nfkc() [all …]
|
D | _csv.c | 917 c = PyUnicode_READ(kind, data, pos); in Reader_iternext() 1105 Py_UCS4 c = PyUnicode_READ(field_kind, field_data, i); in join_append_data() 1228 self->rec[self->rec_len + i] = PyUnicode_READ(term_kind, term_data, i); in join_append_lineterminator()
|
D | _elementtree.c | 1125 if (len >= 3 && PyUnicode_READ(kind, data, 0) == '{' && ( in checkpath() 1126 PyUnicode_READ(kind, data, 1) == '}' || ( in checkpath() 1127 PyUnicode_READ(kind, data, 1) == '*' && in checkpath() 1128 PyUnicode_READ(kind, data, 2) == '}'))) { in checkpath() 1133 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in checkpath()
|
D | _operator.c | 1255 if (PyUnicode_READ(kind, data, char_idx) == '.') in attrgetter_new() 1276 while (PyUnicode_READ(kind, data, unibuff_till) != '.') { in attrgetter_new()
|
D | pyexpat.c | 1116 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in PyUnknownEncodingHandler()
|
/aosp_15_r20/external/python/cpython3/Objects/ |
D | unicodeobject.c | 590 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_CheckConsistency() 610 CHECK(PyUnicode_READ(kind, data, ascii->length) == 0); in _PyUnicode_CheckConsistency() 729 ch = PyUnicode_READ(kind, data, i); in backslashreplace() 752 ch = PyUnicode_READ(kind, data, i); in backslashreplace() 796 ch = PyUnicode_READ(kind, data, i); in xmlcharrefreplace() 827 size = sprintf(str, "&#%d;", PyUnicode_READ(kind, data, i)); in xmlcharrefreplace() 1564 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters() 1660 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters() 4308 return PyUnicode_READ(kind, data, index); in PyUnicode_ReadChar() 4931 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_EncodeUTF7() [all …]
|
/aosp_15_r20/external/python/cpython3/Modules/_io/ |
D | textio.c | 386 while (PyUnicode_READ(kind, in_str, i) > '\n') in _PyIncrementalNewlineDecoder_decode() 388 c = PyUnicode_READ(kind, in_str, i++); in _PyIncrementalNewlineDecoder_decode() 409 while (PyUnicode_READ(kind, in_str, i) > '\r') in _PyIncrementalNewlineDecoder_decode() 411 c = PyUnicode_READ(kind, in_str, i++); in _PyIncrementalNewlineDecoder_decode() 415 if (PyUnicode_READ(kind, in_str, i) == '\n') { in _PyIncrementalNewlineDecoder_decode() 450 while ((c = PyUnicode_READ(kind, in_str, in++)) > '\r') in _PyIncrementalNewlineDecoder_decode() 458 if (PyUnicode_READ(kind, in_str, in) == '\n') { in _PyIncrementalNewlineDecoder_decode() 2011 while (PyUnicode_READ(kind, s, 0) > ch) in find_control_char() 2013 if (PyUnicode_READ(kind, s, 0) == ch) in find_control_char() 2047 while (PyUnicode_READ(kind, s, 0) > '\r') in _PyIO_find_line_ending() [all …]
|
/aosp_15_r20/external/python/cpython3/Python/ |
D | formatter_unicode.c | 70 digitval = Py_UNICODE_TODECIMAL(PyUnicode_READ(kind, data, pos)); in get_integer() 161 #define READ_spec(index) PyUnicode_READ(kind, data, index) in parse_internal_render_format_spec() 454 while (pos<end && Py_ISDIGIT(PyUnicode_READ(kind, data, pos))) in parse_number() 459 *has_decimal = pos<end && PyUnicode_READ(kind, data, remainder) == '.'; in parse_number() 631 Py_UCS4 c = PyUnicode_READ(kind, data, writer->pos + t); in fill_number() 661 Py_UCS4 c = PyUnicode_READ(kind, data, writer->pos + t); in fill_number()
|
D | _warnings.c | 464 PyUnicode_READ(kind, data, len-3) == '.' && in normalize_module() 465 PyUnicode_READ(kind, data, len-2) == 'p' && in normalize_module() 466 PyUnicode_READ(kind, data, len-1) == 'y') in normalize_module() 545 ch = PyUnicode_READ(kind, data, i); in show_warning()
|
D | traceback.c | 533 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in display_source_line_with_margin() 1152 ch = PyUnicode_READ(kind, data, i); in _Py_DumpASCII()
|
D | ast_opt.c | 253 if (PyUnicode_READ(kind, data, pos) != '%') { in parse_literal() 256 else if (pos+1 < size && PyUnicode_READ(kind, data, pos+1) == '%') { in parse_literal()
|
D | getargs.c | 882 *p = PyUnicode_READ(kind, data, 0); in convertsimple()
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | _testcppext.cpp | 116 assert(PyUnicode_READ(kind, data, 0) == 'a'); in test_unicode() 121 assert(PyUnicode_READ(ukind, const_data, 2) == 'c'); in test_unicode()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 396 static inline Py_UCS4 PyUnicode_READ(int kind, in PyUnicode_READ() function 409 #define PyUnicode_READ(kind, data, index) \ macro 410 PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 396 static inline Py_UCS4 PyUnicode_READ(int kind, in PyUnicode_READ() function 409 #define PyUnicode_READ(kind, data, index) \ macro 410 PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
|
/aosp_15_r20/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 396 static inline Py_UCS4 PyUnicode_READ(int kind, in PyUnicode_READ() function 409 #define PyUnicode_READ(kind, data, index) \ macro 410 PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 396 static inline Py_UCS4 PyUnicode_READ(int kind, in PyUnicode_READ() function 409 #define PyUnicode_READ(kind, data, index) \ macro 410 PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/ |
D | unicodeobject.h | 396 static inline Py_UCS4 PyUnicode_READ(int kind, in PyUnicode_READ() function 409 #define PyUnicode_READ(kind, data, index) \ macro 410 PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
|
/aosp_15_r20/external/python/cpython3/Modules/cjkcodecs/ |
D | cjkcodecs.h | 132 #define INCHAR1 (PyUnicode_READ(kind, data, *inpos)) 133 #define INCHAR2 (PyUnicode_READ(kind, data, *inpos + 1))
|
/aosp_15_r20/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2714 PyUnicode_READ:Py_UCS4::: 2715 PyUnicode_READ:int:kind:: 2716 PyUnicode_READ:void*:data:: 2717 PyUnicode_READ:Py_ssize_t:index::
|
/aosp_15_r20/external/python/cpython3/Parser/ |
D | string_parser.c | 113 Py_UCS4 chr = PyUnicode_READ(kind, data, i); in decode_unicode_with_escapes()
|
/aosp_15_r20/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 184 .. c:function:: Py_UCS4 PyUnicode_READ(int kind, void *data, \ 196 representation. This is less efficient than :c:func:`PyUnicode_READ` if you 247 :c:func:`PyUnicode_WRITE` or :c:func:`PyUnicode_READ`.
|
/aosp_15_r20/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 1923 Py_UCS4 ch = PyUnicode_READ(kind, data, pos); in is_space() 1970 ch = PyUnicode_READ(kind, data, j); in numeric_as_ascii()
|
/aosp_15_r20/external/python/cpython2/Objects/ |
D | bytesobject.c | 2378 if (PyUnicode_READ(kind, data, i) >= 128) in _PyBytes_FromHex()
|