Searched refs:PySet_Type (Results 1 – 19 of 19) sorted by relevance
/external/python/cpython3/Include/ |
D | setobject.h | 76 PyAPI_DATA(PyTypeObject) PySet_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) || \ 95 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \ 98 (Py_IS_TYPE(ob, &PySet_Type) || \ 99 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
|
/external/python/cpython2/Include/ |
D | setobject.h | 59 PyAPI_DATA(PyTypeObject) PySet_Type; 71 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type) 73 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type || \ 74 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \ 77 (Py_TYPE(ob) == &PySet_Type || \ 78 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
|
/external/python/cpython3/Objects/ |
D | setobject.c | 525 if (!Py_IS_TYPE(so, &PySet_Type)) in set_repr() 969 if (type != &PySet_Type && type != &PyFrozenSet_Type) { in make_new_set_basetype() 970 if (PyType_IsSubtype(type, &PySet_Type)) in make_new_set_basetype() 971 type = &PySet_Type; in make_new_set_basetype() 1718 tmp = make_new_set(&PySet_Type, other); in set_issubset() 1746 tmp = make_new_set(&PySet_Type, other); in set_issuperset() 2091 PyTypeObject PySet_Type = { variable 2242 return make_new_set(&PySet_Type, iterable); in PySet_New()
|
D | object.c | 1775 INIT_TYPE(&PySet_Type, "set"); in _PyTypes_Init()
|
D | dictobject.c | 4331 if (Py_IS_TYPE(other, &PySet_Type) && len_self <= PyObject_Size(other)) { in _PyDictView_Intersect()
|
/external/python/cpython2/Objects/ |
D | setobject.c | 1012 (type == &PySet_Type || type == &PyFrozenSet_Type)) { in make_new_set() 1093 if (type == &PySet_Type && !_PyArg_NoKeywords("set()", kwds)) in set_new() 1761 tmp = make_new_set(&PySet_Type, other); in set_issubset() 1789 tmp = make_new_set(&PySet_Type, other); in set_issuperset() 2126 PyTypeObject PySet_Type = { variable 2275 return make_new_set(&PySet_Type, iterable); in PySet_New()
|
D | object.c | 2121 if (PyType_Ready(&PySet_Type) < 0) in _Py_ReadyTypes()
|
/external/python/cpython3/Doc/c-api/ |
D | set.rst | 38 .. c:var:: PyTypeObject PySet_Type
|
/external/python/cpython2/Doc/c-api/ |
D | set.rst | 40 .. c:var:: PyTypeObject PySet_Type
|
/external/python/cpython3/PC/ |
D | python3.def | 535 PySet_Type=python39.PySet_Type DATA
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 516 "PySet_Type"
|
/external/python/cpython2/Python/ |
D | marshal.c | 400 if (PyObject_TypeCheck(v, &PySet_Type)) in w_object()
|
D | bltinmodule.c | 2742 SETBUILTIN("set", &PySet_Type); in _PyBuiltin_Init()
|
/external/python/cpython3/Python/ |
D | bltinmodule.c | 2829 SETBUILTIN("set", &PySet_Type); in _PyBuiltin_Init()
|
D | compile.c | 3981 return &PySet_Type; in infer_type()
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 885 Objects/setobject.c:PySet_Type PyTypeObject PySet_Type
|
D | known.tsv | 1541 Objects/setobject.c - PySet_Type variable PyTypeObject PySet_Type
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 3390 reduce_value = Py_BuildValue("(O(O))", (PyObject*)&PySet_Type, items); in save_set() 4327 else if (type == &PySet_Type) { in save()
|
/external/python/cpython3/Lib/test/ |
D | clinic.test | 138 d: object(subclass_of="&PySet_Type")
|