Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_json.c185 Py_UCS4 c = PyUnicode_READ(kind, input, i); in ascii_escape_unicode()
214 Py_UCS4 c = PyUnicode_READ(kind, input, i); in ascii_escape_unicode()
252 Py_UCS4 c = PyUnicode_READ(kind, input, i); in escape_unicode()
282 Py_UCS4 c = PyUnicode_READ(kind, input, i); \ in escape_unicode()
435 c = PyUnicode_READ(kind, buf, next); in scanstring_unicode()
468 c = PyUnicode_READ(kind, buf, next); in scanstring_unicode()
498 Py_UCS4 digit = PyUnicode_READ(kind, buf, next); in scanstring_unicode()
517 PyUnicode_READ(kind, buf, next++) == '\\' && in scanstring_unicode()
518 PyUnicode_READ(kind, buf, next++) == 'u') { in scanstring_unicode()
523 Py_UCS4 digit = PyUnicode_READ(kind, buf, next); in scanstring_unicode()
[all …]
Dunicodedata.c521 stack[stackptr++] = PyUnicode_READ(kind, data, i++); in nfd_nfkd()
592 prev = _getrecord_ex(PyUnicode_READ(kind, data, i))->combining; in nfd_nfkd()
594 cur = _getrecord_ex(PyUnicode_READ(kind, data, i))->combining; in nfd_nfkd()
602 Py_UCS4 tmp = PyUnicode_READ(kind, data, o+1); in nfd_nfkd()
604 PyUnicode_READ(kind, data, o)); in nfd_nfkd()
609 prev = _getrecord_ex(PyUnicode_READ(kind, data, o))->combining; in nfd_nfkd()
613 prev = _getrecord_ex(PyUnicode_READ(kind, data, i))->combining; in nfd_nfkd()
680 code = PyUnicode_READ(kind, data, i); in nfc_nfkc()
683 VBase <= PyUnicode_READ(kind, data, i+1) && in nfc_nfkc()
684 PyUnicode_READ(kind, data, i+1) < (VBase+VCount)) { in nfc_nfkc()
[all …]
D_csv.c824 c = PyUnicode_READ(kind, data, pos); in Reader_iternext()
1028 Py_UCS4 c = PyUnicode_READ(field_kind, field_data, i); in join_append_data()
1148 self->rec[self->rec_len + i] = PyUnicode_READ(term_kind, term_data, i); in join_append_lineterminator()
D_operator.c1165 if (PyUnicode_READ(kind, data, char_idx) == '.') in attrgetter_new()
1186 while (PyUnicode_READ(kind, data, unibuff_till) != '.') { in attrgetter_new()
Dpyexpat.c1148 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in PyUnknownEncodingHandler()
D_tkinter.c1082 Py_UCS4 ch = PyUnicode_READ(kind, inbuf, i); in AsObj()
D_elementtree.c1122 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in checkpath()
D_pickle.c2317 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in raw_unicode_escape()
/external/python/cpython3/Objects/
Dunicodeobject.c497 ch = PyUnicode_READ(kind, data, i); in _PyUnicode_CheckConsistency()
517 assert(PyUnicode_READ(kind, data, ascii->length) == 0); in _PyUnicode_CheckConsistency()
575 Py_UCS4 ch = PyUnicode_READ(kind, data, 0); in unicode_result_ready()
642 ch = PyUnicode_READ(kind, data, i); in backslashreplace()
665 ch = PyUnicode_READ(kind, data, i); in backslashreplace()
709 ch = PyUnicode_READ(kind, data, i); in xmlcharrefreplace()
740 str += sprintf(str, "&#%d;", PyUnicode_READ(kind, data, i)); in xmlcharrefreplace()
1461 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()
1557 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()
4040 return PyUnicode_READ(kind, data, index); in PyUnicode_ReadChar()
[all …]
Dexceptions.c1423 if (PyUnicode_READ(kind, data, i) == SEP) in my_basename()
2912 Py_UCS4 ch = PyUnicode_READ(kind, data, start); in _check_for_legacy_statements()
Dbytesobject.c2371 if (PyUnicode_READ(kind, data, i) >= 128) in _PyBytes_FromHex()
/external/python/cpython3/Python/
D_warnings.c310 PyUnicode_READ(kind, data, len-3) == '.' && in normalize_module()
311 PyUnicode_READ(kind, data, len-2) == 'p' && in normalize_module()
312 PyUnicode_READ(kind, data, len-1) == 'y') in normalize_module()
391 ch = PyUnicode_READ(kind, data, i); in show_warning()
750 PyUnicode_READ(kind, data, len-4) == '.' && in setup_context()
751 ascii_lower(PyUnicode_READ(kind, data, len-3)) == 'p' && in setup_context()
752 ascii_lower(PyUnicode_READ(kind, data, len-2)) == 'y' && in setup_context()
753 ascii_lower(PyUnicode_READ(kind, data, len-1)) == 'c') in setup_context()
Dformatter_unicode.c68 digitval = Py_UNICODE_TODECIMAL(PyUnicode_READ(kind, data, pos)); in get_integer()
175 #define READ_spec(index) PyUnicode_READ(kind, data, index) in parse_internal_render_format_spec()
447 while (pos<end && Py_ISDIGIT(PyUnicode_READ(kind, data, pos))) in parse_number()
452 *has_decimal = pos<end && PyUnicode_READ(kind, data, remainder) == '.'; in parse_number()
624 Py_UCS4 c = PyUnicode_READ(kind, data, writer->pos + t); in fill_number()
654 Py_UCS4 c = PyUnicode_READ(kind, data, writer->pos + t); in fill_number()
Dtraceback.c457 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in _Py_DisplaySourceLine()
713 ch = PyUnicode_READ(kind, data, i); in _Py_DumpASCII()
Dgetargs.c916 *p = PyUnicode_READ(kind, data, 0); in convertsimple()
Dast.c4196 Py_UCS4 chr = PyUnicode_READ(kind, data, i); in decode_unicode_with_escapes()
/external/python/cpython3/Modules/_io/
Dtextio.c403 while (PyUnicode_READ(kind, in_str, i) > '\n') in _PyIncrementalNewlineDecoder_decode()
405 c = PyUnicode_READ(kind, in_str, i++); in _PyIncrementalNewlineDecoder_decode()
426 while (PyUnicode_READ(kind, in_str, i) > '\r') in _PyIncrementalNewlineDecoder_decode()
428 c = PyUnicode_READ(kind, in_str, i++); in _PyIncrementalNewlineDecoder_decode()
432 if (PyUnicode_READ(kind, in_str, i) == '\n') { in _PyIncrementalNewlineDecoder_decode()
467 while ((c = PyUnicode_READ(kind, in_str, in++)) > '\r') in _PyIncrementalNewlineDecoder_decode()
475 if (PyUnicode_READ(kind, in_str, in) == '\n') { in _PyIncrementalNewlineDecoder_decode()
1917 while (PyUnicode_READ(kind, s, 0) > ch) in find_control_char()
1919 if (PyUnicode_READ(kind, s, 0) == ch) in find_control_char()
1953 while (PyUnicode_READ(kind, s, 0) > '\r') in _PyIO_find_line_ending()
[all …]
/external/python/cpython3/Modules/cjkcodecs/
Dcjkcodecs.h132 #define INCHAR1 (PyUnicode_READ(kind, data, *inpos))
133 #define INCHAR2 (PyUnicode_READ(kind, data, *inpos + 1))
/external/python/cpython3/Doc/data/
Drefcounts.dat2759 PyUnicode_READ:Py_UCS4:::
2760 PyUnicode_READ:int:kind::
2761 PyUnicode_READ:void*:data::
2762 PyUnicode_READ:Py_ssize_t:index::
/external/python/cpython3/Include/
Dunicodeobject.h505 #define PyUnicode_READ(kind, data, index) \ macro
/external/python/cpython3/Modules/_sqlite/
Dconnection.c1627 Py_UCS4 ch = PyUnicode_READ(kind, data, i); in pysqlite_connection_create_collation()
/external/python/cpython3/Doc/c-api/
Dunicode.rst174 .. c:function:: Py_UCS4 PyUnicode_READ(int kind, void *data, Py_ssize_t index)
185 representation. This is less efficient than :c:func:`PyUnicode_READ` if you
241 :c:func:`PyUnicode_WRITE` or :c:func:`PyUnicode_READ`.
/external/python/cpython3/Modules/_decimal/
D_decimal.c1741 Py_UCS4 ch = PyUnicode_READ(kind, data, pos); in is_space()
1788 ch = PyUnicode_READ(kind, data, j); in numeric_as_ascii()
/external/python/cpython2/Objects/
Dbytesobject.c2378 if (PyUnicode_READ(kind, data, i) >= 128) in _PyBytes_FromHex()
/external/python/cpython3/Doc/whatsnew/
D3.3.rst2200 * :c:macro:`PyUnicode_READ`, :c:macro:`PyUnicode_READ_CHAR`, :c:macro:`PyUnicode_WRITE`
2277 :c:macro:`PyUnicode_READ` and :c:macro:`PyUnicode_WRITE`