/third_party/python/Objects/ |
D | unicodeobject.c | 163 (_PyUnicode_UTF8(op) == PyUnicode_DATA(op))) 166 (_PyUnicode_WSTR(unicode) == PyUnicode_DATA(op))) 173 && _PyUnicode_UTF8(op) != PyUnicode_DATA(op))) 180 _PyUnicode_WSTR(op) != PyUnicode_DATA(op)))) 594 data = PyUnicode_DATA(ascii); in _PyUnicode_CheckConsistency() 741 data = PyUnicode_DATA(unicode); in backslashreplace() 808 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() 1346 return PyUnicode_DATA(unicode); in _PyUnicode_data() [all …]
|
D | longobject.c | 1712 p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \ in long_to_decimal_string_internal() 1714 p = (TYPE*)PyUnicode_DATA(str) + strlen; \ in long_to_decimal_string_internal() 1720 assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \ in long_to_decimal_string_internal() 1722 assert(p == (TYPE*)PyUnicode_DATA(str)); \ in long_to_decimal_string_internal() 1891 p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \ in long_format_binary() 1893 p = (TYPE*)PyUnicode_DATA(v) + sz; \ in long_format_binary() 1898 assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \ in long_format_binary() 1900 assert(p == (TYPE*)PyUnicode_DATA(v)); \ in long_format_binary()
|
D | listobject.c | 2080 res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len); in unsafe_latin_compare()
|
/third_party/python/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)] \
|
/third_party/python/Objects/stringlib/ |
D | localeutil.h | 79 void *data = PyUnicode_DATA(writer->buffer); in InsertThousandsGrouping_fill()
|
D | codecs.h | 411 PyUnicode_DATA(rep), in STRINGLIB()
|
/third_party/python/Modules/ |
D | _json.c | 169 input = PyUnicode_DATA(pystr); in ascii_escape_unicode() 236 input = PyUnicode_DATA(pystr); in escape_unicode() 404 buf = PyUnicode_DATA(pystr); in scanstring_unicode() 697 str = PyUnicode_DATA(pystr); in _parse_object_unicode() 829 str = PyUnicode_DATA(pystr); in _parse_array_unicode() 930 str = PyUnicode_DATA(pystr); in _match_number_unicode() 1042 str = PyUnicode_DATA(pystr); in scan_once_unicode()
|
D | unicodedata.c | 531 data = PyUnicode_DATA(input); in nfd_nfkd() 601 data = PyUnicode_DATA(result); in nfd_nfkd() 665 data = PyUnicode_DATA(result); in nfc_nfkc() 823 data = PyUnicode_DATA(input); in is_normalized_quickcheck()
|
D | _operator.c | 837 rc = _tscmp(PyUnicode_DATA(a), in _operator__compare_digest_impl() 838 PyUnicode_DATA(b), in _operator__compare_digest_impl() 1190 data = PyUnicode_DATA(item); in attrgetter_new()
|
D | _csv.c | 907 data = PyUnicode_DATA(lineobj); in Reader_iternext() 1191 field_data = PyUnicode_DATA(field); in join_append() 1226 term_data = PyUnicode_DATA(self->dialect->lineterminator); in join_append_lineterminator()
|
D | _hashopenssl.c | 1988 rc = _tscmp(PyUnicode_DATA(a), in _hashlib_compare_digest_impl() 1989 PyUnicode_DATA(b), in _hashlib_compare_digest_impl()
|
D | pyexpat.c | 1113 data = PyUnicode_DATA(u); in PyUnknownEncodingHandler()
|
D | _sre.c | 387 return PyUnicode_DATA(string); in getstring()
|
D | _tkinter.c | 1153 return Tcl_NewStringObj((const char *)PyUnicode_DATA(value), in AsObj()
|
/third_party/python/Modules/_io/ |
D | textio.c | 345 out = PyUnicode_DATA(modified); in _PyIncrementalNewlineDecoder_decode() 347 memcpy(out + kind, PyUnicode_DATA(output), kind * output_len); in _PyIncrementalNewlineDecoder_decode() 379 in_str = PyUnicode_DATA(output); in _PyIncrementalNewlineDecoder_decode() 453 const void *in_str = PyUnicode_DATA(output); in _PyIncrementalNewlineDecoder_decode() 1555 PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending)); in _textiowrapper_writeflush() 1576 src = PyUnicode_DATA(obj); in _textiowrapper_writeflush() 2201 ptr = PyUnicode_DATA(line); in _textiowrapper_readline()
|
/third_party/python/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 | 447 data = PyUnicode_DATA(filename); in normalize_module() 529 data = PyUnicode_DATA(sourceline); in show_warning()
|
D | traceback.c | 466 data = PyUnicode_DATA(lineobj); in _Py_DisplaySourceLine()
|
D | pystate.c | 1851 shared->buffer = PyUnicode_DATA(obj); in _str_shared()
|
D | getargs.c | 880 data = PyUnicode_DATA(arg); in convertsimple()
|
/third_party/python/Modules/cjkcodecs/ |
D | multibytecodec.c | 270 data = PyUnicode_DATA(replchar); in multibytecodec_encerror() 508 data = PyUnicode_DATA(buf.inobj); in multibytecodec_encode()
|
/third_party/python/Parser/ |
D | string_parser.c | 99 data = PyUnicode_DATA(w); in decode_unicode_with_escapes()
|
/third_party/python/Modules/_sqlite/ |
D | connection.c | 1791 data = PyUnicode_DATA(uppercase_name); in pysqlite_connection_create_collation_impl()
|
/third_party/python/Doc/c-api/ |
D | unicode.rst | 163 .. c:function:: void* PyUnicode_DATA(PyObject *o) 175 :c:func:`PyUnicode_DATA`). This macro does not do any sanity checks and is 187 :c:func:`PyUnicode_DATA`). No checks or ready calls are performed.
|
/third_party/python/Doc/data/ |
D | refcounts.dat | 2340 PyUnicode_DATA:void*::: 2341 PyUnicode_DATA:PyObject*:o:0:
|