Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/third_party/lunit/
Dlunit.lua88 local function my_traceback(errobj)
89 if is_table(errobj) and errobj.type == __failure__ then
91 errobj.where = string_format( "%s:%d", info.short_src, info.currentline)
93 errobj = { msg = tostring(errobj) }
94 errobj.tb = {}
118 errobj.tb[#errobj.tb+1] = table_concat(line)
123 return errobj
128 local ok, errobj = xpcall(func, my_traceback)
130 return errobj
156 local errobj = {
[all …]
/external/python/cpython3/Modules/_ctypes/
Dcallproc.c143 PyObject *errobj; in _ctypes_get_errobj() local
155 errobj = PyDict_GetItemWithError(dict, error_object_name); in _ctypes_get_errobj()
156 if (errobj) { in _ctypes_get_errobj()
157 if (!PyCapsule_IsValid(errobj, CTYPES_CAPSULE_NAME_PYMEM)) { in _ctypes_get_errobj()
162 Py_INCREF(errobj); in _ctypes_get_errobj()
168 errobj = PyCapsule_New(space, CTYPES_CAPSULE_NAME_PYMEM, pymem_destructor); in _ctypes_get_errobj()
169 if (errobj == NULL) { in _ctypes_get_errobj()
174 errobj)) { in _ctypes_get_errobj()
175 Py_DECREF(errobj); in _ctypes_get_errobj()
182 *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/lua/src/
Dlstate.c459 TValue *errobj = s2v(L->top - 1); /* error object */ in luaE_warnerror() local
460 const char *msg = (ttisstring(errobj)) in luaE_warnerror()
461 ? svalue(errobj) in luaE_warnerror()
Dlapi.c1206 TValue *errobj; in lua_error() local
1208 errobj = s2v(L->top - 1); in lua_error()
1211 if (ttisshrstring(errobj) && eqshrstr(tsvalue(errobj), G(L)->memerrmsg)) in lua_error()
/external/libnl/python/netlink/
Dcapi.i642 PyObject *errobj; in nl_recv_err_handler() local
650 errobj = SWIG_NewPointerObj(SWIG_as_voidptr(err), in nl_recv_err_handler()
656 errobj, cbd->cba); in nl_recv_err_handler()
659 cbparobj = Py_BuildValue("(OO)", errobj, cbd->cba); in nl_recv_err_handler()
/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…
/external/llvm-project/llvm/test/CodeGen/X86/
D2007-08-09-IllegalX86-64Asm.ll198 %errobj = alloca %struct.PyObject*, align 8 ; <%struct.PyObject**> [#uses=2]
306 …@.str5, i32 0, i64 0), i32* %bufsize, i32* %errmask, %struct.PyObject** %errobj ) ; <i32> [#uses=…
316 …%tmp79 = load %struct.PyObject*, %struct.PyObject** %errobj, align 8 ; <%struct.PyObject*> [#uses…