Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_ctypes/
Dcallproc.c137 PyObject *errobj; in _ctypes_get_errobj() local
149 errobj = PyDict_GetItem(dict, error_object_name); in _ctypes_get_errobj()
150 if (errobj) { in _ctypes_get_errobj()
151 if (!PyCapsule_IsValid(errobj, CTYPES_CAPSULE_NAME_PYMEM)) { in _ctypes_get_errobj()
156 Py_INCREF(errobj); in _ctypes_get_errobj()
163 errobj = PyCapsule_New(space, CTYPES_CAPSULE_NAME_PYMEM, pymem_destructor); in _ctypes_get_errobj()
164 if (errobj == NULL) { in _ctypes_get_errobj()
169 errobj)) { in _ctypes_get_errobj()
170 Py_DECREF(errobj); in _ctypes_get_errobj()
174 *pspace = (int *)PyCapsule_GetPointer(errobj, CTYPES_CAPSULE_NAME_PYMEM); in _ctypes_get_errobj()
[all …]
/external/python/cpython2/Modules/_ctypes/
Dcallproc.c138 PyObject *errobj; in CTYPES_CAPSULE_INSTANTIATE_DESTRUCTOR() local
150 errobj = PyDict_GetItem(dict, error_object_name); in CTYPES_CAPSULE_INSTANTIATE_DESTRUCTOR()
151 if (errobj) { in CTYPES_CAPSULE_INSTANTIATE_DESTRUCTOR()
153 if (!PyCapsule_IsValid(errobj, CTYPES_CAPSULE_ERROROBJ)) { in CTYPES_CAPSULE_INSTANTIATE_DESTRUCTOR()
159 Py_INCREF(errobj); in CTYPES_CAPSULE_INSTANTIATE_DESTRUCTOR()
166 errobj = CAPSULE_NEW(space, CTYPES_CAPSULE_ERROROBJ); in CTYPES_CAPSULE_INSTANTIATE_DESTRUCTOR()
167 if (errobj == NULL) { in CTYPES_CAPSULE_INSTANTIATE_DESTRUCTOR()
172 errobj)) { in CTYPES_CAPSULE_INSTANTIATE_DESTRUCTOR()
173 Py_DECREF(errobj); in CTYPES_CAPSULE_INSTANTIATE_DESTRUCTOR()
177 *pspace = (int *)CAPSULE_DEREFERENCE(errobj, CTYPES_CAPSULE_ERROROBJ); in CTYPES_CAPSULE_INSTANTIATE_DESTRUCTOR()
[all …]
/external/libnl/python/netlink/
Dcapi.i637 PyObject *errobj; in nl_recv_err_handler() local
645 errobj = SWIG_NewPointerObj(SWIG_as_voidptr(err), in nl_recv_err_handler()
651 errobj, cbd->cba); in nl_recv_err_handler()
654 cbparobj = Py_BuildValue("(OO)", errobj, cbd->cba); in nl_recv_err_handler()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2007-08-09-IllegalX86-64Asm.ll28 %errobj = alloca %struct.PyObject*, align 8 ; <%struct.PyObject**> [#uses=2]
136 …@.str5, i32 0, i64 0), i32* %bufsize, i32* %errmask, %struct.PyObject** %errobj ) ; <i32> [#uses=…
146 %tmp79 = load %struct.PyObject** %errobj, align 8 ; <%struct.PyObject*> [#uses=1]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2007-08-09-IllegalX86-64Asm.ll28 %errobj = alloca %struct.PyObject*, align 8 ; <%struct.PyObject**> [#uses=2]
136 …@.str5, i32 0, i64 0), i32* %bufsize, i32* %errmask, %struct.PyObject** %errobj ) ; <i32> [#uses=…
146 …%tmp79 = load %struct.PyObject*, %struct.PyObject** %errobj, align 8 ; <%struct.PyObject*> [#uses…
/external/llvm/test/CodeGen/X86/
D2007-08-09-IllegalX86-64Asm.ll28 %errobj = alloca %struct.PyObject*, align 8 ; <%struct.PyObject**> [#uses=2]
136 …@.str5, i32 0, i64 0), i32* %bufsize, i32* %errmask, %struct.PyObject** %errobj ) ; <i32> [#uses=…
146 …%tmp79 = load %struct.PyObject*, %struct.PyObject** %errobj, align 8 ; <%struct.PyObject*> [#uses…