Home
last modified time | relevance | path

Searched refs:PyUnicode_Type (Results 1 – 25 of 44) sorted by relevance

12

/external/python/cpython2/Modules/
Dunicodedata.c127 if (!PyArg_ParseTuple(args, "O!|O:decimal", &PyUnicode_Type, &v, &defobj)) in unicodedata_decimal()
177 if (!PyArg_ParseTuple(args, "O!|O:digit", &PyUnicode_Type, &v, &defobj)) in unicodedata_digit()
212 if (!PyArg_ParseTuple(args, "O!|O:numeric", &PyUnicode_Type, &v, &defobj)) in unicodedata_numeric()
260 &PyUnicode_Type, &v)) in unicodedata_category()
289 &PyUnicode_Type, &v)) in unicodedata_bidirectional()
320 &PyUnicode_Type, &v)) in unicodedata_combining()
349 &PyUnicode_Type, &v)) in unicodedata_mirrored()
379 &PyUnicode_Type, &v)) in unicodedata_east_asian_width()
410 &PyUnicode_Type, &v)) in unicodedata_decomposition()
786 &form, &PyUnicode_Type, &input)) in unicodedata_normalize()
[all …]
Dxxmodule.c349 Str_Type.tp_base = &PyUnicode_Type; in initxx()
/external/python/cpython3/Modules/_sqlite/
Dmodule.c177 || type == &PyUnicode_Type || type == &PyByteArray_Type) { in module_register_adapter()
447 Py_INCREF((PyObject*)&PyUnicode_Type); in PyInit__sqlite3()
448 PyDict_SetItemString(dict, "OptimizedUnicode", (PyObject*)&PyUnicode_Type); in PyInit__sqlite3()
Dconnection.c112 Py_INCREF(&PyUnicode_Type); in pysqlite_connection_init()
113 Py_XSETREF(self->text_factory, (PyObject*)&PyUnicode_Type); in pysqlite_connection_init()
1194 (PyObject *)&PyUnicode_Type, &PyId_upper, in pysqlite_connection_set_isolation_level()
1660 uppercase_name = _PyObject_CallMethodIdOneArg((PyObject *)&PyUnicode_Type, in pysqlite_connection_create_collation()
Dcursor.c294 if (self->connection->text_factory == (PyObject*)&PyUnicode_Type) { in _pysqlite_fetch_one_row()
/external/python/cffi/c/
Dminibuffer.h175 rc = PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type); in mb_richcompare()
177 rc = PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type); in mb_richcompare()
/external/python/cpython3/Include/
Dunicodeobject.h111 PyAPI_DATA(PyTypeObject) PyUnicode_Type;
116 #define PyUnicode_CheckExact(op) Py_IS_TYPE(op, &PyUnicode_Type)
/external/python/cpython3/Modules/
Dxxlimited.c246 Str_Type_slots[0].pfunc = &PyUnicode_Type; in xx_modexec()
Dxxmodule.c357 Str_Type.tp_base = &PyUnicode_Type; in xx_exec()
D_testmultiphase.c354 Str_Type_slots[0].pfunc = &PyUnicode_Type; in execfunc()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h221 || PyObject_TypeCheck((type), &PyUnicode_Type) \
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/
Dcext.h259 || PyObject_TypeCheck((type), &PyUnicode_Type) \
/external/python/cpython2/Include/
Dunicodeobject.h425 PyAPI_DATA(PyTypeObject) PyUnicode_Type;
429 #define PyUnicode_CheckExact(op) (Py_TYPE(op) == &PyUnicode_Type)
/external/python/cpython2/Modules/_sqlite/
Dmodule.c159 || type == &PyString_Type || type == &PyUnicode_Type || type == &PyBuffer_Type) { in module_register_adapter()
Dcursor.c361 if ((self->connection->text_factory == (PyObject*)&PyUnicode_Type) in _pysqlite_fetch_one_row()
463 allow_8bit_chars = ((self->connection->text_factory != (PyObject*)&PyUnicode_Type) && in _pysqlite_query_execute()
Dconnection.c94 Py_INCREF(&PyUnicode_Type); in pysqlite_connection_init()
95 self->text_factory = (PyObject*)&PyUnicode_Type; in pysqlite_connection_init()
/external/python/cpython2/Objects/
Dunicodeobject.c350 (void)PyObject_INIT(unicode, &PyUnicode_Type); in _PyUnicode_New()
354 unicode = PyObject_New(PyUnicodeObject, &PyUnicode_Type); in _PyUnicode_New()
1504 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, &repunicode, &newpos)) in unicode_decode_call_errorhandler()
3598 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, in unicode_encode_call_errorhandler()
4919 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, in unicode_translate_call_errorhandler()
8834 if (type != &PyUnicode_Type) in unicode_new()
8853 assert(PyType_IsSubtype(type, &PyUnicode_Type)); in unicode_subtype_new()
8854 tmp = (PyUnicodeObject *)unicode_new(&PyUnicode_Type, args, kwds); in unicode_subtype_new()
8885 PyTypeObject PyUnicode_Type = { variable
8952 if (PyType_Ready(&PyUnicode_Type) < 0) in _PyUnicode_Init()
Dexceptions.c1623 kwds, &PyUnicode_Type); in UnicodeEncodeError_init()
1800 &PyUnicode_Type, &self->object, in UnicodeTranslateError_init()
Dbytesobject.c1576 (PyObject*)&PyUnicode_Type); in bytes_richcompare()
1579 (PyObject*)&PyUnicode_Type); in bytes_richcompare()
Dbytearrayobject.c1052 rc = PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
1054 rc = PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
/external/python/cpython3/Objects/
Dlistobject.c2055 assert(Py_IS_TYPE(v, &PyUnicode_Type)); in unsafe_latin_compare()
2056 assert(Py_IS_TYPE(w, &PyUnicode_Type)); in unsafe_latin_compare()
2294 else if (key_type == &PyUnicode_Type && in list_sort_impl()
2306 if (key_type == &PyUnicode_Type && strings_are_latin) { in list_sort_impl()
Dbytearrayobject.c1018 rc = PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
1020 rc = PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
Dbytesobject.c1503 (PyObject*)&PyUnicode_Type); in bytes_richcompare()
1506 (PyObject*)&PyUnicode_Type); in bytes_richcompare()
/external/python/cpython3/PC/
Dpython3.def712 PyUnicode_Type=python39.PyUnicode_Type DATA
/external/python/cpython2/PC/os2emx/
Dpython27.def650 "PyUnicode_Type"

12