Home
last modified time | relevance | path

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

/third_party/python/Include/
Dunicodeobject.h111 PyAPI_DATA(PyTypeObject) PyUnicode_Type;
116 #define PyUnicode_CheckExact(op) Py_IS_TYPE(op, &PyUnicode_Type)
/third_party/python/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.c331 m, &Str_Type_spec, (PyObject *)&PyUnicode_Type); in xx_modexec()
D_testmultiphase.c360 Str_Type_slots[0].pfunc = &PyUnicode_Type; in execfunc()
D_pickle.c4309 else if (type == &PyUnicode_Type) { in save()
/third_party/python/Modules/_sqlite/
Dconnection.c105 Py_INCREF(&PyUnicode_Type); in pysqlite_connection_init()
106 Py_XSETREF(self->text_factory, (PyObject*)&PyUnicode_Type); in pysqlite_connection_init()
1345 (PyObject *)&PyUnicode_Type, &PyId_upper, in pysqlite_connection_set_isolation_level()
1781 uppercase_name = _PyObject_CallMethodIdOneArg((PyObject *)&PyUnicode_Type, in pysqlite_connection_create_collation_impl()
Dmodule.c168 || type == &PyUnicode_Type || type == &PyByteArray_Type) { in pysqlite_register_adapter_impl()
Dcursor.c338 if (self->connection->text_factory == (PyObject*)&PyUnicode_Type) { in _pysqlite_fetch_one_row()
/third_party/python/Objects/
Dlistobject.c2074 assert(Py_IS_TYPE(v, &PyUnicode_Type)); in unsafe_latin_compare()
2075 assert(Py_IS_TYPE(w, &PyUnicode_Type)); in unsafe_latin_compare()
2313 else if (key_type == &PyUnicode_Type && in list_sort_impl()
2325 if (key_type == &PyUnicode_Type && strings_are_latin) { in list_sort_impl()
Dobject.c1866 INIT_TYPE(PyUnicode_Type); in _PyTypes_Init()
Dunicodeobject.c1249 unicode = PyObject_New(PyUnicodeObject, &PyUnicode_Type); in _PyUnicode_New()
1467 _PyObject_Init(obj, &PyUnicode_Type); in PyUnicode_New()
15625 if (unicode != NULL && type != &PyUnicode_Type) { in unicode_new_impl()
15640 assert(PyType_IsSubtype(type, &PyUnicode_Type)); in unicode_subtype_new()
15737 PyTypeObject PyUnicode_Type = { variable
15816 if (PyType_Ready(&PyUnicode_Type) < 0) { in _PyUnicode_InitTypes()
Dtypeobject.c5722 else if (PyType_IsSubtype(base, &PyUnicode_Type)) { in inherit_special()
/third_party/python/Doc/data/
Dstable_abi.dat762 var,PyUnicode_Type,3.2,
/third_party/python/PC/
Dpython3dll.c852 EXPORT_DATA(PyUnicode_Type)
/third_party/python/Python/
Dpystate.c1925 if (_register_xidata(xidregistry, &PyUnicode_Type, _str_shared) != 0) { in _register_builtins_for_crossinterpreter_data()
Dbltinmodule.c3034 SETBUILTIN("str", &PyUnicode_Type); in _PyBuiltin_Init()
Dcompile.c4138 return &PyUnicode_Type; in infer_type()
/third_party/python/Misc/
Dstable_abi.txt1482 data PyUnicode_Type
/third_party/python/Tools/c-analyzer/
DTODO893 Objects/unicodeobject.c:PyUnicode_Type PyTypeObject PyUnicode_Type
/third_party/python/Lib/test/
Dclinic.test12 c: object(subclass_of="&PyUnicode_Type")
141 g: object(subclass_of="&PyUnicode_Type")
/third_party/python/Doc/howto/
Dclinic.rst919 that the object is a subclass of ``PyUnicode_Type``, you probably want
920 to use the converter ``object(type='PyUnicodeObject *', subclass_of='&PyUnicode_Type')``.
/third_party/python/Doc/c-api/
Dunicode.rst81 .. c:var:: PyTypeObject PyUnicode_Type
Dtypeobj.rst2688 .tp_base = NULL, // set to &PyUnicode_Type in module init
/third_party/python/Tools/c-analyzer/cpython/
Dignored.tsv1611 Objects/unicodeobject.c - PyUnicode_Type -