Home
last modified time | relevance | path

Searched refs:PyUnicode_READY (Results 1 – 25 of 39) sorted by relevance

12

/external/python/cpython3/Objects/stringlib/
Deq.h12 if (PyUnicode_READY(a) == -1 || PyUnicode_READY(b) == -1) { in unicode_eq()
Dunicode_format.h817 if (tmp == NULL || PyUnicode_READY(tmp) == -1) in output_markup()
830 if (tmp == NULL || PyUnicode_READY(tmp) == -1) in output_markup()
947 if (PyUnicode_READY(self) == -1) in do_string_format()
1109 if (PyUnicode_READY(self) == -1) in formatter_parser()
1252 if (PyUnicode_READY(self) == -1) in formatter_field_name_split()
Dcodecs.h399 if (PyUnicode_READY(rep) < 0) in STRINGLIB()
/external/python/cpython3/Objects/
Dunicodeobject.c128 #undef PyUnicode_READY
129 #define PyUnicode_READY(op) \ macro
612 if (PyUnicode_READY(unicode) == -1) in unicode_result_unchanged()
820 return PyUnicode_READY(obj); in ensure_unicode()
1587 if (PyUnicode_READY(from) == -1) in PyUnicode_CopyCharacters()
1589 if (PyUnicode_READY(to) == -1) in PyUnicode_CopyCharacters()
2389 if (PyUnicode_READY(unicode) == -1) in _PyUnicode_Copy()
2415 if (PyUnicode_READY(s) == -1) in _PyUnicode_AsKind()
2470 if (PyUnicode_READY(string) == -1) in as_ucs4()
2540 if (PyUnicode_READY(str) == -1) in unicode_fromformat_write_str()
[all …]
Dcodeobject.c55 if (PyUnicode_READY(v) == -1) { in intern_string_constants()
124 if (PyUnicode_READY(filename) < 0) in PyCode_New()
Dobject.c522 if (PyUnicode_READY(res) < 0) in PyObject_Repr()
544 if (PyUnicode_READY(v) < 0) in PyObject_Str()
576 if (PyUnicode_READY(res) < 0) in PyObject_Str()
/external/python/cpython3/Modules/
Dzipimport.c107 if (PyUnicode_READY(path) == -1) in zipimport_zipimporter___init___impl()
155 if (PyUnicode_READY(filename) < 0) in zipimport_zipimporter___init___impl()
238 if (PyUnicode_READY(fullname) < 0) in get_subname()
529 if (PyUnicode_READY(fullname) == -1) in zipimport_zipimporter_load_module_impl()
676 if (PyUnicode_READY(path) == -1) in zipimport_zipimporter_get_data_impl()
1101 if (PyUnicode_READY(nameobj) == -1) { in read_directory()
1477 if (PyUnicode_READY(path) == -1) in get_mtime_of_source()
D_json.c176 if (PyUnicode_READY(pystr) == -1) in ascii_escape_unicode()
242 if (PyUnicode_READY(pystr) == -1) in escape_unicode()
420 if (PyUnicode_READY(pystr) == -1) in scanstring_unicode()
719 if (PyUnicode_READY(pystr) == -1) in _parse_object_unicode()
850 if (PyUnicode_READY(pystr) == -1) in _parse_array_unicode()
955 if (PyUnicode_READY(pystr) == -1) in _match_number_unicode()
1067 if (PyUnicode_READY(pystr) == -1) in scan_once_unicode()
D_csv.c270 if (PyUnicode_READY(src) == -1) in _set_str()
814 if (PyUnicode_READY(lineobj) == -1) { in Reader_iternext()
1108 if (PyUnicode_READY(field) == -1) in join_append()
1420 if (PyUnicode_READY(name_obj) == -1) in csv_register_dialect()
D_codecsmodule.c266 if (PyUnicode_READY(obj) < 0) in _codecs_unicode_internal_decode_impl()
710 if (PyUnicode_READY(obj) < 0) in _codecs_unicode_internal_encode_impl()
D_operator.c812 if (PyUnicode_READY(a) == -1 || PyUnicode_READY(b) == -1) { in _operator__compare_digest_impl()
1154 if (PyUnicode_READY(item)) { in attrgetter_new()
Dpyexpat.c1133 if (u == NULL || PyUnicode_READY(u)) { in PyUnknownEncodingHandler()
1269 if (PyUnicode_READY(nameobj)) in xmlparse_getattro()
Dbinascii.c215 if (PyUnicode_READY(arg) < 0) in ascii_buffer_converter()
D_datetimemodule.c2813 if (PyUnicode_READY(state)) { in date_new()
3978 if (PyUnicode_READY(state)) { in time_new()
4647 if (PyUnicode_READY(state)) { in datetime_new()
/external/python/cpython3/Modules/_io/
Dstringio.c202 if (PyUnicode_READY(decoded)) { in write_str()
544 if (PyUnicode_READY(obj)) in _io_StringIO_write()
Dtextio.c291 if (PyUnicode_READY(decoded) < 0) { in check_decoded()
1533 if (PyUnicode_READY(text) == -1) in _io_TextIOWrapper_write_impl()
1858 if (PyUnicode_READY(result) == -1) in _io_TextIOWrapper_read_impl()
2071 if (PyUnicode_READY(line) == -1) in _textiowrapper_readline()
2991 if (line == NULL || PyUnicode_READY(line) == -1) in textiowrapper_iternext()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c472 if (PyUnicode_READY(text) < 0) in multibytecodec_encode()
585 if (PyUnicode_READY(input) < 0) { in _multibytecodec_MultibyteCodec_encode_impl()
790 if (PyUnicode_READY(inbuf) < 0) in encoder_encode_stateful()
/external/python/cpython3/Python/
D_warnings.c384 if (PyUnicode_READY(sourceline) < 1) in show_warning()
740 if (PyUnicode_READY(*filename)) in setup_context()
Dimport.c1558 if (PyUnicode_READY(package) < 0) { in resolve_name()
1694 if (PyUnicode_READY(name) < 0) { in PyImport_ImportModuleLevelObject()
Dgetargs.c908 if (PyUnicode_READY(arg)) in convertsimple()
1271 if (PyUnicode_READY(arg) == -1) in convertsimple()
Dformatter_unicode.c957 if (tmp == NULL || PyUnicode_READY(tmp) == -1) in format_long_internal()
/external/python/cpython3/Include/
Dunicodeobject.h549 #define PyUnicode_READY(op) \ macro
/external/python/cpython3/Doc/c-api/
Dunicode.rst35 :c:func:`PyUnicode_READY` on them before calling any other API.
98 .. c:function:: int PyUnicode_READY(PyObject *o)
127 :c:func:`PyUnicode_READY` has been called before accessing this.
681 If the buffer is *NULL*, :c:func:`PyUnicode_READY` must be called once the
/external/python/cpython3/Modules/_sqlite/
Dconnection.c1621 if (PyUnicode_READY(uppercase_name)) in pysqlite_connection_create_collation()
/external/python/cpython3/Parser/
Dtokenizer.c1310 if (s == NULL || PyUnicode_READY(s) == -1) { in verify_identifier()

12