Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/python/cpython3/Modules/
D_abc.c198 int ret = PySet_Add(set, ref); in _add_to_weak_set()
341 (is_abstract && PySet_Add(abstracts, key) < 0)) { in compute_abstract_methods()
391 (is_abstract && PySet_Add(abstracts, key) < 0)) in compute_abstract_methods()
Dsignalmodule.c989 if (PySet_Add(result, signum) == -1) {
D_ssl.c5418 err = PySet_Add(retval, oid); in parseKeyUsage()
5542 if (PySet_Add(result, tup) == -1) { in _ssl_enum_certificates_impl()
5630 if (PySet_Add(result, tup) == -1) { in _ssl_enum_crls_impl()
D_hashopenssl.c1859 if (PySet_Add(state->set, py_name) != 0) { in _openssl_hash_name_mapper()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dsetobject.h16 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dsetobject.h16 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
/aosp_15_r20/external/python/cpython3/Include/
Dsetobject.h16 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dsetobject.h16 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dsetobject.h16 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dset.rst105 building-up new frozensets with :meth:`PySet_Add`.
138 .. c:function:: int PySet_Add(PyObject *set, PyObject *key)
/aosp_15_r20/external/python/cpython2/Include/
Dsetobject.h90 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
/aosp_15_r20/external/python/cpython2/Objects/
Dsetobject.c2325 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()
/aosp_15_r20/external/python/cpython3/Objects/
Dsetobject.c2330 PySet_Add(PyObject *anyset, PyObject *key) in PySet_Add() function
2430 assertRaises(PySet_Add(ob, dup) == -1, PyExc_TypeError); in test_c_api()
2436 assert(PySet_Add(ob, elem) == 0); in test_c_api()
2454 assert(PySet_Add(f, elem) == 0); in test_c_api()
2456 assertRaises(PySet_Add(f, elem) == -1, PyExc_SystemError); in test_c_api()
/aosp_15_r20/external/python/cpython3/Python/
Dsymtable.c513 if (PySet_Add(global, name) < 0) in analyze_name()
534 return PySet_Add(free, name) >= 0; in analyze_name()
538 if (PySet_Add(local, name) < 0) in analyze_name()
552 return PySet_Add(free, name) >= 0; in analyze_name()
827 if (PySet_Add(newbound, &_Py_ID(__class__)) < 0) in analyze_block()
Dceval.c942 if (PySet_Contains(seen, key) || PySet_Add(seen, key)) { in match_keys()
995 if (PySet_Contains(seen, name) || PySet_Add(seen, name)) { in match_class_attr()
2287 err = PySet_Add(set, v);
3310 err = PySet_Add(set, item);
Dmarshal.c1339 if (PySet_Add(v, v2) == -1) { in r_object()
Dpythonrun.c1339 if (value_id == NULL || PySet_Add(ctx->seen, value_id) == -1) { in print_exception_cause_and_context()
/aosp_15_r20/external/pytorch/torch/csrc/tensor/
H A Dpython_tensor.cpp417 if (PySet_Add(tensor_classes.get(), type_obj) < 0) { in py_bind_tensor_types()
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dset.rst131 .. c:function:: int PySet_Add(PyObject *set, PyObject *key)
/aosp_15_r20/external/python/cpython2/Modules/
D_hashopenssl.c792 if (PySet_Add(state->set, py_name) != 0) { in _openssl_hash_name_mapper()
/aosp_15_r20/external/python/cpython2/PC/os2emx/
Dpython27.def512 "PySet_Add"
/aosp_15_r20/external/python/cpython3/Doc/data/
Drefcounts.dat2014 PySet_Add:int:::
2015 PySet_Add:PyObject*:set:0:
2016 PySet_Add:PyObject*:key:+1:
Dstable_abi.dat566 function,PySet_Add,3.2,,
/aosp_15_r20/external/python/cpython3/PC/
Dpython3dll.c522 EXPORT_FUNC(PySet_Add)
/aosp_15_r20/external/python/cpython2/Python/
Dmarshal.c985 if (PySet_Add(v, v2) == -1) { in r_object()

12