Home
last modified time | relevance | path

Searched refs:PyUnicode_AsUTF8AndSize (Results 1 – 25 of 103) sorted by relevance

12345

/aosp_15_r20/external/python/cpython3/Modules/clinic/
D_codecsmodule.c.h52 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.h27 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.h39 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()
Dpyexpat.c.h105 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.h364 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.h37 word = PyUnicode_AsUTF8AndSize(args[0], &word_length); in crypt_crypt()
50 salt = PyUnicode_AsUTF8AndSize(args[1], &salt_length); in crypt_crypt()
D_ssl.c.h369 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()
Dsymtablemodule.c.h38 startstr = PyUnicode_AsUTF8AndSize(args[2], &startstr_length); in _symtable_symtable()
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/clinic/
Dconnection.c.h190 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.h163 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()
Dtextio.c.h212 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/
Dsuggestions.c143 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 Dpython_strings.h28 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/
Dbytesobject.c.h657 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()
Dbytearrayobject.c.h42 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()
Dunicodeobject.c.h177 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/
Ddescriptor.c232 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()
Dconvert.c189 const char* name = PyUnicode_AsUTF8AndSize(obj, &size); in PyUpb_PyToUpbEnum()
265 ptr = PyUnicode_AsUTF8AndSize(obj, &size); in PyUpb_PyToUpb()
Dpython_api.h58 PyUnicode_AsUTF8AndSize(PyObject* unicode, Py_ssize_t* size);
/aosp_15_r20/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
H A Dpython_utils.cc27 *data = const_cast<char*>(PyUnicode_AsUTF8AndSize(obj, length)); in ConvertFromPyString()
H A Dnumpy.cc122 const char* buf = PyUnicode_AsUTF8AndSize(value, &len); in FillStringBufferFromPyUnicode()
/aosp_15_r20/external/python/cpython3/Modules/cjkcodecs/clinic/
Dmultibytecodec.c.h48 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/
DPython-tokenize.c.h28 source = PyUnicode_AsUTF8AndSize(fastargs[0], &source_length); in tokenizeriter_new()
/aosp_15_r20/external/python/cpython3/Modules/_multiprocessing/clinic/
Dmultiprocessing.c.h126 name = PyUnicode_AsUTF8AndSize(arg, &name_length); in _multiprocessing_sem_unlink()
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/
Dstatement.c37 const char *sql_cstr = PyUnicode_AsUTF8AndSize(sql, &size); in pysqlite_statement_create()

12345