Home
last modified time | relevance | path

Searched refs:PyUnicode_Check (Results 1 – 25 of 221) sorted by relevance

123456789

/external/python/cpython3/Modules/clinic/
D_codecsmodule.c.h53 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 …]
Dunicodedata.c.h34 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.h39 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.h24 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 …]
Dpyexpat.c.h175 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.h508 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.h187 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/
Dwinreg.c.h186 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/
Dpython_strings.h15 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/
Dintrinsics.c75 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()
Dsuggestions.c182 assert(PyUnicode_Check(a) && PyUnicode_Check(b)); in _Py_UTF8_Edit_Cost()
Dtraceback.c361 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/
Dimport.c.h105 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/
Dcodeobject.c.h104 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()
Dunicodeobject.c.h166 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 …]
Dlongobject.c.h107 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/
Dconnection.c.h296 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 …]
Dcursor.c.h64 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()
Dmodule.c.h59 if (!PyUnicode_Check(args[0])) { in pysqlite_complete_statement()
132 if (!PyUnicode_Check(args[0])) { in pysqlite_register_converter()
/external/python/cpython3/Modules/_sqlite/
Drow.c110 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/
Dcustom3.c80 if (!PyUnicode_Check(value)) { in Custom_setfirst()
102 if (!PyUnicode_Check(value)) { in Custom_setlast()
Dcustom4.c96 if (!PyUnicode_Check(value)) { in Custom_setfirst()
118 if (!PyUnicode_Check(value)) { in Custom_setlast()
/external/python/cpython3/Modules/_io/
Dstringio.c205 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/
Dunicodeobject.c111 # 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.c141 if (!PyUnicode_Check(text)) { in escape()
174 if (!PyUnicode_Check(s)) in soft_unicode()

123456789