Searched refs:PyUnicode_Type (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython2/Modules/ |
D | unicodedata.c | 127 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 …]
|
D | xxmodule.c | 349 Str_Type.tp_base = &PyUnicode_Type; in initxx()
|
D | cPickle.c | 2648 if ((type == &PyUnicode_Type) && (PyString_GET_SIZE(args) < 2)) { in save() 2679 if (type == &PyUnicode_Type) { in save()
|
/external/python/cpython2/Include/ |
D | unicodeobject.h | 425 PyAPI_DATA(PyTypeObject) PyUnicode_Type; 429 #define PyUnicode_CheckExact(op) (Py_TYPE(op) == &PyUnicode_Type)
|
/external/python/cpython2/Modules/_sqlite/ |
D | module.c | 159 || type == &PyString_Type || type == &PyUnicode_Type || type == &PyBuffer_Type) { in module_register_adapter()
|
D | cursor.c | 362 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()
|
D | connection.c | 94 Py_INCREF(&PyUnicode_Type); in pysqlite_connection_init() 95 self->text_factory = (PyObject*)&PyUnicode_Type; in pysqlite_connection_init()
|
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 350 (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()
|
D | exceptions.c | 1627 kwds, &PyUnicode_Type); in UnicodeEncodeError_init() 1806 &PyUnicode_Type, &self->object, in UnicodeTranslateError_init()
|
D | bytearrayobject.c | 1031 rc = PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type); in bytearray_richcompare() 1033 rc = PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type); in bytearray_richcompare()
|
D | object.c | 2120 if (PyType_Ready(&PyUnicode_Type) < 0) in _Py_ReadyTypes()
|
D | typeobject.c | 3837 else if (PyType_IsSubtype(base, &PyUnicode_Type))
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 650 "PyUnicode_Type"
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 2740 SETBUILTIN("unicode", &PyUnicode_Type); in _PyBuiltin_Init()
|
/external/python/cpython2/Doc/c-api/ |
D | unicode.rst | 44 .. c:var:: PyTypeObject PyUnicode_Type
|