/third_party/selinux/libselinux/src/ |
D | selinuxswig_python_exception.i | 2 %exception is_selinux_enabled { 10 %exception is_selinux_mls_enabled { 18 %exception getcon { 26 %exception getcon_raw { 34 %exception setcon { 42 %exception setcon_raw { 50 %exception getpidcon { 58 %exception getpidcon_raw { 66 %exception getprevcon { 74 %exception getprevcon_raw { [all …]
|
/third_party/boost/libs/unordered/test/exception/ |
D | containers.hpp | 15 typedef boost::unordered_set<test::exception::object, test::exception::hash, 16 test::exception::equal_to, 17 test::exception::allocator<test::exception::object> > 19 typedef boost::unordered_multiset<test::exception::object, 20 test::exception::hash, test::exception::equal_to, 21 test::exception::allocator2<test::exception::object> > 23 typedef boost::unordered_map<test::exception::object, test::exception::object, 24 test::exception::hash, test::exception::equal_to, 25 test::exception::allocator2<test::exception::object> > 27 typedef boost::unordered_multimap<test::exception::object, [all …]
|
D | merge_exception_tests.cpp | 47 T1 x(v1.begin(), v1.end(), 0, test::exception::hash(tag1), in merge_exception_test() 48 test::exception::equal_to(tag1)); in merge_exception_test() 49 T2 y(v2.begin(), v2.end(), 0, test::exception::hash(tag2), in merge_exception_test() 50 test::exception::equal_to(tag2)); in merge_exception_test() 55 boost::unordered_set<test::exception::object, test::exception::hash, 56 test::exception::equal_to, 57 test::exception::allocator<test::exception::object> >* test_set_; 58 boost::unordered_multiset<test::exception::object, test::exception::hash, 59 test::exception::equal_to, 60 test::exception::allocator<test::exception::object> >* test_multiset_; [all …]
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | CheckUtf8Test.java | 68 } catch (IllegalArgumentException exception) { in testBuildRequiredStringWithBadUtf8() 69 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRequiredStringWithBadUtf8() 77 } catch (IllegalArgumentException exception) { in testBuildOptionalStringWithBadUtf8() 78 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildOptionalStringWithBadUtf8() 86 } catch (IllegalArgumentException exception) { in testBuildRepeatedStringWithBadUtf8() 87 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRepeatedStringWithBadUtf8() 101 } catch (IllegalArgumentException exception) { in testBuildRequiredStringWithBadUtf8Size() 102 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRequiredStringWithBadUtf8Size() 110 } catch (IllegalArgumentException exception) { in testBuildOptionalStringWithBadUtf8Size() 111 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildOptionalStringWithBadUtf8Size() [all …]
|
/third_party/json/doc/mkdocs/docs/home/ |
D | exceptions.md | 7 All exceptions inherit from class `json::exception` (which in turn inherits from `std::exception`).… 10 std::exception <|-- json::exception 11 json::exception <|-- json::parse_error 12 json::exception <|-- json::invalid_iterator 13 json::exception <|-- json::type_error 14 json::exception <|-- json::out_of_range 15 json::exception <|-- json::other_error 17 interface std::exception {} 19 class json::exception { 43 #define JSON_CATCH_USER(exception) if(false) [all …]
|
/third_party/json/include/nlohmann/detail/ |
D | exceptions.hpp | 46 class exception : public std::exception class 61 exception(int id_, const char* what_arg) : id(id_), m(what_arg) {} in exception() function in nlohmann::detail::exception 118 class parse_error : public exception 132 std::string w = exception::name("parse_error", id_) + "parse error" + in create() 139 std::string w = exception::name("parse_error", id_) + "parse error" + in create() 158 : exception(id_, what_arg), byte(byte_) {} in parse_error() 204 class invalid_iterator : public exception 209 std::string w = exception::name("invalid_iterator", id_) + what_arg; in create() 216 : exception(id_, what_arg) {} in invalid_iterator() 258 class type_error : public exception [all …]
|
/third_party/node/test/parallel/ |
D | test-uv-unmapped-exception.js | 8 const exception = uvException({ errno: 100, syscall: 'open' }); constant 10 assert.strictEqual(exception.message, 'UNKNOWN: unknown error, open'); 11 assert.strictEqual(exception.errno, 100); 12 assert.strictEqual(exception.syscall, 'open'); 13 assert.strictEqual(exception.code, 'UNKNOWN'); 17 const exception = uvExceptionWithHostPort(100, 'listen', '127.0.0.1', 80); constant 19 assert.strictEqual(exception.message, 21 assert.strictEqual(exception.code, 'UNKNOWN'); 22 assert.strictEqual(exception.errno, 100); 23 assert.strictEqual(exception.syscall, 'listen'); [all …]
|
/third_party/boost/libs/type_index/patched/ |
D | boost_exception.patch | 8 include/boost/exception/detail/type_info.hpp | 43 +++------------------- 9 include/boost/exception/diagnostic_information.hpp | 2 +- 10 include/boost/exception/exception.hpp | 3 +- 11 include/boost/exception/info.hpp | 2 +- 15 diff --git a/include/boost/exception/detail/type_info.hpp b/include/boost/exception/detail/type_inf… 17 --- a/include/boost/exception/detail/type_info.hpp 18 +++ b/include/boost/exception/detail/type_info.hpp 93 diff --git a/include/boost/exception/diagnostic_information.hpp b/include/boost/exception/diagnosti… 95 --- a/include/boost/exception/diagnostic_information.hpp 96 +++ b/include/boost/exception/diagnostic_information.hpp [all …]
|
/third_party/boost/libs/throw_exception/test/ |
D | throw_exception_test2.cpp | 15 class my_exception: public std::exception 19 class my_exception2: public std::exception, public boost::exception 23 class my_exception3: public std::exception, public virtual boost::exception 29 BOOST_TEST_THROWS( boost::throw_exception( my_exception() ), boost::exception ); in main() 30 BOOST_TEST_THROWS( boost::throw_exception( my_exception2() ), boost::exception ); in main() 31 BOOST_TEST_THROWS( boost::throw_exception( my_exception3() ), boost::exception ); in main() 33 BOOST_TEST_THROWS( BOOST_THROW_EXCEPTION( my_exception() ), boost::exception ); in main() 34 BOOST_TEST_THROWS( BOOST_THROW_EXCEPTION( my_exception2() ), boost::exception ); in main() 35 BOOST_TEST_THROWS( BOOST_THROW_EXCEPTION( my_exception3() ), boost::exception ); in main()
|
D | throw_from_library_test.cpp | 30 BOOST_TEST_THROWS( lib1::f(), lib1::exception ); in test_catch_by_type() 31 BOOST_TEST_THROWS( lib2::f(), lib2::exception ); in test_catch_by_type() 32 BOOST_TEST_THROWS( lib3::f(), lib3::exception ); in test_catch_by_type() 37 BOOST_TEST_THROWS( lib2::f(), boost::exception ); in test_catch_by_exception() 38 BOOST_TEST_THROWS( lib3::f(), boost::exception ); in test_catch_by_exception() 51 BOOST_TEST_THROWS( boost::rethrow_exception( p ), lib2::exception ); in test_exception_ptr() 52 BOOST_TEST_THROWS( boost::rethrow_exception( p ), boost::exception ); in test_exception_ptr() 63 BOOST_TEST_THROWS( boost::rethrow_exception( p ), lib3::exception ); in test_exception_ptr() 64 BOOST_TEST_THROWS( boost::rethrow_exception( p ), boost::exception ); in test_exception_ptr() 74 catch( boost::exception const & x ) in test_throw_line()
|
D | throw_exception_test3.cpp | 24 class my_exception: public std::exception 28 class my_exception2: public std::exception, public boost::exception 32 class my_exception3: public std::exception, public virtual boost::exception 47 BOOST_TEST_THROWS( boost::rethrow_exception( p ), boost::exception ); in main() 59 BOOST_TEST_THROWS( boost::rethrow_exception( p ), boost::exception ); in main() 71 BOOST_TEST_THROWS( boost::rethrow_exception( p ), boost::exception ); in main() 83 BOOST_TEST_THROWS( boost::rethrow_exception( p ), boost::exception ); in main() 95 BOOST_TEST_THROWS( boost::rethrow_exception( p ), boost::exception ); in main() 107 BOOST_TEST_THROWS( boost::rethrow_exception( p ), boost::exception ); in main()
|
/third_party/boost/boost/exception/ |
D | diagnostic_information.hpp | 42 …std::string diagnostic_information_impl( boost::exception const *, std::exception const *, bool, b… 49 boost::exception const * be=current_exception_cast<boost::exception const>(); in current_exception_diagnostic_information() 50 std::exception const * se=current_exception_cast<std::exception const>(); in current_exception_diagnostic_information() 70 exception const * 71 get_boost_exception( exception const * e ) in get_boost_exception() 77 exception const * 84 std::exception const * 85 get_std_exception( std::exception const * e ) in get_std_exception() 91 std::exception const * 99 get_diagnostic_information( exception const & x, char const * header ) in get_diagnostic_information() [all …]
|
D | exception.hpp | 154 exception; variable 203 char const * get_diagnostic_information( exception const &, char const * ); 205 void copy_boost_exception( exception *, exception const * ); 222 exception class 232 exception(): in exception() function in boost::exception 242 exception( exception const & x ) BOOST_NOEXCEPT_OR_NOTHROW: in exception() function in boost::exception 251 virtual ~exception() BOOST_NOEXCEPT_OR_NOTHROW 274 …friend char const * exception_detail::get_diagnostic_information( exception const &, char const * … 286 friend void exception_detail::copy_boost_exception( exception *, exception const * ); 295 exception:: [all …]
|
/third_party/boost/libs/log/test/run/ |
D | util_exception_handler.cpp | 37 void operator() (std::exception&) const in operator ()() 39 m_pExceptionType = &typeid(std::exception); in operator ()() 50 typedef boost::mpl::vector< std::runtime_error, std::exception >::type exception_types; 56 void operator() (std::exception&) const in operator ()() 58 m_pExceptionType = &typeid(std::exception); in operator ()() 74 void operator() (std::exception&) const in operator ()() 76 m_pExceptionType = &typeid(std::exception); in operator ()() 91 typedef boost::mpl::vector< std::runtime_error, std::exception >::type exception_types; 97 void operator() (std::exception&) const in operator ()() 99 m_pExceptionType = &typeid(std::exception); in operator ()() [all …]
|
/third_party/cef/libcef_dll/cpptoc/ |
D | v8interceptor_cpptoc.cc | 26 cef_string_t* exception) { in v8interceptor_get_byname() argument 45 DCHECK(exception); in v8interceptor_get_byname() 46 if (!exception) in v8interceptor_get_byname() 55 CefString exceptionStr(exception); in v8interceptor_get_byname() 80 cef_string_t* exception) { in v8interceptor_get_byindex() argument 99 DCHECK(exception); in v8interceptor_get_byindex() 100 if (!exception) in v8interceptor_get_byindex() 109 CefString exceptionStr(exception); in v8interceptor_get_byindex() 134 cef_string_t* exception) { in v8interceptor_set_byname() argument 153 DCHECK(exception); in v8interceptor_set_byname() [all …]
|
/third_party/grpc/src/ruby/spec/ |
D | errors_spec.rb | 27 exception = GRPC::BadStatus.new(code, details, metadata) 29 expect(exception.code).to eq code 30 expect(exception.details).to eq details 31 expect(exception.metadata).to eq metadata 61 exception = GRPC::BadStatus.new_status_exception(code) 63 expect(exception).to be_a grpc_error_class 74 exception = GRPC::BadStatus.new(code, details, metadata) 77 expect(exception.to_status).to eq status 118 exception = GRPC::BadStatus.new(code, details, metadata) 120 expect(exception.to_rpc_status).to eq rpc_status [all …]
|
/third_party/python/Lib/test/ |
D | test_flufl.py | 15 self.assertRegex(str(cm.exception), 17 self.assertIn('2 != 3', cm.exception.text) 18 self.assertEqual(cm.exception.filename, '<FLUFL test>') 20 self.assertTrue(cm.exception.lineno, 2) 23 self.assertEqual(cm.exception.offset, 3) 30 self.assertRegex(str(cm.exception), "invalid syntax") 31 self.assertIn('2 <> 3', cm.exception.text) 32 self.assertEqual(cm.exception.filename, '<FLUFL test>') 33 self.assertEqual(cm.exception.lineno, 1) 36 self.assertEqual(cm.exception.offset, 3)
|
/third_party/ejdb/src/bindings/ejdb2_android/test/ejdb2/src/androidTest/java/com/softmotions/ejdb2/ |
D | Ejdb2AndroidTest.java | 43 EJDB2Exception exception; in ejdb2tests() local 62 exception = null; in ejdb2tests() 66 exception = e; in ejdb2tests() 68 assertNotNull(exception); in ejdb2tests() 69 assertTrue(exception.getMessage().contains("IWKV_ERROR_NOTFOUND")); in ejdb2tests() 79 exception = null; in ejdb2tests() 83 exception = e; in ejdb2tests() 85 assertTrue(exception != null && exception.getMessage() != null); in ejdb2tests() 86 assertEquals(86005, exception.getCode()); in ejdb2tests() 87 assertTrue(exception.getMessage().contains("JBL_ERROR_PARSE_UNQUOTED_STRING")); in ejdb2tests() [all …]
|
/third_party/ejdb/src/bindings/ejdb2_jni/src/test/java/com/softmotions/ejdb2/ |
D | TestEJDB2.java | 37 EJDB2Exception exception = null; in dbTest() local 56 exception = null; in dbTest() 60 exception = e; in dbTest() 62 assert (exception != null); in dbTest() 63 assert (exception.getMessage().contains("IWKV_ERROR_NOTFOUND")); in dbTest() 73 exception = null; in dbTest() 77 exception = e; in dbTest() 79 assert (exception != null && exception.getMessage() != null); in dbTest() 80 assert (exception.getCode() == 86005); in dbTest() 81 assert (exception.getMessage().contains("JBL_ERROR_PARSE_UNQUOTED_STRING")); in dbTest() [all …]
|
/third_party/python/Doc/library/ |
D | exceptions.rst | 12 clause that mentions a particular class, that clause also handles any exception 13 classes derived from that class (but not exception classes from which *it* is 14 derived). Two exception classes that are not related via subclassing are never 23 code). The associated value is usually passed as arguments to the exception 26 User code can raise built-in exceptions. This can be used to test an exception 28 interpreter raises the same exception; but beware that there is nothing to 31 The built-in exception classes can be subclassed to define new exceptions; 41 When raising (or re-raising) an exception in an :keyword:`except` or 43 :attr:`__context__` is automatically set to the last exception caught; if the 44 new exception is not handled the traceback that is eventually displayed will [all …]
|
D | asyncio-exceptions.rst | 14 .. exception:: TimeoutError 19 This exception is different from the builtin :exc:`TimeoutError` 20 exception. 23 .. exception:: CancelledError 27 This exception can be caught to perform custom operations 29 exception must be re-raised. 36 .. exception:: InvalidStateError 44 .. exception:: SendfileNotAvailableError 52 .. exception:: IncompleteReadError 58 This exception is a subclass of :exc:`EOFError`. [all …]
|
/third_party/boost/boost/exception/detail/ |
D | exception_ptr.hpp | 12 #error This header requires exception handling to be enabled. 111 boost::exception, 119 boost::exception, 161 public boost::exception, 162 public std::exception 171 unknown_exception( std::exception const & e ) in unknown_exception() 177 unknown_exception( boost::exception const & e ): in unknown_exception() 178 boost::exception(e) in unknown_exception() 211 public boost::exception 222 current_exception_std_exception_wrapper( T const & e1, boost::exception const & e2 ): in current_exception_std_exception_wrapper() [all …]
|
/third_party/cef/tests/ceftests/ |
D | v8_unittest.cc | 612 CefRefPtr<CefV8Exception> exception; in RunArrayBufferValueTest() local 613 EXPECT_TRUE(context->Eval(test, CefString(), 0, retval, exception)); in RunArrayBufferValueTest() 614 if (exception.get()) in RunArrayBufferValueTest() 615 ADD_FAILURE() << exception->GetMessage().c_str(); in RunArrayBufferValueTest() 696 CefString& exception) override { in RunObjectAccessorTest() argument 703 EXPECT_TRUE(exception.empty()); in RunObjectAccessorTest() 714 CefString& exception) override { in RunObjectAccessorTest() argument 721 EXPECT_TRUE(exception.empty()); in RunObjectAccessorTest() 790 CefString& exception) override { in RunObjectAccessorExceptionTest() argument 792 exception = kGetException; in RunObjectAccessorExceptionTest() [all …]
|
/third_party/boost/libs/math/example/ |
D | Jamfile.v2 | 41 <exception-handling>off:<source>../test//no_eh 45 [ run bessel_zeros_example_1.cpp : : : <exception-handling>off:<build>no ] 46 [ run bessel_zeros_interator_example.cpp : : : <exception-handling>off:<build>no ] 47 [ run neumann_zeros_example_1.cpp : : : <exception-handling>off:<build>no ] 49 …ion.cpp ../../test/build//boost_unit_test_framework/<link>static : : : <exception-handling>off:<bu… 50 [ run binomial_coinflip_example.cpp : : : <exception-handling>off:<build>no ] 53 [ run binomial_quiz_example.cpp : : : <exception-handling>off:<build>no ] 58 [ run chi_square_std_dev_test.cpp : : : <exception-handling>off:<build>no ] 59 [ run distribution_construction.cpp : : : <exception-handling>off:<build>no ] 60 [ run error_handling_example.cpp : : : <exception-handling>off:<build>no ] [all …]
|
/third_party/boost/libs/phoenix/test/statement/ |
D | exceptions.cpp | 21 struct base_exception : std::exception 68 using std::exception; in main() 92 catch(exception&) in main() 98 catch(exception& err) in main() 109 .catch_<exception>(_e) // captured but unused in main() 123 .catch_<exception>(_e) in main() 127 , phx::ref(what) = phx::bind(&exception::what, _e) in main() 144 , phx::ref(what) = phx::bind(&exception::what, _e) in main() 169 .catch_<exception>(_e) in main() 173 , phx::ref(what) = phx::bind(&exception::what, _e) in main()
|