expr 196 include/crm/common/logging.h #define CRM_LOG_ASSERT(expr) do { \ expr 197 include/crm/common/logging.h if (!(expr)) { \ expr 204 include/crm/common/logging.h crm_abort(__FILE__, __func__, __LINE__, #expr, \ expr 213 include/crm/common/logging.h #define CRM_CHECK(expr, failure_action) do { \ expr 214 include/crm/common/logging.h if (!(expr)) { \ expr 221 include/crm/common/logging.h crm_abort(__FILE__, __func__, __LINE__, #expr, \ expr 28 include/crm/common/results_compat.h #define CRM_ASSERT(expr) do { \ expr 29 include/crm/common/results_compat.h if (!(expr)) { \ expr 30 include/crm/common/results_compat.h crm_abort(__FILE__, __func__, __LINE__, #expr, TRUE, FALSE); \ expr 30 include/crm/common/results_internal.h #define pcmk__assert(expr) do { \ expr 31 include/crm/common/results_internal.h if (!(expr)) { \ expr 32 include/crm/common/results_internal.h pcmk__abort_as(__FILE__, __func__, __LINE__, #expr); \ expr 37 include/crm/common/rules_internal.h int pcmk__evaluate_condition(xmlNode *expr, const pcmk_rule_input_t *rule_input, expr 416 lib/common/crmcommon_private.h int pcmk__evaluate_rsc_expression(const xmlNode *expr, expr 420 lib/common/crmcommon_private.h int pcmk__evaluate_op_expression(const xmlNode *expr, expr 105 tools/crm_resource_ban.c xmlNode *expr = pcmk__xe_create(rule, PCMK_XE_EXPRESSION); expr 111 tools/crm_resource_ban.c pcmk__xe_set_id(expr, "cli-ban-%s-on-%s-expr", rsc_id, host); expr 112 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_ATTRIBUTE, CRM_ATTR_UNAME); expr 113 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_OPERATION, PCMK_VALUE_EQ); expr 114 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_VALUE, host); expr 115 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_TYPE, PCMK_VALUE_STRING); expr 117 tools/crm_resource_ban.c expr = pcmk__xe_create(rule, PCMK_XE_DATE_EXPRESSION); expr 118 tools/crm_resource_ban.c pcmk__xe_set_id(expr, "cli-ban-%s-on-%s-lifetime", rsc_id, host); expr 119 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_OPERATION, PCMK_VALUE_LT); expr 120 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_END, later_s); expr 185 tools/crm_resource_ban.c xmlNode *expr = pcmk__xe_create(rule, PCMK_XE_EXPRESSION); expr 191 tools/crm_resource_ban.c pcmk__xe_set_id(expr, "cli-prefer-expr-%s", rsc_id); expr 192 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_ATTRIBUTE, CRM_ATTR_UNAME); expr 193 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_OPERATION, PCMK_VALUE_EQ); expr 194 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_VALUE, host); expr 195 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_TYPE, PCMK_VALUE_STRING); expr 197 tools/crm_resource_ban.c expr = pcmk__xe_create(rule, PCMK_XE_DATE_EXPRESSION); expr 198 tools/crm_resource_ban.c pcmk__xe_set_id(expr, "cli-prefer-lifetime-end-%s", rsc_id); expr 199 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_OPERATION, PCMK_VALUE_LT); expr 200 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_END, later_s);