Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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()
775 &form, &PyUnicode_Type, &input)) in unicodedata_normalize()
[all …]
Dxxmodule.c349 Str_Type.tp_base = &PyUnicode_Type; in initxx()
DcPickle.c2597 if ((type == &PyUnicode_Type) && (PyString_GET_SIZE(args) < 2)) { in save()
2628 if (type == &PyUnicode_Type) { in save()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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 …]
DcPickle.c2629 if ((type == &PyUnicode_Type) && (PyString_GET_SIZE(args) < 2)) { in save()
2660 if (type == &PyUnicode_Type) { in save()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dmodule.c159 || type == &PyString_Type || type == &PyUnicode_Type || type == &PyBuffer_Type) { in module_register_adapter()
Dcursor.c378 if ((self->connection->text_factory == (PyObject*)&PyUnicode_Type) in _pysqlite_fetch_one_row()
475 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()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dunicodeobject.h425 PyAPI_DATA(PyTypeObject) PyUnicode_Type;
429 #define PyUnicode_CheckExact(op) (Py_TYPE(op) == &PyUnicode_Type)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dunicodeobject.h425 PyAPI_DATA(PyTypeObject) PyUnicode_Type;
429 #define PyUnicode_CheckExact(op) (Py_TYPE(op) == &PyUnicode_Type)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodeobject.c337 PyObject_INIT(unicode, &PyUnicode_Type); in _PyUnicode_New()
341 unicode = PyObject_New(PyUnicodeObject, &PyUnicode_Type); in _PyUnicode_New()
1444 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, &repunicode, &newpos)) in unicode_decode_call_errorhandler()
3547 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, in unicode_encode_call_errorhandler()
4819 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, in unicode_translate_call_errorhandler()
8714 if (type != &PyUnicode_Type) in unicode_new()
8733 assert(PyType_IsSubtype(type, &PyUnicode_Type)); in unicode_subtype_new()
8734 tmp = (PyUnicodeObject *)unicode_new(&PyUnicode_Type, args, kwds); in unicode_subtype_new()
8764 PyTypeObject PyUnicode_Type = { variable
8836 if (PyType_Ready(&PyUnicode_Type) < 0) in _PyUnicode_Init()
Dexceptions.c1636 kwds, &PyUnicode_Type); in UnicodeEncodeError_init()
1807 &PyUnicode_Type, &self->object, in UnicodeTranslateError_init()
Dbytearrayobject.c1026 if (PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type) || in bytearray_richcompare()
1027 PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type)) { in bytearray_richcompare()
Dobject.c2112 if (PyType_Ready(&PyUnicode_Type) < 0) in _Py_ReadyTypes()
Dtypeobject.c3711 else if (PyType_IsSubtype(base, &PyUnicode_Type))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodeobject.c350 PyObject_INIT(unicode, &PyUnicode_Type); in _PyUnicode_New()
354 unicode = PyObject_New(PyUnicodeObject, &PyUnicode_Type); in _PyUnicode_New()
1502 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, &repunicode, &newpos)) in unicode_decode_call_errorhandler()
3591 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, in unicode_encode_call_errorhandler()
4912 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, in unicode_translate_call_errorhandler()
8822 if (type != &PyUnicode_Type) in unicode_new()
8841 assert(PyType_IsSubtype(type, &PyUnicode_Type)); in unicode_subtype_new()
8842 tmp = (PyUnicodeObject *)unicode_new(&PyUnicode_Type, args, kwds); in unicode_subtype_new()
8873 PyTypeObject PyUnicode_Type = { variable
8940 if (PyType_Ready(&PyUnicode_Type) < 0) in _PyUnicode_Init()
Dexceptions.c1640 kwds, &PyUnicode_Type); in UnicodeEncodeError_init()
1819 &PyUnicode_Type, &self->object, in UnicodeTranslateError_init()
Dbytearrayobject.c1030 if (PyObject_IsInstance(self, (PyObject*)&PyUnicode_Type) || in bytearray_richcompare()
1031 PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type)) { in bytearray_richcompare()
Dobject.c2120 if (PyType_Ready(&PyUnicode_Type) < 0) in _Py_ReadyTypes()
Dtypeobject.c3746 else if (PyType_IsSubtype(base, &PyUnicode_Type))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dbltinmodule.c2718 SETBUILTIN("unicode", &PyUnicode_Type); in _PyBuiltin_Init()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dbltinmodule.c2729 SETBUILTIN("unicode", &PyUnicode_Type); in _PyBuiltin_Init()