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

12

/osnet-11/usr/src/lib/libresolv2/include/isc/
H A Dassertions.h68 #define REQUIRE(cond) \
69 ((void) ((cond) || \
71 #cond, 0), 0)))
72 #define REQUIRE_ERR(cond) \
73 ((void) ((cond) || \
75 #cond, 1), 0)))
77 #define REQUIRE(cond) ((void) (cond))
78 #define REQUIRE_ERR(cond) ((void) (cond))
[all...]
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_debug.h22 # define Dprint(cond, args) /*empty*/
23 # define DprintQ(cond, args, query, size) /*empty*/
27 # define Dprint(cond, args) if (cond) {fprintf args;} else {}
28 # define DprintQ(cond, args, query, size) if (cond) {\
/osnet-11/usr/src/cmd/sendmail/include/sm/
H A Dassert.h68 # define SM_REQUIRE(cond) \
69 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
70 "SM_REQUIRE(" #cond ") failed"), 0)))
72 # define SM_REQUIRE(cond) \
73 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
74 "SM_REQUIRE(cond) failed"), 0)))
77 # define SM_REQUIRE(cond) ((void) 0)
85 # define SM_ENSURE(cond) \
86 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
87 "SM_ENSURE(" #cond ") faile
[all...]
H A Dtest.h24 # define SM_TEST(cond) sm_test(cond, #cond, __FILE__, __LINE__)
26 # define SM_TEST(cond) sm_test(cond, "cond", __FILE__, __LINE__)
/osnet-11/usr/src/grub/grub2/grub-core/lib/posix_wrap/
H A Dassert.h27 assert_real (const char *file, int line, int cond) argument
29 if (!cond)
/osnet-11/usr/src/lib/libparted/common/include/parted/
H A Ddebug.h44 #define PED_ASSERT(cond, action) \
46 if (!(cond)) { \
48 #cond, \
67 #define PED_ASSERT(cond, action) \
69 if (!(cond)) { \
71 #cond, \
82 #define PED_ASSERT(cond, action) do {} while (0)
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dtest.h49 /* Test `cond' for nonzero; log failure otherwise. */
50 void grub_test_nonzero (int cond, const char *file,
56 #define grub_test_assert(cond, ...) \
57 grub_test_nonzero(cond, GRUB_FILE, __FUNCTION__, __LINE__, \
59 "assert failed: %s", #cond)
/osnet-11/usr/src/lib/libbsm/common/
H A Daudit_reboot.c75 int cond = AUC_NOAUDIT; local
80 (void) auditon(A_GETCOND, (caddr_t)&cond, sizeof (cond));
83 if (cond == AUC_AUDITING && system("/usr/sbin/audit -T"))
H A Daudit_halt.c90 int cond = AUC_NOAUDIT; local
95 (void) auditon(A_GETCOND, (caddr_t)&cond, sizeof (cond));
98 if (cond == AUC_AUDITING && system("/usr/sbin/audit -T"))
H A Dgeneric.c85 int cond = 0; local
88 if (auditon(A_GETCOND, (caddr_t)&cond, sizeof (cond))) {
91 auc = cond;
/osnet-11/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c93 SET_CONDITION(handle, cond);\
141 cfga_cond_t cond; local
156 cond = CFGA_COND_OK;
187 cond != CFGA_COND_FAILED)
188 cond = CFGA_COND_FAILING;
190 cond = CFGA_COND_FAILED;
200 cond = CFGA_COND_FAILED;
229 cond != CFGA_COND_FAILED)
230 cond = CFGA_COND_FAILING;
232 cond
296 cfga_cond_t cond; local
425 cfga_cond_t cond; local
[all...]
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dassertions.c84 const char *cond, int print_errno)
87 file, line, assertion_type_to_text(type), cond,
83 default_assertion_failed(const char *file, int line, assertion_type type, const char *cond, int print_errno) argument
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dgoto.t68 my $cond = 1;
70 if ($cond == 1) {
71 $cond = 0;
74 elsif ($cond == 0) {
76 $cond = 2;
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt_wrap/
H A Dcipher_wrap.h71 grub_assert_real (const char *file, int line, int cond) argument
73 if (!cond)
/osnet-11/usr/src/lib/libc/port/threads/
H A Dpthr_cond.c33 * pthread_condattr_init: allocates the cond attribute object and
51 * pthread_condattr_destroy: frees the cond attribute object and
133 * pthread_cond_init: Initializes the cond object. It copies the
138 pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr) argument
157 else if ((error = cond_init((cond_t *)cond, type, NULL)) == 0)
158 ((cond_t *)cond)->cond_clockid = (uint8_t)clock_id;
/osnet-11/usr/src/lib/libldap4/include/
H A Dthq.h25 pthread_cond_t cond; /* queue condition to signal new elements */ member in struct:__anon1917
/osnet-11/usr/src/grub/grub2/grub-core/tests/lib/
H A Dtest.c88 grub_test_nonzero (int cond, argument
94 if (cond)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/
H A DDosGlob.pm17 my $cond = shift;
31 if ($cond eq 'd') { push(@retval, $pat) if -d $pat }
46 push(@retval, doglob($cond, map {"$_$sepchr$tail"} @globdirs)),
58 if ($cond eq 'd') { push(@retval,$head) if -d $head }
79 next INNER if $cond eq 'd' and ! -d "$head$e";
102 my $cond = shift;
121 if ($cond eq 'd') { push(@retval, $not_esc_arg) if -d $not_esc_arg }
142 push(@retval, doglob_Mac($cond, map {"$_$sepchr$tail"} @globdirs)),
168 if ($cond eq 'd') { push(@retval,$head) if -d $not_esc_head }
189 next INNER if $cond e
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Dnis_hashitem.c76 errorcode = pthread_cond_init(&table->cond, 0);
79 "(table->cond) pthread_cond_init returned %d (%s)",
120 "%d: lh table 0x%x trav cond wait",
122 (void) pthread_cond_wait(&table->cond,
157 "%d: lh table 0x%x cond wait",
200 (void) pthread_cond_signal(&table->cond);
463 (void) pthread_cond_signal(&table->cond);
552 (void) pthread_cond_signal(&table->cond);
617 (void) pthread_cond_signal(&table->cond);
H A Dnis_hashitem.h57 pthread_cond_t cond; member in struct:__anon1983
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Dosspec.c42 static gboolean mnttab_event (GIOChannel *channel, GIOCondition cond, gpointer user_data);
204 mnttab_event (GIOChannel *channel, GIOCondition cond, gpointer user_data) argument
210 /* if (cond & ~G_IO_ERR)
/osnet-11/usr/src/grub/grub2/grub-core/script/
H A Dscript.c266 struct grub_script_cmd *cond,
278 cmd->cond = cond;
264 grub_script_create_cmdwhile(struct grub_parser_param *state, struct grub_script_cmd *cond, struct grub_script_cmd *list, int is_an_until_loop) argument
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_list.c1439 cfga_cond_t cond = CFGA_COND_UNKNOWN; local
1500 cond = CFGA_COND_FAILED;
1525 clp->ap_cond = cond;
1580 cfga_cond_t cond; local
1586 cond = CFGA_COND_UNKNOWN;
1643 cond = CFGA_COND_FAILING;
1650 * set to cond to unusable regardless of accessibility.
1654 * cond may make more sense.
1658 cond = CFGA_COND_UNUSABLE;
1684 * if cond i
2467 cfga_cond_t cond; local
3057 cfga_cond_t cond = CFGA_COND_UNKNOWN; local
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c1337 cfga_get_condition(hp_node_t node, ap_condition_t *cond) argument
1344 *cond = AP_COND_UNKNOWN;
1351 *cond = AP_COND_OK;
1353 *cond = AP_COND_FAILING;
1355 *cond = AP_COND_FAILED;
1357 *cond = AP_COND_UNUSABLE;
1359 *cond = AP_COND_UNKNOWN;
1380 ap_condition_t cond; local
1454 (void) cfga_get_condition(node, &cond);
1456 switch (cond) {
[all...]
/osnet-11/usr/src/grub/grub2/
H A Dgentpl.py261 foreach_platform_specific_value(platform, "_condition", "condition", lambda cond: "if " + cond + "\n"))
265 foreach_platform_specific_value(platform, "_condition", "condition", lambda cond: "endif " + cond + "\n"))

Completed in 39 milliseconds

12