• Home
  • Raw
  • Download

Lines Matching refs:transIdx

450 OlsonTimeZone::transitionTimeInSeconds(int16_t transIdx) const {  in transitionTimeInSeconds()
451 U_ASSERT(transIdx >= 0 && transIdx < transitionCount()); in transitionTimeInSeconds()
453 if (transIdx < transitionCountPre32) { in transitionTimeInSeconds()
454 return (((int64_t)((uint32_t)transitionTimesPre32[transIdx << 1])) << 32) in transitionTimeInSeconds()
455 | ((int64_t)((uint32_t)transitionTimesPre32[(transIdx << 1) + 1])); in transitionTimeInSeconds()
458 transIdx -= transitionCountPre32; in transitionTimeInSeconds()
459 if (transIdx < transitionCount32) { in transitionTimeInSeconds()
460 return (int64_t)transitionTimes32[transIdx]; in transitionTimeInSeconds()
463 transIdx -= transitionCount32; in transitionTimeInSeconds()
464 return (((int64_t)((uint32_t)transitionTimesPost32[transIdx << 1])) << 32) in transitionTimeInSeconds()
465 | ((int64_t)((uint32_t)transitionTimesPost32[(transIdx << 1) + 1])); in transitionTimeInSeconds()
493 int16_t transIdx; in getHistoricalOffset() local
494 for (transIdx = transCount - 1; transIdx >= 0; transIdx--) { in getHistoricalOffset()
495 int64_t transition = transitionTimeInSeconds(transIdx); in getHistoricalOffset()
498 int32_t offsetBefore = zoneOffsetAt(transIdx - 1); in getHistoricalOffset()
499 UBool dstBefore = dstOffsetAt(transIdx - 1) != 0; in getHistoricalOffset()
501 int32_t offsetAfter = zoneOffsetAt(transIdx); in getHistoricalOffset()
502 UBool dstAfter = dstOffsetAt(transIdx) != 0; in getHistoricalOffset()
544 rawoff = rawOffsetAt(transIdx) * U_MILLIS_PER_SECOND; in getHistoricalOffset()
545 dstoff = dstOffsetAt(transIdx) * U_MILLIS_PER_SECOND; in getHistoricalOffset()