Home
last modified time | relevance | path

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

12

/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.c383 m, &Str_Type_spec, (PyObject *)&PyUnicode_Type); in xx_modexec()
D_testmultiphase.c385 Str_Type_slots[0].pfunc = &PyUnicode_Type; in execfunc()
/third_party/python/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()
Dpystate.c2117 if (_register_xidata(xidregistry, &PyUnicode_Type, _str_shared) != 0) { in _register_builtins_for_crossinterpreter_data()
Dbltinmodule.c3081 SETBUILTIN("str", &PyUnicode_Type); in _PyBuiltin_Init()
Dceval.c4941 DEOPT_IF(callable != (PyObject *)&PyUnicode_Type, PRECALL);
4947 Py_DECREF(&PyUnicode_Type);
/third_party/python/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()
Dobject.c1934 &PyUnicode_Type,
Dunicodeobject.c1230 unicode = PyObject_New(PyUnicodeObject, &PyUnicode_Type); in _PyUnicode_New()
1429 _PyObject_Init(obj, &PyUnicode_Type); in PyUnicode_New()
15296 if (unicode != NULL && type != &PyUnicode_Type) { in unicode_new_impl()
15311 assert(PyType_IsSubtype(type, &PyUnicode_Type)); in unicode_subtype_new()
15415 PyTypeObject PyUnicode_Type = { variable
Ddictobject.c1016 hash = PyUnicode_Type.tp_hash(key); in _PyDictKeys_StringLookup()
1192 hash = PyUnicode_Type.tp_hash(name); in insert_into_dictkeys()
/third_party/python/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()
Dconnection.c255 self->text_factory = Py_NewRef(&PyUnicode_Type); in pysqlite_connection_init_impl()
/third_party/python/Include/internal/
Dpycore_runtime_init.h98 .ob_base = _PyObject_IMMORTAL_INIT(&PyUnicode_Type), \
/third_party/python/PC/
Dpython3dll.c869 EXPORT_DATA(PyUnicode_Type)
/third_party/python/Doc/data/
Dstable_abi.dat782 var,PyUnicode_Type,3.2,,
/third_party/python/Tools/c-analyzer/
DTODO841 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/Misc/
Dstable_abi.toml1574 [data.PyUnicode_Type]
/third_party/python/Doc/howto/
Dclinic.rst918 that the object is a subclass of ``PyUnicode_Type``, you probably want
919 to use the converter ``object(type='PyUnicodeObject *', subclass_of='&PyUnicode_Type')``.
/third_party/python/Tools/c-analyzer/cpython/
Dglobals-to-fix.tsv103 Objects/unicodeobject.c - PyUnicode_Type -
/third_party/python/Doc/c-api/
Dunicode.rst81 .. c:var:: PyTypeObject PyUnicode_Type

12