Home
last modified time | relevance | path

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

123456789

/external/python/cpython3/Modules/clinic/
D_codecsmodule.c.h36 if (!PyUnicode_Check(arg)) { in _codecs_lookup()
95 if (!PyUnicode_Check(args[1])) { in _codecs_encode()
112 if (!PyUnicode_Check(args[2])) { in _codecs_encode()
172 if (!PyUnicode_Check(args[1])) { in _codecs_decode()
189 if (!PyUnicode_Check(args[2])) { in _codecs_decode()
227 if (!PyUnicode_Check(arg)) { in _codecs__forget_codec()
268 if (PyUnicode_Check(args[0])) { in _codecs_escape_decode()
291 else if (PyUnicode_Check(args[1])) { in _codecs_escape_decode()
351 else if (PyUnicode_Check(args[1])) { in _codecs_escape_encode()
409 else if (PyUnicode_Check(args[1])) { in _codecs_utf_7_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_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 …]
Dpyexpat.c.h77 if (!PyUnicode_Check(arg)) { in pyexpat_xmlparser_SetBase()
163 else if (PyUnicode_Check(args[0])) { in pyexpat_xmlparser_ExternalEntityParserCreate()
181 if (!PyUnicode_Check(args[1])) { in pyexpat_xmlparser_ExternalEntityParserCreate()
319 else if (PyUnicode_Check(args[0])) { in pyexpat_ParserCreate()
342 else if (PyUnicode_Check(args[1])) { in pyexpat_ParserCreate()
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()
D_dbmmodule.c.h138 if (!PyUnicode_Check(args[0])) { in dbmopen()
149 if (!PyUnicode_Check(args[1])) { in dbmopen()
/external/python/cpython3/Modules/_io/clinic/
D_iomodule.c.h163 if (!PyUnicode_Check(args[1])) { in _io_open()
198 else if (PyUnicode_Check(args[3])) { in _io_open()
221 else if (PyUnicode_Check(args[4])) { in _io_open()
244 else if (PyUnicode_Check(args[5])) { in _io_open()
313 if (!PyUnicode_Check(args[0])) { in _io_open_code()
/external/python/cpython3/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()
/external/python/cpython3/Objects/stringlib/
Deq.h9 assert(PyUnicode_Check(aa)); in unicode_eq()
10 assert(PyUnicode_Check(bb)); in unicode_eq()
Ducs4lib.h22 #define STRINGLIB_CHECK PyUnicode_Check
Ducs2lib.h22 #define STRINGLIB_CHECK PyUnicode_Check
Ducs1lib.h22 #define STRINGLIB_CHECK PyUnicode_Check
/external/python/cpython3/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.h159 if (!PyUnicode_Check(args[0])) { in unicode_encode()
176 if (!PyUnicode_Check(args[1])) { in unicode_encode()
714 if (!PyUnicode_Check(args[0])) { in unicode_replace()
722 if (!PyUnicode_Check(args[1])) { in unicode_replace()
778 if (!PyUnicode_Check(arg)) { in unicode_removeprefix()
814 if (!PyUnicode_Check(arg)) { in unicode_removesuffix()
1153 if (!PyUnicode_Check(args[1])) { in unicode_maketrans()
1164 if (!PyUnicode_Check(args[2])) { in unicode_maketrans()
1275 if (!PyUnicode_Check(arg)) { in unicode___format__()
Dlongobject.c.h76 if (!PyUnicode_Check(arg)) { in int___format__()
229 if (!PyUnicode_Check(args[1])) { in int_to_bytes()
295 if (!PyUnicode_Check(args[1])) { in int_from_bytes()
/external/python/cpython3/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)), \
/external/python/cpython3/Modules/_sqlite/
Drow.c86 if (!PyUnicode_Check(left) || !PyUnicode_Check(right)) { in equal_ignore_case()
122 } else if (PyUnicode_Check(idx)) { in pysqlite_row_subscript()
/external/python/cpython3/Modules/_multiprocessing/clinic/
Dposixshmem.c.h37 if (!PyUnicode_Check(args[0])) { in _posixshmem_shm_open()
110 if (!PyUnicode_Check(args[0])) { in _posixshmem_shm_unlink()
/external/python/cpython3/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()
/external/libchrome/third_party/markupsafe/
D_speedups.c141 if (!PyUnicode_Check(text)) { in escape()
174 if (!PyUnicode_Check(s)) in soft_unicode()
/external/python/cpython2/Mac/Modules/cf/
Dpycfbridge.c149 if (PyString_Check(src) || PyUnicode_Check(src)) in PyCF_Python2CF()
252 if (PyString_Check(src) || PyUnicode_Check(src)) in PyCF_Python2CF_simple()
291 if (PyUnicode_Check(src)) { in PyCF_Python2CF_string()
/external/python/cpython3/Objects/
Dmoduleobject.c481 !PyUnicode_Check(name)) in PyModule_GetNameObject()
513 !PyUnicode_Check(fileobj)) in PyModule_GetFilenameObject()
581 if (value != Py_None && PyUnicode_Check(key)) { in _PyModule_ClearDict()
601 if (value != Py_None && PyUnicode_Check(key)) { in _PyModule_ClearDict()
729 if (mod_name && PyUnicode_Check(mod_name)) { in module_getattro()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dpython_utils.cc25 if (PyUnicode_Check(obj)) { in ConvertFromPyString()

123456789