Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_ctypes/
D_ctypes.c494 KeepRef(CDataObject *target, Py_ssize_t index, PyObject *keep);
542 if (-1 == KeepRef((CDataObject *)result, -1, obj)) { in CDataType_from_buffer()
2546 KeepRef(CDataObject *target, Py_ssize_t index, PyObject *keep) in KeepRef() function
3034 return KeepRef(mem, index, result); in PyCData_set()
3433 if (-1 == KeepRef((CDataObject *)self, 0, dll)) { in PyCFuncPtr_FromDll()
3568 if (-1 == KeepRef((CDataObject *)self, 0, (PyObject *)thunk)) { in PyCFuncPtr_new()
4811 return KeepRef(self, 0, result); in Simple_set_value()
5085 if (-1 == KeepRef(self, 1, value)) in Pointer_set_contents()
5090 return KeepRef(self, 0, keep); in Pointer_set_contents()