Home
last modified time | relevance | path

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

12

/third_party/python/Objects/
Dunicodeobject.c163 (_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 …]
Dlongobject.c1712 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()
Dlistobject.c2080 res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len); in unsafe_latin_compare()
/third_party/python/Include/cpython/
Dunicodeobject.h329 #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/
Dlocaleutil.h79 void *data = PyUnicode_DATA(writer->buffer); in InsertThousandsGrouping_fill()
Dcodecs.h411 PyUnicode_DATA(rep), in STRINGLIB()
/third_party/python/Modules/
D_json.c169 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()
Dunicodedata.c531 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.c837 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.c907 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.c1988 rc = _tscmp(PyUnicode_DATA(a), in _hashlib_compare_digest_impl()
1989 PyUnicode_DATA(b), in _hashlib_compare_digest_impl()
Dpyexpat.c1113 data = PyUnicode_DATA(u); in PyUnknownEncodingHandler()
D_sre.c387 return PyUnicode_DATA(string); in getstring()
D_tkinter.c1153 return Tcl_NewStringObj((const char *)PyUnicode_DATA(value), in AsObj()
/third_party/python/Modules/_io/
Dtextio.c345 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/
Dformatter_unicode.c65 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.c447 data = PyUnicode_DATA(filename); in normalize_module()
529 data = PyUnicode_DATA(sourceline); in show_warning()
Dtraceback.c466 data = PyUnicode_DATA(lineobj); in _Py_DisplaySourceLine()
Dpystate.c1851 shared->buffer = PyUnicode_DATA(obj); in _str_shared()
Dgetargs.c880 data = PyUnicode_DATA(arg); in convertsimple()
/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c270 data = PyUnicode_DATA(replchar); in multibytecodec_encerror()
508 data = PyUnicode_DATA(buf.inobj); in multibytecodec_encode()
/third_party/python/Parser/
Dstring_parser.c99 data = PyUnicode_DATA(w); in decode_unicode_with_escapes()
/third_party/python/Modules/_sqlite/
Dconnection.c1791 data = PyUnicode_DATA(uppercase_name); in pysqlite_connection_create_collation_impl()
/third_party/python/Doc/c-api/
Dunicode.rst163 .. 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/
Drefcounts.dat2340 PyUnicode_DATA:void*:::
2341 PyUnicode_DATA:PyObject*:o:0:

12