Home
last modified time | relevance | path

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

/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()
782 &form, &PyUnicode_Type, &input)) in unicodedata_normalize()
[all …]
Dxxmodule.c349 Str_Type.tp_base = &PyUnicode_Type; in initxx()
DcPickle.c2648 if ((type == &PyUnicode_Type) && (PyString_GET_SIZE(args) < 2)) { in save()
2679 if (type == &PyUnicode_Type) { in save()
/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.c362 if ((self->connection->text_factory == (PyObject*)&PyUnicode_Type) in _pysqlite_fetch_one_row()
464 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()
8838 if (type != &PyUnicode_Type) in unicode_new()
8857 assert(PyType_IsSubtype(type, &PyUnicode_Type)); in unicode_subtype_new()
8858 tmp = (PyUnicodeObject *)unicode_new(&PyUnicode_Type, args, kwds); in unicode_subtype_new()
8889 PyTypeObject PyUnicode_Type = { variable
8956 if (PyType_Ready(&PyUnicode_Type) < 0) in _PyUnicode_Init()
Dexceptions.c1627 kwds, &PyUnicode_Type); in UnicodeEncodeError_init()
1806 &PyUnicode_Type, &self->object, in UnicodeTranslateError_init()
Dbytearrayobject.c1031 rc = PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
1033 rc = PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
Dobject.c2120 if (PyType_Ready(&PyUnicode_Type) < 0) in _Py_ReadyTypes()
Dtypeobject.c3837 else if (PyType_IsSubtype(base, &PyUnicode_Type))
/external/python/cpython2/PC/os2emx/
Dpython27.def650 "PyUnicode_Type"
/external/python/cpython2/Python/
Dbltinmodule.c2740 SETBUILTIN("unicode", &PyUnicode_Type); in _PyBuiltin_Init()
/external/python/cpython2/Doc/c-api/
Dunicode.rst44 .. c:var:: PyTypeObject PyUnicode_Type