Home
last modified time | relevance | path

Searched refs:PyWeakref_NewRef (Results 1 – 25 of 27) sorted by relevance

12

/external/python/cpython3/Include/
Dweakrefobject.h26 PyAPI_FUNC(PyObject *) PyWeakref_NewRef(PyObject *ob,
/external/python/cpython3/Modules/
D_abc.c186 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.c1420 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.c914 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.c3153 PyObject *weakref = PyWeakref_NewRef(obj, NULL); in test_weakref_capi()
D_datetimemodule.c184 PyObject *ref = PyWeakref_NewRef(mod, NULL); in set_current_module()
/external/python/cpython3/Doc/c-api/
Dweakref.rst30 .. c:function:: PyObject* PyWeakref_NewRef(PyObject *ob, PyObject *callback)
Darg.rst507 result = PyWeakref_NewRef(object, callback);
/external/python/cpython3/Python/
Dcrossinterp_data_lookup.h192 newhead->weakref = PyWeakref_NewRef((PyObject *)cls, NULL); in _xidregistry_add_type()
Dpylifecycle.c1536 PyObject *wr = PyWeakref_NewRef(mod, NULL); \ in finalize_remove_modules()
Dimport.c327 PyObject *ref = PyWeakref_NewRef(mod, NULL); in PyImport_AddModuleObject()
/external/python/cpython3/Objects/
Dweakrefobject.c914 PyWeakref_NewRef(PyObject *ob, PyObject *callback) in PyWeakref_NewRef() function
Dtypeobject.c8333 PyObject *ref = PyWeakref_NewRef((PyObject *)type, NULL); in add_subclass()
/external/python/cpython3/Modules/_sqlite/
Dcursor.c72 PyObject *weakref = PyWeakref_NewRef((PyObject *)cursor, NULL); in register_cursor()
Dconnection.c626 PyObject *weakref = PyWeakref_NewRef((PyObject *)obj, NULL); in blobopen_impl()
/external/python/cpython3/PC/
Dpython3dll.c773 EXPORT_FUNC(PyWeakref_NewRef)
/external/python/cpython3/Doc/data/
Dstable_abi.dat820 func,PyWeakref_NewRef,3.2,,
Drefcounts.dat2884 PyWeakref_NewRef:PyObject*::+1:
2885 PyWeakref_NewRef:PyObject*:ob:0:
2886 PyWeakref_NewRef:PyObject*:callback:0:
/external/python/cpython3/Misc/NEWS.d/
D3.11.0a5.rst141 member after calling :c:func:`PyWeakref_NewRef` which can trigger a garbage
/external/tensorflow/tensorflow/compiler/xla/python/
Djax_jit.cc434 PyObject* weakref = PyWeakref_NewRef(function.ptr(), callback.ptr()); in Lookup()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc2361 PyWeakref_NewRef(tensor, callback.get());
4073 global_py_eager_context = PyWeakref_NewRef(py_context, nullptr);
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2883 kEmptyWeakref = PyWeakref_NewRef(dummy_obj, nullptr); in InitGlobals()
/external/cronet/tot/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc2883 kEmptyWeakref = PyWeakref_NewRef(dummy_obj, nullptr); in InitGlobals()
/external/python/cpython3/Misc/
Dstable_abi.toml1599 [function.PyWeakref_NewRef]
/external/cronet/stable/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc2883 kEmptyWeakref = PyWeakref_NewRef(dummy_obj, nullptr); in InitGlobals()

12