Searched refs:PySet_Add (Results 1 – 20 of 20) sorted by relevance
/third_party/python/Include/ |
D | setobject.h | 83 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
|
/third_party/python/Modules/ |
D | _abc.c | 201 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()
|
D | signalmodule.c | 962 if (PySet_Add(result, signum) == -1) {
|
D | _hashopenssl.c | 1852 if (PySet_Add(state->set, py_name) != 0) { in _openssl_hash_name_mapper()
|
D | _ssl.c | 5370 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.c | 156 if (PySet_Add(iscoroutine_typecache, (PyObject*) Py_TYPE(coro))) { in _is_coroutine()
|
D | posixmodule.c | 7173 if (PySet_Add(res, cpu_num)) { in os_sched_getaffinity_impl()
|
/third_party/python/Objects/ |
D | setobject.c | 2291 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()
|
D | dictobject.c | 4505 if (PySet_Add(result, key)) { in _PyDictView_Intersect() 4592 if (PySet_Add(result_set, pair) < 0) { in dictitems_xor()
|
/third_party/python/Python/ |
D | symtable.c | 520 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()
|
D | pythonrun.c | 1057 if (value_id == NULL || PySet_Add(seen, value_id) == -1) in print_exception_recursive()
|
D | ceval.c | 934 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()
|
D | marshal.c | 1288 if (PySet_Add(v, v2) == -1) { in r_object()
|
D | compile.c | 6040 if (PySet_Add(seen, key->v.Constant.value)) { in compiler_pattern_mapping()
|
/third_party/python/Doc/c-api/ |
D | set.rst | 131 .. c:function:: int PySet_Add(PyObject *set, PyObject *key)
|
/third_party/python/Doc/data/ |
D | stable_abi.dat | 549 function,PySet_Add,3.2,
|
D | refcounts.dat | 2014 PySet_Add:int::: 2015 PySet_Add:PyObject*:set:0: 2016 PySet_Add:PyObject*:key:+1:
|
/third_party/python/PC/ |
D | python3dll.c | 511 EXPORT_FUNC(PySet_Add)
|
/third_party/python/Misc/ |
D | stable_abi.txt | 1179 function PySet_Add
|
/third_party/python/Doc/whatsnew/ |
D | 2.5.rst | 2160 and :c:func:`PyFrozenSet_New` to create a new set, :c:func:`PySet_Add` and
|