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

1234

/illumos-gate/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...]
/illumos-gate/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) {\
/illumos-gate/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__)
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_reboot.c75 int cond = AUC_NOAUDIT; local
81 (void) auditon(A_GETCOND, (caddr_t)&cond, sizeof (cond));
82 canaudit = ((cond == AUC_AUDITING) || (cond == AUC_NOSPACE));
H A Daudit_halt.c90 int cond = AUC_NOAUDIT; local
96 (void) auditon(A_GETCOND, (caddr_t)&cond, sizeof (cond));
97 canaudit = ((cond == AUC_AUDITING) || (cond == AUC_NOSPACE));
/illumos-gate/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...]
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_debug.h59 #define IGB_DEBUG_STAT_COND(val, cond) if (cond) (val)++
63 #define IGB_DEBUG_STAT_COND(val, cond)
/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Derrlog.h78 #define assert(cond, string) \
79 if (!(cond)) { \
/illumos-gate/usr/src/uts/sun4v/io/px/
H A Dpx_err_gen.c53 switch (epkt->rc_descr.cond) {
64 switch (epkt->rc_descr.cond) {
101 switch (epkt->rc_descr.cond) {
123 switch (epkt->rc_descr.cond) {
137 switch (epkt->rc_descr.cond) {
161 switch (epkt->rc_descr.cond) {
186 switch (epkt->rc_descr.cond) {
197 switch (epkt->rc_descr.cond) {
215 switch (epkt->rc_descr.cond) {
245 switch (epkt->rc_descr.cond) {
[all...]
H A Dpx_err.h149 cond : 4, member in struct:root_complex::__anon10298
157 cond : 4,
/illumos-gate/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
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dsparc.h88 cond:4, member in struct:f_2b
95 cond:4, member in struct:f_3a
105 cond:4, member in struct:f_3b
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclplatmod.c356 char cond[BUF_SIZE]; local
380 (void) strncpy(cond, PICLEVENTARGVAL_FAILED, sizeof (cond));
383 PICL_PROP_CONDITION, cond, sizeof (cond))) != PICL_SUCCESS) {
408 char cond[BUF_SIZE]; local
538 (void) strncpy(cond, PICLEVENTARGVAL_FAILED, sizeof (cond));
542 (void) strncpy(cond, PICLEVENTARGVAL_OK, sizeof (cond));
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dutils.h109 #define ASSERT_STATIC(cond) \
112 switch(dummy_zero){case 0:case (cond):;} \
116 #define ASSERT_STATIC(cond)
118 #endif // ASSERT_STATIC(cond)
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_debug.h96 #define E1000G_DEBUG_STAT_COND(val, cond) if (cond) (val)++;
108 #define E1000G_DEBUG_STAT_COND(val, cond)
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthr_cond.c31 * pthread_condattr_init: allocates the cond attribute object and
49 * pthread_condattr_destroy: frees the cond attribute object and
131 * pthread_cond_init: Initializes the cond object. It copies the
136 pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr) argument
155 else if ((error = cond_init((cond_t *)cond, type, NULL)) == 0)
156 ((cond_t *)cond)->cond_clockid = (uint8_t)clock_id;
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_debug.h58 #define IXGBE_DEBUG_STAT_COND(val, cond) if (cond) (val)++;
69 #define IXGBE_DEBUG_STAT_COND(val, cond)
/illumos-gate/usr/src/common/bzip2/
H A Dbzlib_private.h63 #define AssertH(cond,errcode) \
64 { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); }
67 #define AssertD(cond,msg) \
68 { if (!(cond)) { \
74 #define AssertD(cond,msg) /* */
94 #define AssertH(cond,errcode) \
95 { if (!(cond) && &bz_internal_error != NULL) bz_internal_error ( errcode ); }
96 #define AssertD(cond,msg) do { } while (0)
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_access.c431 nscd_acc_data_t *data, cond_t *cond)
447 if (cond == NULL)
450 (void) cond_wait(cond, access->data_mutex);
501 cond_t *cond = NULL; local
524 if ((cond = (cond_t *)calloc(1, sizeof (cond_t))) ==
531 (void) cond_init(cond, USYNC_THREAD, NULL);
541 access->data_cond = cond;
430 _nscd_cond_wait( nscd_acc_data_t *data, cond_t *cond) argument
/illumos-gate/usr/src/cmd/cdrw/
H A Ddevice.c640 * If EXIT_IF_CHECK_FAILED set in cond then it will also exit after
644 check_device(cd_device *dev, int cond) argument
650 if ((errmsg == NULL) && (cond & CHECK_TYPE_NOT_CDROM) &&
656 if ((errmsg == NULL) && (cond & CHECK_DEVICE_NOT_READY) &&
662 if ((errmsg == NULL) && (cond & CHECK_DEVICE_NOT_WRITABLE)) {
669 if ((errmsg == NULL) && (cond & CHECK_NO_MEDIA)) {
683 if ((errmsg == NULL) && ((cond & CHECK_MEDIA_IS_NOT_BLANK) ||
684 (cond & CHECK_MEDIA_IS_NOT_WRITABLE) ||
685 (cond & CHECK_MEDIA_IS_NOT_ERASABLE))) {
696 if (!erasable && (cond
[all...]
H A Ddevice.h78 int check_device(cd_device *dev, int cond);
/illumos-gate/usr/src/lib/libfakekernel/
H A DMakefile.com22 cond.o \
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Dglob.h61 extern int cond; /* Current state of conditional exc. */
/illumos-gate/usr/src/cmd/smserverd/
H A Dmyaudit.c66 int cond = 0; local
68 if (auditon(A_GETCOND, (caddr_t)&cond, sizeof (cond))) {
71 auc = cond;

Completed in 85 milliseconds

1234