/external/python/cpython3/Objects/ |
D | unicodeobject.c | 138 (_PyUnicode_UTF8(op) == PyUnicode_DATA(op))) 141 (_PyUnicode_WSTR(unicode) == PyUnicode_DATA(op))) 148 && _PyUnicode_UTF8(op) != PyUnicode_DATA(op))) 155 _PyUnicode_WSTR(op) != PyUnicode_DATA(op)))) 494 data = PyUnicode_DATA(ascii); in _PyUnicode_CheckConsistency() 573 void *data = PyUnicode_DATA(unicode); in unicode_result_ready() 635 data = PyUnicode_DATA(unicode); in backslashreplace() 702 data = PyUnicode_DATA(unicode); in xmlcharrefreplace() 969 _PyUnicode_WSTR(unicode) = PyUnicode_DATA(unicode); in resize_compact() 982 PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode), in resize_compact() [all …]
|
D | longobject.c | 1713 p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \ in long_to_decimal_string_internal() 1715 p = (TYPE*)PyUnicode_DATA(str) + strlen; \ in long_to_decimal_string_internal() 1721 assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \ in long_to_decimal_string_internal() 1723 assert(p == (TYPE*)PyUnicode_DATA(str)); \ in long_to_decimal_string_internal() 1892 p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \ in long_format_binary() 1894 p = (TYPE*)PyUnicode_DATA(v) + sz; \ in long_format_binary() 1899 assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \ in long_format_binary() 1901 assert(p == (TYPE*)PyUnicode_DATA(v)); \ in long_format_binary()
|
D | exceptions.c | 1419 data = PyUnicode_DATA(name); in my_basename() 2908 void *data = PyUnicode_DATA(self->text); in _check_for_legacy_statements()
|
D | listobject.c | 2041 res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len); in unsafe_latin_compare()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 451 #define PyUnicode_1BYTE_DATA(op) ((Py_UCS1*)PyUnicode_DATA(op)) 452 #define PyUnicode_2BYTE_DATA(op) ((Py_UCS2*)PyUnicode_DATA(op)) 453 #define PyUnicode_4BYTE_DATA(op) ((Py_UCS4*)PyUnicode_DATA(op)) 471 #define PyUnicode_DATA(op) \ macro 524 ((const Py_UCS1 *)(PyUnicode_DATA((unicode))))[(index)] : \ 526 ((const Py_UCS2 *)(PyUnicode_DATA((unicode))))[(index)] : \ 527 ((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 | 410 PyUnicode_DATA(rep), in STRINGLIB()
|
/external/python/cpython3/Modules/ |
D | _json.c | 180 input = PyUnicode_DATA(pystr); in ascii_escape_unicode() 247 input = PyUnicode_DATA(pystr); in escape_unicode() 424 buf = PyUnicode_DATA(pystr); in scanstring_unicode() 722 str = PyUnicode_DATA(pystr); in _parse_object_unicode() 857 str = PyUnicode_DATA(pystr); in _parse_array_unicode() 958 str = PyUnicode_DATA(pystr); in _match_number_unicode() 1070 str = PyUnicode_DATA(pystr); in scan_once_unicode()
|
D | unicodedata.c | 518 data = PyUnicode_DATA(input); in nfd_nfkd() 588 data = PyUnicode_DATA(result); in nfd_nfkd() 652 data = PyUnicode_DATA(result); in nfc_nfkc() 793 data = PyUnicode_DATA(input); in is_normalized()
|
D | _operator.c | 822 rc = _tscmp(PyUnicode_DATA(a), in _operator__compare_digest_impl() 823 PyUnicode_DATA(b), in _operator__compare_digest_impl() 1160 data = PyUnicode_DATA(item); in attrgetter_new()
|
D | _csv.c | 820 data = PyUnicode_DATA(lineobj); in Reader_iternext() 1111 field_data = PyUnicode_DATA(field); in join_append() 1146 term_data = PyUnicode_DATA(self->dialect->lineterminator); in join_append_lineterminator()
|
D | zipimport.c | 1480 PyUnicode_DATA(path), in get_mtime_of_source()
|
D | pyexpat.c | 1146 data = PyUnicode_DATA(u); in PyUnknownEncodingHandler()
|
D | _sre.c | 378 return PyUnicode_DATA(string); in getstring()
|
D | _tkinter.c | 1063 inbuf = PyUnicode_DATA(value); in AsObj()
|
/external/python/cpython3/Python/ |
D | _warnings.c | 306 data = PyUnicode_DATA(filename); in normalize_module() 388 data = PyUnicode_DATA(sourceline); in show_warning() 745 data = PyUnicode_DATA(*filename); in setup_context()
|
D | formatter_unicode.c | 64 void *data = PyUnicode_DATA(str); in get_integer() 172 void *data = PyUnicode_DATA(format_spec); in parse_internal_render_format_spec() 445 void *data = PyUnicode_DATA(s); in parse_number()
|
D | codecs.c | 719 data = PyUnicode_DATA(res); in PyCodec_ReplaceErrors() 745 data = PyUnicode_DATA(res); in PyCodec_ReplaceErrors()
|
D | traceback.c | 455 data = PyUnicode_DATA(lineobj); in _Py_DisplaySourceLine()
|
D | getargs.c | 915 data = PyUnicode_DATA(arg); in convertsimple()
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 342 out = PyUnicode_DATA(modified); in _PyIncrementalNewlineDecoder_decode() 343 PyUnicode_WRITE(kind, PyUnicode_DATA(modified), 0, '\r'); in _PyIncrementalNewlineDecoder_decode() 344 memcpy(out + kind, PyUnicode_DATA(output), kind * output_len); in _PyIncrementalNewlineDecoder_decode() 376 in_str = PyUnicode_DATA(output); in _PyIncrementalNewlineDecoder_decode() 450 void *in_str = PyUnicode_DATA(output); in _PyIncrementalNewlineDecoder_decode() 2075 ptr = PyUnicode_DATA(line); in _textiowrapper_readline()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 247 data = PyUnicode_DATA(replchar); in multibytecodec_encerror() 485 data = PyUnicode_DATA(buf.inobj); in multibytecodec_encode()
|
/external/python/cpython3/Modules/_sqlite/ |
D | connection.c | 1625 data = PyUnicode_DATA(uppercase_name); in pysqlite_connection_create_collation()
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 153 .. c:function:: void* PyUnicode_DATA(PyObject *o) 165 :c:func:`PyUnicode_DATA`). This macro does not do any sanity checks and is 177 :c:func:`PyUnicode_DATA`). No checks or ready calls are performed.
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2319 PyUnicode_DATA:void*::: 2320 PyUnicode_DATA:PyObject*:o:0:
|