Home
last modified time | relevance | path

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

/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_invalid_metadata_test.py68 with self.assertRaises(ValueError) as exception_context:
70 self.assertIn(expected_error_details, str(exception_context.exception))
76 with self.assertRaises(ValueError) as exception_context:
78 self.assertIn(expected_error_details, str(exception_context.exception))
84 with self.assertRaises(ValueError) as exception_context:
91 with self.assertRaises(ValueError) as exception_context:
93 self.assertIn(expected_error_details, str(exception_context.exception))
100 with self.assertRaises(ValueError) as exception_context:
102 self.assertIn(expected_error_details, str(exception_context.exception))
110 with self.assertRaises(ValueError) as exception_context:
[all …]
D_metadata_code_details_test.py318 with self.assertRaises(grpc.RpcError) as exception_context:
328 exception_context.exception.initial_metadata()))
332 exception_context.exception.trailing_metadata()))
333 self.assertIs(expected_code, exception_context.exception.code())
335 exception_context.exception.details())
374 with self.assertRaises(grpc.RpcError) as exception_context:
386 exception_context.exception.initial_metadata()))
390 exception_context.exception.trailing_metadata()))
391 self.assertIs(expected_code, exception_context.exception.code())
393 exception_context.exception.details())
[all …]
D_rpc_test.py199 with self.assertRaises(grpc.RpcError) as exception_context:
203 exception_context.exception.code())
509 with self.assertRaises(grpc.RpcError) as exception_context:
512 exception_context.exception.code())
567 with self.assertRaises(grpc.RpcError) as exception_context:
574 self.assertIsInstance(exception_context.exception, grpc.Call)
575 self.assertIsNotNone(exception_context.exception.initial_metadata())
577 exception_context.exception.code())
578 self.assertIsNotNone(exception_context.exception.details())
579 self.assertIsNotNone(exception_context.exception.trailing_metadata())
[all …]
D_server_test.py30 with self.assertRaises(AttributeError) as exception_context:
38 str(exception_context.exception))
42 with self.assertRaises(AttributeError) as exception_context:
48 str(exception_context.exception))
D_resource_exhausted_test.py159 with self.assertRaises(grpc.RpcError) as exception_context:
163 exception_context.exception.code())
184 with self.assertRaises(grpc.RpcError) as exception_context:
188 exception_context.exception.code())
210 with self.assertRaises(grpc.RpcError) as exception_context:
214 exception_context.exception.code())
237 with self.assertRaises(grpc.RpcError) as exception_context:
241 exception_context.exception.code())
D_invocation_defects_test.py264 with self.assertRaises(grpc.RpcError) as exception_context:
270 exception_context.exception.code())
D_server_ssl_cert_config_test.py168 with self.assertRaises(grpc.RpcError) as exception_context:
170 self.assertEqual(exception_context.exception.code(),
/external/grpc-grpc/src/python/grpcio_tests/tests/protoc_plugin/
D_python_plugin_test.py245 with self.assertRaises(grpc.RpcError) as exception_context:
247 self.assertIs(exception_context.exception.code(),
278 with self.assertRaises(grpc.RpcError) as exception_context:
280 self.assertIs(exception_context.exception.code(),
321 with self.assertRaises(grpc.RpcError) as exception_context:
323 self.assertIs(exception_context.exception.code(),
333 with self.assertRaises(grpc.RpcError) as exception_context:
344 with self.assertRaises(grpc.RpcError) as exception_context:
346 self.assertIs(exception_context.exception.code(),
376 with self.assertRaises(grpc.RpcError) as exception_context:
[all …]
/external/google-breakpad/src/client/windows/handler/
Dexception_handler.cc569 CONTEXT exception_context = {}; in HandleInvalidParameter() local
570 EXCEPTION_POINTERS exception_ptrs = { &exception_record, &exception_context }; in HandleInvalidParameter()
572 ::RtlCaptureContext(&exception_context); in HandleInvalidParameter()
649 CONTEXT exception_context = {}; in HandlePureVirtualCall() local
650 EXCEPTION_POINTERS exception_ptrs = { &exception_record, &exception_context }; in HandlePureVirtualCall()
652 ::RtlCaptureContext(&exception_context); in HandlePureVirtualCall()
741 CONTEXT exception_context = {}; in WriteMinidump() local
742 EXCEPTION_POINTERS exception_ptrs = { &exception_record, &exception_context }; in WriteMinidump()
744 ::RtlCaptureContext(&exception_context); in WriteMinidump()
/external/libpng/contrib/visupng/
Dcexcept.h197 struct exception_context { \
DPngFile.c23 extern struct exception_context the_exception_context[1];
24 struct exception_context the_exception_context[1];
/external/v8/tools/
Dgrokdump.py623 self.exception_context = None
657 self.exception_context = self.ContextDescriptor().Read(
659 DebugPrint(self.exception_context)
967 return self.exception_context.rip
969 return self.exception_context.pc
971 return self.exception_context.pc
973 return self.exception_context.eip
977 return self.exception_context.rsp
979 return self.exception_context.sp
981 return self.exception_context.sp
[all …]
/external/libpng/contrib/libtests/
Dpngvalid.c176 #define anon_context(ps) struct exception_context *the_exception_context = \
177 &(ps)->exception_context
747 struct exception_context
748 exception_context; member
849 init_exception_context(&ps->exception_context); in store_init()
1085 struct exception_context *the_exception_context = &ps->exception_context; in internal_error()
1103 struct exception_context *the_exception_context = &ps->exception_context; in store_error()
2183 struct exception_context *the_exception_context = &ps->exception_context; in set_store_for_read()
11612 struct exception_context *the_exception_context = in signal_handler()
11613 &pm.this.exception_context; in signal_handler()