/external/python/cpython3/Objects/ |
D | unicodeobject.c | 157 (_PyUnicode_UTF8(op) == PyUnicode_DATA(op))) 160 (_PyUnicode_WSTR(unicode) == PyUnicode_DATA(op))) 167 && _PyUnicode_UTF8(op) != PyUnicode_DATA(op))) 174 _PyUnicode_WSTR(op) != PyUnicode_DATA(op)))) 600 data = PyUnicode_DATA(ascii); in _PyUnicode_CheckConsistency() 682 const void *data = PyUnicode_DATA(unicode); in unicode_result_ready() 745 data = PyUnicode_DATA(unicode); in backslashreplace() 812 data = PyUnicode_DATA(unicode); in xmlcharrefreplace() 1090 _PyUnicode_WSTR(unicode) = PyUnicode_DATA(unicode); in resize_compact() 1103 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in resize_compact() [all …]
|
D | longobject.c | 1829 p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \ in long_to_decimal_string_internal() 1831 p = (TYPE*)PyUnicode_DATA(str) + strlen; \ in long_to_decimal_string_internal() 1837 assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \ in long_to_decimal_string_internal() 1839 assert(p == (TYPE*)PyUnicode_DATA(str)); \ in long_to_decimal_string_internal() 2008 p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \ in long_format_binary() 2010 p = (TYPE*)PyUnicode_DATA(v) + sz; \ in long_format_binary() 2015 assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \ in long_format_binary() 2017 assert(p == (TYPE*)PyUnicode_DATA(v)); \ in long_format_binary()
|
D | exceptions.c | 1448 data = PyUnicode_DATA(name); in my_basename() 2980 const void *data = PyUnicode_DATA(self->text); in _check_for_legacy_statements()
|
D | listobject.c | 2061 res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len); in unsafe_latin_compare()
|
/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 329 #define PyUnicode_1BYTE_DATA(op) ((Py_UCS1*)PyUnicode_DATA(op)) 330 #define PyUnicode_2BYTE_DATA(op) ((Py_UCS2*)PyUnicode_DATA(op)) 331 #define PyUnicode_4BYTE_DATA(op) ((Py_UCS4*)PyUnicode_DATA(op)) 349 #define PyUnicode_DATA(op) \ macro 402 ((const Py_UCS1 *)(PyUnicode_DATA((unicode))))[(index)] : \ 404 ((const Py_UCS2 *)(PyUnicode_DATA((unicode))))[(index)] : \ 405 ((const Py_UCS4 *)(PyUnicode_DATA((unicode))))[(index)] \
|
/external/python/cpython3/Objects/stringlib/ |
D | localeutil.h | 79 void *data = PyUnicode_DATA(writer->buffer); in InsertThousandsGrouping_fill()
|
D | codecs.h | 412 PyUnicode_DATA(rep), in STRINGLIB()
|
/external/python/cffi/c/ |
D | wchar_helper_3.h | 120 void *data = PyUnicode_DATA(unicode); in _my_PyUnicode_AsChar16()
|
/external/python/cpython3/Modules/ |
D | _json.c | 170 input = PyUnicode_DATA(pystr); in ascii_escape_unicode() 237 input = PyUnicode_DATA(pystr); in escape_unicode() 401 buf = PyUnicode_DATA(pystr); in scanstring_unicode() 694 str = PyUnicode_DATA(pystr); in _parse_object_unicode() 826 str = PyUnicode_DATA(pystr); in _parse_array_unicode() 927 str = PyUnicode_DATA(pystr); in _match_number_unicode() 1039 str = PyUnicode_DATA(pystr); in scan_once_unicode()
|
D | unicodedata.c | 525 data = PyUnicode_DATA(input); in nfd_nfkd() 595 data = PyUnicode_DATA(result); in nfd_nfkd() 659 data = PyUnicode_DATA(result); in nfc_nfkc() 817 data = PyUnicode_DATA(input); in is_normalized_quickcheck()
|
D | _operator.c | 824 rc = _tscmp(PyUnicode_DATA(a), in _operator__compare_digest_impl() 825 PyUnicode_DATA(b), in _operator__compare_digest_impl() 1191 data = PyUnicode_DATA(item); in attrgetter_new()
|
D | _csv.c | 827 data = PyUnicode_DATA(lineobj); in Reader_iternext() 1116 field_data = PyUnicode_DATA(field); in join_append() 1151 term_data = PyUnicode_DATA(self->dialect->lineterminator); in join_append_lineterminator()
|
D | _hashopenssl.c | 1899 rc = _tscmp(PyUnicode_DATA(a), in _hashlib_compare_digest_impl() 1900 PyUnicode_DATA(b), in _hashlib_compare_digest_impl()
|
D | pyexpat.c | 1088 data = PyUnicode_DATA(u); in PyUnknownEncodingHandler()
|
D | _sre.c | 371 return PyUnicode_DATA(string); in getstring()
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 344 out = PyUnicode_DATA(modified); in _PyIncrementalNewlineDecoder_decode() 346 memcpy(out + kind, PyUnicode_DATA(output), kind * output_len); in _PyIncrementalNewlineDecoder_decode() 378 in_str = PyUnicode_DATA(output); in _PyIncrementalNewlineDecoder_decode() 452 const void *in_str = PyUnicode_DATA(output); in _PyIncrementalNewlineDecoder_decode() 1559 PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending)); in _textiowrapper_writeflush() 1580 src = PyUnicode_DATA(obj); in _textiowrapper_writeflush() 2191 ptr = PyUnicode_DATA(line); in _textiowrapper_readline()
|
/external/python/cpython3/Python/ |
D | formatter_unicode.c | 65 const void *data = PyUnicode_DATA(str); in get_integer() 173 const void *data = PyUnicode_DATA(format_spec); in parse_internal_render_format_spec() 448 const void *data = PyUnicode_DATA(s); in parse_number()
|
D | _warnings.c | 453 data = PyUnicode_DATA(filename); in normalize_module() 535 data = PyUnicode_DATA(sourceline); in show_warning()
|
D | traceback.c | 465 data = PyUnicode_DATA(lineobj); in _Py_DisplaySourceLine()
|
D | pystate.c | 1710 shared->buffer = PyUnicode_DATA(obj); in _str_shared()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 237 data = PyUnicode_DATA(replchar); in multibytecodec_encerror() 475 data = PyUnicode_DATA(buf.inobj); in multibytecodec_encode()
|
/external/python/cpython3/Parser/pegen/ |
D | parse_string.c | 104 data = PyUnicode_DATA(w); in decode_unicode_with_escapes()
|
/external/python/cpython3/Modules/_sqlite/ |
D | connection.c | 1670 data = PyUnicode_DATA(uppercase_name); in pysqlite_connection_create_collation()
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 164 .. c:function:: void* PyUnicode_DATA(PyObject *o) 176 :c:func:`PyUnicode_DATA`). This macro does not do any sanity checks and is 188 :c:func:`PyUnicode_DATA`). No checks or ready calls are performed.
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2360 PyUnicode_DATA:void*::: 2361 PyUnicode_DATA:PyObject*:o:0:
|