Home
last modified time | relevance | path

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

/external/python/cpython3/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()
565 switch ((c = PyUnicode_READ_CHAR(str->str, str->start++))) { in parse_field()
571 if (PyUnicode_READ_CHAR(str->str, str->start) == ']') in parse_field()
599 *conversion = PyUnicode_READ_CHAR(str->str, str->start++); in parse_field()
602 c = PyUnicode_READ_CHAR(str->str, str->start++); in parse_field()
616 switch ((c = PyUnicode_READ_CHAR(str->str, str->start++))) { in parse_field()
[all …]
/external/python/cpython3/Python/
Dcodecs.c779 ch = PyUnicode_READ_CHAR(object, i); in PyCodec_XMLCharRefReplaceErrors()
806 ch = PyUnicode_READ_CHAR(object, i); in PyCodec_XMLCharRefReplaceErrors()
918 c = PyUnicode_READ_CHAR(object, i); in PyCodec_BackslashReplaceErrors()
935 c = PyUnicode_READ_CHAR(object, i); in PyCodec_BackslashReplaceErrors()
993 c = PyUnicode_READ_CHAR(object, i); in PyCodec_NameReplaceErrors()
1015 c = PyUnicode_READ_CHAR(object, i); in PyCodec_NameReplaceErrors()
1175 Py_UCS4 ch = PyUnicode_READ_CHAR(object, i); in PyCodec_SurrogatePassErrors()
1315 Py_UCS4 ch = PyUnicode_READ_CHAR(object, i); in PyCodec_SurrogateEscapeErrors()
Dformatter_unicode.c967 if (PyUnicode_READ_CHAR(tmp, inumeric_chars) == '-') { in format_long_internal()
1116 if (PyUnicode_READ_CHAR(unicode_tmp, index) == '-') { in format_float_internal()
1287 if (PyUnicode_READ_CHAR(re_unicode_tmp, i_re) == '-') { in format_complex_internal()
1292 if (PyUnicode_READ_CHAR(im_unicode_tmp, i_im) == '-') { in format_complex_internal()
Dcompile.c229 PyUnicode_READ_CHAR(ident, 0) != '_' || in _Py_Mangle()
230 PyUnicode_READ_CHAR(ident, 1) != '_') { in _Py_Mangle()
245 if ((PyUnicode_READ_CHAR(ident, nlen-1) == '_' && in _Py_Mangle()
246 PyUnicode_READ_CHAR(ident, nlen-2) == '_') || in _Py_Mangle()
253 while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') in _Py_Mangle()
2887 if (i == 0 && PyUnicode_READ_CHAR(alias->name, 0) == '*') { in compiler_from_import()
3208 assert(scope || PyUnicode_READ_CHAR(name, 0) == '_'); in compiler_nameop()
Dbltinmodule.c1800 ord = (long)PyUnicode_READ_CHAR(c, 0); in builtin_ord()
Dceval.c4903 if (PyUnicode_READ_CHAR(name, 0) == '_') { in import_all_from()
/external/python/cpython3/Objects/
Dmoduleobject.c597 if (PyUnicode_READ_CHAR(key, 0) == '_' && in _PyModule_ClearDict()
598 PyUnicode_READ_CHAR(key, 1) != '_') { in _PyModule_ClearDict()
616 if (PyUnicode_READ_CHAR(key, 0) != '_' || in _PyModule_ClearDict()
Dfileobject.c103 else if (PyUnicode_READ_CHAR(result, len-1) == '\n') { in PyFile_GetLine()
Dunicodeobject.c1847 Py_UCS4 ch = PyUnicode_READ_CHAR(unicode, 0); in unicode_is_singleton()
7596 Py_UCS4 ch = PyUnicode_READ_CHAR(unicode, pos); in encode_code_page_errors()
7974 Py_UCS4 value = PyUnicode_READ_CHAR(item, 0); in charmap_decode_mapping()
8422 ch = PyUnicode_READ_CHAR(unicode, collendpos); in charmap_encoding_error()
8430 ch = PyUnicode_READ_CHAR(unicode, collendpos); in charmap_encoding_error()
8472 sprintf(buffer, "&#%d;", (int)PyUnicode_READ_CHAR(unicode, collpos)); in charmap_encoding_error()
8860 replace = PyUnicode_READ_CHAR(item, 0); in unicode_fast_translate_lookup()
10796 *fillcharloc = PyUnicode_READ_CHAR(obj, 0); in convert_uc()
14383 return PyUnicode_READ_CHAR(v, 0); in formatchar()
Dexceptions.c2881 if (text_len > 0 && PyUnicode_READ_CHAR(new_data, text_len-1) == ',') { in _set_legacy_print_statement_msg()
/external/python/cpython3/Modules/
Dzipimport.c181 if (PyUnicode_READ_CHAR(path, len-1) != SEP) { in zipimport_zipimporter___init___impl()
684 && PyUnicode_READ_CHAR(path, len) == SEP) { in zipimport_zipimporter_get_data_impl()
D_datetimemodule.c1258 assert(PyUnicode_READ_CHAR(repr, PyUnicode_GET_LENGTH(repr)-1) == ')'); in append_keyword_tzinfo()
1282 assert(PyUnicode_READ_CHAR(repr, PyUnicode_GET_LENGTH(repr)-1) == ')'); in append_keyword_fold()
2817 MONTH_IS_SANE(PyUnicode_READ_CHAR(state, 2))) in date_new()
3982 (0x7F & PyUnicode_READ_CHAR(state, 2)) < 24) in time_new()
4651 MONTH_IS_SANE(PyUnicode_READ_CHAR(state, 2) & 0x7F)) in datetime_new()
4987 !Py_UNICODE_IS_SURROGATE(PyUnicode_READ_CHAR(dtstr, 10))) { in _sanitize_isoformat_str()
D_csv.c250 *target = PyUnicode_READ_CHAR(src, 0); in _set_char()
Dpyexpat.c1282 first_char = PyUnicode_READ_CHAR(nameobj, 0); in xmlparse_getattro()
D_cursesmodule.c224 value = PyUnicode_READ_CHAR(obj, 0); in PyCurses_ConvertToChtype()
D_elementtree.c1448 if (PyUnicode_GET_LENGTH(tag) == 1 && PyUnicode_READ_CHAR(tag, 0) == '*') in _elementtree_Element_iter_impl()
/external/python/cpython3/Include/
Dunicodeobject.h519 #define PyUnicode_READ_CHAR(unicode, index) \ macro
/external/python/cpython3/Doc/data/
Drefcounts.dat2764 PyUnicode_READ_CHAR:Py_UCS4:::
2765 PyUnicode_READ_CHAR:PyObject*:o:0:
2766 PyUnicode_READ_CHAR:Py_ssize_t:index::
/external/python/cpython3/Doc/c-api/
Dunicode.rst182 .. c:function:: Py_UCS4 PyUnicode_READ_CHAR(PyObject *o, Py_ssize_t index)
625 version :c:func:`PyUnicode_READ_CHAR`.
/external/python/cpython3/Modules/_io/
Dtextio.c356 && PyUnicode_READ_CHAR(output, output_len - 1) == '\r') in _PyIncrementalNewlineDecoder_decode()
/external/python/cpython3/Doc/whatsnew/
D3.3.rst2200 * :c:macro:`PyUnicode_READ`, :c:macro:`PyUnicode_READ_CHAR`, :c:macro:`PyUnicode_WRITE`