Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/python/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 …]
/third_party/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()