Searched defs:failure (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-head/contrib/kyua/integration/helpers/
H A Dexpect_all_pass.cpp57 ATF_TEST_CASE_WITHOUT_HEAD(failure); variable
58 ATF_TEST_CASE_BODY(failure)
61 fail("Forced failure");
89 ATF_ADD_TEST_CASE(tcs, failure);
H A Dexpect_some_fail.cpp54 ATF_TEST_CASE_WITHOUT_HEAD(failure); variable
55 ATF_TEST_CASE_BODY(failure)
90 ATF_ADD_TEST_CASE(tcs, failure);
/freebsd-head/usr.sbin/ppp/
H A Dauth.h42 auth_func failure; member in struct:authinfo::__anon3326
57 #define auth_Failure(a) (*(a)->fn.failure)(a)
H A Dauth.c413 auth_func success, auth_func failure)
421 authp->fn.failure = failure;
412 auth_Init(struct authinfo *authp, struct physical *p, auth_func req, auth_func success, auth_func failure) argument
H A Dip.c107 static char failure[6]; local
121 return HexStr(qclass, failure, sizeof failure);
127 static char failure[6]; local
148 return HexStr(qtype, failure, sizeof failure);
/freebsd-head/crypto/openssh/
H A Dttymodes.c350 int r, failure = 0; local
369 failure = -1;
383 if (failure != -1 &&
392 if (failure != -1 &&
450 if (failure == -1)
/freebsd-head/contrib/googletest/googletest/test/
H A Dgtest_environment_test.cc54 // generate a non-fatal failure, generate a fatal failure, or
61 ADD_FAILURE() << "Expected non-fatal failure in global set-up.";
64 FAIL() << "Expected fatal failure in global set-up.";
71 // Generates a non-fatal failure.
74 ADD_FAILURE() << "Expected non-fatal failure in global tear-down.";
84 // We call this function to set the type of failure SetUp() should
121 // The 'failure' parameter specifies the type of failure that should
123 int RunAllTests(MyEnvironment* env, FailureType failure) { argument
[all...]
H A Dgoogletest-output-test_.cc63 // This function calls a test subroutine, catches the fatal failure it
66 // Calls a subrountine that yields a fatal failure.
69 // Catches the fatal failure and aborts the test.
114 // Tests catching a fatal failure in a subroutine.
116 printf("(expecting a failure that x should be 1)\n");
121 // Tests catching a fatal failure in a nested subroutine.
123 printf("(expecting a failure that x should be 1)\n");
125 // Calls a subrountine that yields a fatal failure.
128 // Catches the fatal failure and aborts the test.
140 printf("(expecting a failure o
928 AddFailure(FailureMode failure) argument
968 AddFailureInOtherThread(FailureMode failure) argument
[all...]
H A Dgtest_unittest.cc144 // Meta characters in the failure message should be properly escaped.
1107 FAIL() << "Expected fatal failure.";
1111 ADD_FAILURE() << "Expected non-fatal failure.";
1120 static void AddFailure(FailureMode failure) { argument
1121 if (failure == FATAL_FAILURE) {
1161 static void AddFailureInOtherThread(FailureMode failure) { argument
1162 ThreadWithParam<FailureMode> thread(&AddFailure, failure, NULL);
1189 // work even if the failure is generated in a called function rather than
1195 EXPECT_FATAL_FAILURE(AddFatalFailure(), "Expected fatal failure.");
1200 EXPECT_FATAL_FAILURE(AddFatalFailure(), ::string("Expected fatal failure
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/builtins/
H A Datomic.c207 void *desired, int success, int failure) {
211 failure)
305 int success, int failure) { \
308 (_Atomic(type) *)ptr, expected, desired, success, failure); \
206 __atomic_compare_exchange_c(int size, void *ptr, void *expected, void *desired, int success, int failure) argument
/freebsd-head/contrib/llvm-project/libcxx/src/
H A Dios.cpp75 // ios_base::failure
77 ios_base::failure::failure(const string& msg, const error_code& ec) function in class:ios_base::failure
82 ios_base::failure::failure(const char* msg, const error_code& ec) function in class:ios_base::failure
87 ios_base::failure::~failure() throw()
/freebsd-head/lib/librt/
H A Dsigev_thread.c367 static int failure; local
418 if (failure++ < 5)
/freebsd-head/sys/dev/rndtest/
H A Drndtest.c163 rndtest_report(struct rndtest_state *rsp, int failure, const char *fmt, ...) argument
170 if (!failure && rndtest_verbose == 1) /* don't report successes */
/freebsd-head/contrib/kyua/engine/
H A Datf_result_test.cpp314 const process::status failure = process::status::fake_exited(EXIT_FAILURE); local
319 ATF_REQUIRE_EQ(any_code, any_code.apply(utils::make_optional(failure)));
323 ATF_REQUIRE_EQ(a_code, a_code.apply(utils::make_optional(failure)));
369 const process::status failure = process::status::fake_exited(EXIT_FAILURE); local
377 "Expected failure should have reported success but "
379 xfailure.apply(utils::make_optional(failure)));
382 "Expected failure should have reported success but "
387 "Expected failure should have reported success but "
479 "Failed test case should have reported failure but "
484 "Failed test case should have reported failure bu
507 const process::status failure = process::status::fake_exited(EXIT_FAILURE); local
542 const process::status failure = process::status::fake_exited(EXIT_FAILURE); local
[all...]
/freebsd-head/sys/contrib/ncsw/Peripherals/FM/Port/
H A Dfman_port.c818 bool rx_port, failure = FALSE; local
859 failure = TRUE;
877 failure = TRUE;
880 if (failure)
/freebsd-head/sys/rpc/
H A Drpcb_prot.h63 * TRUE is success, FALSE is failure. Registers the tuple
68 * TRUE is success, FALSE is failure. Un-registers tuple
73 * 0 is failure. Otherwise returns the universal address where the
110 * 0 is failure. Otherwise returns the universal address where the
294 int failure; member in struct:rpcbs_addrlist
307 int failure; member in struct:rpcbs_rmtcalllist
444 int failure; member in struct:rpcbs_addrlist
457 int failure; member in struct:rpcbs_rmtcalllist
/freebsd-head/crypto/openssl/crypto/ts/
H A Dts_rsp_sign.c344 int TS_RESP_CTX_add_failure_info(TS_RESP_CTX *ctx, int failure) argument
350 if (!ASN1_BIT_STRING_set_bit(si->failure_info, failure, 1))
/freebsd-head/bin/ps/
H A Dprint.c636 static int failure; local
639 failure = donlist();
640 if (failure)
666 static int failure; local
670 failure = donlist();
671 if (failure)
/freebsd-head/usr.bin/rpcinfo/
H A Drpcinfo.c381 int failure = 0; local
456 failure = 1;
459 if (failure)
1272 int failure = 0; local
1300 failure = 1;
1302 if (failure)
1351 failure = 1;
1355 if (failure)
1374 int failure = 0; local
1409 failure
[all...]
/freebsd-head/contrib/wpa/src/eap_server/
H A Dtncs.c1192 int *failure)
1195 *failure = 0;
1191 tncs_process_soh(const u8 *soh_tlv, size_t soh_tlv_len, int *failure) argument
H A Deap_server_peap.c884 int failure = 0; local
887 &failure);
888 if (failure) {
/freebsd-head/sys/dev/isp/
H A Disp_freebsd.c2079 int sentstatus = 0, ok = 0, notify_cam = 0, failure = 0; local
2129 failure = CAM_UNREC_HBA_ERROR;
2151 failure = CAM_UNREC_HBA_ERROR;
2173 if (failure == CAM_UNREC_HBA_ERROR)
/freebsd-head/contrib/libarchive/libarchive/test/
H A Dmain.c234 /* Enable core dump on failure. */
294 failure(const char *fmt, ...) function
333 /* Proper handling of "failure()" message. */
352 /* Count this failure, setup up log destination and handle initial report. */
358 /* Record another failure for this line. */
372 /* Log file:line header for this failure */
413 " *** forcing core dump so failure can be debugged ***\n");
428 /* Use failure() message if set. */
1138 /* If there's anything left, it's a failure */
2325 failure("Could
[all...]
/freebsd-head/sys/ofed/drivers/infiniband/core/
H A Dib_cma.c3323 bool failure; local
3326 failure = sa6_recoverscope(&sin6) || sin6.sin6_scope_id == 0;
3330 if (failure)
/freebsd-head/contrib/libarchive/test_utils/
H A Dtest_main.c362 /* Enable core dump on failure. */
422 failure(const char *fmt, ...) function
461 /* Proper handling of "failure()" message. */
480 /* Count this failure, setup up log destination and handle initial report. */
486 /* Record another failure for this line. */
500 /* Log file:line header for this failure */
541 " *** forcing core dump so failure can be debugged ***\n");
556 /* Use failure() message if set. */
1268 /* If there's anything left, it's a failure */
2336 failure("N
[all...]

Completed in 167 milliseconds

12