Home
last modified time | relevance | path

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

1234567

/third_party/python/Modules/clinic/
D_codecsmodule.c.h47 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 …]
Dunicodedata.c.h32 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.h37 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.h22 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()
355 if (!PyUnicode_Check(args[0])) { in _tkinter_tkapp_createcommand()
392 if (!PyUnicode_Check(arg)) { in _tkinter_tkapp_deletecommand()
[all …]
D_cryptmodule.c.h32 if (!PyUnicode_Check(args[0])) { in crypt_crypt()
45 if (!PyUnicode_Check(args[1])) { in crypt_crypt()
D_pickle.c.h359 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()
Dpyexpat.c.h88 if (!PyUnicode_Check(arg)) { in pyexpat_xmlparser_SetBase()
290 else if (PyUnicode_Check(args[0])) { in pyexpat_ParserCreate()
313 else if (PyUnicode_Check(args[1])) { in pyexpat_ParserCreate()
D_dbmmodule.c.h153 if (!PyUnicode_Check(args[0])) { in dbmopen()
164 if (!PyUnicode_Check(args[1])) { in dbmopen()
/third_party/python/Modules/_io/clinic/
D_iomodule.c.h163 if (!PyUnicode_Check(args[1])) { in _io_open()
193 else if (PyUnicode_Check(args[3])) { in _io_open()
216 else if (PyUnicode_Check(args[4])) { in _io_open()
239 else if (PyUnicode_Check(args[5])) { in _io_open()
349 if (!PyUnicode_Check(args[0])) { in _io_open_code()
/third_party/python/Python/clinic/
Dimport.c.h99 if (!PyUnicode_Check(args[1])) { in _imp__fix_co_filename()
158 if (!PyUnicode_Check(arg)) { in _imp_init_frozen()
190 if (!PyUnicode_Check(arg)) { in _imp_get_frozen_object()
222 if (!PyUnicode_Check(arg)) { in _imp_is_frozen_package()
254 if (!PyUnicode_Check(arg)) { in _imp_is_builtin()
286 if (!PyUnicode_Check(arg)) { in _imp_is_frozen()
/third_party/python/Objects/stringlib/
Deq.h9 assert(PyUnicode_Check(aa)); in unicode_eq()
10 assert(PyUnicode_Check(bb)); in unicode_eq()
/third_party/python/Include/cpython/
Dunicodeobject.h259 (assert(PyUnicode_Check(op)), \
277 (assert(PyUnicode_Check(op)), \
299 (assert(PyUnicode_Check(op)), \
335 (assert(PyUnicode_Check(op)), \
350 (assert(PyUnicode_Check(op)), \
398 (assert(PyUnicode_Check(unicode)), \
413 (assert(PyUnicode_Check(op)), \
428 (assert(PyUnicode_Check(op)), \
/third_party/python/Objects/clinic/
Dfloatobject.c.h273 if (!PyUnicode_Check(arg)) { in float___getformat__()
327 if (!PyUnicode_Check(args[0])) { in float___set_format__()
340 if (!PyUnicode_Check(args[1])) { in float___set_format__()
377 if (!PyUnicode_Check(arg)) { in float___format__()
Dunicodeobject.c.h154 if (!PyUnicode_Check(args[0])) { in unicode_encode()
171 if (!PyUnicode_Check(args[1])) { in unicode_encode()
699 if (!PyUnicode_Check(args[0])) { in unicode_replace()
707 if (!PyUnicode_Check(args[1])) { in unicode_replace()
758 if (!PyUnicode_Check(arg)) { in unicode_removeprefix()
794 if (!PyUnicode_Check(arg)) { in unicode_removesuffix()
1113 if (!PyUnicode_Check(args[1])) { in unicode_maketrans()
1124 if (!PyUnicode_Check(args[2])) { in unicode_maketrans()
1230 if (!PyUnicode_Check(arg)) { in unicode___format__()
1294 if (!PyUnicode_Check(fastargs[1])) { in unicode_new()
[all …]
Dcodeobject.c.h93 if (!PyUnicode_Check(PyTuple_GET_ITEM(args, 10))) { in code_new()
101 if (!PyUnicode_Check(PyTuple_GET_ITEM(args, 11))) { in code_new()
321 if (!PyUnicode_Check(args[13])) { in code_replace()
334 if (!PyUnicode_Check(args[14])) { in code_replace()
Dlongobject.c.h76 if (!PyUnicode_Check(arg)) { in int___format__()
283 if (!PyUnicode_Check(args[1])) { in int_to_bytes()
349 if (!PyUnicode_Check(args[1])) { in int_from_bytes()
Dbytesobject.c.h634 if (!PyUnicode_Check(args[0])) { in bytes_decode()
651 if (!PyUnicode_Check(args[1])) { in bytes_decode()
735 if (!PyUnicode_Check(arg)) { in bytes_fromhex()
845 if (!PyUnicode_Check(fastargs[1])) { in bytes_new()
862 if (!PyUnicode_Check(fastargs[2])) { in bytes_new()
/third_party/python/PC/clinic/
Dwinreg.c.h161 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()
480 else if (PyUnicode_Check(args[1])) { in winreg_DeleteValue()
621 if (!PyUnicode_Check(arg)) { in winreg_ExpandEnvironmentStrings()
733 if (!PyUnicode_Check(args[1])) { in winreg_LoadKey()
745 if (!PyUnicode_Check(args[2])) { in winreg_LoadKey()
964 else if (PyUnicode_Check(args[1])) { in winreg_QueryValue()
1027 else if (PyUnicode_Check(args[1])) { in winreg_QueryValueEx()
1092 if (!PyUnicode_Check(args[1])) { in winreg_SaveKey()
D_msi.c.h51 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()
/third_party/python/Modules/_sqlite/clinic/
Dconnection.c.h127 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_create_function()
188 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_create_aggregate()
373 if (!PyUnicode_Check(arg)) { in pysqlite_connection_load_extension()
417 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_execute()
459 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_executemany()
579 if (!PyUnicode_Check(args[3])) { in pysqlite_connection_backup()
636 if (!PyUnicode_Check(args[0])) { in pysqlite_connection_create_collation()
/third_party/python/Modules/_sqlite/
Drow.c103 if (!PyUnicode_Check(left) || !PyUnicode_Check(right)) { in equal_ignore_case()
139 } else if (PyUnicode_Check(idx)) { in pysqlite_row_subscript()
/third_party/python/Modules/_multiprocessing/clinic/
Dposixshmem.c.h37 if (!PyUnicode_Check(args[0])) { in _posixshmem_shm_open()
100 if (!PyUnicode_Check(args[0])) { in _posixshmem_shm_unlink()
/third_party/boost/libs/python/src/converter/
Dbuiltin_converters.cpp51 return PyUnicode_Check(obj) ? _PyUnicode_AsString(obj) : 0;
56 …return PyUnicode_Check(obj) ? const_cast<void*>(reinterpret_cast<const void*>(_PyUnicode_AsString(…
385 return (PyUnicode_Check(obj)) ? &py_unicode_as_string_unaryfunc : in get_slot()
424 return PyUnicode_Check(obj) in get_slot()
/third_party/python/Doc/includes/
Dcustom3.c88 if (!PyUnicode_Check(value)) { in Custom_setfirst()
115 if (!PyUnicode_Check(value)) { in Custom_setlast()
Dcustom4.c103 if (!PyUnicode_Check(value)) { in Custom_setfirst()
128 if (!PyUnicode_Check(value)) { in Custom_setlast()

1234567