Lines Matching defs:start
34 TransitionRuleType *start;
150 long dst_offset, TransitionRuleType *start,
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)
1337 assert(rule->start != NULL);
1339 *start = rule->start->year_to_timestamp(rule->start, year);
1358 int64_t start, end;
1361 tzrule_transitions(rule, year, &start, &end);
1365 // with fold = 1, it runs from the start of the gap to the beginning of the
1375 start += 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);
1416 start -= rule->std.utcoff_seconds;
1419 if (start < end) {
1420 isdst = (ts >= start) && (ts < end);
1423 isdst = (ts < end) || (ts >= start);
1428 // start of DST.
1435 ambig_start = start;
1436 ambig_end = start - rule->dst_diff;
1451 * std offset[dst[offset],start[/time],end[/time]]
1469 TransitionRuleType *start = NULL;
1499 // DST abbreviation and start and end dates and times.
1529 TransitionRuleType **transitions[2] = {&start, &end};
1557 build_tzrule(std_abbr, dst_abbr, std_offset, dst_offset, start, end, out);
1568 if (start != NULL) {
1569 PyMem_Free(start);
1909 * case `dst_offset` will be ignored and `start` and `end` are expected to be
1916 long dst_offset, TransitionRuleType *start,
1921 rv.start = start;
1956 if (tzrule->start != NULL) {
1957 PyMem_Free(tzrule->start);