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.py | 68 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.py | 318 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.py | 199 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.py | 30 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.py | 159 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.py | 264 with self.assertRaises(grpc.RpcError) as exception_context: 270 exception_context.exception.code())
|
D | _server_ssl_cert_config_test.py | 168 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.py | 245 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/ |
D | exception_handler.cc | 572 CONTEXT exception_context = {}; in HandleInvalidParameter() local 573 EXCEPTION_POINTERS exception_ptrs = { &exception_record, &exception_context }; in HandleInvalidParameter() 575 ::RtlCaptureContext(&exception_context); in HandleInvalidParameter() 652 CONTEXT exception_context = {}; in HandlePureVirtualCall() local 653 EXCEPTION_POINTERS exception_ptrs = { &exception_record, &exception_context }; in HandlePureVirtualCall() 655 ::RtlCaptureContext(&exception_context); in HandlePureVirtualCall() 744 CONTEXT exception_context = {}; in WriteMinidump() local 745 EXCEPTION_POINTERS exception_ptrs = { &exception_record, &exception_context }; in WriteMinidump() 747 ::RtlCaptureContext(&exception_context); in WriteMinidump()
|
/external/libpng/contrib/visupng/ |
D | cexcept.h | 197 struct exception_context { \
|
D | PngFile.c | 23 extern struct exception_context the_exception_context[1]; 24 struct exception_context the_exception_context[1];
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler_unittest.cc | 885 MinidumpContext* exception_context = exception->GetContext(); in TEST() local 886 ASSERT_TRUE(exception_context); in TEST() 889 ASSERT_TRUE(exception_context->GetInstructionPointer(&instruction_pointer)); in TEST()
|
/external/libpng/contrib/libtests/ |
D | pngvalid.c | 177 #define anon_context(ps) struct exception_context *the_exception_context = \ 178 &(ps)->exception_context 748 struct exception_context 749 exception_context; member 850 init_exception_context(&ps->exception_context); in store_init() 1086 struct exception_context *the_exception_context = &ps->exception_context; in internal_error() 1104 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()
|