end 109 daemons/execd/remoted_pidone.c char *end = NULL; end 114 daemons/execd/remoted_pidone.c if (find_env_var_name(line, &name, &end) && (*++end == '=')) { end 117 daemons/execd/remoted_pidone.c *end++ = '\0'; end 120 daemons/execd/remoted_pidone.c if ((*end == '\'') || (*end == '"')) { end 121 daemons/execd/remoted_pidone.c quote = end++; end 123 daemons/execd/remoted_pidone.c value = end; end 129 daemons/execd/remoted_pidone.c while (((*end != *quote) || (*(end - 1) == '\\')) end 130 daemons/execd/remoted_pidone.c && (*end != '\0')) { end 131 daemons/execd/remoted_pidone.c end++; end 133 daemons/execd/remoted_pidone.c if (*end == *quote) { end 135 daemons/execd/remoted_pidone.c *end++ = '\0'; end 145 daemons/execd/remoted_pidone.c while ((!isspace(*end) || (*(end - 1) == '\\')) end 146 daemons/execd/remoted_pidone.c && (*end != '\0')) { end 147 daemons/execd/remoted_pidone.c ++end; end 150 daemons/execd/remoted_pidone.c if (end == (line + LINE_MAX - 1)) { end 163 daemons/execd/remoted_pidone.c char *value_end = end; end 165 daemons/execd/remoted_pidone.c while (isspace(*end) && (*end != '\n')) { end 166 daemons/execd/remoted_pidone.c ++end; end 168 daemons/execd/remoted_pidone.c if ((*end == '\n') || (*end == '#')) { end 36 include/crm/common/iso8601.h crm_time_t *end; end 487 include/crm/common/output_internal.h void (*progress) (pcmk__output_t *out, bool end); end 47 include/crm/common/strings_internal.h int pcmk__parse_ll_range(const char *srcstring, long long *start, long long *end); end 16 include/pcmki/pcmki_sched_notif.h pe_action_t *start, pe_action_t *end, end 1132 lib/common/iso8601.c period->end = parse_date(period_str); end 1133 lib/common/iso8601.c if (period->end == NULL) { end 1151 lib/common/iso8601.c period->start = crm_time_subtract(period->end, period->diff); end 1153 lib/common/iso8601.c } else if (period->end == NULL) { end 1154 lib/common/iso8601.c period->end = crm_time_add(period->start, period->diff); end 1162 lib/common/iso8601.c if (crm_time_check(period->end) == FALSE) { end 1186 lib/common/iso8601.c crm_time_free(period->end); end 441 lib/common/options.c char *end = NULL; end 442 lib/common/options.c long number = strtol(value, &end, 10); end 444 lib/common/options.c if (end && (end[0] != '%')) { end 374 lib/common/output_html.c html_progress(pcmk__output_t *out, bool end) { end 256 lib/common/output_log.c log_progress(pcmk__output_t *out, bool end) { end 105 lib/common/output_none.c none_progress(pcmk__output_t *out, bool end) { end 274 lib/common/output_text.c text_progress(pcmk__output_t *out, bool end) { end 280 lib/common/output_text.c if (end) { end 389 lib/common/output_xml.c xml_progress(pcmk__output_t *out, bool end) { end 812 lib/common/strings.c pcmk__parse_ll_range(const char *srcstring, long long *start, long long *end) end 816 lib/common/strings.c CRM_ASSERT(start != NULL && end != NULL); end 819 lib/common/strings.c *end = PCMK__PARSE_INT_DEFAULT; end 830 lib/common/strings.c int rc = scan_ll(srcstring+1, end, PCMK__PARSE_INT_DEFAULT, &remainder); end 847 lib/common/strings.c int rc = scan_ll(remainder+1, end, PCMK__PARSE_INT_DEFAULT, end 862 lib/common/strings.c *end = *start; end 17 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 19 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range(NULL, &start, &end), ==, end 21 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("", &start, &end), ==, end 28 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 30 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("1234", &start, &end), ==, pcmk_rc_ok); end 32 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, 1234); end 38 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 40 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("-", &start, &end), ==, end 43 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, PCMK__PARSE_INT_DEFAULT); end 49 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 51 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("2000-", &start, &end), ==, end 54 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, PCMK__PARSE_INT_DEFAULT); end 60 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 62 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("-2020", &start, &end), ==, end 65 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, 2020); end 71 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 73 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("2000-2020", &start, &end), ==, end 76 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, 2020); end 82 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 84 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("2000x-", &start, &end), ==, end 87 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, PCMK__PARSE_INT_DEFAULT); end 89 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("-x2000", &start, &end), ==, end 92 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, PCMK__PARSE_INT_DEFAULT); end 308 lib/common/xpath.c char *end = NULL; end 325 lib/common/xpath.c end = strstr(start, "\'"); end 326 lib/common/xpath.c CRM_ASSERT(end); end 327 lib/common/xpath.c retval = strndup(start, end-start); end 2198 lib/fencing/st_client.c stonith_key_value_t *p, *end; end 2208 lib/fencing/st_client.c end = head; end 2209 lib/fencing/st_client.c while (end && end->next) { end 2210 lib/fencing/st_client.c end = end->next; end 2213 lib/fencing/st_client.c if (end) { end 2214 lib/fencing/st_client.c end->next = p; end 110 lib/lrmd/lrmd_client.c lrmd_list_t *p, *end; end 115 lib/lrmd/lrmd_client.c end = head; end 116 lib/lrmd/lrmd_client.c while (end && end->next) { end 117 lib/lrmd/lrmd_client.c end = end->next; end 120 lib/lrmd/lrmd_client.c if (end) { end 121 lib/lrmd/lrmd_client.c end->next = p; end 147 lib/lrmd/lrmd_client.c lrmd_key_value_t *p, *end; end 153 lib/lrmd/lrmd_client.c end = head; end 154 lib/lrmd/lrmd_client.c while (end && end->next) { end 155 lib/lrmd/lrmd_client.c end = end->next; end 158 lib/lrmd/lrmd_client.c if (end) { end 159 lib/lrmd/lrmd_client.c end->next = p; end 1685 lib/pacemaker/pcmk_sched_constraints.c pe_action_t ** begin, pe_action_t ** end, pe_action_t ** inv_begin, end 1745 lib/pacemaker/pcmk_sched_constraints.c *end = NULL; end 291 lib/pacemaker/pcmk_sched_notif.c pe_action_t * end, pe_working_set_t * data_set) end 345 lib/pacemaker/pcmk_sched_notif.c if (end) { end 347 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "post", end->task); end 349 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(end->flags, pe_action_optional), end 354 lib/pacemaker/pcmk_sched_notif.c if (pcmk_is_set(end->flags, pe_action_runnable)) { end 364 lib/pacemaker/pcmk_sched_notif.c add_hash_param(n_data->post->meta, "notify_key_operation", end->task); end 367 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "confirmed-post", end->task); end 369 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(end->flags, pe_action_optional), end 374 lib/pacemaker/pcmk_sched_notif.c if (pcmk_is_set(end->flags, pe_action_runnable)) { end 384 lib/pacemaker/pcmk_sched_notif.c add_hash_param(n_data->post_done->meta, "notify_key_operation", end->task); end 386 lib/pacemaker/pcmk_sched_notif.c order_actions(end, n_data->post, pe_order_implies_then); end 390 lib/pacemaker/pcmk_sched_notif.c if (start && end) { end 291 lib/pengine/rules.c crm_time_t *end = crm_time_new_undefined(); end 293 lib/pengine/rules.c crm_time_set(end, start); end 295 lib/pengine/rules.c update_field(end, duration_spec, "years", crm_time_add_years); end 296 lib/pengine/rules.c update_field(end, duration_spec, "months", crm_time_add_months); end 297 lib/pengine/rules.c update_field(end, duration_spec, "weeks", crm_time_add_weeks); end 298 lib/pengine/rules.c update_field(end, duration_spec, "days", crm_time_add_days); end 299 lib/pengine/rules.c update_field(end, duration_spec, "hours", crm_time_add_hours); end 300 lib/pengine/rules.c update_field(end, duration_spec, "minutes", crm_time_add_minutes); end 301 lib/pengine/rules.c update_field(end, duration_spec, "seconds", crm_time_add_seconds); end 303 lib/pengine/rules.c return end; end 1139 lib/pengine/rules.c crm_time_t *end = NULL; end 1160 lib/pengine/rules.c end = crm_time_new(value); end 1163 lib/pengine/rules.c if (start != NULL && end == NULL && duration_spec != NULL) { end 1164 lib/pengine/rules.c end = pe_parse_xml_duration(start, duration_spec); end 1168 lib/pengine/rules.c if ((start == NULL) && (end == NULL)) { end 1173 lib/pengine/rules.c } else if ((end != NULL) && (crm_time_compare(rule_data->now, end) > 0)) { end 1177 lib/pengine/rules.c if (end && next_change) { end 1179 lib/pengine/rules.c crm_time_add_seconds(end, 1); end 1180 lib/pengine/rules.c crm_time_set_if_earlier(next_change, end); end 1202 lib/pengine/rules.c if (end == NULL) { end 1204 lib/pengine/rules.c } else if (crm_time_compare(rule_data->now, end) < 0) { end 1206 lib/pengine/rules.c crm_time_set_if_earlier(next_change, end); end 1213 lib/pengine/rules.c crm_time_free(end); end 1597 lib/pengine/unpack.c const char *end = id + strlen(id) - 1; end 1599 lib/pengine/unpack.c for (const char *s = end; s > id; --s) { end 1613 lib/pengine/unpack.c return (s == end)? s : (s - 1); end 1615 lib/pengine/unpack.c return end; end 1618 lib/pengine/unpack.c return end; end 1636 lib/pengine/unpack.c const char *end = pe_base_name_end(last_rsc_id); end 1639 lib/pengine/unpack.c CRM_ASSERT(end); end 1640 lib/pengine/unpack.c basename = strndup(last_rsc_id, end - last_rsc_id + 1); end 1658 lib/pengine/unpack.c const char *end = pe_base_name_end(last_rsc_id); end 1659 lib/pengine/unpack.c size_t base_name_len = end - last_rsc_id + 1; end 1662 lib/pengine/unpack.c CRM_ASSERT(end); end 855 libltdl/ltdl.c char *end = p+1; end 856 libltdl/ltdl.c while (*end && !isspace((unsigned char) *end)) end 858 libltdl/ltdl.c ++end; end 863 libltdl/ltdl.c char save = *end; end 864 libltdl/ltdl.c *end = 0; /* set a temporary string terminator */ end 869 libltdl/ltdl.c *end = save; end 876 libltdl/ltdl.c p = end; end 906 libltdl/ltdl.c char *end = p+1; end 907 libltdl/ltdl.c while (*end && !isspace ((unsigned char) *end)) end 909 libltdl/ltdl.c ++end; end 915 libltdl/ltdl.c char save = *end; end 916 libltdl/ltdl.c *end = 0; /* set a temporary string terminator */ end 931 libltdl/ltdl.c *end = save; end 933 libltdl/ltdl.c p = end; end 1008 libltdl/ltdl.c const char *end = strrchr (str, '\''); end 1014 libltdl/ltdl.c if (!end || end == str) end 1019 libltdl/ltdl.c tmp = MALLOC (char, end - str); end 1023 libltdl/ltdl.c memcpy(tmp, &str[1], (end - str) - 1); end 1024 libltdl/ltdl.c tmp[(end - str) - 1] = LT_EOS_CHAR; end 1777 libltdl/ltdl.c char *end = 0; end 1787 libltdl/ltdl.c end = dp->d_name + D_NAMLEN(dp); end 1792 libltdl/ltdl.c for (p = end; p -1 > dp->d_name; --p) end 1797 libltdl/ltdl.c end = p; end 1803 libltdl/ltdl.c for (p = end -1; p > dp->d_name; --p) end 1806 libltdl/ltdl.c end = p; end 1812 libltdl/ltdl.c end_offset = end - dp->d_name; end 100 tools/crm_error.c int start, end, width; end 105 tools/crm_error.c end = PCMK_CUSTOM_OFFSET; end 109 tools/crm_error.c end = 256; end 113 tools/crm_error.c for (rc = start; rc < end; rc++) { end 280 tools/crm_mon_curses.c curses_progress(pcmk__output_t *out, bool end) { end 283 tools/crm_mon_curses.c if (end) { end 433 tools/crm_resource_ban.c crm_time_t *end = NULL; end 450 tools/crm_resource_ban.c end = crm_time_new(crm_element_value(date_expr_node, "end")); end 452 tools/crm_resource_ban.c if (crm_time_compare(now, end) == 1) { end 473 tools/crm_resource_ban.c crm_time_free(end); end 696 tools/crm_simulate.c clock_t end; end 725 tools/crm_simulate.c end = clock(); end 726 tools/crm_simulate.c out->message(out, "profile", xml_file, start, end); end 774 tools/crm_simulate.c clock_t end = va_arg(args, clock_t); end 777 tools/crm_simulate.c (end - start) / (float) CLOCKS_PER_SEC); end 787 tools/crm_simulate.c clock_t end = va_arg(args, clock_t); end 789 tools/crm_simulate.c char *duration = pcmk__ftoa((end - start) / (float) CLOCKS_PER_SEC); end 160 tools/ipmiservicelogd.c char *end = serialNumber + strlen(serialNumber) - 1; end 162 tools/ipmiservicelogd.c while (end > serialNumber end 163 tools/ipmiservicelogd.c && (*end == '\n' || *end == '\r' || *end == '\t' || *end == ' ') end 165 tools/ipmiservicelogd.c *end = '\0'; end 166 tools/ipmiservicelogd.c end--; end 101 tools/iso8601.c char *end = crm_time_as_string(dtp->end, flags); end 103 tools/iso8601.c CRM_ASSERT(start != NULL && end != NULL); end 104 tools/iso8601.c do_crm_log(log_level, "Period: %s to %s", start, end); end 106 tools/iso8601.c free(end);