/titanic_44/usr/src/lib/libresolv2/include/isc/ |
H A D | assertions.h | 68 #define REQUIRE(cond) \ argument 69 ((void) ((cond) || \ 71 #cond, 0), 0))) 72 #define REQUIRE_ERR(cond) \ argument 73 ((void) ((cond) || \ 75 #cond, 1), 0))) 77 #define REQUIRE(cond) ((void) (cond)) argument 78 #define REQUIRE_ERR(cond) ((void) (cond)) argument 82 #define ENSURE(cond) \ argument 83 ((void) ((cond) || \ [all …]
|
/titanic_44/usr/src/cmd/sendmail/include/sm/ |
H A D | assert.h | 68 # define SM_REQUIRE(cond) \ argument 69 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 70 "SM_REQUIRE(" #cond ") failed"), 0))) 72 # define SM_REQUIRE(cond) \ argument 73 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 77 # define SM_REQUIRE(cond) ((void) 0) argument 85 # define SM_ENSURE(cond) \ argument 86 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 87 "SM_ENSURE(" #cond ") failed"), 0))) 89 # define SM_ENSURE(cond) \ argument [all …]
|
H A D | test.h | 24 # define SM_TEST(cond) sm_test(cond, #cond, __FILE__, __LINE__) argument 26 # define SM_TEST(cond) sm_test(cond, "cond", __FILE__, __LINE__) argument
|
/titanic_44/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test.c | 93 SET_CONDITION(handle, cond);\ 141 cfga_cond_t cond; in memory_test_normal() local 156 cond = CFGA_COND_OK; in memory_test_normal() 187 cond != CFGA_COND_FAILED) in memory_test_normal() 188 cond = CFGA_COND_FAILING; in memory_test_normal() 190 cond = CFGA_COND_FAILED; in memory_test_normal() 200 cond = CFGA_COND_FAILED; in memory_test_normal() 229 cond != CFGA_COND_FAILED) in memory_test_normal() 230 cond = CFGA_COND_FAILING; in memory_test_normal() 232 cond = CFGA_COND_FAILED; in memory_test_normal() [all …]
|
/titanic_44/usr/src/uts/sun4v/io/px/ |
H A D | px_err_gen.c | 53 switch (epkt->rc_descr.cond) { in px_cb_epkt_severity() 64 switch (epkt->rc_descr.cond) { in px_cb_epkt_severity() 101 switch (epkt->rc_descr.cond) { in px_cb_epkt_severity() 123 switch (epkt->rc_descr.cond) { in px_cb_epkt_severity() 137 switch (epkt->rc_descr.cond) { in px_cb_epkt_severity() 161 switch (epkt->rc_descr.cond) { in px_cb_epkt_severity() 186 switch (epkt->rc_descr.cond) { in px_cb_epkt_severity() 197 switch (epkt->rc_descr.cond) { in px_cb_epkt_severity() 215 switch (epkt->rc_descr.cond) { in px_cb_epkt_severity() 245 switch (epkt->rc_descr.cond) { in px_mmu_epkt_severity() [all …]
|
H A D | px_err.c | 501 epkt->rc_descr.phase, epkt->rc_descr.cond, in px_err_send_epkt_erpt() 556 epkt->rc_descr.phase, epkt->rc_descr.cond, in px_err_log_handle() 578 switch (epkt->rc_descr.cond) { in px_fix_legacy_epkt() 594 switch (epkt->rc_descr.cond) { in px_fix_legacy_epkt() 604 switch (epkt->rc_descr.cond) { in px_fix_legacy_epkt() 609 epkt->rc_descr.cond = CND_IRR; in px_fix_legacy_epkt() 620 switch (epkt->rc_descr.cond) { in px_fix_legacy_epkt() 631 epkt->rc_descr.cond = CND_OV; in px_fix_legacy_epkt() 640 switch (epkt->rc_descr.cond) { in px_fix_legacy_epkt() 651 switch (epkt->rc_descr.cond) { in px_fix_legacy_epkt() [all …]
|
/titanic_44/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_debug.h | 22 # define Dprint(cond, args) /*empty*/ argument 23 # define DprintQ(cond, args, query, size) /*empty*/ argument 27 # define Dprint(cond, args) if (cond) {fprintf args;} else {} argument 28 # define DprintQ(cond, args, query, size) if (cond) {\ argument
|
/titanic_44/usr/src/lib/libbsm/common/ |
H A D | audit_reboot.c | 75 int cond = AUC_NOAUDIT; in audit_reboot_success() local 81 (void) auditon(A_GETCOND, (caddr_t)&cond, sizeof (cond)); in audit_reboot_success() 82 canaudit = ((cond == AUC_AUDITING) || (cond == AUC_NOSPACE)); in audit_reboot_success()
|
H A D | audit_halt.c | 90 int cond = AUC_NOAUDIT; in audit_halt_success() local 96 (void) auditon(A_GETCOND, (caddr_t)&cond, sizeof (cond)); in audit_halt_success() 97 canaudit = ((cond == AUC_AUDITING) || (cond == AUC_NOSPACE)); in audit_halt_success()
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/ |
H A D | piclplatmod.c | 356 char cond[BUF_SIZE]; in env_handle_watchdog_expiry() local 380 (void) strncpy(cond, PICLEVENTARGVAL_FAILED, sizeof (cond)); in env_handle_watchdog_expiry() 383 PICL_PROP_CONDITION, cond, sizeof (cond))) != PICL_SUCCESS) { in env_handle_watchdog_expiry() 408 char cond[BUF_SIZE]; in env_platmod_handle_event() local 538 (void) strncpy(cond, PICLEVENTARGVAL_FAILED, sizeof (cond)); in env_platmod_handle_event() 542 (void) strncpy(cond, PICLEVENTARGVAL_OK, sizeof (cond)); in env_platmod_handle_event() 547 (void) strncpy(cond, PICLEVENTARGVAL_UNKNOWN, sizeof (cond)); in env_platmod_handle_event() 553 PICL_PROP_CONDITION, cond, sizeof (cond))) != in env_platmod_handle_event()
|
/titanic_44/usr/src/uts/common/io/igb/ |
H A D | igb_debug.h | 59 #define IGB_DEBUG_STAT_COND(val, cond) if (cond) (val)++ argument 63 #define IGB_DEBUG_STAT_COND(val, cond) argument
|
/titanic_44/usr/src/cmd/cdrw/ |
H A D | device.c | 644 check_device(cd_device *dev, int cond) in check_device() argument 650 if ((errmsg == NULL) && (cond & CHECK_TYPE_NOT_CDROM) && in check_device() 656 if ((errmsg == NULL) && (cond & CHECK_DEVICE_NOT_READY) && in check_device() 662 if ((errmsg == NULL) && (cond & CHECK_DEVICE_NOT_WRITABLE)) { in check_device() 669 if ((errmsg == NULL) && (cond & CHECK_NO_MEDIA)) { in check_device() 683 if ((errmsg == NULL) && ((cond & CHECK_MEDIA_IS_NOT_BLANK) || in check_device() 684 (cond & CHECK_MEDIA_IS_NOT_WRITABLE) || in check_device() 685 (cond & CHECK_MEDIA_IS_NOT_ERASABLE))) { in check_device() 696 if (!erasable && (cond & CHECK_MEDIA_IS_NOT_ERASABLE)) in check_device() 700 (cond & CHECK_MEDIA_IS_NOT_BLANK)) in check_device() [all …]
|
/titanic_44/usr/src/common/bzip2/ |
H A D | bzlib_private.h | 63 #define AssertH(cond,errcode) \ argument 64 { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); } 67 #define AssertD(cond,msg) \ argument 68 { if (!(cond)) { \ 74 #define AssertD(cond,msg) /* */ argument 94 #define AssertH(cond,errcode) \ argument 95 { if (!(cond) && &bz_internal_error != NULL) bz_internal_error ( errcode ); } 96 #define AssertD(cond,msg) do { } while (0) argument
|
/titanic_44/usr/src/cmd/nscd/ |
H A D | nscd_access.c | 431 nscd_acc_data_t *data, cond_t *cond) in _nscd_cond_wait() argument 447 if (cond == NULL) in _nscd_cond_wait() 450 (void) cond_wait(cond, access->data_mutex); in _nscd_cond_wait() 501 cond_t *cond = NULL; in _nscd_alloc() local 524 if ((cond = (cond_t *)calloc(1, sizeof (cond_t))) == in _nscd_alloc() 531 (void) cond_init(cond, USYNC_THREAD, NULL); in _nscd_alloc() 541 access->data_cond = cond; in _nscd_alloc()
|
/titanic_44/usr/src/cmd/sgs/gprof/common/ |
H A D | sparc.h | 88 cond:4, member 95 cond:4, member 105 cond:4, member
|
/titanic_44/usr/src/uts/sparc/v9/fpu/ |
H A D | v9instr.c | 161 } cond; in fmovcc_fcc() local 181 cond = (enum icc_type) (inst.rs1 & 0xf); in fmovcc_fcc() 182 switch (cond) { in fmovcc_fcc() 274 } cond; in fmovcc_icc() local 294 cond = (enum icc_type) (inst.rs1 & 0xf); in fmovcc_icc() 295 switch (cond) { in fmovcc_icc() 488 } cond; in movcc() local 494 cond = (enum icc_type) (pinst.rs1 & 0xf); in movcc() 512 switch (cond) { in movcc()
|
/titanic_44/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_debug.h | 96 #define E1000G_DEBUG_STAT_COND(val, cond) if (cond) (val)++; argument 108 #define E1000G_DEBUG_STAT_COND(val, cond)
|
/titanic_44/usr/src/cmd/mailx/ |
H A D | cmd3.c | 978 if (cond != CANY) { in ifcmd() 982 cond = CANY; in ifcmd() 986 cond = CRCV; in ifcmd() 990 cond = CSEND; in ifcmd() 994 cond = CTTY; in ifcmd() 1013 switch (cond) { in elsecmd() 1019 cond = CRCV; in elsecmd() 1023 cond = CSEND; in elsecmd() 1027 cond = CNOTTY; in elsecmd() 1031 cond = CTTY; in elsecmd() [all …]
|
/titanic_44/usr/src/cmd/geniconvtbl/ |
H A D | itm_comp.y | 350 itm_cond_t *cond; variable 359 cond = malloc_vital(sizeof (itm_cond_t)); 360 $$->obj = cond; 361 cond->type = ITM_COND_BETWEEN; 362 cond->operand.place.itm_ptr = (itm_place2_t)range; 365 &(cond->operand.place), 374 itm_cond_t *cond; variable 379 cond = malloc_vital(sizeof (itm_cond_t)); 380 $$->obj = cond; 381 cond->type = ITM_COND_EXPR; [all …]
|
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | utils.h | 109 #define ASSERT_STATIC(cond) \ argument 112 switch(dummy_zero){case 0:case (cond):;} \ 116 #define ASSERT_STATIC(cond) argument
|
H A D | debug.h | 847 #define ERR_IF(cond)(((cond)==TRUE) ? (dbg_out(NULL, WARN, DBG_ERR_STR" ErrIf failed %s\n",#cond), … argument 848 #define WRN_IF(cond)(((cond)==TRUE) ? (dbg_out(NULL, WARN, DBG_WRN_STR" WrnIf failed %s\n",#cond), … argument 882 #define ERR_IF(cond)(cond==TRUE) argument 883 #define WRN_IF(cond)(cond==TRUE) argument
|
/titanic_44/usr/src/lib/libc/port/threads/ |
H A D | pthr_cond.c | 138 pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr) in pthread_cond_init() argument 157 else if ((error = cond_init((cond_t *)cond, type, NULL)) == 0) in pthread_cond_init() 158 ((cond_t *)cond)->cond_clockid = (uint8_t)clock_id; in pthread_cond_init()
|
/titanic_44/usr/src/cmd/abi/spectrans/parser/ |
H A D | errlog.h | 78 #define assert(cond, string) \ argument 79 if (!(cond)) { \
|
/titanic_44/usr/src/lib/libresolv2/common/isc/ |
H A D | assertions.c | 84 const char *cond, int print_errno) in default_assertion_failed() argument 87 file, line, assertion_type_to_text(type), cond, in default_assertion_failed()
|
/titanic_44/usr/src/cmd/smserverd/ |
H A D | myaudit.c | 66 int cond = 0; in can_audit() local 68 if (auditon(A_GETCOND, (caddr_t)&cond, sizeof (cond))) { in can_audit() 71 auc = cond; in can_audit()
|