Home
last modified time | relevance | path

Searched refs:PySet_Add (Results 1 – 20 of 20) sorted by relevance

/third_party/python/Include/
Dsetobject.h83 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
/third_party/python/Modules/
D_abc.c201 int ret = PySet_Add(set, ref); in _add_to_weak_set()
344 (is_abstract && PySet_Add(abstracts, key) < 0)) { in compute_abstract_methods()
394 (is_abstract && PySet_Add(abstracts, key) < 0)) in compute_abstract_methods()
Dsignalmodule.c962 if (PySet_Add(result, signum) == -1) {
D_hashopenssl.c1852 if (PySet_Add(state->set, py_name) != 0) { in _openssl_hash_name_mapper()
D_ssl.c5370 err = PySet_Add(retval, oid); in parseKeyUsage()
5494 if (PySet_Add(result, tup) == -1) { in _ssl_enum_certificates_impl()
5582 if (PySet_Add(result, tup) == -1) { in _ssl_enum_crls_impl()
D_asynciomodule.c156 if (PySet_Add(iscoroutine_typecache, (PyObject*) Py_TYPE(coro))) { in _is_coroutine()
Dposixmodule.c7173 if (PySet_Add(res, cpu_num)) { in os_sched_getaffinity_impl()
/third_party/python/Objects/
Dsetobject.c2291 PySet_Add(PyObject *anyset, PyObject *key) in PySet_Add() function
2391 assertRaises(PySet_Add(ob, dup) == -1, PyExc_TypeError); in test_c_api()
2397 assert(PySet_Add(ob, elem) == 0); in test_c_api()
2415 assert(PySet_Add(f, elem) == 0); in test_c_api()
2417 assertRaises(PySet_Add(f, elem) == -1, PyExc_SystemError); in test_c_api()
Ddictobject.c4505 if (PySet_Add(result, key)) { in _PyDictView_Intersect()
4592 if (PySet_Add(result_set, pair) < 0) { in dictitems_xor()
/third_party/python/Python/
Dsymtable.c520 if (PySet_Add(global, name) < 0) in analyze_name()
541 return PySet_Add(free, name) >= 0; in analyze_name()
545 if (PySet_Add(local, name) < 0) in analyze_name()
559 return PySet_Add(free, name) >= 0; in analyze_name()
838 if (PySet_Add(newbound, __class__) < 0) in analyze_block()
Dpythonrun.c1057 if (value_id == NULL || PySet_Add(seen, value_id) == -1) in print_exception_recursive()
Dceval.c934 if (PySet_Contains(seen, key) || PySet_Add(seen, key)) { in match_keys()
982 if (PySet_Contains(seen, name) || PySet_Add(seen, name)) { in match_class_attr()
2194 err = PySet_Add(set, v); in _PyEval_EvalFrameDefault()
3231 err = PySet_Add(set, item); in _PyEval_EvalFrameDefault()
Dmarshal.c1288 if (PySet_Add(v, v2) == -1) { in r_object()
Dcompile.c6040 if (PySet_Add(seen, key->v.Constant.value)) { in compiler_pattern_mapping()
/third_party/python/Doc/c-api/
Dset.rst131 .. c:function:: int PySet_Add(PyObject *set, PyObject *key)
/third_party/python/Doc/data/
Dstable_abi.dat549 function,PySet_Add,3.2,
Drefcounts.dat2014 PySet_Add:int:::
2015 PySet_Add:PyObject*:set:0:
2016 PySet_Add:PyObject*:key:+1:
/third_party/python/PC/
Dpython3dll.c511 EXPORT_FUNC(PySet_Add)
/third_party/python/Misc/
Dstable_abi.txt1179 function PySet_Add
/third_party/python/Doc/whatsnew/
D2.5.rst2160 and :c:func:`PyFrozenSet_New` to create a new set, :c:func:`PySet_Add` and