Lines Matching refs:end

21 	char *end;
23 time_sec = strtoul(str, &end, 10);
24 if (*end != '.' && *end != '\0')
27 if (*end == '.') {
31 if (strlen(++end) > 9)
34 strncpy(nsec_buf, end, 9);
41 time_nsec = strtoul(nsec_buf, &end, 10);
42 if (*end != '\0')
60 (parse_nsec_time(end_str, &ptime->end) != 0)) {
67 static int split_start_end(char **start, char **end, const char *ostr, char ch)
89 *end = end_str;
104 ptime->end = 0;
110 /* make sure end time is after start time if it was given */
111 if (rc == 0 && ptime->end && ptime->end < ptime->start)
115 pr_debug("end time %" PRIu64 "\n", ptime->end);
167 if (ptime[i].end >= ptime[i + 1].start) {
200 double end_pcnt, u64 start, u64 end)
202 u64 total = end - start;
210 ptime->end = start + round(end_pcnt * total);
212 if (ptime->end > ptime->start && ptime->end != end)
213 ptime->end -= 1;
219 u64 start, u64 end)
250 return set_percent_time(ptime, start_pcnt, end_pcnt, start, end);
254 u64 start, u64 end)
276 return set_percent_time(ptime, start_pcnt, end_pcnt, start, end);
280 u64 start, u64 end);
283 const char *ostr, u64 start, u64 end,
306 ret = (func)(p1, &ptime_buf[i], start, end);
313 pr_debug("end time %d: %" PRIu64 "\n", i, ptime_buf[i].end);
328 const char *ostr, u64 start, u64 end, char *c)
350 ret = percent_slash_split(str, ptime_buf, start, end);
359 const char *ostr, u64 start, u64 end)
375 end, percent_slash_split);
381 end, percent_dash_split);
386 return one_percent_convert(ptime_buf, ostr, start, end, c);
427 (ptime->end && timestamp > ptime->end)) {
447 * start/end of multiple time ranges must be valid.
453 (timestamp <= ptime->end || !ptime->end)) {
503 ptime_range[i].end += session->evlist->first_sample_time;