expr 228 include/crm/common/logging.h #define CRM_LOG_ASSERT(expr) do { \ expr 229 include/crm/common/logging.h if (!(expr)) { \ expr 236 include/crm/common/logging.h crm_abort(__FILE__, __func__, __LINE__, #expr, \ expr 245 include/crm/common/logging.h #define CRM_CHECK(expr, failure_action) do { \ expr 246 include/crm/common/logging.h if (!(expr)) { \ expr 253 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 22 include/crm/common/results_internal.h #define pcmk__assert(expr) do { \ expr 23 include/crm/common/results_internal.h if (!(expr)) { \ expr 24 include/crm/common/results_internal.h pcmk__abort_as(__FILE__, __func__, __LINE__, #expr); \ expr 33 include/crm/common/rules_internal.h int pcmk__evaluate_condition(xmlNode *expr, const pcmk_rule_input_t *rule_input, expr 192 include/crm/crm_compat.h # define __builtin_expect(expr, result) (expr) expr 195 include/crm/crm_compat.h #define __likely(expr) __builtin_expect(expr, 1) expr 197 include/crm/crm_compat.h #define __unlikely(expr) __builtin_expect(expr, 0) expr 62 include/crm/pengine/rules_compat.h gboolean pe_test_expression(xmlNode *expr, GHashTable *node_hash, expr 68 include/crm/pengine/rules_compat.h gboolean test_expression(xmlNode *expr, GHashTable *node_hash, expr 72 include/crm/pengine/rules_compat.h gboolean pe_test_expression_re(xmlNode *expr, GHashTable *node_hash, expr 77 include/crm/pengine/rules_compat.h gboolean pe_test_expression_full(xmlNode *expr, GHashTable *node_hash, expr 86 include/crm/pengine/rules_compat.h gboolean pe_eval_subexpr(xmlNode *expr, const pe_rule_eval_data_t *rule_data, expr 96 include/crm/pengine/rules_compat.h enum expression_type find_expression_type(xmlNode *expr); expr 397 lib/common/crmcommon_private.h int pcmk__evaluate_rsc_expression(const xmlNode *expr, expr 401 lib/common/crmcommon_private.h int pcmk__evaluate_op_expression(const xmlNode *expr, expr 380 lib/pengine/rules.c pe_test_expression(xmlNode *expr, GHashTable *node_hash, enum rsc_role_e role, expr 398 lib/pengine/rules.c return pcmk__evaluate_condition(expr, &rule_input, expr 403 lib/pengine/rules.c test_expression(xmlNode * expr, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now) expr 405 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, NULL); expr 409 lib/pengine/rules.c pe_test_expression_re(xmlNode * expr, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now, pe_re_match_data_t * re_match_data) expr 416 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, &match_data); expr 420 lib/pengine/rules.c pe_test_expression_full(xmlNode *expr, GHashTable *node_hash, expr 424 lib/pengine/rules.c return pe_test_expression(expr, node_hash, role, now, NULL, match_data); expr 438 lib/pengine/rules.c pe_eval_subexpr(xmlNode *expr, const pe_rule_eval_data_t *rule_data, expr 444 lib/pengine/rules.c return pcmk__evaluate_condition(expr, &rule_input, expr 467 lib/pengine/rules.c find_expression_type(xmlNode *expr) expr 469 lib/pengine/rules.c return pcmk__condition_type(expr); expr 550 maint/gnulib/lib/cdefs.h # define _Static_assert(expr, diagnostic) \ expr 552 maint/gnulib/lib/cdefs.h [!!sizeof (struct { int __error_if_negative: (expr) ? 2 : -1; })] expr 192 maint/gnulib/lib/fts.c # define fts_assert(expr) ((void) (0 && (expr))) expr 194 maint/gnulib/lib/fts.c # define fts_assert(expr) \ expr 197 maint/gnulib/lib/fts.c if (!(expr)) \ expr 182 maint/gnulib/lib/git-merge-changelog.c #define ASSERT(expr) \ expr 185 maint/gnulib/lib/git-merge-changelog.c if (!(expr)) \ expr 124 maint/gnulib/lib/obstack.h # define _OBSTACK_CAST(type, expr) ((type) (expr)) expr 129 maint/gnulib/lib/obstack.h # define _OBSTACK_CAST(type, expr) (expr) expr 2157 maint/gnulib/lib/regcomp.c bin_tree_t *tree, *expr; expr 2166 maint/gnulib/lib/regcomp.c expr = parse_expression (regexp, preg, token, syntax, nest, err); expr 2167 maint/gnulib/lib/regcomp.c if (__glibc_unlikely (*err != REG_NOERROR && expr == NULL)) expr 2173 maint/gnulib/lib/regcomp.c if (tree != NULL && expr != NULL) expr 2175 maint/gnulib/lib/regcomp.c bin_tree_t *newtree = create_tree (dfa, tree, expr, CONCAT); expr 2178 maint/gnulib/lib/regcomp.c postorder (expr, free_tree, NULL); expr 2186 maint/gnulib/lib/regcomp.c tree = expr; expr 54 maint/gnulib/tests/macros.h #define ASSERT(expr) \ expr 57 maint/gnulib/tests/macros.h if (!(expr)) \ expr 60 maint/gnulib/tests/macros.h __FILE__, __LINE__, #expr); \ expr 69 maint/gnulib/tests/macros.h #define ASSERT_NO_STDIO(expr) \ expr 72 maint/gnulib/tests/macros.h if (!(expr)) \ expr 78 maint/gnulib/tests/macros.h WRITE_TO_STDERR (#expr); \ expr 33 maint/gnulib/tests/uninorm/test-u32-normalize-big.c #define ASSERT_WITH_LINE(expr, file, line) \ expr 36 maint/gnulib/tests/uninorm/test-u32-normalize-big.c if (!(expr)) \ expr 105 tools/crm_resource_ban.c xmlNode *expr = pcmk__xe_create(rule, PCMK_XE_EXPRESSION); expr 111 tools/crm_resource_ban.c crm_xml_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 crm_xml_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 crm_xml_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 crm_xml_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);