Home
last modified time | relevance | path

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

12

/external/python/cpython3/Modules/
D_abc.c175 *pset = PySet_New(NULL); in _add_to_weak_set()
287 PySet_New(impl->_abc_registry), in _abc__get_dump()
288 PySet_New(impl->_abc_cache), in _abc__get_dump()
289 PySet_New(impl->_abc_negative_cache), in _abc__get_dump()
Dsignalmodule.c890 result = PySet_New(0); in sigset_to_set()
1042 PyObject *set = PySet_New(tup); in signal_valid_signals_impl()
D_ssl.c5701 result = PySet_New(NULL); in _ssl_enum_certificates_impl()
5799 result = PySet_New(NULL); in _ssl_enum_crls_impl()
D_asynciomodule.c3345 iscoroutine_typecache = PySet_New(NULL); in module_init()
/external/python/cpython2/Include/
Dsetobject.h83 PyAPI_FUNC(PyObject *) PySet_New(PyObject *);
/external/python/cpython3/Include/
Dsetobject.h80 PyAPI_FUNC(PyObject *) PySet_New(PyObject *);
/external/python/cpython3/Python/
Dsymtable.c746 local = PySet_New(NULL); /* collect new names bound in block */ in analyze_block()
764 newglobal = PySet_New(NULL); in analyze_block()
767 newfree = PySet_New(NULL); in analyze_block()
770 newbound = PySet_New(NULL); in analyze_block()
837 allfree = PySet_New(NULL); in analyze_block()
899 temp_bound = PySet_New(bound); in analyze_child_block()
902 temp_free = PySet_New(free); in analyze_child_block()
905 temp_global = PySet_New(global); in analyze_child_block()
932 free = PySet_New(NULL); in symtable_analyze()
935 global = PySet_New(NULL); in symtable_analyze()
Dpythonrun.c1019 seen = PySet_New(NULL); in _PyErr_Display()
Dmarshal.c1260 v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL); in r_object()
Dceval.c2808 PyObject *set = PySet_New(NULL); in _PyEval_EvalFrameDefault()
/external/python/cpython3/Objects/
Dsetobject.c2240 PySet_New(PyObject *iterable) in PySet_New() function
2391 assertRaises(PySet_New(Py_None) == NULL, PyExc_TypeError); in test_c_api()
2395 dup = PySet_New(ob); in test_c_api()
2413 dup2 = PySet_New(dup); in test_c_api()
2438 dup2 = PySet_New(NULL); in test_c_api()
2470 f = PySet_New(NULL); in test_c_api()
Ddictobject.c4283 return PySet_New(left); in dictviews_to_set()
4350 result = PySet_New(NULL); in _PyDictView_Intersect()
/external/python/cpython2/Objects/
Dsetobject.c2273 PySet_New(PyObject *iterable) in PySet_New() function
2429 assertRaises(PySet_New(Py_None) == NULL, PyExc_TypeError); in test_c_api()
2433 dup = PySet_New(ob); in test_c_api()
2451 dup2 = PySet_New(dup); in test_c_api()
2476 dup2 = PySet_New(NULL); in test_c_api()
2508 f = PySet_New(NULL); in test_c_api()
Ddictobject.c3067 PyObject *result = PySet_New(self); in dictviews_sub()
3086 PyObject *result = PySet_New(self); in dictviews_and()
3104 PyObject *result = PySet_New(self); in dictviews_or()
3122 PyObject *result = PySet_New(self); in dictviews_xor()
/external/python/cpython3/Doc/c-api/
Dset.rst80 .. c:function:: PyObject* PySet_New(PyObject *iterable)
/external/python/cpython2/Doc/c-api/
Dset.rst86 .. c:function:: PyObject* PySet_New(PyObject *iterable)
/external/python/cpython3/PC/
Dpython3.def532 PySet_New=python39.PySet_New
/external/python/cpython2/PC/os2emx/
Dpython27.def506 "PySet_New"
/external/python/pybind11/include/pybind11/
Dpytypes.h1355 PYBIND11_OBJECT_CVT(set, object, PySet_Check, PySet_New) in PYBIND11_OBJECT_CVT() argument
1356 set() : object(PySet_New(nullptr), stolen_t{}) { in PYBIND11_OBJECT_CVT()
/external/python/cpython2/Doc/data/
Drefcounts.dat1220 PySet_New:PyObject*::+1:
1221 PySet_New:PyObject*:iterable:0:
/external/python/cpython2/Python/
Dmarshal.c970 v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL); in r_object()
Dceval.c2493 x = PySet_New(NULL); in PyEval_EvalFrameEx()
/external/python/cpython3/Doc/data/
Drefcounts.dat2055 PySet_New:PyObject*::+1:
2056 PySet_New:PyObject*:iterable:0:
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2927 PyObject *dummy_obj = PySet_New(NULL); in InitGlobals()
/external/python/cpython2/Modules/
D_ssl.c3809 retval = PySet_New(NULL); in parseKeyUsage()

12