Home
last modified time | relevance | path

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

12

/external/python/cpython3/Objects/
Dunicodeobject.c157 (_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 …]
Dlongobject.c1829 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()
Dexceptions.c1448 data = PyUnicode_DATA(name); in my_basename()
2980 const void *data = PyUnicode_DATA(self->text); in _check_for_legacy_statements()
Dlistobject.c2061 res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len); in unsafe_latin_compare()
/external/python/cpython3/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)] \
/external/python/cpython3/Objects/stringlib/
Dlocaleutil.h79 void *data = PyUnicode_DATA(writer->buffer); in InsertThousandsGrouping_fill()
Dcodecs.h412 PyUnicode_DATA(rep), in STRINGLIB()
/external/python/cffi/c/
Dwchar_helper_3.h120 void *data = PyUnicode_DATA(unicode); in _my_PyUnicode_AsChar16()
/external/python/cpython3/Modules/
D_json.c170 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()
Dunicodedata.c525 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.c824 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.c827 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.c1899 rc = _tscmp(PyUnicode_DATA(a), in _hashlib_compare_digest_impl()
1900 PyUnicode_DATA(b), in _hashlib_compare_digest_impl()
Dpyexpat.c1088 data = PyUnicode_DATA(u); in PyUnknownEncodingHandler()
D_sre.c371 return PyUnicode_DATA(string); in getstring()
/external/python/cpython3/Modules/_io/
Dtextio.c344 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/
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.c453 data = PyUnicode_DATA(filename); in normalize_module()
535 data = PyUnicode_DATA(sourceline); in show_warning()
Dtraceback.c465 data = PyUnicode_DATA(lineobj); in _Py_DisplaySourceLine()
Dpystate.c1710 shared->buffer = PyUnicode_DATA(obj); in _str_shared()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c237 data = PyUnicode_DATA(replchar); in multibytecodec_encerror()
475 data = PyUnicode_DATA(buf.inobj); in multibytecodec_encode()
/external/python/cpython3/Parser/pegen/
Dparse_string.c104 data = PyUnicode_DATA(w); in decode_unicode_with_escapes()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c1670 data = PyUnicode_DATA(uppercase_name); in pysqlite_connection_create_collation()
/external/python/cpython3/Doc/c-api/
Dunicode.rst164 .. 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/
Drefcounts.dat2360 PyUnicode_DATA:void*:::
2361 PyUnicode_DATA:PyObject*:o:0:

12