Searched refs:cond (Results 1 - 22 of 22) sorted by relevance

/bind-9.11.3/lib/isc/include/isc/
H A Dassertions.h77 #define ISC_REQUIRE(cond) \
78 ((void) (ISC_LIKELY(cond) || \
81 #cond), 0)))
83 #define ISC_REQUIRE(cond) ((void) 0)
87 #define ISC_ENSURE(cond) \
88 ((void) (ISC_LIKELY(cond) || \
91 #cond), 0)))
93 #define ISC_ENSURE(cond) ((void) 0)
97 #define ISC_INSIST(cond) \
98 ((void) (ISC_LIKELY(cond) || \
[all...]
H A Derror.h49 #define ISC_ERROR_RUNTIMECHECK(cond) \
50 ((void) (ISC_LIKELY(cond) || \
51 ((isc_error_runtimecheck)(__FILE__, __LINE__, #cond), 0)))
H A Dutil.h227 #define RUNTIME_CHECK(cond) ISC_ERROR_RUNTIMECHECK(cond)
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dsanity.c59 atf_sanity_inv(const char *file, int line, const char *cond) argument
61 fail("Invariant check failed at %s:%d: %s", file, line, cond);
65 atf_sanity_pre(const char *file, int line, const char *cond) argument
67 fail("Precondition check failed at %s:%d: %s", file, line, cond);
71 atf_sanity_post(const char *file, int line, const char *cond) argument
73 fail("Postcondition check failed at %s:%d: %s", file, line, cond);
H A Dsanity_test.c90 do_test(enum type t, bool cond) argument
99 struct test_data td = { t, cond };
115 if (!cond) {
124 if (!cond) {
/bind-9.11.3/lib/isc/win32/
H A Dcondition.c23 isc_condition_init(isc_condition_t *cond) { argument
26 REQUIRE(cond != NULL);
28 cond->waiters = 0;
37 cond->events[LSIGNAL] = h;
43 ISC_LIST_INIT(cond->threadlist);
90 find_thread_condition(unsigned long thrd, isc_condition_t *cond, argument
100 for (threadcond = ISC_LIST_HEAD(cond->threadlist);
113 return (register_thread(thrd, cond, threadcondp));
117 isc_condition_signal(isc_condition_t *cond) { argument
123 REQUIRE(cond !
134 isc_condition_broadcast(isc_condition_t *cond) argument
163 isc_condition_destroy(isc_condition_t *cond) argument
198 wait(isc_condition_t *cond, isc_mutex_t *mutex, DWORD milliseconds) argument
227 isc_condition_wait(isc_condition_t *cond, isc_mutex_t *mutex) argument
232 isc_condition_waituntil(isc_condition_t *cond, isc_mutex_t *mutex, isc_time_t *t) argument
[all...]
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Dutil.h74 #define COND_INIT(cond) do { \
75 int __n = pthread_cond_init((cond), NULL); \
81 #define SIGNAL(cond) do { \
82 int __n = pthread_cond_signal((cond)); \
88 #define BROADCAST(cond) do { \
89 int __n = pthread_cond_broadcast((cond)); \
95 #define WAIT(cond, mutex) do { \
96 int __n = pthread_cond_wait((cond), (mutex)); \
102 #define TIMEDWAIT(cond, mutex, when, timedout) do { \
103 int __n = pthread_cond_timedwait((cond), (mute
[all...]
H A Ddnsperf.c163 pthread_cond_t cond; member in struct:__anon58
620 TIMEDWAIT(&tinfo->cond, &tinfo->lock,
872 SIGNAL(&tinfo->cond);
1016 COND_INIT(&tinfo->cond);
1071 SIGNAL(&tinfo->cond);
/bind-9.11.3/bin/tests/system/dnssec/
H A Ddnssec_update_test.pl52 my ($cond, $explanation) = @_;
53 if (!$cond) {
/bind-9.11.3/bin/tests/system/stress/
H A Dupdate.pl57 my ($cond, $explanation) = @_;
58 if (!$cond) {
/bind-9.11.3/lib/isc/
H A Dassertions.c47 const char *cond)
49 isc_assertion_failed_cb(file, line, type, cond);
98 const char *cond)
111 file, line, isc_assertion_typetotext(type), cond,
46 isc_assertion_failed(const char *file, int line, isc_assertiontype_t type, const char *cond) argument
97 default_callback(const char *file, int line, isc_assertiontype_t type, const char *cond) argument
/bind-9.11.3/contrib/idn/idnkit-1.0-src/util/
H A DUCD.pm165 my $cond = (@f > 5) ? $f[4] : undef;
170 CONDITION => $cond);
H A Dgenerate_normalize_data.pl212 my $cond = $data{CONDITION} || '';
214 next unless $cond eq '' or $cond =~ /^(NON_)?FINAL/;
216 if (defined $cond && (@$lower > 1 || $lower->[0] != $code)
218 $lower_special{$code} = [$lower, $cond];
220 if (defined $cond && (@$upper > 1 || $upper->[0] != $code)
222 $upper_special{$code} = [$upper, $cond];
/bind-9.11.3/bin/named/
H A Dfuzz.c42 static pthread_cond_t cond; variable
123 pthread_cond_wait(&cond, &mutex);
299 pthread_cond_wait(&cond, &mutex);
412 pthread_cond_wait(&cond, &mutex);
442 RUNTIME_CHECK(pthread_cond_signal(&cond) == 0);
472 RUNTIME_CHECK(pthread_cond_init(&cond, NULL) == 0);
H A Dmain.c162 const char *cond) ISC_PLATFORM_NORETURN_POST;
166 const char *cond)
192 isc_assertion_typetotext(type), cond, logsuffix);
224 file, line, isc_assertion_typetotext(type), cond);
165 assertion_failed(const char *file, int line, isc_assertiontype_t type, const char *cond) argument
H A Dserver.c2612 #define CHECK_RRL(cond, pat, val1, val2) \
2614 if (!(cond)) { \
/bind-9.11.3/win32utils/
H A DConfigure2931 my $cond;
2944 if (defined($cond)) {
2945 unshift(@conds, $cond);
2949 $cond = $1;
2950 if (defined($configcond{$cond})) {
2960 if ($cond ne $1) {
2963 if (defined($configcond{$cond})) {
2974 if ($cond ne $1) {
2977 $cond = shift(@conds);
3053 my $cond;
[all...]
/bind-9.11.3/bin/tests/system/nsupdate/
H A Dupdate_test.pl57 my ($cond, $explanation) = @_;
58 if (!$cond) {
/bind-9.11.3/unit/atf-src/atf-c++/
H A Dmacros_test.cpp335 const char *cond; member in struct:test
346 for (t = &tests[0]; t->cond != NULL; t++) {
348 config["condition"] = t->cond;
350 std::cout << "Checking with a " << t->cond << " value\n";
/bind-9.11.3/lib/dns/tests/
H A Ddbversion_test.c39 const char *cond)
41 UNUSED(file); UNUSED(line); UNUSED(type); UNUSED(cond);
38 local_callback(const char *file, int line, isc_assertiontype_t type, const char *cond) argument
/bind-9.11.3/lib/dns/
H A Dgen.c39 #define INSIST(cond) \
40 if (!(cond)) { \
42 __FILE__, __LINE__, #cond); \
/bind-9.11.3/lib/bind9/
H A Dcheck.c574 #define CHECK_RRL(cond, pat, val1, val2) \
576 if (!(cond)) { \

Completed in 106 milliseconds