/aosp_15_r20/external/python/cpython3/Modules/clinic/ |
D | _codecsmodule.c.h | 47 if (!PyUnicode_Check(arg)) { in _codecs_lookup() 106 if (!PyUnicode_Check(args[1])) { in _codecs_encode() 123 if (!PyUnicode_Check(args[2])) { in _codecs_encode() 183 if (!PyUnicode_Check(args[1])) { in _codecs_decode() 200 if (!PyUnicode_Check(args[2])) { in _codecs_decode() 242 if (PyUnicode_Check(args[0])) { in _codecs_escape_decode() 265 else if (PyUnicode_Check(args[1])) { in _codecs_escape_decode() 325 else if (PyUnicode_Check(args[1])) { in _codecs_escape_encode() 383 else if (PyUnicode_Check(args[1])) { in _codecs_utf_7_decode() 453 else if (PyUnicode_Check(args[1])) { in _codecs_utf_8_decode() [all …]
|
D | unicodedata.c.h | 32 if (!PyUnicode_Check(args[0])) { in unicodedata_UCD_decimal() 81 if (!PyUnicode_Check(args[0])) { in unicodedata_UCD_digit() 131 if (!PyUnicode_Check(args[0])) { in unicodedata_UCD_numeric() 172 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_category() 210 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_bidirectional() 249 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_combining() 293 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_mirrored() 333 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_east_asian_width() 371 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_decomposition() 414 if (!PyUnicode_Check(args[0])) { in unicodedata_UCD_is_normalized() [all …]
|
D | _localemodule.c.h | 37 else if (PyUnicode_Check(args[1])) { in _locale_setlocale() 101 if (!PyUnicode_Check(args[0])) { in _locale_strcoll() 109 if (!PyUnicode_Check(args[1])) { in _locale_strcoll() 145 if (!PyUnicode_Check(arg)) { in _locale_strxfrm() 236 if (!PyUnicode_Check(arg)) { in _locale_gettext() 286 else if (PyUnicode_Check(args[0])) { in _locale_dgettext() 301 if (!PyUnicode_Check(args[1])) { in _locale_dgettext() 351 else if (PyUnicode_Check(args[0])) { in _locale_dcgettext() 366 if (!PyUnicode_Check(args[1])) { in _locale_dcgettext() 414 else if (PyUnicode_Check(arg)) { in _locale_textdomain() [all …]
|
D | _tkinter.c.h | 22 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_eval() 58 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_evalfile() 94 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_record() 130 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_adderrorinfo() 190 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_exprstring() 226 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_exprlong() 262 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_exprdouble() 298 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_exprboolean() 347 if (!PyUnicode_Check(args[0])) { in _tkinter_tkapp_createcommand() 384 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_deletecommand() [all …]
|
D | pyexpat.c.h | 100 if (!PyUnicode_Check(arg)) { in pyexpat_xmlparser_SetBase() 191 else if (PyUnicode_Check(args[0])) { in pyexpat_xmlparser_ExternalEntityParserCreate() 209 if (!PyUnicode_Check(args[1])) { in pyexpat_xmlparser_ExternalEntityParserCreate() 347 else if (PyUnicode_Check(args[0])) { in pyexpat_ParserCreate() 370 else if (PyUnicode_Check(args[1])) { in pyexpat_ParserCreate()
|
D | _pickle.c.h | 359 if (!PyUnicode_Check(fastargs[2])) { in _pickle_Unpickler___init__() 377 if (!PyUnicode_Check(fastargs[3])) { in _pickle_Unpickler___init__() 694 if (!PyUnicode_Check(args[2])) { in _pickle_load() 712 if (!PyUnicode_Check(args[3])) { in _pickle_load() 797 if (!PyUnicode_Check(args[2])) { in _pickle_loads() 815 if (!PyUnicode_Check(args[3])) { in _pickle_loads()
|
D | _cryptmodule.c.h | 32 if (!PyUnicode_Check(args[0])) { in crypt_crypt() 45 if (!PyUnicode_Check(args[1])) { in crypt_crypt()
|
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/clinic/ |
D | connection.c.h | 185 if (!PyUnicode_Check(args[0])) { in blobopen() 198 if (!PyUnicode_Check(args[1])) { in blobopen() 226 if (!PyUnicode_Check(args[4])) { in blobopen() 338 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_create_function() 410 if (!PyUnicode_Check(args[0])) { in create_window_function() 466 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_create_aggregate() 651 if (!PyUnicode_Check(arg)) { in pysqlite_connection_load_extension() 695 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_execute() 737 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_executemany() 855 if (!PyUnicode_Check(args[3])) { in pysqlite_connection_backup() [all …]
|
D | cursor.c.h | 57 if (!PyUnicode_Check(args[0])) { in pysqlite_cursor_execute() 99 if (!PyUnicode_Check(args[0])) { in pysqlite_cursor_executemany() 133 if (!PyUnicode_Check(arg)) { in pysqlite_cursor_executescript()
|
/aosp_15_r20/external/python/cpython3/Python/clinic/ |
D | import.c.h | 99 if (!PyUnicode_Check(args[1])) { in _imp__fix_co_filename() 158 if (!PyUnicode_Check(arg)) { in _imp_init_frozen() 207 if (!PyUnicode_Check(args[0])) { in _imp_find_frozen() 252 if (!PyUnicode_Check(args[0])) { in _imp_get_frozen_object() 289 if (!PyUnicode_Check(arg)) { in _imp_is_frozen_package() 321 if (!PyUnicode_Check(arg)) { in _imp_is_builtin() 353 if (!PyUnicode_Check(arg)) { in _imp_is_frozen()
|
/aosp_15_r20/external/python/cpython3/Modules/_io/clinic/ |
D | _iomodule.c.h | 158 if (!PyUnicode_Check(args[1])) { in _io_open() 188 else if (PyUnicode_Check(args[3])) { in _io_open() 211 else if (PyUnicode_Check(args[4])) { in _io_open() 234 else if (PyUnicode_Check(args[5])) { in _io_open() 345 if (!PyUnicode_Check(args[0])) { in _io_open_code()
|
/aosp_15_r20/external/python/cpython3/Objects/clinic/ |
D | unicodeobject.c.h | 172 if (!PyUnicode_Check(args[0])) { in unicode_encode() 189 if (!PyUnicode_Check(args[1])) { in unicode_encode() 717 if (!PyUnicode_Check(args[0])) { in unicode_replace() 725 if (!PyUnicode_Check(args[1])) { in unicode_replace() 776 if (!PyUnicode_Check(arg)) { in unicode_removeprefix() 812 if (!PyUnicode_Check(arg)) { in unicode_removesuffix() 1139 if (!PyUnicode_Check(args[1])) { in unicode_maketrans() 1150 if (!PyUnicode_Check(args[2])) { in unicode_maketrans() 1256 if (!PyUnicode_Check(arg)) { in unicode___format__() 1320 if (!PyUnicode_Check(fastargs[1])) { in unicode_new() [all …]
|
D | codeobject.c.h | 98 if (!PyUnicode_Check(PyTuple_GET_ITEM(args, 10))) { in code_new() 106 if (!PyUnicode_Check(PyTuple_GET_ITEM(args, 11))) { in code_new() 114 if (!PyUnicode_Check(PyTuple_GET_ITEM(args, 12))) { in code_new() 343 if (!PyUnicode_Check(args[13])) { in code_replace() 356 if (!PyUnicode_Check(args[14])) { in code_replace() 369 if (!PyUnicode_Check(args[15])) { in code_replace()
|
D | bytesobject.c.h | 652 if (!PyUnicode_Check(args[0])) { in bytes_decode() 669 if (!PyUnicode_Check(args[1])) { in bytes_decode() 753 if (!PyUnicode_Check(arg)) { in bytes_fromhex() 863 if (!PyUnicode_Check(fastargs[1])) { in bytes_new() 880 if (!PyUnicode_Check(fastargs[2])) { in bytes_new()
|
D | longobject.c.h | 76 if (!PyUnicode_Check(arg)) { in int___format__() 293 if (!PyUnicode_Check(args[1])) { in int_to_bytes() 368 if (!PyUnicode_Check(args[1])) { in int_from_bytes()
|
/aosp_15_r20/external/python/cpython3/PC/clinic/ |
D | winreg.c.h | 161 else if (PyUnicode_Check(args[0])) { in winreg_ConnectRegistry() 235 else if (PyUnicode_Check(args[1])) { in winreg_CreateKey() 365 if (!PyUnicode_Check(args[1])) { in winreg_DeleteKey() 483 else if (PyUnicode_Check(args[1])) { in winreg_DeleteValue() 624 if (!PyUnicode_Check(arg)) { in winreg_ExpandEnvironmentStrings() 736 if (!PyUnicode_Check(args[1])) { in winreg_LoadKey() 748 if (!PyUnicode_Check(args[2])) { in winreg_LoadKey() 967 else if (PyUnicode_Check(args[1])) { in winreg_QueryValue() 1030 else if (PyUnicode_Check(args[1])) { in winreg_QueryValueEx() 1095 if (!PyUnicode_Check(args[1])) { in winreg_SaveKey()
|
D | _msi.c.h | 51 if (!PyUnicode_Check(args[0])) { in _msi_FCICreate() 207 if (!PyUnicode_Check(args[1])) { in _msi_Record_SetString() 256 if (!PyUnicode_Check(args[1])) { in _msi_Record_SetStream() 560 if (!PyUnicode_Check(arg)) { in _msi_Database_OpenView() 659 if (!PyUnicode_Check(args[0])) { in _msi_OpenDatabase()
|
/aosp_15_r20/external/python/cpython3/Objects/ |
D | unicodeobject.c | 111 # define _PyUnicode_CHECK(op) PyUnicode_Check(op) 507 CHECK(PyUnicode_Check(op)); in _PyUnicode_CheckConsistency() 905 if (!PyUnicode_Check(obj)) { in ensure_unicode() 1540 assert(PyUnicode_Check(from)); in _copy_characters() 1544 assert(PyUnicode_Check(to)); in _copy_characters() 1685 if (!PyUnicode_Check(from) || !PyUnicode_Check(to)) { in PyUnicode_CopyCharacters() 2007 assert(PyUnicode_Check(unicode)); in unicode_resize() 2050 if (unicode == NULL || !PyUnicode_Check(unicode) || length < 0) in PyUnicode_Resize() 2580 if (!PyUnicode_Check(unicode)) { in _PyUnicode_Copy() 3262 if (!PyUnicode_Check(unicode)) { in PyUnicode_AsWideChar() [all …]
|
/aosp_15_r20/external/pytorch/torch/csrc/utils/ |
H A D | python_strings.h | 15 return PyBytes_Check(obj) || PyUnicode_Check(obj); in THPUtils_checkString() 26 if (PyUnicode_Check(obj)) { in THPUtils_unpackString() 50 if (PyUnicode_Check(obj)) { in THPUtils_unpackStringView()
|
/aosp_15_r20/external/python/cpython2/Objects/ |
D | stringobject.c | 474 if (PyUnicode_Check(v)) { in PyString_AsDecodedString() 554 if (PyUnicode_Check(v)) { in PyString_AsEncodedString() 816 if (PyUnicode_Check(obj)) { in PyString_AsStringAndSize() 1028 if (PyUnicode_Check(bb)) in string_concat() 1161 if (PyUnicode_Check(sub_obj)) in string_contains() 1477 else if (PyUnicode_Check(subobj)) in string_split() 1504 else if (PyUnicode_Check(sep_obj)) in string_partition() 1535 else if (PyUnicode_Check(sep_obj)) in string_rpartition() 1576 else if (PyUnicode_Check(subobj)) in string_rsplit() 1634 if (PyUnicode_Check(item)) { in string_join() [all …]
|
D | unicodeobject.c | 424 if (v == NULL || !PyUnicode_Check(v) || Py_REFCNT(v) != 1 || length < 0) { in _PyUnicode_Resize() 831 assert(obj && PyUnicode_Check(obj)); in PyUnicode_FromFormatV() 840 assert(!obj || PyUnicode_Check(obj)); in PyUnicode_FromFormatV() 1154 if (PyUnicode_Check(obj)) { in PyUnicode_FromObject() 1186 if (PyUnicode_Check(obj)) { in PyUnicode_FromEncodedObject() 1195 if (PyUnicode_Check(obj)) { in PyUnicode_FromEncodedObject() 1264 if (!PyUnicode_Check(unicode)) { in PyUnicode_Decode() 1285 if (!PyUnicode_Check(unicode)) { in PyUnicode_AsDecodedObject() 1327 if (!PyUnicode_Check(unicode)) { in PyUnicode_AsEncodedObject() 1351 if (!PyUnicode_Check(unicode)) { in PyUnicode_AsEncodedString() [all …]
|
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 106 if (!PyUnicode_Check(left) || !PyUnicode_Check(right)) { in equal_ignore_case() 142 } else if (PyUnicode_Check(idx)) { in pysqlite_row_subscript()
|
/aosp_15_r20/external/python/cpython2/Python/ |
D | getargs.c | 861 else if (PyUnicode_Check(arg)) { in convertsimple() 891 else if (PyUnicode_Check(arg)) { in convertsimple() 914 else if (PyUnicode_Check(arg)) { in convertsimple() 943 else if (PyUnicode_Check(arg)) { in convertsimple() 977 else if (PyUnicode_Check(arg)) { in convertsimple() 1002 else if (PyUnicode_Check(arg)) { in convertsimple() 1205 if (PyUnicode_Check(arg)) { in convertsimple() 1216 if (PyUnicode_Check(arg)) { in convertsimple() 1243 if (PyUnicode_Check(arg)) in convertsimple()
|
/aosp_15_r20/external/python/cpython3/Objects/stringlib/ |
D | eq.h | 9 assert(PyUnicode_Check(aa)); in unicode_eq() 10 assert(PyUnicode_Check(bb)); in unicode_eq()
|
/aosp_15_r20/external/python/cpython3/Modules/_io/ |
D | stringio.c | 202 assert(PyUnicode_Check(decoded)); in write_str() 413 if (line && !PyUnicode_Check(line)) { in stringio_iternext() 540 if (!PyUnicode_Check(obj)) { in _io_StringIO_write() 662 if (!PyUnicode_Check(newline_obj)) { in _io_StringIO___init___impl() 681 if (value && value != Py_None && !PyUnicode_Check(value)) { in _io_StringIO___init___impl()
|