Home
last modified time | relevance | path

Searched refs:is_critical (Results 1 – 7 of 7) sorted by relevance

/third_party/boost/libs/test/doc/examples/
Dexception_check_predicate.run-fail.cpp20 bool is_critical( my_exception const& ex ) { return ex.m_error_code < 0; } in is_critical() function
26 BOOST_CHECK_EXCEPTION( some_func(0), my_exception, !is_critical ); in BOOST_AUTO_TEST_CASE()
27 BOOST_CHECK_EXCEPTION( some_func(1), my_exception, is_critical ); in BOOST_AUTO_TEST_CASE()
Dexception_check_predicate.output6 …raised as expected: validation on the raised exception through predicate "!is_critical"' has passed
7 …y_exception" raised as expected: validation on the raised exception through predicate "is_critical"
/third_party/mbedtls/library/
Dx509_crl.c121 int is_critical = 0; in x509_get_crl_ext() local
142 &is_critical ) ) != 0 && in x509_get_crl_ext()
160 if( is_critical ) in x509_get_crl_ext()
Dx509_crt.c929 int is_critical = 0; /* DEFAULT FALSE */ in x509_get_crt_ext() local
948 if( ( ret = mbedtls_asn1_get_bool( p, end_ext_data, &is_critical ) ) != 0 && in x509_get_crt_ext()
974 ret = cb( p_ctx, crt, &extn_oid, is_critical, *p, end_ext_octet ); in x509_get_crt_ext()
975 if( ret != 0 && is_critical ) in x509_get_crt_ext()
984 if( is_critical ) in x509_get_crt_ext()
1044 cb( p_ctx, crt, &extn_oid, is_critical, in x509_get_crt_ext()
1048 if( is_critical ) in x509_get_crt_ext()
1068 if( is_critical ) in x509_get_crt_ext()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-extensions.c448 int is_critical = 0; /* DEFAULT FALSE */ in lws_x509_get_crt_ext() local
470 r = mbedtls_asn1_get_bool(&p, end_ext_data, &is_critical); in lws_x509_get_crt_ext()
/third_party/boost/libs/test/test/writing-test-ts/
Dtest_tools-test.cpp307 bool is_critical( my_exception const& ex ) { return ex.m_error_code < 0; } in is_critical() function
331 …BOOST_CHECK_EXCEPTION( throw my_exception( 1 ), my_exception, is_critical ); // unreachable code w… in TEST_CASE()
334 …BOOST_CHECK_EXCEPTION( throw my_exception( -1 ), my_exception, is_critical ); // unreachable code … in TEST_CASE()
/third_party/boost/libs/test/test/baseline-outputs/
Dtest_tools-test.pattern26 …y_exception" raised as expected: validation on the raised exception through predicate "is_critical"
27 … raised as expected: validation on the raised exception through predicate "is_critical"' has passed