Home
last modified time | relevance | path

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

/third_party/python/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.h528 typecode = PyUnicode_READ_CHAR(args[1], 0); in array__array_reconstructor()
/third_party/python/Objects/stringlib/
Dunicode_format.h120 digitval = Py_UNICODE_TODECIMAL(PyUnicode_READ_CHAR(str->str, i)); in get_integer()
219 c = PyUnicode_READ_CHAR(self->str.str, self->index++); in _FieldNameIterator_attr()
247 c = PyUnicode_READ_CHAR(self->str.str, self->index++); in _FieldNameIterator_item()
278 switch (PyUnicode_READ_CHAR(self->str.str, self->index++)) { in FieldNameIterator_next()
328 switch (c = PyUnicode_READ_CHAR(str, i++)) { in field_name_split()
570 switch ((c = PyUnicode_READ_CHAR(str->str, str->start++))) { in parse_field()
576 if (PyUnicode_READ_CHAR(str->str, str->start) == ']') in parse_field()
604 *conversion = PyUnicode_READ_CHAR(str->str, str->start++); in parse_field()
607 c = PyUnicode_READ_CHAR(str->str, str->start++); in parse_field()
621 switch ((c = PyUnicode_READ_CHAR(str->str, str->start++))) { in parse_field()
[all …]
/third_party/python/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()
Dpystrhex.c30 sep_char = PyUnicode_READ_CHAR(sep, 0); in _Py_strhex_impl()
Dformatter_unicode.c976 if (PyUnicode_READ_CHAR(tmp, inumeric_chars) == '-') { in format_long_internal()
1125 if (PyUnicode_READ_CHAR(unicode_tmp, index) == '-') { in format_float_internal()
1296 if (PyUnicode_READ_CHAR(re_unicode_tmp, i_re) == '-') { in format_complex_internal()
1301 if (PyUnicode_READ_CHAR(im_unicode_tmp, i_im) == '-') { in format_complex_internal()
Dcompile.c324 PyUnicode_READ_CHAR(ident, 0) != '_' || in _Py_Mangle()
325 PyUnicode_READ_CHAR(ident, 1) != '_') { in _Py_Mangle()
340 if ((PyUnicode_READ_CHAR(ident, nlen-1) == '_' && in _Py_Mangle()
341 PyUnicode_READ_CHAR(ident, nlen-2) == '_') || in _Py_Mangle()
348 while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') in _Py_Mangle()
3422 if (i == 0 && PyUnicode_READ_CHAR(alias->name, 0) == '*') { in compiler_from_import()
3728 assert(scope || PyUnicode_READ_CHAR(name, 0) == '_'); in compiler_nameop()
Dbltinmodule.c1895 ord = (long)PyUnicode_READ_CHAR(c, 0); in builtin_ord()
Dceval.c6157 if (PyUnicode_READ_CHAR(name, 0) == '_') { in import_all_from()
/third_party/python/Objects/
Dmoduleobject.c591 if (PyUnicode_READ_CHAR(key, 0) == '_' && in _PyModule_ClearDict()
592 PyUnicode_READ_CHAR(key, 1) != '_') { in _PyModule_ClearDict()
611 if (PyUnicode_READ_CHAR(key, 0) != '_' || in _PyModule_ClearDict()
Dfileobject.c106 else if (PyUnicode_READ_CHAR(result, len-1) == '\n') { in PyFile_GetLine()
Dunicodeobject.c696 assert(PyUnicode_READ_CHAR(unicode, 0) >= 256); in unicode_result_ready()
2005 Py_UCS4 ch = PyUnicode_READ_CHAR(unicode, 0); in unicode_is_singleton()
8070 Py_UCS4 ch = PyUnicode_READ_CHAR(unicode, pos); in encode_code_page_errors()
8446 Py_UCS4 value = PyUnicode_READ_CHAR(item, 0); in charmap_decode_mapping()
8890 ch = PyUnicode_READ_CHAR(unicode, collendpos); in charmap_encoding_error()
8898 ch = PyUnicode_READ_CHAR(unicode, collendpos); in charmap_encoding_error()
8940 sprintf(buffer, "&#%d;", (int)PyUnicode_READ_CHAR(unicode, collpos)); in charmap_encoding_error()
9327 replace = PyUnicode_READ_CHAR(item, 0); in unicode_fast_translate_lookup()
11288 *fillcharloc = PyUnicode_READ_CHAR(obj, 0); in convert_uc()
14984 return PyUnicode_READ_CHAR(v, 0); in formatchar()
/third_party/python/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()
/third_party/python/Modules/
D_csv.c258 *target = PyUnicode_READ_CHAR(src, 0); in _set_char_or_none()
291 *target = PyUnicode_READ_CHAR(src, 0); in _set_char()
D_datetimemodule.c1269 assert(PyUnicode_READ_CHAR(repr, PyUnicode_GET_LENGTH(repr)-1) == ')'); in append_keyword_tzinfo()
1293 assert(PyUnicode_READ_CHAR(repr, PyUnicode_GET_LENGTH(repr)-1) == ')'); in append_keyword_fold()
2825 MONTH_IS_SANE(PyUnicode_READ_CHAR(state, 2))) in date_new()
4208 (0x7F & PyUnicode_READ_CHAR(state, 0)) < 24) in time_new()
4880 MONTH_IS_SANE(PyUnicode_READ_CHAR(state, 2) & 0x7F)) in datetime_new()
5216 !Py_UNICODE_IS_SURROGATE(PyUnicode_READ_CHAR(dtstr, 10))) { in _sanitize_isoformat_str()
D_cursesmodule.c245 value = PyUnicode_READ_CHAR(obj, 0); in PyCurses_ConvertToChtype()
D_elementtree.c1429 if (PyUnicode_GET_LENGTH(tag) == 1 && PyUnicode_READ_CHAR(tag, 0) == '*') in _elementtree_Element_iter_impl()
/third_party/python/Include/cpython/
Dunicodeobject.h397 #define PyUnicode_READ_CHAR(unicode, index) \ macro
/third_party/python/Doc/data/
Drefcounts.dat2782 PyUnicode_READ_CHAR:Py_UCS4:::
2783 PyUnicode_READ_CHAR:PyObject*:o:0:
2784 PyUnicode_READ_CHAR:Py_ssize_t:index::
/third_party/python/Parser/
Dtokenizer.c1296 Py_UCS4 ch = PyUnicode_READ_CHAR(s, invalid); in verify_identifier()
/third_party/python/Doc/c-api/
Dunicode.rst192 .. c:function:: Py_UCS4 PyUnicode_READ_CHAR(PyObject *o, Py_ssize_t index)
640 version :c:func:`PyUnicode_READ_CHAR`.
/third_party/python/Modules/_io/
Dtextio.c359 && PyUnicode_READ_CHAR(output, output_len - 1) == '\r') in _PyIncrementalNewlineDecoder_decode()
/third_party/python/Lib/test/
Dclinic.test982 c = PyUnicode_READ_CHAR(args[2], 0);
/third_party/python/Doc/whatsnew/
D3.3.rst2200 * :c:macro:`PyUnicode_READ`, :c:macro:`PyUnicode_READ_CHAR`, :c:macro:`PyUnicode_WRITE`