Home
last modified time | relevance | path

Searched refs:PyUnicode_Type (Results 1 – 25 of 38) 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.c173 || type == &PyUnicode_Type || type == &PyByteArray_Type) { in module_register_adapter()
443 Py_INCREF((PyObject*)&PyUnicode_Type); in PyInit__sqlite3()
444 PyDict_SetItemString(dict, "OptimizedUnicode", (PyObject*)&PyUnicode_Type); in PyInit__sqlite3()
Dconnection.c114 Py_INCREF(&PyUnicode_Type); in pysqlite_connection_init()
115 Py_XSETREF(self->text_factory, (PyObject*)&PyUnicode_Type); in pysqlite_connection_init()
1166 (PyObject *)&PyUnicode_Type, &PyId_upper, in pysqlite_connection_set_isolation_level()
1615 uppercase_name = _PyObject_CallMethodIdObjArgs((PyObject *)&PyUnicode_Type, in pysqlite_connection_create_collation()
Dcursor.c293 if (self->connection->text_factory == (PyObject*)&PyUnicode_Type) { in _pysqlite_fetch_one_row()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h221 || PyObject_TypeCheck((type), &PyUnicode_Type) \
/external/python/cpython3/Modules/
Dxxmodule.c354 Str_Type.tp_base = &PyUnicode_Type; in xx_exec()
Dxxlimited.c242 Str_Type_slots[0].pfunc = &PyUnicode_Type; in xx_modexec()
D_testmultiphase.c189 Str_Type_slots[0].pfunc = &PyUnicode_Type; in execfunc()
/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/cpython3/Lib/test/
Dclinic.test11 c: object(subclass_of="&PyUnicode_Type")
39 &a, PyUnicode_FSConverter, &b, &PyUnicode_Type, &c, &d)) {
124 g: object(subclass_of="&PyUnicode_Type")
163 …Type, &c, &PySet_Type, &d, &PyFrozenSet_Type, &e, &PyDict_Type, &f, &PyUnicode_Type, &g, &PyBytes_…
/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/cpython3/Include/
Dunicodeobject.h359 PyAPI_DATA(PyTypeObject) PyUnicode_Type;
364 #define PyUnicode_CheckExact(op) (Py_TYPE(op) == &PyUnicode_Type)
/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()
Dbytearrayobject.c1052 rc = PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
1054 rc = PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
Dbytesobject.c1576 (PyObject*)&PyUnicode_Type); in bytes_richcompare()
1579 (PyObject*)&PyUnicode_Type); in bytes_richcompare()
/external/python/cpython3/PC/
Dpython3.def712 PyUnicode_Type=python37.PyUnicode_Type DATA
/external/python/cpython3/Objects/
Dlistobject.c2036 assert(v->ob_type == &PyUnicode_Type); in unsafe_latin_compare()
2260 else if (key_type == &PyUnicode_Type){ in list_sort_impl()
2270 if (key_type == &PyUnicode_Type && strings_are_latin) { in list_sort_impl()
Dbytearrayobject.c1019 rc = PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
1021 rc = PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
Dbytesobject.c1581 (PyObject*)&PyUnicode_Type); in bytes_richcompare()
1584 (PyObject*)&PyUnicode_Type); in bytes_richcompare()
/external/python/cpython2/PC/os2emx/
Dpython27.def650 "PyUnicode_Type"

12