Home
last modified time | relevance | path

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

12

/external/python/cpython3/android/Python/deepfreeze/
Ddeepfreeze.c15 .ob_type = &PyUnicode_Type,
59 .ob_type = &PyUnicode_Type,
81 .ob_type = &PyUnicode_Type,
127 .ob_type = &PyUnicode_Type,
149 .ob_type = &PyUnicode_Type,
264 .ob_type = &PyUnicode_Type,
335 .ob_type = &PyUnicode_Type,
357 .ob_type = &PyUnicode_Type,
379 .ob_type = &PyUnicode_Type,
427 .ob_type = &PyUnicode_Type,
[all …]
/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/Include/
Dunicodeobject.h111 PyAPI_DATA(PyTypeObject) PyUnicode_Type;
116 #define PyUnicode_CheckExact(op) Py_IS_TYPE(op, &PyUnicode_Type)
/external/python/cpython3/Modules/
Dxxmodule.c357 Str_Type.tp_base = &PyUnicode_Type; in xx_exec()
Dxxlimited_35.c249 Str_Type_slots[0].pfunc = &PyUnicode_Type; in xx_modexec()
Dxxlimited.c383 m, &Str_Type_spec, (PyObject *)&PyUnicode_Type); in xx_modexec()
D_testmultiphase.c385 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/cpython3/Python/
Dspecialize.c1135 if (container_type == &PyUnicode_Type) { in binary_subscr_fail_kind()
1380 if (tp == &PyUnicode_Type) { in specialize_class_call()
1397 SPECIALIZATION_FAIL(PRECALL, tp == &PyUnicode_Type ? in specialize_class_call()
/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()
/external/python/cpython3/Objects/
Dlistobject.c2143 assert(Py_IS_TYPE(v, &PyUnicode_Type)); in unsafe_latin_compare()
2144 assert(Py_IS_TYPE(w, &PyUnicode_Type)); in unsafe_latin_compare()
2382 else if (key_type == &PyUnicode_Type && in list_sort_impl()
2394 if (key_type == &PyUnicode_Type && strings_are_latin) { in list_sort_impl()
/external/python/cpython3/Modules/_sqlite/
Dmodule.c154 || type == &PyUnicode_Type || type == &PyByteArray_Type) { in pysqlite_register_adapter_impl()
Dcursor.c397 if (self->connection->text_factory == (PyObject*)&PyUnicode_Type) { in _pysqlite_fetch_one_row()
/external/python/cpython3/Include/internal/
Dpycore_runtime_init.h98 .ob_base = _PyObject_IMMORTAL_INIT(&PyUnicode_Type), \
/external/python/cpython2/PC/os2emx/
Dpython27.def650 "PyUnicode_Type"
/external/python/cpython3/PC/
Dpython3dll.c869 EXPORT_DATA(PyUnicode_Type)
/external/python/cpython3/Doc/data/
Dstable_abi.dat782 var,PyUnicode_Type,3.2,,

12