start 35 include/crm/common/iso8601.h crm_time_t *start; start 56 include/crm/common/strings_internal.h int pcmk__parse_ll_range(const char *srcstring, long long *start, long long *end); start 48 include/crm/pengine/internal.h pcmk_action_t *start, start 405 lib/common/crmcommon_private.h int pcmk__unpack_duration(const xmlNode *duration, const crm_time_t *start, start 1302 lib/common/iso8601.c period->start = parse_date(period_str); start 1303 lib/common/iso8601.c if (period->start == NULL) { start 1331 lib/common/iso8601.c period->start = crm_time_new(NULL); start 1341 lib/common/iso8601.c if (period->start == NULL) { start 1342 lib/common/iso8601.c period->start = crm_time_subtract(period->end, period->diff); start 1345 lib/common/iso8601.c period->end = crm_time_add(period->start, period->diff); start 1348 lib/common/iso8601.c if (crm_time_check(period->start) == FALSE) { start 1376 lib/common/iso8601.c crm_time_free(period->start); start 397 lib/common/remote.c time_t start; start 406 lib/common/remote.c start = time(NULL); start 416 lib/common/remote.c timeout = timeout_ms - ((time(NULL) - start) * 1000); start 544 lib/common/remote.c time_t start = time(NULL); start 586 lib/common/remote.c remaining_timeout = timeout_ms - ((time(NULL) - start) * 1000); start 594 lib/common/remote.c time_t start; start 609 lib/common/remote.c if (cb_data->start == 0) { start 624 lib/common/remote.c if ((time(NULL) - cb_data->start) < pcmk__timeout_ms2s(cb_data->timeout_ms)) { start 634 lib/common/remote.c if ((time(NULL) - cb_data->start) < pcmk__timeout_ms2s(cb_data->timeout_ms)) { start 737 lib/common/remote.c cb_data->start = 0; start 740 lib/common/remote.c cb_data->start = time(NULL); start 245 lib/common/rules.c pcmk__unpack_duration(const xmlNode *duration, const crm_time_t *start, start 251 lib/common/rules.c if ((start == NULL) || (duration == NULL) start 265 lib/common/rules.c *end = pcmk_copy_time(start); start 295 lib/common/rules.c crm_time_t *start = NULL; start 299 lib/common/rules.c &start) != pcmk_rc_ok) { start 309 lib/common/rules.c crm_time_free(start); start 313 lib/common/rules.c if ((start == NULL) && (end == NULL)) { start 327 lib/common/rules.c int rc = pcmk__unpack_duration(duration, start, &end); start 333 lib/common/rules.c crm_time_free(start); start 339 lib/common/rules.c if ((start != NULL) && (crm_time_compare(now, start) < 0)) { start 340 lib/common/rules.c pcmk__set_time_if_earlier(next_change, start); start 341 lib/common/rules.c crm_time_free(start); start 348 lib/common/rules.c crm_time_free(start); start 360 lib/common/rules.c crm_time_free(start); start 382 lib/common/rules.c crm_time_t *start = NULL; start 385 lib/common/rules.c &start) != pcmk_rc_ok) { start 392 lib/common/rules.c if (start == NULL) { // Not possible with schema validation enabled start 399 lib/common/rules.c if (crm_time_compare(now, start) > 0) { start 400 lib/common/rules.c crm_time_free(start); start 405 lib/common/rules.c crm_time_add_seconds(start, 1); start 406 lib/common/rules.c pcmk__set_time_if_earlier(next_change, start); start 407 lib/common/rules.c crm_time_free(start); start 905 lib/common/strings.c pcmk__parse_ll_range(const char *srcstring, long long *start, long long *end) start 910 lib/common/strings.c pcmk__assert((start != NULL) && (end != NULL)); start 912 lib/common/strings.c *start = PCMK__PARSE_INT_DEFAULT; start 934 lib/common/strings.c rc = scan_ll(srcstring, start, PCMK__PARSE_INT_DEFAULT, &remainder); start 952 lib/common/strings.c *start = PCMK__PARSE_INT_DEFAULT; start 959 lib/common/strings.c *end = *start; start 34 lib/common/tests/rules/pcmk__unpack_duration_test.c crm_time_t *start = crm_time_new("2024-01-01 15:00:00"); start 39 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, start, NULL), EINVAL); start 41 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(NULL, start, NULL), EINVAL); start 42 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(NULL, start, &end), EINVAL); start 45 lib/common/tests/rules/pcmk__unpack_duration_test.c crm_time_free(start); start 53 lib/common/tests/rules/pcmk__unpack_duration_test.c crm_time_t *start = crm_time_new("2024-01-01 15:00:00"); start 56 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, start, &end), EINVAL); start 58 lib/common/tests/rules/pcmk__unpack_duration_test.c crm_time_free(start); start 67 lib/common/tests/rules/pcmk__unpack_duration_test.c crm_time_t *start = crm_time_new("2024-01-01 15:00:00"); start 70 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, start, &end), start 74 lib/common/tests/rules/pcmk__unpack_duration_test.c crm_time_free(start); start 82 lib/common/tests/rules/pcmk__unpack_duration_test.c crm_time_t *start = crm_time_new("2024-01-01 15:00:00"); start 85 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, start, &end), start 89 lib/common/tests/rules/pcmk__unpack_duration_test.c crm_time_free(start); start 97 lib/common/tests/rules/pcmk__unpack_duration_test.c crm_time_t *start = crm_time_new("2024-01-01 15:00:00"); start 101 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, start, &end), pcmk_rc_ok); start 104 lib/common/tests/rules/pcmk__unpack_duration_test.c crm_time_free(start); start 17 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 19 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range(NULL, &start, &end), ENODATA); start 20 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("", &start, &end), ENODATA); start 26 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 29 lib/common/tests/strings/pcmk__parse_ll_range_test.c pcmk__assert_asserts(pcmk__parse_ll_range("1234", &start, NULL)); start 35 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 37 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("1234", &start, &end), pcmk_rc_ok); start 38 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, 1234); start 45 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 47 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("-", &start, &end), pcmk_rc_bad_input); start 48 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, PCMK__PARSE_INT_DEFAULT); start 55 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 57 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("2000-", &start, &end), pcmk_rc_ok); start 58 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, 2000); start 65 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 67 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("-2020", &start, &end), pcmk_rc_ok); start 68 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, PCMK__PARSE_INT_DEFAULT); start 75 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 77 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("2000-2020", &start, &end), pcmk_rc_ok); start 78 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, 2000); start 81 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("2000-2020-2030", &start, &end), pcmk_rc_bad_input); start 87 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 89 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("2000x-", &start, &end), pcmk_rc_bad_input); start 90 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, PCMK__PARSE_INT_DEFAULT); start 93 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(pcmk__parse_ll_range("-x2000", &start, &end), pcmk_rc_bad_input); start 94 lib/common/tests/strings/pcmk__parse_ll_range_test.c assert_int_equal(start, PCMK__PARSE_INT_DEFAULT); start 101 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; start 104 lib/common/tests/strings/pcmk__parse_ll_range_test.c &start, &end), start 107 lib/common/tests/strings/pcmk__parse_ll_range_test.c &start, &end), start 294 lib/common/xpath.c char *start = NULL; start 302 lib/common/xpath.c start = strstr(xpath, patt); start 304 lib/common/xpath.c if (!start) { start 309 lib/common/xpath.c start += strlen(patt); start 310 lib/common/xpath.c start++; start 312 lib/common/xpath.c end = strstr(start, "\'"); start 314 lib/common/xpath.c retval = strndup(start, end-start); start 681 lib/lrmd/lrmd_client.c time_t start = time(NULL); start 699 lib/lrmd/lrmd_client.c remaining_timeout = total_timeout - ((time(NULL) - start) * 1000); start 857 lib/pacemaker/pcmk_output.c clock_t start = va_arg(args, clock_t); start 861 lib/pacemaker/pcmk_output.c (end - start) / (float) CLOCKS_PER_SEC); start 870 lib/pacemaker/pcmk_output.c clock_t start = va_arg(args, clock_t); start 873 lib/pacemaker/pcmk_output.c char *duration = pcmk__ftoa((end - start) / (float) CLOCKS_PER_SEC); start 1109 lib/pacemaker/pcmk_output.c pcmk_action_t *start = NULL; start 1131 lib/pacemaker/pcmk_output.c start = possible_matches->data; start 1135 lib/pacemaker/pcmk_output.c if ((start == NULL) start 1136 lib/pacemaker/pcmk_output.c || !pcmk_is_set(start->flags, pcmk__action_runnable)) { start 1188 lib/pacemaker/pcmk_output.c next, start, NULL); start 1192 lib/pacemaker/pcmk_output.c next, start, NULL); start 1194 lib/pacemaker/pcmk_output.c } else if ((start == NULL) start 1195 lib/pacemaker/pcmk_output.c || pcmk_is_set(start->flags, pcmk__action_optional)) { start 1207 lib/pacemaker/pcmk_output.c } else if (!pcmk_is_set(start->flags, pcmk__action_runnable)) { start 1209 lib/pacemaker/pcmk_output.c reason_op = start; start 1231 lib/pacemaker/pcmk_output.c next, start, NULL); start 1246 lib/pacemaker/pcmk_output.c || ((start != NULL) start 1247 lib/pacemaker/pcmk_output.c && !pcmk_is_set(start->flags, pcmk__action_runnable)))) { start 1256 lib/pacemaker/pcmk_output.c reason_op = start; start 1286 lib/pacemaker/pcmk_output.c next, stop, start); start 1296 lib/pacemaker/pcmk_output.c start, NULL); start 1301 lib/pacemaker/pcmk_output.c next, start, NULL); start 1317 lib/pacemaker/pcmk_output.c start, NULL); start 97 lib/pacemaker/pcmk_result_code.c int start = 0; start 105 lib/pacemaker/pcmk_result_code.c rc = pcmk__result_bounds(type, &start, &end); start 113 lib/pacemaker/pcmk_result_code.c code = start; start 992 lib/pacemaker/pcmk_sched_instances.c pcmk_action_t *start = NULL; start 1007 lib/pacemaker/pcmk_sched_instances.c start = pe__new_rsc_pseudo_action(collective, PCMK_ACTION_START, start 1031 lib/pacemaker/pcmk_sched_instances.c pe__create_clone_notif_pseudo_ops(collective, start, started, stop, start 50 lib/pacemaker/pcmk_sched_migration.c pcmk_action_t *start = NULL; start 58 lib/pacemaker/pcmk_sched_migration.c start = start_action(rsc, rsc->priv->assigned_node, TRUE); start 73 lib/pacemaker/pcmk_sched_migration.c pcmk__set_action_flags(start, pcmk__action_migratable); start 77 lib/pacemaker/pcmk_sched_migration.c pcmk__set_action_flags(start, pcmk__action_pseudo); start 82 lib/pacemaker/pcmk_sched_migration.c migrate_to->needs = start->needs; start 99 lib/pacemaker/pcmk_sched_migration.c migrate_from->needs = start->needs; start 648 lib/pacemaker/pcmk_sched_primitive.c pcmk_action_t *start = NULL; start 653 lib/pacemaker/pcmk_sched_primitive.c start = start_action(rsc, rsc->priv->assigned_node, TRUE); start 654 lib/pacemaker/pcmk_sched_primitive.c pcmk__set_action_flags(start, pcmk__action_always_in_graph); start 844 lib/pacemaker/pcmk_sched_primitive.c pcmk_action_t *start = NULL; start 848 lib/pacemaker/pcmk_sched_primitive.c start = start_action(rsc, rsc->priv->assigned_node, TRUE); start 849 lib/pacemaker/pcmk_sched_primitive.c if (!pcmk_is_set(start->flags, pcmk__action_optional)) { start 1354 lib/pacemaker/pcmk_sched_primitive.c pcmk_action_t *start = NULL; start 1361 lib/pacemaker/pcmk_sched_primitive.c start = start_action(rsc, node, TRUE); start 1363 lib/pacemaker/pcmk_sched_primitive.c pcmk__order_vs_unfence(rsc, node, start, pcmk__ar_first_implies_then); start 1365 lib/pacemaker/pcmk_sched_primitive.c if (pcmk_is_set(start->flags, pcmk__action_runnable) && !optional) { start 1366 lib/pacemaker/pcmk_sched_primitive.c pcmk__clear_action_flags(start, pcmk__action_optional); start 1377 lib/pacemaker/pcmk_sched_primitive.c pcmk__set_action_flags(start, pcmk__action_pseudo); start 1401 lib/pacemaker/pcmk_sched_primitive.c pcmk_action_t *start = (pcmk_action_t *) iter->data; start 1403 lib/pacemaker/pcmk_sched_primitive.c if (!pcmk_is_set(start->flags, pcmk__action_runnable)) { start 784 lib/pacemaker/pcmk_sched_probes.c pcmk_action_t *start = NULL; start 791 lib/pacemaker/pcmk_sched_probes.c start = actions->data; start 795 lib/pacemaker/pcmk_sched_probes.c if (start == NULL) { start 802 lib/pacemaker/pcmk_sched_probes.c for (actions = start->actions_before; actions != NULL; start 818 lib/pacemaker/pcmk_sched_probes.c first->uuid, before->action->uuid, start->uuid); start 827 lib/pacemaker/pcmk_sched_probes.c crm_trace("Not a start op %s for %s", first->uuid, start->uuid); start 834 lib/pacemaker/pcmk_sched_probes.c == pe__const_top_resource(start->rsc, false)) { start 835 lib/pacemaker/pcmk_sched_probes.c crm_trace("Same parent %s for %s", first_rsc->id, start->uuid); start 840 lib/pacemaker/pcmk_sched_probes.c crm_trace("Not a clone %s for %s", first_rsc->id, start->uuid); start 844 lib/pacemaker/pcmk_sched_probes.c crm_debug("Applying %s before %s", first->uuid, start->uuid); start 200 lib/pacemaker/pcmk_sched_recurring.c pcmk_action_t *start) start 211 lib/pacemaker/pcmk_sched_recurring.c if (!pcmk_is_set(rsc->priv->cmds->action_flags(start, NULL), start 214 lib/pacemaker/pcmk_sched_recurring.c key, start->uuid); start 254 lib/pacemaker/pcmk_sched_recurring.c recurring_op_for_active(pcmk_resource_t *rsc, pcmk_action_t *start, start 268 lib/pacemaker/pcmk_sched_recurring.c start); start 328 lib/pacemaker/pcmk_sched_recurring.c if (!pcmk_is_set(start->flags, pcmk__action_runnable)) { start 587 lib/pacemaker/pcmk_sched_recurring.c pcmk_action_t *start = NULL; start 615 lib/pacemaker/pcmk_sched_recurring.c start = start_action(rsc, rsc->priv->assigned_node, TRUE); start 631 lib/pacemaker/pcmk_sched_recurring.c if (start != NULL) { start 632 lib/pacemaker/pcmk_sched_recurring.c recurring_op_for_active(rsc, start, rsc->priv->assigned_node, start 334 lib/pacemaker/pcmk_simulate.c clock_t start = 0; start 341 lib/pacemaker/pcmk_simulate.c start = clock(); start 377 lib/pacemaker/pcmk_simulate.c out->message(out, "profile", xml_file, start, end); start 1217 lib/pengine/clone.c pcmk_action_t *start, pcmk_action_t *started, start 1227 lib/pengine/clone.c start, started); start 627 lib/pengine/pe_notif.c n_data->start = g_list_prepend(n_data->start, entry); start 690 lib/pengine/pe_notif.c if ((n_data->start != NULL) start 694 lib/pengine/pe_notif.c n_data->start = notify_entries_to_strings(n_data->start, start 812 lib/pengine/pe_notif.c pcmk_action_t *start = NULL; start 844 lib/pengine/pe_notif.c if (n_data->start == NULL) { start 912 lib/pengine/pe_notif.c start = find_first_action(rsc->priv->actions, NULL, start 914 lib/pengine/pe_notif.c if (start != NULL) { start 915 lib/pengine/pe_notif.c pcmk_action_t *remote_start = find_remote_start(start); start 933 lib/pengine/pe_notif.c if ((task != pcmk__action_start) || (start == NULL) start 934 lib/pengine/pe_notif.c || pcmk_is_set(start->flags, pcmk__action_optional)) { start 974 lib/pengine/pe_notif.c g_list_free_full(n_data->start, free); start 44 lib/pengine/pe_status_private.h GList *start; /* notify_entry_t* */ start 1053 lib/services/services_linux.c time_t start = time(NULL); start 1125 lib/services/services_linux.c timeout = op->timeout - (time(NULL) - start) * 1000; start 223 tools/iso8601.c char *start = NULL; start 228 tools/iso8601.c start = crm_time_as_string(period->start, opts); start 229 tools/iso8601.c if (start == NULL) { start 235 tools/iso8601.c free(start); start 239 tools/iso8601.c out->info(out, "Period: %s to %s", start, end); start 241 tools/iso8601.c free(start); start 253 tools/iso8601.c char *start = NULL; start 258 tools/iso8601.c start = crm_time_as_string(period->start, opts); start 259 tools/iso8601.c if (start == NULL) { start 265 tools/iso8601.c free(start); start 270 tools/iso8601.c pcmk__output_create_xml_text_node(out, PCMK_XE_START, start); start 273 tools/iso8601.c free(start);