/external/python/cpython3/Include/ |
D | setobject.h | 83 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
|
/external/python/cpython2/Include/ |
D | setobject.h | 90 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
|
/external/python/cpython3/Modules/ |
D | _abc.c | 199 int ret = PySet_Add(set, ref); in _add_to_weak_set() 342 (is_abstract && PySet_Add(abstracts, key) < 0)) { in compute_abstract_methods() 392 (is_abstract && PySet_Add(abstracts, key) < 0)) in compute_abstract_methods()
|
D | signalmodule.c | 908 if (PySet_Add(result, signum) == -1) { in sigset_to_set()
|
D | _hashopenssl.c | 1755 if (PySet_Add(state->set, py_name) != 0) { in _openssl_hash_name_mapper()
|
D | _ssl.c | 5617 err = PySet_Add(retval, oid); in parseKeyUsage() 5741 if (PySet_Add(result, tup) == -1) { in _ssl_enum_certificates_impl() 5829 if (PySet_Add(result, tup) == -1) { in _ssl_enum_crls_impl()
|
D | _asynciomodule.c | 162 if (PySet_Add(iscoroutine_typecache, (PyObject*) Py_TYPE(coro))) { in _is_coroutine()
|
/external/python/cpython2/Doc/c-api/ |
D | set.rst | 105 building-up new frozensets with :meth:`PySet_Add`. 138 .. c:function:: int PySet_Add(PyObject *set, PyObject *key)
|
/external/python/cpython3/Objects/ |
D | setobject.c | 2292 PySet_Add(PyObject *anyset, PyObject *key) in PySet_Add() function 2398 assertRaises(PySet_Add(ob, dup) == -1, PyExc_TypeError); in test_c_api() 2404 assert(PySet_Add(ob, elem) == 0); in test_c_api() 2422 assert(PySet_Add(f, elem) == 0); in test_c_api() 2424 assertRaises(PySet_Add(f, elem) == -1, PyExc_SystemError); in test_c_api()
|
D | dictobject.c | 4374 if (PySet_Add(result, key)) { in _PyDictView_Intersect()
|
/external/python/cpython2/Objects/ |
D | setobject.c | 2325 PySet_Add(PyObject *anyset, PyObject *key) in PySet_Add() function 2436 assertRaises(PySet_Add(ob, dup) == -1, PyExc_TypeError); in test_c_api() 2442 assert(PySet_Add(ob, elem) == 0); in test_c_api() 2460 assert(PySet_Add(f, elem) == 0); in test_c_api() 2462 assertRaises(PySet_Add(f, elem) == -1, PyExc_SystemError); in test_c_api()
|
/external/python/cpython3/Python/ |
D | symtable.c | 509 if (PySet_Add(global, name) < 0) in analyze_name() 530 return PySet_Add(free, name) >= 0; in analyze_name() 534 if (PySet_Add(local, name) < 0) in analyze_name() 548 return PySet_Add(free, name) >= 0; in analyze_name() 827 if (PySet_Add(newbound, __class__) < 0) in analyze_block()
|
D | pythonrun.c | 948 if (value_id == NULL || PySet_Add(seen, value_id) == -1) in print_exception_recursive()
|
D | marshal.c | 1284 if (PySet_Add(v, v2) == -1) { in r_object()
|
D | ceval.c | 1810 err = PySet_Add(set, v); in _PyEval_EvalFrameDefault() 2816 err = PySet_Add(set, item); in _PyEval_EvalFrameDefault()
|
/external/python/cpython3/Doc/c-api/ |
D | set.rst | 124 .. c:function:: int PySet_Add(PyObject *set, PyObject *key)
|
/external/python/cpython2/Modules/ |
D | _hashopenssl.c | 792 if (PySet_Add(state->set, py_name) != 0) { in _openssl_hash_name_mapper()
|
D | _ssl.c | 3822 err = PySet_Add(retval, oid); in parseKeyUsage()
|
/external/python/cpython3/PC/ |
D | python3.def | 528 PySet_Add=python39.PySet_Add
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 512 "PySet_Add"
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2034 PySet_Add:int::: 2035 PySet_Add:PyObject*:set:0: 2036 PySet_Add:PyObject*:key:+1:
|
/external/python/cpython2/Python/ |
D | marshal.c | 985 if (PySet_Add(v, v2) == -1) { in r_object()
|
D | ceval.c | 1636 err = PySet_Add(v, w); in PyEval_EvalFrameEx() 2498 err = PySet_Add(x, w); in PyEval_EvalFrameEx()
|
/external/python/pybind11/include/pybind11/ |
D | pytypes.h | 1362 return PySet_Add(m_ptr, detail::object_or_cast(std::forward<T>(val)).ptr()) == 0; in add()
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a1.rst | 5279 ``PySet_Add()`` can now modify a newly created frozenset. Similarly to
|