Home
last modified time | relevance | path

Searched refs:PyFrozenSet_Type (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython3/Include/
Dsetobject.h77 PyAPI_DATA(PyTypeObject) PyFrozenSet_Type;
90 #define PyFrozenSet_CheckExact(ob) Py_IS_TYPE(ob, &PyFrozenSet_Type)
92 (Py_IS_TYPE(ob, &PySet_Type) || Py_IS_TYPE(ob, &PyFrozenSet_Type))
94 (Py_IS_TYPE(ob, &PySet_Type) || Py_IS_TYPE(ob, &PyFrozenSet_Type) || \
96 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
101 (Py_IS_TYPE(ob, &PyFrozenSet_Type) || \
102 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
/external/python/cpython2/Include/
Dsetobject.h60 PyAPI_DATA(PyTypeObject) PyFrozenSet_Type;
69 #define PyFrozenSet_CheckExact(ob) (Py_TYPE(ob) == &PyFrozenSet_Type)
71 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type)
73 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type || \
75 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
80 (Py_TYPE(ob) == &PyFrozenSet_Type || \
81 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
/external/python/cpython3/Objects/
Dsetobject.c969 if (type != &PySet_Type && type != &PyFrozenSet_Type) { in make_new_set_basetype()
973 type = &PyFrozenSet_Type; in make_new_set_basetype()
984 if (type != &PyFrozenSet_Type) { in make_new_frozenset()
1015 if (type == &PyFrozenSet_Type && !_PyArg_NoKeywords("frozenset", kwds)) { in frozenset_new()
1086 if (PyType_IsSubtype(Py_TYPE(a), &PyFrozenSet_Type) && in set_swap_bodies()
1087 PyType_IsSubtype(Py_TYPE(b), &PyFrozenSet_Type)) { in set_swap_bodies()
1825 tmpkey = make_new_set(&PyFrozenSet_Type, key); in set_contains()
1858 tmpkey = make_new_set(&PyFrozenSet_Type, key); in set_remove()
1890 tmpkey = make_new_set(&PyFrozenSet_Type, key); in set_discard()
2191 PyTypeObject PyFrozenSet_Type = { variable
[all …]
Dobject.c1781 INIT_TYPE(&PyFrozenSet_Type, "frozenset"); in _PyTypes_Init()
/external/python/cpython2/Objects/
Dsetobject.c1012 (type == &PySet_Type || type == &PyFrozenSet_Type)) { in make_new_set()
1049 if (type == &PyFrozenSet_Type && !_PyArg_NoKeywords("frozenset()", kwds)) in frozenset_new()
1055 if (type != &PyFrozenSet_Type) in frozenset_new()
1141 if (PyType_IsSubtype(Py_TYPE(a), &PyFrozenSet_Type) && in set_swap_bodies()
1142 PyType_IsSubtype(Py_TYPE(b), &PyFrozenSet_Type)) { in set_swap_bodies()
1877 tmpkey = make_new_set(&PyFrozenSet_Type, key); in set_contains()
1910 tmpkey = make_new_set(&PyFrozenSet_Type, key); in set_remove()
1942 tmpkey = make_new_set(&PyFrozenSet_Type, key); in set_discard()
2225 PyTypeObject PyFrozenSet_Type = { variable
2281 return make_new_set(&PyFrozenSet_Type, iterable); in PyFrozenSet_New()
Dobject.c2152 if (PyType_Ready(&PyFrozenSet_Type) < 0) in _Py_ReadyTypes()
/external/python/cpython3/Doc/c-api/
Dset.rst44 .. c:var:: PyTypeObject PyFrozenSet_Type
/external/python/cpython2/Doc/c-api/
Dset.rst46 .. c:var:: PyTypeObject PyFrozenSet_Type
/external/python/cpython3/PC/
Dpython3.def270 PyFrozenSet_Type=python39.PyFrozenSet_Type DATA
/external/python/cpython2/PC/os2emx/
Dpython27.def517 "PyFrozenSet_Type"
/external/python/cpython3/Python/
Dmarshal.c1253 v = _PyObject_CallNoArg((PyObject*)&PyFrozenSet_Type); in r_object()
Dbltinmodule.c2821 SETBUILTIN("frozenset", &PyFrozenSet_Type); in _PyBuiltin_Init()
/external/python/cpython3/Tools/c-analyzer/
DTODO883 Objects/setobject.c:PyFrozenSet_Type PyTypeObject PyFrozenSet_Type
Dknown.tsv987 Objects/setobject.c - PyFrozenSet_Type variable PyTypeObject PyFrozenSet_Type
/external/python/cpython2/Python/
Dbltinmodule.c2735 SETBUILTIN("frozenset", &PyFrozenSet_Type); in _PyBuiltin_Init()
/external/python/cpython3/Modules/
D_pickle.c3455 reduce_value = Py_BuildValue("(O(O))", (PyObject*)&PyFrozenSet_Type, in save_frozenset()
4331 else if (type == &PyFrozenSet_Type) { in save()
/external/python/cpython3/Lib/test/
Dclinic.test139 e: object(subclass_of="&PyFrozenSet_Type")