Home
last modified time | relevance | path

Searched refs:PyUnicode_READ_CHAR (Results 1 – 25 of 32) sorted by relevance

12

/aosp_15_r20/external/python/cpython3/Modules/clinic/
Dunicodedata.c.h43 chr = PyUnicode_READ_CHAR(args[0], 0); in unicodedata_UCD_decimal()
92 chr = PyUnicode_READ_CHAR(args[0], 0); in unicodedata_UCD_digit()
142 chr = PyUnicode_READ_CHAR(args[0], 0); in unicodedata_UCD_numeric()
183 chr = PyUnicode_READ_CHAR(arg, 0); in unicodedata_UCD_category()
221 chr = PyUnicode_READ_CHAR(arg, 0); in unicodedata_UCD_bidirectional()
260 chr = PyUnicode_READ_CHAR(arg, 0); in unicodedata_UCD_combining()
304 chr = PyUnicode_READ_CHAR(arg, 0); in unicodedata_UCD_mirrored()
344 chr = PyUnicode_READ_CHAR(arg, 0); in unicodedata_UCD_east_asian_width()
382 chr = PyUnicode_READ_CHAR(arg, 0); in unicodedata_UCD_decomposition()
519 chr = PyUnicode_READ_CHAR(args[0], 0); in unicodedata_UCD_name()
Darraymodule.c.h558 typecode = PyUnicode_READ_CHAR(args[1], 0); in array__array_reconstructor()
D_testclinic.c.h652 c = PyUnicode_READ_CHAR(args[2], 0); in int_converter()
/aosp_15_r20/external/python/cpython3/Objects/stringlib/
Dunicode_format.h122 digitval = Py_UNICODE_TODECIMAL(PyUnicode_READ_CHAR(str->str, i)); in get_integer()
221 c = PyUnicode_READ_CHAR(self->str.str, self->index++); in _FieldNameIterator_attr()
249 c = PyUnicode_READ_CHAR(self->str.str, self->index++); in _FieldNameIterator_item()
280 switch (PyUnicode_READ_CHAR(self->str.str, self->index++)) { in FieldNameIterator_next()
330 switch (c = PyUnicode_READ_CHAR(str, i++)) { in field_name_split()
572 switch ((c = PyUnicode_READ_CHAR(str->str, str->start++))) { in parse_field()
578 if (PyUnicode_READ_CHAR(str->str, str->start) == ']') in parse_field()
606 *conversion = PyUnicode_READ_CHAR(str->str, str->start++); in parse_field()
609 c = PyUnicode_READ_CHAR(str->str, str->start++); in parse_field()
623 switch ((c = PyUnicode_READ_CHAR(str->str, str->start++))) { in parse_field()
[all …]
/aosp_15_r20/external/python/cpython3/Python/
Dcodecs.c774 ch = PyUnicode_READ_CHAR(object, i); in PyCodec_XMLCharRefReplaceErrors()
801 ch = PyUnicode_READ_CHAR(object, i); in PyCodec_XMLCharRefReplaceErrors()
913 c = PyUnicode_READ_CHAR(object, i); in PyCodec_BackslashReplaceErrors()
930 c = PyUnicode_READ_CHAR(object, i); in PyCodec_BackslashReplaceErrors()
989 c = PyUnicode_READ_CHAR(object, i); in PyCodec_NameReplaceErrors()
1011 c = PyUnicode_READ_CHAR(object, i); in PyCodec_NameReplaceErrors()
1171 Py_UCS4 ch = PyUnicode_READ_CHAR(object, i); in PyCodec_SurrogatePassErrors()
1311 Py_UCS4 ch = PyUnicode_READ_CHAR(object, i); in PyCodec_SurrogateEscapeErrors()
Dformatter_unicode.c995 if (PyUnicode_READ_CHAR(tmp, inumeric_chars) == '-') { in format_long_internal()
1146 if (PyUnicode_READ_CHAR(unicode_tmp, index) == '-') { in format_float_internal()
1319 if (PyUnicode_READ_CHAR(re_unicode_tmp, i_re) == '-') { in format_complex_internal()
1324 if (PyUnicode_READ_CHAR(im_unicode_tmp, i_im) == '-') { in format_complex_internal()
Dpystrhex.c30 sep_char = PyUnicode_READ_CHAR(sep, 0); in _Py_strhex_impl()
Dtraceback.c443 if (PyUnicode_READ_CHAR(filename, 0) == '<') { in display_source_line_with_margin()
445 if (len > 0 && PyUnicode_READ_CHAR(filename, len - 1) == '>') { in display_source_line_with_margin()
Dast_opt.c300 ch = PyUnicode_READ_CHAR(fmt, pos); \ in simple_format_arg_parse()
419 assert(PyUnicode_READ_CHAR(fmt, pos) == '%'); in optimize_format()
Dcompile.c462 PyUnicode_READ_CHAR(ident, 0) != '_' || in _Py_Mangle()
463 PyUnicode_READ_CHAR(ident, 1) != '_') { in _Py_Mangle()
478 if ((PyUnicode_READ_CHAR(ident, nlen-1) == '_' && in _Py_Mangle()
479 PyUnicode_READ_CHAR(ident, nlen-2) == '_') || in _Py_Mangle()
486 while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') in _Py_Mangle()
3998 if (i == 0 && PyUnicode_READ_CHAR(alias->name, 0) == '*') { in compiler_from_import()
4297 assert(scope || PyUnicode_READ_CHAR(name, 0) == '_'); in compiler_nameop()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dunicodeobject.h419 static inline Py_UCS4 PyUnicode_READ_CHAR(PyObject *unicode, Py_ssize_t index) in PyUnicode_READ_CHAR() function
434 # define PyUnicode_READ_CHAR(unicode, index) \ macro
435 PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dunicodeobject.h419 static inline Py_UCS4 PyUnicode_READ_CHAR(PyObject *unicode, Py_ssize_t index) in PyUnicode_READ_CHAR() function
434 # define PyUnicode_READ_CHAR(unicode, index) \ macro
435 PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dunicodeobject.h419 static inline Py_UCS4 PyUnicode_READ_CHAR(PyObject *unicode, Py_ssize_t index) in PyUnicode_READ_CHAR() function
434 # define PyUnicode_READ_CHAR(unicode, index) \ macro
435 PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dunicodeobject.h419 static inline Py_UCS4 PyUnicode_READ_CHAR(PyObject *unicode, Py_ssize_t index) in PyUnicode_READ_CHAR() function
434 # define PyUnicode_READ_CHAR(unicode, index) \ macro
435 PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dunicodeobject.h419 static inline Py_UCS4 PyUnicode_READ_CHAR(PyObject *unicode, Py_ssize_t index) in PyUnicode_READ_CHAR() function
434 # define PyUnicode_READ_CHAR(unicode, index) \ macro
435 PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
/aosp_15_r20/external/python/cpython3/Objects/
Dmoduleobject.c604 if (PyUnicode_READ_CHAR(key, 0) == '_' && in _PyModule_ClearDict()
605 PyUnicode_READ_CHAR(key, 1) != '_') { in _PyModule_ClearDict()
624 if (PyUnicode_READ_CHAR(key, 0) != '_' || in _PyModule_ClearDict()
Dfileobject.c104 else if (PyUnicode_READ_CHAR(result, len-1) == '\n') { in PyFile_GetLine()
Dunicodeobject.c1969 Py_UCS4 ch = PyUnicode_READ_CHAR(unicode, 0); in unicode_is_singleton()
7915 Py_UCS4 ch = PyUnicode_READ_CHAR(unicode, pos); in encode_code_page_errors()
8280 Py_UCS4 value = PyUnicode_READ_CHAR(item, 0); in charmap_decode_mapping()
8699 ch = PyUnicode_READ_CHAR(unicode, collendpos); in charmap_encoding_error()
8707 ch = PyUnicode_READ_CHAR(unicode, collendpos); in charmap_encoding_error()
8749 sprintf(buffer, "&#%d;", (int)PyUnicode_READ_CHAR(unicode, collpos)); in charmap_encoding_error()
9120 replace = PyUnicode_READ_CHAR(item, 0); in unicode_fast_translate_lookup()
10961 *fillcharloc = PyUnicode_READ_CHAR(obj, 0); in convert_uc()
14655 return PyUnicode_READ_CHAR(v, 0); in formatchar()
/aosp_15_r20/external/python/cpython3/PC/clinic/
Dmsvcrtmodule.c.h386 unicode_char = PyUnicode_READ_CHAR(arg, 0); in msvcrt_putwch()
460 unicode_char = PyUnicode_READ_CHAR(arg, 0); in msvcrt_ungetwch()
/aosp_15_r20/external/python/cpython3/Lib/test/
D_testcppext.cpp123 assert(PyUnicode_READ_CHAR(str, 1) == 'b'); in test_unicode()
/aosp_15_r20/external/python/cpython3/Modules/
D_csv.c268 *target = PyUnicode_READ_CHAR(src, 0); in _set_char_or_none()
298 *target = PyUnicode_READ_CHAR(src, 0); in _set_char()
D_datetimemodule.c1366 assert(PyUnicode_READ_CHAR(repr, PyUnicode_GET_LENGTH(repr)-1) == ')'); in append_keyword_tzinfo()
1390 assert(PyUnicode_READ_CHAR(repr, PyUnicode_GET_LENGTH(repr)-1) == ')'); in append_keyword_fold()
2922 MONTH_IS_SANE(PyUnicode_READ_CHAR(state, 2))) in date_new()
4267 (0x7F & PyUnicode_READ_CHAR(state, 0)) < 24) in time_new()
4947 MONTH_IS_SANE(PyUnicode_READ_CHAR(state, 2) & 0x7F)) in datetime_new()
/aosp_15_r20/external/python/cpython3/Doc/data/
Drefcounts.dat2719 PyUnicode_READ_CHAR:Py_UCS4:::
2720 PyUnicode_READ_CHAR:PyObject*:o:0:
2721 PyUnicode_READ_CHAR:Py_ssize_t:index::
/aosp_15_r20/external/python/cpython3/Parser/
Dtokenizer.c1341 Py_UCS4 ch = PyUnicode_READ_CHAR(s, invalid); in verify_identifier()
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dunicode.rst193 .. c:function:: Py_UCS4 PyUnicode_READ_CHAR(PyObject *o, Py_ssize_t index)
656 :c:func:`PyUnicode_READ_CHAR`, which performs no error checking.

12