Home
last modified time | relevance | path

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

/third_party/python/Include/
Dweakrefobject.h58 PyAPI_FUNC(PyObject *) PyWeakref_NewRef(PyObject *ob,
/third_party/python/Modules/
D_abc.c139 PyObject *ref = PyWeakref_NewRef(obj, NULL); in _in_weak_set()
186 wr = PyWeakref_NewRef(set, NULL); in _add_to_weak_set()
195 ref = PyWeakref_NewRef(obj, destroy_cb); in _add_to_weak_set()
D_threadmodule.c744 wr = PyWeakref_NewRef((PyObject *) dummy, self->wr_callback); in _local_create_dummy()
816 PyObject *wr = PyWeakref_NewRef((PyObject *) self, NULL); in local_new()
1335 wr = PyWeakref_NewRef((PyObject *) lock, NULL); in thread__set_sentinel()
D_ssl.c895 self->Socket = PyWeakref_NewRef((PyObject *) sock, NULL); in newPySSLSocket()
2172 Py_XSETREF(self->owner, PyWeakref_NewRef(value, NULL)); in PySSL_set_owner()
/third_party/python/Doc/c-api/
Dweakref.rst30 .. c:function:: PyObject* PyWeakref_NewRef(PyObject *ob, PyObject *callback)
Darg.rst503 result = PyWeakref_NewRef(object, callback);
/third_party/python/Modules/_sqlite/
Dconnection.c291 weakref = PyWeakref_NewRef((PyObject*)cursor, NULL); in pysqlite_connection_register_cursor()
1393 weakref = PyWeakref_NewRef((PyObject*)statement, NULL); in pysqlite_connection_call()
/third_party/python/Python/
Dimport.c567 PyObject *ref = PyWeakref_NewRef(mod, NULL); in _PyImport_FindExtensionObject()
630 PyObject *ref = PyWeakref_NewRef(mod, NULL); in PyImport_AddModuleObject()
Dpylifecycle.c1350 PyObject *wr = PyWeakref_NewRef(mod, NULL); \ in finalize_remove_modules()
/third_party/python/Objects/
Dweakrefobject.c811 PyWeakref_NewRef(PyObject *ob, PyObject *callback) in PyWeakref_NewRef() function
Dtypeobject.c6400 newobj = PyWeakref_NewRef((PyObject *)type, NULL); in add_subclass()
/third_party/python/Doc/data/
Dstable_abi.dat768 function,PyWeakref_NewRef,3.2,
Drefcounts.dat2920 PyWeakref_NewRef:PyObject*::+1:
2921 PyWeakref_NewRef:PyObject*:ob:0:
2922 PyWeakref_NewRef:PyObject*:callback:0:
/third_party/python/PC/
Dpython3dll.c714 EXPORT_FUNC(PyWeakref_NewRef)
/third_party/python/Misc/
Dstable_abi.txt1488 function PyWeakref_NewRef
DHISTORY20478 - Fixed problem where PyWeakref_NewRef() and PyWeakref_NewProxy()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc2904 kEmptyWeakref = PyWeakref_NewRef(dummy_obj, NULL); in InitGlobals()