/external/python/cpython3/Modules/clinic/ |
D | _codecsmodule.c.h | 53 if (!PyUnicode_Check(arg)) { in _codecs_lookup() 135 if (!PyUnicode_Check(args[1])) { in _codecs_encode() 152 if (!PyUnicode_Check(args[2])) { in _codecs_encode() 235 if (!PyUnicode_Check(args[1])) { in _codecs_decode() 252 if (!PyUnicode_Check(args[2])) { in _codecs_decode() 294 if (PyUnicode_Check(args[0])) { in _codecs_escape_decode() 315 else if (PyUnicode_Check(args[1])) { in _codecs_escape_decode() 375 else if (PyUnicode_Check(args[1])) { in _codecs_escape_encode() 429 else if (PyUnicode_Check(args[1])) { in _codecs_utf_7_decode() 495 else if (PyUnicode_Check(args[1])) { in _codecs_utf_8_decode() [all …]
|
D | unicodedata.c.h | 34 if (!PyUnicode_Check(args[0])) { in unicodedata_UCD_decimal() 80 if (!PyUnicode_Check(args[0])) { in unicodedata_UCD_digit() 127 if (!PyUnicode_Check(args[0])) { in unicodedata_UCD_numeric() 165 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_category() 200 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_bidirectional() 236 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_combining() 277 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_mirrored() 314 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_east_asian_width() 349 if (!PyUnicode_Check(arg)) { in unicodedata_UCD_decomposition() 389 if (!PyUnicode_Check(args[0])) { in unicodedata_UCD_is_normalized() [all …]
|
D | _localemodule.c.h | 39 else if (PyUnicode_Check(args[1])) { in _locale_setlocale() 103 if (!PyUnicode_Check(args[0])) { in _locale_strcoll() 108 if (!PyUnicode_Check(args[1])) { in _locale_strcoll() 141 if (!PyUnicode_Check(arg)) { in _locale_strxfrm() 229 if (!PyUnicode_Check(arg)) { in _locale_gettext() 279 else if (PyUnicode_Check(args[0])) { in _locale_dgettext() 294 if (!PyUnicode_Check(args[1])) { in _locale_dgettext() 344 else if (PyUnicode_Check(args[0])) { in _locale_dcgettext() 359 if (!PyUnicode_Check(args[1])) { in _locale_dcgettext() 407 else if (PyUnicode_Check(arg)) { in _locale_textdomain() [all …]
|
D | _tkinter.c.h | 24 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_eval() 60 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_evalfile() 96 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_record() 132 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_adderrorinfo() 192 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_exprstring() 228 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_exprlong() 264 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_exprdouble() 300 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_exprboolean() 349 if (!PyUnicode_Check(args[0])) { in _tkinter_tkapp_createcommand() 386 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_deletecommand() [all …]
|
D | pyexpat.c.h | 175 if (!PyUnicode_Check(arg)) { in pyexpat_xmlparser_SetBase() 277 else if (PyUnicode_Check(args[0])) { in pyexpat_xmlparser_ExternalEntityParserCreate() 295 if (!PyUnicode_Check(args[1])) { in pyexpat_xmlparser_ExternalEntityParserCreate() 467 else if (PyUnicode_Check(args[0])) { in pyexpat_ParserCreate() 490 else if (PyUnicode_Check(args[1])) { in pyexpat_ParserCreate()
|
D | _pickle.c.h | 508 if (!PyUnicode_Check(fastargs[2])) { in _pickle_Unpickler___init__() 526 if (!PyUnicode_Check(fastargs[3])) { in _pickle_Unpickler___init__() 912 if (!PyUnicode_Check(args[2])) { in _pickle_load() 930 if (!PyUnicode_Check(args[3])) { in _pickle_load() 1038 if (!PyUnicode_Check(args[2])) { in _pickle_loads() 1056 if (!PyUnicode_Check(args[3])) { in _pickle_loads()
|
/external/python/cpython3/Modules/_io/clinic/ |
D | _iomodule.c.h | 187 if (!PyUnicode_Check(args[1])) { in _io_open() 217 else if (PyUnicode_Check(args[3])) { in _io_open() 240 else if (PyUnicode_Check(args[4])) { in _io_open() 263 else if (PyUnicode_Check(args[5])) { in _io_open() 397 if (!PyUnicode_Check(args[0])) { in _io_open_code()
|
/external/python/cpython3/PC/clinic/ |
D | winreg.c.h | 186 else if (PyUnicode_Check(args[0])) { in winreg_ConnectRegistry() 258 else if (PyUnicode_Check(args[1])) { in winreg_CreateKey() 364 else if (PyUnicode_Check(args[1])) { in winreg_CreateKeyEx() 445 if (!PyUnicode_Check(args[1])) { in winreg_DeleteKey() 544 if (!PyUnicode_Check(args[1])) { in winreg_DeleteKeyEx() 615 else if (PyUnicode_Check(args[1])) { in winreg_DeleteValue() 761 if (!PyUnicode_Check(arg)) { in winreg_ExpandEnvironmentStrings() 875 if (!PyUnicode_Check(args[1])) { in winreg_LoadKey() 883 if (!PyUnicode_Check(args[2])) { in winreg_LoadKey() 979 else if (PyUnicode_Check(args[1])) { in winreg_OpenKey() [all …]
|
/external/pytorch/torch/csrc/utils/ |
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()
|
/external/python/cpython3/Python/ |
D | intrinsics.c | 75 if (!PyUnicode_Check(name)) { in import_all_from() 82 if (!PyUnicode_Check(modname)) { in import_all_from() 201 assert(PyUnicode_Check(v)); in make_typevar() 246 assert(PyUnicode_Check(name)); in make_typevar_with_bound() 254 assert(PyUnicode_Check(name)); in make_typevar_with_constraints()
|
D | suggestions.c | 182 assert(PyUnicode_Check(a) && PyUnicode_Check(b)); in _Py_UTF8_Edit_Cost()
|
D | traceback.c | 361 if (!PyUnicode_Check(v)) in _Py_FindSourceFile() 439 assert(PyUnicode_Check(filename)); in display_source_line() 516 if (!lineobj || !PyUnicode_Check(lineobj)) { in display_source_line() 814 if (!PyUnicode_Check(text)) in _Py_DumpASCII() 898 && PyUnicode_Check(code->co_filename)) in dump_frame() 918 && PyUnicode_Check(code->co_name)) { in dump_frame()
|
/external/python/cpython3/Python/clinic/ |
D | import.c.h | 105 if (!PyUnicode_Check(args[1])) { in _imp__fix_co_filename() 161 if (!PyUnicode_Check(arg)) { in _imp_init_frozen() 230 if (!PyUnicode_Check(args[0])) { in _imp_find_frozen() 272 if (!PyUnicode_Check(args[0])) { in _imp_get_frozen_object() 306 if (!PyUnicode_Check(arg)) { in _imp_is_frozen_package() 335 if (!PyUnicode_Check(arg)) { in _imp_is_builtin() 364 if (!PyUnicode_Check(arg)) { in _imp_is_frozen()
|
/external/python/cpython3/Objects/clinic/ |
D | codeobject.c.h | 104 if (!PyUnicode_Check(PyTuple_GET_ITEM(args, 10))) { in code_new() 109 if (!PyUnicode_Check(PyTuple_GET_ITEM(args, 11))) { in code_new() 114 if (!PyUnicode_Check(PyTuple_GET_ITEM(args, 12))) { in code_new() 357 if (!PyUnicode_Check(args[13])) { in code_replace() 367 if (!PyUnicode_Check(args[14])) { in code_replace() 377 if (!PyUnicode_Check(args[15])) { in code_replace()
|
D | unicodeobject.c.h | 166 if (!PyUnicode_Check(args[0])) { in unicode_count() 257 if (!PyUnicode_Check(args[0])) { in unicode_encode() 274 if (!PyUnicode_Check(args[1])) { in unicode_encode() 387 if (!PyUnicode_Check(args[0])) { in unicode_find() 443 if (!PyUnicode_Check(args[0])) { in unicode_index() 965 if (!PyUnicode_Check(args[0])) { in unicode_replace() 970 if (!PyUnicode_Check(args[1])) { in unicode_replace() 1018 if (!PyUnicode_Check(arg)) { in unicode_removeprefix() 1051 if (!PyUnicode_Check(arg)) { in unicode_removesuffix() 1090 if (!PyUnicode_Check(args[0])) { in unicode_rfind() [all …]
|
D | longobject.c.h | 107 if (!PyUnicode_Check(arg)) { in int___format__() 343 if (!PyUnicode_Check(args[1])) { in int_to_bytes() 438 if (!PyUnicode_Check(args[1])) { in int_from_bytes()
|
/external/python/cpython3/Modules/_sqlite/clinic/ |
D | connection.c.h | 296 if (!PyUnicode_Check(args[0])) { in blobopen() 309 if (!PyUnicode_Check(args[1])) { in blobopen() 337 if (!PyUnicode_Check(args[4])) { in blobopen() 498 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_create_function() 581 if (!PyUnicode_Check(args[0])) { in create_window_function() 687 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_create_aggregate() 1062 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_load_extension() 1081 else if (PyUnicode_Check(args[1])) { in pysqlite_connection_load_extension() 1128 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_execute() 1167 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_executemany() [all …]
|
D | cursor.c.h | 64 if (!PyUnicode_Check(args[0])) { in pysqlite_cursor_execute() 103 if (!PyUnicode_Check(args[0])) { in pysqlite_cursor_executemany() 134 if (!PyUnicode_Check(arg)) { in pysqlite_cursor_executescript()
|
D | module.c.h | 59 if (!PyUnicode_Check(args[0])) { in pysqlite_complete_statement() 132 if (!PyUnicode_Check(args[0])) { in pysqlite_register_converter()
|
/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 110 if (!PyUnicode_Check(left) || !PyUnicode_Check(right)) { in equal_ignore_case() 146 } else if (PyUnicode_Check(idx)) { in pysqlite_row_subscript()
|
/external/python/cpython3/Doc/includes/newtypes/ |
D | custom3.c | 80 if (!PyUnicode_Check(value)) { in Custom_setfirst() 102 if (!PyUnicode_Check(value)) { in Custom_setlast()
|
D | custom4.c | 96 if (!PyUnicode_Check(value)) { in Custom_setfirst() 118 if (!PyUnicode_Check(value)) { in Custom_setlast()
|
/external/python/cpython3/Modules/_io/ |
D | stringio.c | 205 assert(PyUnicode_Check(decoded)); in write_str() 416 if (line && !PyUnicode_Check(line)) { in stringio_iternext() 546 if (!PyUnicode_Check(obj)) { in _io_StringIO_write_impl() 674 if (!PyUnicode_Check(newline_obj)) { in _io_StringIO___init___impl() 693 if (value && value != Py_None && !PyUnicode_Check(value)) { in _io_StringIO___init___impl() 912 if (PyUnicode_Check(item)) { in _io_StringIO___setstate___impl()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 111 # define _PyUnicode_CHECK(op) PyUnicode_Check(op) 635 CHECK(PyUnicode_Check(op)); in _PyUnicode_CheckConsistency() 985 if (!PyUnicode_Check(obj)) { in ensure_unicode() 1460 assert(PyUnicode_Check(from)); in _copy_characters() 1463 assert(PyUnicode_Check(to)); in _copy_characters() 1603 if (!PyUnicode_Check(from) || !PyUnicode_Check(to)) { in PyUnicode_CopyCharacters() 1826 assert(PyUnicode_Check(unicode)); in unicode_resize() 1866 if (unicode == NULL || !PyUnicode_Check(unicode) || length < 0) in PyUnicode_Resize() 2373 if (!PyUnicode_Check(unicode)) { in _PyUnicode_Copy() 3194 if (!PyUnicode_Check(unicode)) { in PyUnicode_AsWideChar() [all …]
|
/external/libchrome/third_party/markupsafe/ |
D | _speedups.c | 141 if (!PyUnicode_Check(text)) { in escape() 174 if (!PyUnicode_Check(s)) in soft_unicode()
|