Searched refs:PyFrozenSet_Type (Results 1 – 17 of 17) sorted by relevance
/external/python/cpython3/Include/ |
D | setobject.h | 77 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/ |
D | setobject.h | 60 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/ |
D | setobject.c | 969 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 …]
|
D | object.c | 1781 INIT_TYPE(&PyFrozenSet_Type, "frozenset"); in _PyTypes_Init()
|
/external/python/cpython2/Objects/ |
D | setobject.c | 1012 (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()
|
D | object.c | 2152 if (PyType_Ready(&PyFrozenSet_Type) < 0) in _Py_ReadyTypes()
|
/external/python/cpython3/Doc/c-api/ |
D | set.rst | 44 .. c:var:: PyTypeObject PyFrozenSet_Type
|
/external/python/cpython2/Doc/c-api/ |
D | set.rst | 46 .. c:var:: PyTypeObject PyFrozenSet_Type
|
/external/python/cpython3/PC/ |
D | python3.def | 270 PyFrozenSet_Type=python39.PyFrozenSet_Type DATA
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 517 "PyFrozenSet_Type"
|
/external/python/cpython3/Python/ |
D | marshal.c | 1253 v = _PyObject_CallNoArg((PyObject*)&PyFrozenSet_Type); in r_object()
|
D | bltinmodule.c | 2821 SETBUILTIN("frozenset", &PyFrozenSet_Type); in _PyBuiltin_Init()
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 883 Objects/setobject.c:PyFrozenSet_Type PyTypeObject PyFrozenSet_Type
|
D | known.tsv | 987 Objects/setobject.c - PyFrozenSet_Type variable PyTypeObject PyFrozenSet_Type
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 2735 SETBUILTIN("frozenset", &PyFrozenSet_Type); in _PyBuiltin_Init()
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 3455 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/ |
D | clinic.test | 139 e: object(subclass_of="&PyFrozenSet_Type")
|