Home
last modified time | relevance | path

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

12

/external/python/cpython3/Objects/
Dunicodeobject.c138 (_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 …]
Dlongobject.c1713 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()
Dexceptions.c1419 data = PyUnicode_DATA(name); in my_basename()
2908 void *data = PyUnicode_DATA(self->text); in _check_for_legacy_statements()
Dlistobject.c2041 res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len); in unsafe_latin_compare()
/external/python/cpython3/Include/
Dunicodeobject.h451 #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/
Dlocaleutil.h79 void *data = PyUnicode_DATA(writer->buffer); in InsertThousandsGrouping_fill()
Dcodecs.h410 PyUnicode_DATA(rep), in STRINGLIB()
/external/python/cpython3/Modules/
D_json.c180 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()
Dunicodedata.c518 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.c822 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.c820 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()
Dzipimport.c1480 PyUnicode_DATA(path), in get_mtime_of_source()
Dpyexpat.c1146 data = PyUnicode_DATA(u); in PyUnknownEncodingHandler()
D_sre.c378 return PyUnicode_DATA(string); in getstring()
D_tkinter.c1063 inbuf = PyUnicode_DATA(value); in AsObj()
/external/python/cpython3/Python/
D_warnings.c306 data = PyUnicode_DATA(filename); in normalize_module()
388 data = PyUnicode_DATA(sourceline); in show_warning()
745 data = PyUnicode_DATA(*filename); in setup_context()
Dformatter_unicode.c64 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()
Dcodecs.c719 data = PyUnicode_DATA(res); in PyCodec_ReplaceErrors()
745 data = PyUnicode_DATA(res); in PyCodec_ReplaceErrors()
Dtraceback.c455 data = PyUnicode_DATA(lineobj); in _Py_DisplaySourceLine()
Dgetargs.c915 data = PyUnicode_DATA(arg); in convertsimple()
/external/python/cpython3/Modules/_io/
Dtextio.c342 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/
Dmultibytecodec.c247 data = PyUnicode_DATA(replchar); in multibytecodec_encerror()
485 data = PyUnicode_DATA(buf.inobj); in multibytecodec_encode()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c1625 data = PyUnicode_DATA(uppercase_name); in pysqlite_connection_create_collation()
/external/python/cpython3/Doc/c-api/
Dunicode.rst153 .. 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/
Drefcounts.dat2319 PyUnicode_DATA:void*:::
2320 PyUnicode_DATA:PyObject*:o:0:

12