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 43 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 727 lib/common/strings.c pcmk__parse_ll_range(const char *srcstring, long long *start, long long *end) end 731 lib/common/strings.c CRM_ASSERT(start != NULL && end != NULL); end 734 lib/common/strings.c *end = PCMK__PARSE_INT_DEFAULT; end 745 lib/common/strings.c int rc = scan_ll(srcstring+1, end, &remainder); end 761 lib/common/strings.c int rc = scan_ll(remainder+1, end, &more_remainder); end 775 lib/common/strings.c *end = *start; end 8 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 10 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range(NULL, &start, &end), ==, end 12 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("", &start, &end), ==, end 19 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 21 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("1234", &start, &end), ==, pcmk_rc_ok); end 23 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, 1234); end 29 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 31 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("-", &start, &end), ==, end 34 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, PCMK__PARSE_INT_DEFAULT); end 40 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 42 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("2000-", &start, &end), ==, end 45 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, PCMK__PARSE_INT_DEFAULT); end 51 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 53 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("-2020", &start, &end), ==, end 56 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, 2020); end 62 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 64 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("2000-2020", &start, &end), ==, end 67 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, 2020); end 73 lib/common/tests/strings/pcmk__parse_ll_range_test.c long long start, end; end 75 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("2000x-", &start, &end), ==, end 78 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, PCMK__PARSE_INT_DEFAULT); end 80 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(pcmk__parse_ll_range("-x2000", &start, &end), ==, end 83 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_assert_cmpint(end, ==, PCMK__PARSE_INT_DEFAULT); end 2209 lib/fencing/st_client.c stonith_key_value_t *p, *end; end 2219 lib/fencing/st_client.c end = head; end 2220 lib/fencing/st_client.c while (end && end->next) { end 2221 lib/fencing/st_client.c end = end->next; end 2224 lib/fencing/st_client.c if (end) { end 2225 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 1679 lib/pacemaker/pcmk_sched_constraints.c pe_action_t ** begin, pe_action_t ** end, pe_action_t ** inv_begin, end 1739 lib/pacemaker/pcmk_sched_constraints.c *end = NULL; end 289 lib/pacemaker/pcmk_sched_notif.c pe_action_t * end, pe_working_set_t * data_set) end 349 lib/pacemaker/pcmk_sched_notif.c if (end) { end 351 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "post", end->task); end 353 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(end->flags, pe_action_optional), end 359 lib/pacemaker/pcmk_sched_notif.c if (pcmk_is_set(end->flags, pe_action_runnable)) { end 371 lib/pacemaker/pcmk_sched_notif.c add_hash_param(n_data->post->meta, "notify_key_operation", end->task); end 374 lib/pacemaker/pcmk_sched_notif.c key = pcmk__notify_key(rsc->id, "confirmed-post", end->task); end 376 lib/pacemaker/pcmk_sched_notif.c pcmk_is_set(end->flags, pe_action_optional), end 382 lib/pacemaker/pcmk_sched_notif.c if (pcmk_is_set(end->flags, pe_action_runnable)) { end 394 lib/pacemaker/pcmk_sched_notif.c add_hash_param(n_data->post_done->meta, "notify_key_operation", end->task); end 396 lib/pacemaker/pcmk_sched_notif.c order_actions(end, n_data->post, pe_order_implies_then); end 400 lib/pacemaker/pcmk_sched_notif.c if (start && end) { end 311 lib/pengine/rules.c time_fn(end, value_i); \ end 317 lib/pengine/rules.c crm_time_t *end = NULL; end 320 lib/pengine/rules.c end = crm_time_new(NULL); end 321 lib/pengine/rules.c crm_time_set(end, start); end 331 lib/pengine/rules.c return end; end 1178 lib/pengine/rules.c crm_time_t *end = NULL; end 1199 lib/pengine/rules.c end = crm_time_new(value); end 1202 lib/pengine/rules.c if (start != NULL && end == NULL && duration_spec != NULL) { end 1203 lib/pengine/rules.c end = pe_parse_xml_duration(start, duration_spec); end 1207 lib/pengine/rules.c if ((start == NULL) && (end == NULL)) { end 1212 lib/pengine/rules.c } else if ((end != NULL) && (crm_time_compare(rule_data->now, end) > 0)) { end 1216 lib/pengine/rules.c if (end && next_change) { end 1218 lib/pengine/rules.c crm_time_add_seconds(end, 1); end 1219 lib/pengine/rules.c crm_time_set_if_earlier(next_change, end); end 1241 lib/pengine/rules.c if (end == NULL) { end 1243 lib/pengine/rules.c } else if (crm_time_compare(rule_data->now, end) < 0) { end 1245 lib/pengine/rules.c crm_time_set_if_earlier(next_change, end); end 1252 lib/pengine/rules.c crm_time_free(end); end 1539 lib/pengine/unpack.c const char *end = id + strlen(id) - 1; end 1541 lib/pengine/unpack.c for (const char *s = end; s > id; --s) { end 1555 lib/pengine/unpack.c return (s == end)? s : (s - 1); end 1557 lib/pengine/unpack.c return end; end 1560 lib/pengine/unpack.c return end; end 1578 lib/pengine/unpack.c const char *end = pe_base_name_end(last_rsc_id); end 1581 lib/pengine/unpack.c CRM_ASSERT(end); end 1582 lib/pengine/unpack.c basename = strndup(last_rsc_id, end - last_rsc_id + 1); end 1600 lib/pengine/unpack.c const char *end = pe_base_name_end(last_rsc_id); end 1601 lib/pengine/unpack.c size_t base_name_len = end - last_rsc_id + 1; end 1604 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 101 tools/crm_error.c int start, end, width; end 106 tools/crm_error.c end = PCMK_CUSTOM_OFFSET; end 110 tools/crm_error.c end = 256; end 114 tools/crm_error.c for (rc = start; rc < end; rc++) { end 413 tools/crm_resource_ban.c crm_time_t *end = NULL; end 430 tools/crm_resource_ban.c end = crm_time_new(crm_element_value(date_expr_node, "end")); end 432 tools/crm_resource_ban.c if (crm_time_compare(now, end) == 1) { end 453 tools/crm_resource_ban.c crm_time_free(end); 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);