/external/python/cpython3/Objects/stringlib/ |
D | unicode_format.h | 120 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/ |
D | codecs.c | 779 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()
|
D | formatter_unicode.c | 967 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()
|
D | compile.c | 229 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()
|
D | bltinmodule.c | 1800 ord = (long)PyUnicode_READ_CHAR(c, 0); in builtin_ord()
|
D | ceval.c | 4903 if (PyUnicode_READ_CHAR(name, 0) == '_') { in import_all_from()
|
/external/python/cpython3/Objects/ |
D | moduleobject.c | 597 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()
|
D | fileobject.c | 103 else if (PyUnicode_READ_CHAR(result, len-1) == '\n') { in PyFile_GetLine()
|
D | unicodeobject.c | 1847 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()
|
D | exceptions.c | 2881 if (text_len > 0 && PyUnicode_READ_CHAR(new_data, text_len-1) == ',') { in _set_legacy_print_statement_msg()
|
/external/python/cpython3/Modules/ |
D | zipimport.c | 181 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.c | 1258 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.c | 250 *target = PyUnicode_READ_CHAR(src, 0); in _set_char()
|
D | pyexpat.c | 1282 first_char = PyUnicode_READ_CHAR(nameobj, 0); in xmlparse_getattro()
|
D | _cursesmodule.c | 224 value = PyUnicode_READ_CHAR(obj, 0); in PyCurses_ConvertToChtype()
|
D | _elementtree.c | 1448 if (PyUnicode_GET_LENGTH(tag) == 1 && PyUnicode_READ_CHAR(tag, 0) == '*') in _elementtree_Element_iter_impl()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 519 #define PyUnicode_READ_CHAR(unicode, index) \ macro
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2764 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/ |
D | unicode.rst | 182 .. 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/ |
D | textio.c | 356 && PyUnicode_READ_CHAR(output, output_len - 1) == '\r') in _PyIncrementalNewlineDecoder_decode()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 2200 * :c:macro:`PyUnicode_READ`, :c:macro:`PyUnicode_READ_CHAR`, :c:macro:`PyUnicode_WRITE`
|