Searched refs:PyWeakref_NewRef (Results 1 – 25 of 27) sorted by relevance
12
/external/python/cpython3/Include/ |
D | weakrefobject.h | 26 PyAPI_FUNC(PyObject *) PyWeakref_NewRef(PyObject *ob,
|
/external/python/cpython3/Modules/ |
D | _abc.c | 186 PyObject *ref = PyWeakref_NewRef(obj, NULL); in _in_weak_set() 234 wr = PyWeakref_NewRef(set, NULL); in _add_to_weak_set() 243 ref = PyWeakref_NewRef(obj, destroy_cb); in _add_to_weak_set()
|
D | _threadmodule.c | 1420 PyObject *self_wr = PyWeakref_NewRef((PyObject *) self, NULL); in create_sentinel_wr() 1439 PyObject *wr = PyWeakref_NewRef(tstate->threading_local_sentinel, cb); in create_sentinel_wr()
|
D | _ssl.c | 914 self->Socket = PyWeakref_NewRef((PyObject *) sock, NULL); in newPySSLSocket() 2265 Py_XSETREF(self->owner, PyWeakref_NewRef(value, NULL)); in _ssl__SSLSocket_owner_set_impl()
|
D | _testcapimodule.c | 3153 PyObject *weakref = PyWeakref_NewRef(obj, NULL); in test_weakref_capi()
|
D | _datetimemodule.c | 184 PyObject *ref = PyWeakref_NewRef(mod, NULL); in set_current_module()
|
/external/python/cpython3/Doc/c-api/ |
D | weakref.rst | 30 .. c:function:: PyObject* PyWeakref_NewRef(PyObject *ob, PyObject *callback)
|
D | arg.rst | 507 result = PyWeakref_NewRef(object, callback);
|
/external/python/cpython3/Python/ |
D | crossinterp_data_lookup.h | 192 newhead->weakref = PyWeakref_NewRef((PyObject *)cls, NULL); in _xidregistry_add_type()
|
D | pylifecycle.c | 1536 PyObject *wr = PyWeakref_NewRef(mod, NULL); \ in finalize_remove_modules()
|
D | import.c | 327 PyObject *ref = PyWeakref_NewRef(mod, NULL); in PyImport_AddModuleObject()
|
/external/python/cpython3/Objects/ |
D | weakrefobject.c | 914 PyWeakref_NewRef(PyObject *ob, PyObject *callback) in PyWeakref_NewRef() function
|
D | typeobject.c | 8333 PyObject *ref = PyWeakref_NewRef((PyObject *)type, NULL); in add_subclass()
|
/external/python/cpython3/Modules/_sqlite/ |
D | cursor.c | 72 PyObject *weakref = PyWeakref_NewRef((PyObject *)cursor, NULL); in register_cursor()
|
D | connection.c | 626 PyObject *weakref = PyWeakref_NewRef((PyObject *)obj, NULL); in blobopen_impl()
|
/external/python/cpython3/PC/ |
D | python3dll.c | 773 EXPORT_FUNC(PyWeakref_NewRef)
|
/external/python/cpython3/Doc/data/ |
D | stable_abi.dat | 820 func,PyWeakref_NewRef,3.2,,
|
D | refcounts.dat | 2884 PyWeakref_NewRef:PyObject*::+1: 2885 PyWeakref_NewRef:PyObject*:ob:0: 2886 PyWeakref_NewRef:PyObject*:callback:0:
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.11.0a5.rst | 141 member after calling :c:func:`PyWeakref_NewRef` which can trigger a garbage
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | jax_jit.cc | 434 PyObject* weakref = PyWeakref_NewRef(function.ptr(), callback.ptr()); in Lookup()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 2361 PyWeakref_NewRef(tensor, callback.get()); 4073 global_py_eager_context = PyWeakref_NewRef(py_context, nullptr);
|
/external/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 2883 kEmptyWeakref = PyWeakref_NewRef(dummy_obj, nullptr); in InitGlobals()
|
/external/cronet/tot/third_party/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 2883 kEmptyWeakref = PyWeakref_NewRef(dummy_obj, nullptr); in InitGlobals()
|
/external/python/cpython3/Misc/ |
D | stable_abi.toml | 1599 [function.PyWeakref_NewRef]
|
/external/cronet/stable/third_party/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 2883 kEmptyWeakref = PyWeakref_NewRef(dummy_obj, nullptr); in InitGlobals()
|
12