next_change 50 include/crm/common/nvpair.h GHashTable *values, crm_time_t *next_change); next_change 39 include/crm/common/nvpair_internal.h crm_time_t *next_change; next_change 106 include/crm/common/rules.h crm_time_t *next_change); next_change 36 include/crm/common/rules_internal.h crm_time_t *next_change); next_change 38 include/crm/common/rules_internal.h crm_time_t *next_change); next_change 42 include/crm/pengine/rules_compat.h crm_time_t *next_change); next_change 48 include/crm/pengine/rules_compat.h crm_time_t *next_change); next_change 458 lib/common/nvpair.c unpack_data->next_change) != pcmk_rc_ok)) { next_change 486 lib/common/nvpair.c GHashTable *values, crm_time_t *next_change) next_change 498 lib/common/nvpair.c .next_change = next_change, next_change 294 lib/common/rules.c const crm_time_t *now, crm_time_t *next_change) next_change 341 lib/common/rules.c pcmk__set_time_if_earlier(next_change, start); next_change 355 lib/common/rules.c if (next_change != NULL) { next_change 357 lib/common/rules.c pcmk__set_time_if_earlier(next_change, end); next_change 381 lib/common/rules.c const crm_time_t *now, crm_time_t *next_change) next_change 407 lib/common/rules.c pcmk__set_time_if_earlier(next_change, start); next_change 427 lib/common/rules.c const crm_time_t *now, crm_time_t *next_change) next_change 446 lib/common/rules.c pcmk__set_time_if_earlier(next_change, end); next_change 471 lib/common/rules.c const crm_time_t *now, crm_time_t *next_change) next_change 492 lib/common/rules.c rc = evaluate_in_range(date_expression, id, now, next_change); next_change 511 lib/common/rules.c rc = evaluate_gt(date_expression, id, now, next_change); next_change 514 lib/common/rules.c rc = evaluate_lt(date_expression, id, now, next_change); next_change 1254 lib/common/rules.c crm_time_t *next_change) next_change 1263 lib/common/rules.c return pcmk_evaluate_rule(condition, rule_input, next_change); next_change 1273 lib/common/rules.c next_change); next_change 1305 lib/common/rules.c crm_time_t *next_change) next_change 1356 lib/common/rules.c next_change) == pcmk_rc_ok) { next_change 67 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c crm_time_t *next_change = crm_time_new("2024-01-01 20:00:00"); next_change 74 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c &rule_input, values, next_change); next_change 78 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c crm_time_free(next_change); next_change 86 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c crm_time_t *next_change = crm_time_new("2024-01-01 20:00:00"); next_change 95 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c next_change)); next_change 97 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c crm_time_free(next_change); next_change 106 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c crm_time_t *next_change = crm_time_new("2024-11-06 20:00:00"); next_change 114 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c next_change); next_change 121 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c crm_time_free(next_change); next_change 131 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c crm_time_t *next_change = crm_time_new("2024-11-05 20:00:00"); next_change 142 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c next_change); next_change 147 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c assert_int_equal(crm_time_compare(next_change, expected_next_change), 0); next_change 151 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c crm_time_free(next_change); next_change 46 lib/common/tests/rules/pcmk__evaluate_condition_test.c crm_time_t *next_change = crm_time_new_undefined(); next_change 48 lib/common/tests/rules/pcmk__evaluate_condition_test.c assert_int_equal(pcmk__evaluate_condition(NULL, NULL, next_change), EINVAL); next_change 51 lib/common/tests/rules/pcmk__evaluate_condition_test.c assert_int_equal(pcmk__evaluate_condition(xml, NULL, next_change), EINVAL); next_change 54 lib/common/tests/rules/pcmk__evaluate_condition_test.c assert_int_equal(pcmk__evaluate_condition(NULL, &rule_input, next_change), next_change 57 lib/common/tests/rules/pcmk__evaluate_condition_test.c crm_time_free(next_change); next_change 67 lib/common/tests/rules/pcmk__evaluate_condition_test.c crm_time_t *next_change = crm_time_new_undefined(); next_change 69 lib/common/tests/rules/pcmk__evaluate_condition_test.c assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, next_change), next_change 72 lib/common/tests/rules/pcmk__evaluate_condition_test.c crm_time_free(next_change); next_change 130 lib/common/tests/rules/pcmk__evaluate_condition_test.c crm_time_t *next_change = crm_time_new("2024-02-01 14:00:00"); next_change 134 lib/common/tests/rules/pcmk__evaluate_condition_test.c assert_int_equal(pcmk__evaluate_condition(xml, &rule_input, next_change), next_change 136 lib/common/tests/rules/pcmk__evaluate_condition_test.c assert_int_equal(crm_time_compare(next_change, reference), 0); next_change 140 lib/common/tests/rules/pcmk__evaluate_condition_test.c crm_time_free(next_change); next_change 40 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c crm_time_t *next_change = NULL; next_change 44 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c next_change = crm_time_new(next_change_s); next_change 48 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c assert_int_equal(pcmk__evaluate_date_expression(xml, now, next_change), next_change 55 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c assert_int_equal(crm_time_compare(next_change, reference), 0); next_change 57 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c crm_time_free(next_change); next_change 47 lib/common/tests/rules/pcmk_evaluate_rule_test.c crm_time_t *next_change = crm_time_new_undefined(); next_change 49 lib/common/tests/rules/pcmk_evaluate_rule_test.c assert_int_equal(pcmk_evaluate_rule(NULL, NULL, next_change), next_change 53 lib/common/tests/rules/pcmk_evaluate_rule_test.c assert_int_equal(pcmk_evaluate_rule(xml, NULL, next_change), EINVAL); next_change 56 lib/common/tests/rules/pcmk_evaluate_rule_test.c assert_int_equal(pcmk_evaluate_rule(NULL, &rule_input, next_change), next_change 59 lib/common/tests/rules/pcmk_evaluate_rule_test.c crm_time_free(next_change); next_change 73 lib/common/tests/rules/pcmk_evaluate_rule_test.c crm_time_t *next_change = crm_time_new_undefined(); next_change 75 lib/common/tests/rules/pcmk_evaluate_rule_test.c assert_int_equal(pcmk_evaluate_rule(xml, &rule_input, next_change), next_change 78 lib/common/tests/rules/pcmk_evaluate_rule_test.c crm_time_free(next_change); next_change 89 lib/common/tests/rules/pcmk_evaluate_rule_test.c crm_time_t *next_change = crm_time_new_undefined(); next_change 92 lib/common/tests/rules/pcmk_evaluate_rule_test.c assert_int_equal(pcmk_evaluate_rule(rule_xml, &rule_input, next_change), next_change 95 lib/common/tests/rules/pcmk_evaluate_rule_test.c crm_time_free(next_change); next_change 104 lib/common/tests/rules/pcmk_evaluate_rule_test.c crm_time_t *next_change = crm_time_new_undefined(); next_change 107 lib/common/tests/rules/pcmk_evaluate_rule_test.c assert_int_equal(pcmk_evaluate_rule(rule_xml, &rule_input, next_change), next_change 110 lib/common/tests/rules/pcmk_evaluate_rule_test.c crm_time_free(next_change); next_change 194 lib/pacemaker/pcmk_sched_location.c const char *discovery, crm_time_t *next_change, next_change 273 lib/pacemaker/pcmk_sched_location.c next_change) != pcmk_rc_ok) { next_change 366 lib/pacemaker/pcmk_sched_location.c crm_time_t *next_change = crm_time_new_undefined(); next_change 377 lib/pacemaker/pcmk_sched_location.c generate_location_rule(rsc, rule_xml, discovery, next_change, next_change 383 lib/pacemaker/pcmk_sched_location.c if (crm_time_is_defined(next_change)) { next_change 384 lib/pacemaker/pcmk_sched_location.c time_t t = (time_t) crm_time_get_seconds_since_epoch(next_change); next_change 389 lib/pacemaker/pcmk_sched_location.c crm_time_free(next_change); next_change 82 lib/pengine/rules_compat.c crm_time_t *next_change) next_change 91 lib/pengine/rules_compat.c .next_change = next_change, next_change 106 lib/pengine/rules_compat.c crm_time_t *now, crm_time_t *next_change) next_change 117 lib/pengine/rules_compat.c always_first, overwrite, next_change); next_change 703 lib/pengine/utils.c crm_time_t *next_change = NULL; next_change 716 lib/pengine/utils.c next_change = crm_time_new_undefined(); next_change 718 lib/pengine/utils.c next_change); next_change 719 lib/pengine/utils.c if (crm_time_is_defined(next_change)) { next_change 720 lib/pengine/utils.c time_t recheck = (time_t) crm_time_get_seconds_since_epoch(next_change); next_change 724 lib/pengine/utils.c crm_time_free(next_change);