/aosp_15_r20/external/python/cpython3/Modules/clinic/ |
D | _codecsmodule.c.h | 52 encoding = PyUnicode_AsUTF8AndSize(arg, &encoding_length); in _codecs_lookup() 111 encoding = PyUnicode_AsUTF8AndSize(args[1], &encoding_length); in _codecs_encode() 128 errors = PyUnicode_AsUTF8AndSize(args[2], &errors_length); in _codecs_encode() 188 encoding = PyUnicode_AsUTF8AndSize(args[1], &encoding_length); in _codecs_decode() 205 errors = PyUnicode_AsUTF8AndSize(args[2], &errors_length); in _codecs_decode() 244 const char *ptr = PyUnicode_AsUTF8AndSize(args[0], &len); in _codecs_escape_decode() 267 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in _codecs_escape_decode() 327 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in _codecs_escape_encode() 385 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in _codecs_utf_7_decode() 455 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in _codecs_utf_8_decode() [all …]
|
D | _tkinter.c.h | 27 script = PyUnicode_AsUTF8AndSize(arg, &script_length); in _tkinter_tkapp_eval() 63 fileName = PyUnicode_AsUTF8AndSize(arg, &fileName_length); in _tkinter_tkapp_evalfile() 99 script = PyUnicode_AsUTF8AndSize(arg, &script_length); in _tkinter_tkapp_record() 135 msg = PyUnicode_AsUTF8AndSize(arg, &msg_length); in _tkinter_tkapp_adderrorinfo() 195 s = PyUnicode_AsUTF8AndSize(arg, &s_length); in _tkinter_tkapp_exprstring() 231 s = PyUnicode_AsUTF8AndSize(arg, &s_length); in _tkinter_tkapp_exprlong() 267 s = PyUnicode_AsUTF8AndSize(arg, &s_length); in _tkinter_tkapp_exprdouble() 303 s = PyUnicode_AsUTF8AndSize(arg, &s_length); in _tkinter_tkapp_exprboolean() 352 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in _tkinter_tkapp_createcommand() 389 name = PyUnicode_AsUTF8AndSize(arg, &name_length); in _tkinter_tkapp_deletecommand() [all …]
|
D | _localemodule.c.h | 39 locale = PyUnicode_AsUTF8AndSize(args[1], &locale_length); in _locale_setlocale() 241 in = PyUnicode_AsUTF8AndSize(arg, &in_length); in _locale_gettext() 288 domain = PyUnicode_AsUTF8AndSize(args[0], &domain_length); in _locale_dgettext() 306 in = PyUnicode_AsUTF8AndSize(args[1], &in_length); in _locale_dgettext() 353 domain = PyUnicode_AsUTF8AndSize(args[0], &domain_length); in _locale_dcgettext() 371 msgid = PyUnicode_AsUTF8AndSize(args[1], &msgid_length); in _locale_dcgettext() 416 domain = PyUnicode_AsUTF8AndSize(arg, &domain_length); in _locale_textdomain() 467 domain = PyUnicode_AsUTF8AndSize(args[0], &domain_length); in _locale_bindtextdomain() 514 domain = PyUnicode_AsUTF8AndSize(args[0], &domain_length); in _locale_bind_textdomain_codeset() 527 codeset = PyUnicode_AsUTF8AndSize(args[1], &codeset_length); in _locale_bind_textdomain_codeset()
|
D | pyexpat.c.h | 105 base = PyUnicode_AsUTF8AndSize(arg, &base_length); in pyexpat_xmlparser_SetBase() 193 context = PyUnicode_AsUTF8AndSize(args[0], &context_length); in pyexpat_xmlparser_ExternalEntityParserCreate() 214 encoding = PyUnicode_AsUTF8AndSize(args[1], &encoding_length); in pyexpat_xmlparser_ExternalEntityParserCreate() 349 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in pyexpat_ParserCreate() 372 namespace_separator = PyUnicode_AsUTF8AndSize(args[1], &namespace_separator_length); in pyexpat_ParserCreate()
|
D | _pickle.c.h | 364 encoding = PyUnicode_AsUTF8AndSize(fastargs[2], &encoding_length); in _pickle_Unpickler___init__() 382 errors = PyUnicode_AsUTF8AndSize(fastargs[3], &errors_length); in _pickle_Unpickler___init__() 699 encoding = PyUnicode_AsUTF8AndSize(args[2], &encoding_length); in _pickle_load() 717 errors = PyUnicode_AsUTF8AndSize(args[3], &errors_length); in _pickle_load() 802 encoding = PyUnicode_AsUTF8AndSize(args[2], &encoding_length); in _pickle_loads() 820 errors = PyUnicode_AsUTF8AndSize(args[3], &errors_length); in _pickle_loads()
|
D | _cryptmodule.c.h | 37 word = PyUnicode_AsUTF8AndSize(args[0], &word_length); in crypt_crypt() 50 salt = PyUnicode_AsUTF8AndSize(args[1], &salt_length); in crypt_crypt()
|
D | _ssl.c.h | 369 cb_type = PyUnicode_AsUTF8AndSize(args[0], &cb_type_length); in _ssl__SSLSocket_get_channel_binding() 451 cipherlist = PyUnicode_AsUTF8AndSize(arg, &cipherlist_length); in _ssl__SSLContext_set_ciphers() 1029 const char *ptr = PyUnicode_AsUTF8AndSize(args[0], &len); in _ssl_RAND_add() 1200 txt = PyUnicode_AsUTF8AndSize(args[0], &txt_length); in _ssl_txt2obj() 1288 store_name = PyUnicode_AsUTF8AndSize(args[0], &store_name_length); in _ssl_enum_certificates() 1341 store_name = PyUnicode_AsUTF8AndSize(args[0], &store_name_length); in _ssl_enum_crls()
|
D | symtablemodule.c.h | 38 startstr = PyUnicode_AsUTF8AndSize(args[2], &startstr_length); in _symtable_symtable()
|
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/clinic/ |
D | connection.c.h | 190 table = PyUnicode_AsUTF8AndSize(args[0], &table_length); in blobopen() 203 col = PyUnicode_AsUTF8AndSize(args[1], &col_length); in blobopen() 231 name = PyUnicode_AsUTF8AndSize(args[4], &name_length); in blobopen() 343 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in pysqlite_connection_create_function() 415 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in create_window_function() 471 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in pysqlite_connection_create_aggregate() 656 extension_name = PyUnicode_AsUTF8AndSize(arg, &extension_name_length); in pysqlite_connection_load_extension() 860 name = PyUnicode_AsUTF8AndSize(args[3], &name_length); in pysqlite_connection_backup() 923 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in pysqlite_connection_create_collation() 982 name = PyUnicode_AsUTF8AndSize(args[0], &name_length); in serialize() [all …]
|
/aosp_15_r20/external/python/cpython3/Modules/_io/clinic/ |
D | _iomodule.c.h | 163 mode = PyUnicode_AsUTF8AndSize(args[1], &mode_length); in _io_open() 190 encoding = PyUnicode_AsUTF8AndSize(args[3], &encoding_length); in _io_open() 213 errors = PyUnicode_AsUTF8AndSize(args[4], &errors_length); in _io_open() 236 newline = PyUnicode_AsUTF8AndSize(args[5], &newline_length); in _io_open()
|
D | textio.c.h | 212 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in _io_TextIOWrapper___init__() 241 newline = PyUnicode_AsUTF8AndSize(fastargs[3], &newline_length); in _io_TextIOWrapper___init__()
|
/aosp_15_r20/external/python/cpython3/Python/ |
D | suggestions.c | 143 const char *name_str = PyUnicode_AsUTF8AndSize(name, &name_size); in calculate_suggestions() 151 const char *item_str = PyUnicode_AsUTF8AndSize(item, &item_size); in calculate_suggestions() 285 const char *utf8_a = PyUnicode_AsUTF8AndSize(a, &size_a); in _Py_UTF8_Edit_Cost() 289 const char *utf8_b = PyUnicode_AsUTF8AndSize(b, &size_b); in _Py_UTF8_Edit_Cost()
|
/aosp_15_r20/external/pytorch/torch/csrc/utils/ |
H A D | python_strings.h | 28 const char* data = PyUnicode_AsUTF8AndSize(obj, &size); in THPUtils_unpackString() 52 const char* data = PyUnicode_AsUTF8AndSize(obj, &size); in THPUtils_unpackStringView()
|
/aosp_15_r20/external/python/cpython3/Objects/clinic/ |
D | bytesobject.c.h | 657 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in bytes_decode() 674 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in bytes_decode() 868 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in bytes_new() 885 errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length); in bytes_new()
|
D | bytearrayobject.c.h | 42 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in bytearray___init__() 59 errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length); in bytearray___init__() 866 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in bytearray_decode() 883 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in bytearray_decode()
|
D | unicodeobject.c.h | 177 encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length); in unicode_encode() 194 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in unicode_encode() 1325 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in unicode_new() 1342 errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length); in unicode_new()
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/python/ |
D | descriptor.c | 232 symtab, PyUnicode_AsUTF8AndSize(qname, NULL)); in PyUpb_Descriptor_LookupNestedMessage() 244 upb_DefPool_FindEnumByName(symtab, PyUnicode_AsUTF8AndSize(qname, NULL)); in PyUpb_Descriptor_LookupNestedEnum() 256 symtab, PyUnicode_AsUTF8AndSize(qname, NULL)); in PyUpb_Descriptor_LookupNestedExtension() 1118 const void* ret = func(symtab, PyUnicode_AsUTF8AndSize(qname, NULL)); in PyUpb_FileDescriptor_NestedLookup() 1606 const char* name = PyUnicode_AsUTF8AndSize(py_name, NULL); in PyUpb_ServiceDescriptor_FindMethodByName()
|
D | convert.c | 189 const char* name = PyUnicode_AsUTF8AndSize(obj, &size); in PyUpb_PyToUpbEnum() 265 ptr = PyUnicode_AsUTF8AndSize(obj, &size); in PyUpb_PyToUpb()
|
D | python_api.h | 58 PyUnicode_AsUTF8AndSize(PyObject* unicode, Py_ssize_t* size);
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
H A D | python_utils.cc | 27 *data = const_cast<char*>(PyUnicode_AsUTF8AndSize(obj, length)); in ConvertFromPyString()
|
H A D | numpy.cc | 122 const char* buf = PyUnicode_AsUTF8AndSize(value, &len); in FillStringBufferFromPyUnicode()
|
/aosp_15_r20/external/python/cpython3/Modules/cjkcodecs/clinic/ |
D | multibytecodec.c.h | 48 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in _multibytecodec_MultibyteCodec_encode() 117 errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length); in _multibytecodec_MultibyteCodec_decode()
|
/aosp_15_r20/external/python/cpython3/Python/clinic/ |
D | Python-tokenize.c.h | 28 source = PyUnicode_AsUTF8AndSize(fastargs[0], &source_length); in tokenizeriter_new()
|
/aosp_15_r20/external/python/cpython3/Modules/_multiprocessing/clinic/ |
D | multiprocessing.c.h | 126 name = PyUnicode_AsUTF8AndSize(arg, &name_length); in _multiprocessing_sem_unlink()
|
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/ |
D | statement.c | 37 const char *sql_cstr = PyUnicode_AsUTF8AndSize(sql, &size); in pysqlite_statement_create()
|