start              35 include/crm/common/iso8601.h     crm_time_t *start;
start              47 include/crm/common/strings_internal.h int pcmk__parse_ll_range(const char *srcstring, long long *start, long long *end);
start             203 include/crm/pengine/internal.h     GList *start;             /* notify_entry_t*  */
start              22 include/crm/pengine/rules_internal.h crm_time_t *pe_parse_xml_duration(crm_time_t * start, xmlNode * duration_spec);
start              16 include/pcmki/pcmki_sched_notif.h                                                pe_action_t *start, pe_action_t *end,
start            1111 lib/common/iso8601.c         period->start = parse_date(period_str);
start            1112 lib/common/iso8601.c         if (period->start == NULL) {
start            1140 lib/common/iso8601.c         period->start = crm_time_new(NULL);
start            1150 lib/common/iso8601.c     if (period->start == NULL) {
start            1151 lib/common/iso8601.c         period->start = crm_time_subtract(period->end, period->diff);
start            1154 lib/common/iso8601.c         period->end = crm_time_add(period->start, period->diff);
start            1157 lib/common/iso8601.c     if (crm_time_check(period->start) == FALSE) {
start            1185 lib/common/iso8601.c         crm_time_free(period->start);
start             638 lib/common/remote.c     time_t start;
start             647 lib/common/remote.c     start = time(NULL);
start             657 lib/common/remote.c             timeout = timeout_ms - ((time(NULL) - start) * 1000);
start             794 lib/common/remote.c     time_t start = time(NULL);
start             836 lib/common/remote.c         remaining_timeout = timeout_ms - ((time(NULL) - start) * 1000);
start             844 lib/common/remote.c     time_t start;
start             859 lib/common/remote.c     if (cb_data->start == 0) {
start             874 lib/common/remote.c             if ((time(NULL) - cb_data->start) < (cb_data->timeout_ms / 1000)) {
start             884 lib/common/remote.c         if ((time(NULL) - cb_data->start) < (cb_data->timeout_ms / 1000)) {
start             987 lib/common/remote.c         cb_data->start = 0;
start             990 lib/common/remote.c         cb_data->start = time(NULL);
start             812 lib/common/strings.c pcmk__parse_ll_range(const char *srcstring, long long *start, long long *end)
start             816 lib/common/strings.c     CRM_ASSERT(start != NULL && end != NULL);
start             818 lib/common/strings.c     *start = PCMK__PARSE_INT_DEFAULT;
start             839 lib/common/strings.c     if (scan_ll(srcstring, start, PCMK__PARSE_INT_DEFAULT,
start             855 lib/common/strings.c         *start = PCMK__PARSE_INT_DEFAULT;
start             862 lib/common/strings.c         *end = *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     g_assert_cmpint(pcmk__parse_ll_range(NULL, &start, &end), ==,
start              21 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(pcmk__parse_ll_range("", &start, &end), ==,
start              28 lib/common/tests/strings/pcmk__parse_ll_range_test.c     long long start, end;
start              30 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(pcmk__parse_ll_range("1234", &start, &end), ==, pcmk_rc_ok);
start              31 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(start, ==, 1234);
start              38 lib/common/tests/strings/pcmk__parse_ll_range_test.c     long long start, end;
start              40 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(pcmk__parse_ll_range("-", &start, &end), ==,
start              42 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(start, ==, PCMK__PARSE_INT_DEFAULT);
start              49 lib/common/tests/strings/pcmk__parse_ll_range_test.c     long long start, end;
start              51 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(pcmk__parse_ll_range("2000-", &start, &end), ==,
start              53 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(start, ==, 2000);
start              60 lib/common/tests/strings/pcmk__parse_ll_range_test.c     long long start, end;
start              62 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(pcmk__parse_ll_range("-2020", &start, &end), ==,
start              64 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(start, ==, PCMK__PARSE_INT_DEFAULT);
start              71 lib/common/tests/strings/pcmk__parse_ll_range_test.c     long long start, end;
start              73 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(pcmk__parse_ll_range("2000-2020", &start, &end), ==,
start              75 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(start, ==, 2000);
start              82 lib/common/tests/strings/pcmk__parse_ll_range_test.c     long long start, end;
start              84 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(pcmk__parse_ll_range("2000x-", &start, &end), ==,
start              86 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(start, ==, PCMK__PARSE_INT_DEFAULT);
start              89 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(pcmk__parse_ll_range("-x2000", &start, &end), ==,
start              91 lib/common/tests/strings/pcmk__parse_ll_range_test.c     g_assert_cmpint(start, ==, PCMK__PARSE_INT_DEFAULT);
start            1318 lib/common/xml.c replace_text(char *text, int start, int *length, const char *replace)
start            1326 lib/common/xml.c     for (lpc = (*length) - 1; lpc > (start + offset); lpc--) {
start            1330 lib/common/xml.c     memcpy(text + start, replace, offset + 1);
start             307 lib/common/xpath.c     char *start = NULL;
start             315 lib/common/xpath.c     start = strstr(xpath, patt);
start             317 lib/common/xpath.c     if (!start) {
start             322 lib/common/xpath.c     start += strlen(patt);
start             323 lib/common/xpath.c     start++;
start             325 lib/common/xpath.c     end = strstr(start, "\'");
start             327 lib/common/xpath.c     retval = strndup(start, end-start);
start             617 lib/lrmd/lrmd_client.c     time_t start = time(NULL);
start             635 lib/lrmd/lrmd_client.c                 remaining_timeout = total_timeout - ((time(NULL) - start) * 1000);
start             856 lib/pacemaker/pcmk_output.c     pe_action_t *start = NULL;
start             875 lib/pacemaker/pcmk_output.c         start = possible_matches->data;
start             879 lib/pacemaker/pcmk_output.c     if ((start == NULL) || !pcmk_is_set(start->flags, pe_action_runnable)) {
start             915 lib/pacemaker/pcmk_output.c                               next, start, NULL);
start             919 lib/pacemaker/pcmk_output.c                               next, start, NULL);
start             921 lib/pacemaker/pcmk_output.c         } else if (start == NULL || pcmk_is_set(start->flags, pe_action_optional)) {
start             932 lib/pacemaker/pcmk_output.c         } else if (!pcmk_is_set(start->flags, pe_action_runnable)) {
start             934 lib/pacemaker/pcmk_output.c                               NULL, stop, (stop && stop->reason)? stop : start);
start             948 lib/pacemaker/pcmk_output.c                               next, start, NULL);
start             958 lib/pacemaker/pcmk_output.c            || (start && !pcmk_is_set(start->flags, pe_action_runnable)))) {
start             978 lib/pacemaker/pcmk_output.c                              stop_op, (stop_op && stop_op->reason)? stop_op : start) == pcmk_rc_ok) {
start             989 lib/pacemaker/pcmk_output.c                           next, stop, start);
start             999 lib/pacemaker/pcmk_output.c                           start, NULL);
start            1003 lib/pacemaker/pcmk_output.c                           next, start, NULL);
start            1018 lib/pacemaker/pcmk_output.c                           start, NULL);
start            2707 lib/pacemaker/pcmk_sched_allocate.c         pe_action_t *start = NULL;
start            2714 lib/pacemaker/pcmk_sched_allocate.c             start = actions->data;
start            2718 lib/pacemaker/pcmk_sched_allocate.c         if(start == NULL) {
start            2725 lib/pacemaker/pcmk_sched_allocate.c         for (actions = start->actions_before; actions != NULL; actions = actions->next) {
start            2737 lib/pacemaker/pcmk_sched_allocate.c                     crm_trace("Testing %s -> %s (%p) for %s", first->uuid, before->action->uuid, before->action->rsc, start->uuid);
start            2745 lib/pacemaker/pcmk_sched_allocate.c                 crm_trace("Not a start op %s for %s", first->uuid, start->uuid);
start            2751 lib/pacemaker/pcmk_sched_allocate.c             } else if(uber_parent(first_rsc) == uber_parent(start->rsc)) {
start            2752 lib/pacemaker/pcmk_sched_allocate.c                 crm_trace("Same parent %s for %s", first_rsc->id, start->uuid);
start            2756 lib/pacemaker/pcmk_sched_allocate.c                 crm_trace("Not a clone %s for %s", first_rsc->id, start->uuid);
start            2760 lib/pacemaker/pcmk_sched_allocate.c             crm_err("Applying %s before %s %d", first->uuid, start->uuid, uber_parent(first_rsc)->variant);
start             859 lib/pacemaker/pcmk_sched_clone.c     pe_action_t *start = NULL;
start             886 lib/pacemaker/pcmk_sched_clone.c         start = find_rsc_action(child, RSC_START, active_only, NULL);
start             887 lib/pacemaker/pcmk_sched_clone.c         if (start) {
start             890 lib/pacemaker/pcmk_sched_clone.c                 order_actions(last_start, start, pe_order_optional);
start             892 lib/pacemaker/pcmk_sched_clone.c             last_start = start;
start             922 lib/pacemaker/pcmk_sched_clone.c     pe_action_t *start = NULL;
start             943 lib/pacemaker/pcmk_sched_clone.c     start = create_pseudo_resource_op(rsc, RSC_START, !child_starting, TRUE, data_set);
start             952 lib/pacemaker/pcmk_sched_clone.c         *start_notify = create_notification_boundaries(rsc, RSC_START, start, started, data_set);
start             511 lib/pacemaker/pcmk_sched_graph.c         pe_action_t *start = find_first_action(child->actions, NULL, RSC_START, NULL);
start             512 lib/pacemaker/pcmk_sched_graph.c         if ((start == NULL) || pcmk_is_set(start->flags, pe_action_runnable)) {
start             240 lib/pacemaker/pcmk_sched_group.c         int start = pe_order_implies_then | pe_order_runnable_left;
start             280 lib/pacemaker/pcmk_sched_group.c             order_start_start(rsc, child_rsc, start | pe_order_implies_first_printed);
start             283 lib/pacemaker/pcmk_sched_group.c                               start | pe_order_implies_first_printed, data_set);
start             287 lib/pacemaker/pcmk_sched_group.c             order_start_start(last_rsc, child_rsc, start);
start             291 lib/pacemaker/pcmk_sched_group.c                 new_rsc_order(last_rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, start, data_set);
start              30 lib/pacemaker/pcmk_sched_native.c static void Recurring(pe_resource_t *rsc, pe_action_t *start, pe_node_t *node,
start              32 lib/pacemaker/pcmk_sched_native.c static void RecurringOp(pe_resource_t *rsc, pe_action_t *start, pe_node_t *node,
start              34 lib/pacemaker/pcmk_sched_native.c static void Recurring_Stopped(pe_resource_t *rsc, pe_action_t *start, pe_node_t *node,
start              36 lib/pacemaker/pcmk_sched_native.c static void RecurringOp_Stopped(pe_resource_t *rsc, pe_action_t *start, pe_node_t *node,
start             710 lib/pacemaker/pcmk_sched_native.c RecurringOp(pe_resource_t * rsc, pe_action_t * start, pe_node_t * node,
start             762 lib/pacemaker/pcmk_sched_native.c     if (start != NULL) {
start             764 lib/pacemaker/pcmk_sched_native.c                      pcmk_is_set(start->flags, pe_action_optional)? "optional" : "mandatory",
start             765 lib/pacemaker/pcmk_sched_native.c                      start->uuid);
start             766 lib/pacemaker/pcmk_sched_native.c         is_optional = (rsc->cmds->action_flags(start, NULL) & pe_action_optional);
start             844 lib/pacemaker/pcmk_sched_native.c     if ((start == NULL) || !pcmk_is_set(start->flags, pe_action_runnable)) {
start             889 lib/pacemaker/pcmk_sched_native.c Recurring(pe_resource_t * rsc, pe_action_t * start, pe_node_t * node, pe_working_set_t * data_set)
start             900 lib/pacemaker/pcmk_sched_native.c                 RecurringOp(rsc, start, node, operation, data_set);
start             907 lib/pacemaker/pcmk_sched_native.c RecurringOp_Stopped(pe_resource_t * rsc, pe_action_t * start, pe_node_t * node,
start            1100 lib/pacemaker/pcmk_sched_native.c Recurring_Stopped(pe_resource_t * rsc, pe_action_t * start, pe_node_t * node, pe_working_set_t * data_set)
start            1111 lib/pacemaker/pcmk_sched_native.c                 RecurringOp_Stopped(rsc, start, node, operation, data_set);
start            1122 lib/pacemaker/pcmk_sched_native.c     pe_action_t *start = NULL;
start            1128 lib/pacemaker/pcmk_sched_native.c     start = start_action(rsc, chosen, TRUE);
start            1141 lib/pacemaker/pcmk_sched_native.c         pe__set_action_flags(start, pe_action_migrate_runnable);
start            1145 lib/pacemaker/pcmk_sched_native.c         pe__set_action_flags(start, pe_action_pseudo);
start            1150 lib/pacemaker/pcmk_sched_native.c             migrate_from->needs = start->needs;
start            1159 lib/pacemaker/pcmk_sched_native.c             migrate_to->needs = start->needs;
start            1209 lib/pacemaker/pcmk_sched_native.c     pe_action_t *start = NULL;
start            1313 lib/pacemaker/pcmk_sched_native.c         start = start_action(rsc, chosen, TRUE);
start            1314 lib/pacemaker/pcmk_sched_native.c         pe__set_action_flags(start, pe_action_print_always);
start            1342 lib/pacemaker/pcmk_sched_native.c         start = start_action(rsc, chosen, TRUE);
start            1343 lib/pacemaker/pcmk_sched_native.c         if (!pcmk_is_set(start->flags, pe_action_optional)) {
start            1406 lib/pacemaker/pcmk_sched_native.c         start = start_action(rsc, chosen, TRUE);
start            1407 lib/pacemaker/pcmk_sched_native.c         Recurring(rsc, start, chosen, data_set);
start            1408 lib/pacemaker/pcmk_sched_native.c         Recurring_Stopped(rsc, start, chosen, data_set);
start            2513 lib/pacemaker/pcmk_sched_native.c     pe_action_t *start = NULL;
start            2517 lib/pacemaker/pcmk_sched_native.c     start = start_action(rsc, next, TRUE);
start            2519 lib/pacemaker/pcmk_sched_native.c     order_after_unfencing(rsc, next, start, pe_order_implies_then, data_set);
start            2521 lib/pacemaker/pcmk_sched_native.c     if (pcmk_is_set(start->flags, pe_action_runnable) && !optional) {
start            2522 lib/pacemaker/pcmk_sched_native.c         pe__clear_action_flags(start, pe_action_optional);
start            2543 lib/pacemaker/pcmk_sched_native.c         pe_action_t *start = (pe_action_t *) gIter->data;
start            2545 lib/pacemaker/pcmk_sched_native.c         if (!pcmk_is_set(start->flags, pe_action_runnable)) {
start             290 lib/pacemaker/pcmk_sched_notif.c create_notification_boundaries(pe_resource_t * rsc, const char *action, pe_action_t * start,
start             312 lib/pacemaker/pcmk_sched_notif.c     if (start) {
start             314 lib/pacemaker/pcmk_sched_notif.c         key = pcmk__notify_key(rsc->id, "pre", start->task);
start             317 lib/pacemaker/pcmk_sched_notif.c                           pcmk_is_set(start->flags, pe_action_optional),
start             325 lib/pacemaker/pcmk_sched_notif.c         add_hash_param(n_data->pre->meta, "notify_key_operation", start->task);
start             328 lib/pacemaker/pcmk_sched_notif.c         key = pcmk__notify_key(rsc->id, "confirmed-pre", start->task);
start             330 lib/pacemaker/pcmk_sched_notif.c                                          pcmk_is_set(start->flags, pe_action_optional),
start             339 lib/pacemaker/pcmk_sched_notif.c         add_hash_param(n_data->pre_done->meta, "notify_key_operation", start->task);
start             341 lib/pacemaker/pcmk_sched_notif.c         order_actions(n_data->pre_done, start, pe_order_optional);
start             390 lib/pacemaker/pcmk_sched_notif.c     if (start && end) {
start             478 lib/pacemaker/pcmk_sched_notif.c                         n_data->start = g_list_prepend(n_data->start, entry);
start             535 lib/pacemaker/pcmk_sched_notif.c     if ((n_data->start != NULL)
start             539 lib/pacemaker/pcmk_sched_notif.c     n_data->start = expand_list(n_data->start, &rsc_list, &node_list);
start             641 lib/pacemaker/pcmk_sched_notif.c     pe_action_t *start = NULL;
start             679 lib/pacemaker/pcmk_sched_notif.c             if (n_data->start == NULL) {
start             710 lib/pacemaker/pcmk_sched_notif.c     start = find_first_action(rsc->actions, NULL, RSC_START, NULL);
start             745 lib/pacemaker/pcmk_sched_notif.c             if (start) {
start             746 lib/pacemaker/pcmk_sched_notif.c                 pe_action_t *remote_start = find_remote_start(start);
start             758 lib/pacemaker/pcmk_sched_notif.c             if ((task != start_rsc) || (start == NULL)
start             759 lib/pacemaker/pcmk_sched_notif.c                 || pcmk_is_set(start->flags, pe_action_optional)) {
start             776 lib/pacemaker/pcmk_sched_notif.c     g_list_free_full(n_data->start, free);
start             289 lib/pengine/rules.c pe_parse_xml_duration(crm_time_t * start, xmlNode * duration_spec)
start             293 lib/pengine/rules.c     crm_time_set(end, start);
start            1138 lib/pengine/rules.c     crm_time_t *start = NULL;
start            1156 lib/pengine/rules.c         start = crm_time_new(value);
start            1163 lib/pengine/rules.c     if (start != NULL && end == NULL && duration_spec != NULL) {
start            1164 lib/pengine/rules.c         end = pe_parse_xml_duration(start, duration_spec);
start            1168 lib/pengine/rules.c         if ((start == NULL) && (end == NULL)) {
start            1170 lib/pengine/rules.c         } else if ((start != NULL) && (crm_time_compare(rule_data->now, start) < 0)) {
start            1172 lib/pengine/rules.c             crm_time_set_if_earlier(next_change, start);
start            1189 lib/pengine/rules.c         if (start == NULL) {
start            1191 lib/pengine/rules.c         } else if (crm_time_compare(rule_data->now, start) > 0) {
start            1197 lib/pengine/rules.c             crm_time_add_seconds(start, 1);
start            1198 lib/pengine/rules.c             crm_time_set_if_earlier(next_change, start);
start            1212 lib/pengine/rules.c     crm_time_free(start);
start             768 lib/services/services_linux.c     time_t start = -1;
start             785 lib/services/services_linux.c     start = time(NULL);
start             825 lib/services/services_linux.c         timeout = op->timeout - (time(NULL) - start) * 1000;
start              88 lib/services/services_nagios.c     int start = 0, length = 0, read_len = 0;
start              99 lib/services/services_nagios.c     start = ftell(file_strm);
start             102 lib/services/services_nagios.c     fseek(file_strm, 0L, start);
start             105 lib/services/services_nagios.c     CRM_ASSERT(start == ftell(file_strm));
start             100 tools/crm_error.c         int start, end, width;
start             104 tools/crm_error.c             start = pcmk_rc_error - 256;
start             108 tools/crm_error.c             start = 0;
start             113 tools/crm_error.c         for (rc = start; rc < end; rc++) {
start             695 tools/crm_simulate.c     clock_t start = 0;
start             699 tools/crm_simulate.c     start = clock();
start             726 tools/crm_simulate.c     out->message(out, "profile", xml_file, start, end);
start             773 tools/crm_simulate.c     clock_t start = va_arg(args, clock_t);
start             777 tools/crm_simulate.c                    (end - start) / (float) CLOCKS_PER_SEC);
start             786 tools/crm_simulate.c     clock_t start = va_arg(args, clock_t);
start             789 tools/crm_simulate.c     char *duration = pcmk__ftoa((end - start) / (float) CLOCKS_PER_SEC);
start             100 tools/iso8601.c     char *start = crm_time_as_string(dtp->start, flags);
start             103 tools/iso8601.c     CRM_ASSERT(start != NULL && end != NULL);
start             104 tools/iso8601.c     do_crm_log(log_level, "Period: %s to %s", start, end);
start             105 tools/iso8601.c     free(start);