Lines Matching defs:end
35 TransitionRuleType *end;
151 TransitionRuleType *end, _tzrule *out);
808 goto end;
813 goto end;
818 goto end;
820 end:
1203 // occurrence of `d`", so now we just check if we over-shot the end of the
1333 /* Calculate the start and end rules for a _tzrule in the given year. */
1335 tzrule_transitions(_tzrule *rule, int year, int64_t *start, int64_t *end)
1338 assert(rule->end != NULL);
1340 *end = rule->end->year_to_timestamp(rule->end, year);
1358 int64_t start, end;
1361 tzrule_transitions(rule, year, &start, &end);
1364 // offset starts at the end of the gap and ends at the end of the fold;
1372 end -= rule->dst_diff;
1378 if (start < end) {
1379 isdst = (ts >= start) && (ts < end);
1382 isdst = (ts < end) || (ts >= start);
1413 int64_t start, end;
1415 tzrule_transitions(rule, year, &start, &end);
1417 end -= rule->dst.utcoff_seconds;
1419 if (start < end) {
1420 isdst = (ts >= start) && (ts < end);
1423 isdst = (ts < end) || (ts >= start);
1426 // For positive DST, the ambiguous period is one dst_diff after the end of
1431 ambig_start = end;
1432 ambig_end = end + rule->dst_diff;
1451 * std offset[dst[offset],start[/time],end[/time]]
1470 TransitionRuleType *end = NULL;
1499 // DST abbreviation and start and end dates and times.
1529 TransitionRuleType **transitions[2] = {&start, &end};
1551 "Extraneous characters at end of TZ string: %R",
1557 build_tzrule(std_abbr, dst_abbr, std_offset, dst_offset, start, end, out);
1572 if (end != NULL) {
1573 PyMem_Free(end);
1737 // does not include the ',' at the end of the first rule.
1909 * case `dst_offset` will be ignored and `start` and `end` are expected to be
1917 TransitionRuleType *end, _tzrule *out)
1922 rv.end = end;
1960 if (tzrule->end != NULL) {
1961 PyMem_Free(tzrule->end);
2027 // If there are time zones we didn't find a value for, we'll end up