Searched refs:KeepRef (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 522 KeepRef(CDataObject *target, Py_ssize_t index, PyObject *keep); 584 if (-1 == KeepRef((CDataObject *)result, -1, mv)) { in CDataType_from_buffer() 2536 KeepRef(CDataObject *target, Py_ssize_t index, PyObject *keep) in KeepRef() function 3020 return KeepRef(mem, index, result); in PyCData_set() 3429 if (-1 == KeepRef((CDataObject *)self, 0, dll)) { in PyCFuncPtr_FromDll() 3563 if (-1 == KeepRef((CDataObject *)self, 0, (PyObject *)thunk)) { in PyCFuncPtr_new() 4705 return KeepRef(self, 0, result); in Simple_set_value() 4960 if (-1 == KeepRef(self, 1, value)) in Pointer_set_contents() 4968 return KeepRef(self, 0, keep); in Pointer_set_contents()
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 565 KeepRef(CDataObject *target, Py_ssize_t index, PyObject *keep); 613 if (-1 == KeepRef((CDataObject *)result, -1, obj)) { in CDataType_from_buffer() 2630 KeepRef(CDataObject *target, Py_ssize_t index, PyObject *keep) in KeepRef() function 3128 return KeepRef(mem, index, result); in PyCData_set() 3531 if (-1 == KeepRef((CDataObject *)self, 0, dll)) { in PyCFuncPtr_FromDll() 3665 if (-1 == KeepRef((CDataObject *)self, 0, (PyObject *)thunk)) { in PyCFuncPtr_new() 4906 return KeepRef(self, 0, result); in Simple_set_value() 5180 if (-1 == KeepRef(self, 1, value)) in Pointer_set_contents() 5185 return KeepRef(self, 0, keep); in Pointer_set_contents()
|