• Home
  • Raw
  • Download

Lines Matching refs:transIdx

448 OlsonTimeZone::transitionTimeInSeconds(int16_t transIdx) const {  in transitionTimeInSeconds()
449 U_ASSERT(transIdx >= 0 && transIdx < transitionCount()); in transitionTimeInSeconds()
451 if (transIdx < transitionCountPre32) { in transitionTimeInSeconds()
452 return (((int64_t)((uint32_t)transitionTimesPre32[transIdx << 1])) << 32) in transitionTimeInSeconds()
453 | ((int64_t)((uint32_t)transitionTimesPre32[(transIdx << 1) + 1])); in transitionTimeInSeconds()
456 transIdx -= transitionCountPre32; in transitionTimeInSeconds()
457 if (transIdx < transitionCount32) { in transitionTimeInSeconds()
458 return (int64_t)transitionTimes32[transIdx]; in transitionTimeInSeconds()
461 transIdx -= transitionCount32; in transitionTimeInSeconds()
462 return (((int64_t)((uint32_t)transitionTimesPost32[transIdx << 1])) << 32) in transitionTimeInSeconds()
463 | ((int64_t)((uint32_t)transitionTimesPost32[(transIdx << 1) + 1])); in transitionTimeInSeconds()
486 int16_t transIdx; in getHistoricalOffset() local
487 for (transIdx = transCount - 1; transIdx >= 0; transIdx--) { in getHistoricalOffset()
488 int64_t transition = transitionTimeInSeconds(transIdx); in getHistoricalOffset()
491 int32_t offsetBefore = zoneOffsetAt(transIdx - 1); in getHistoricalOffset()
492 UBool dstBefore = dstOffsetAt(transIdx - 1) != 0; in getHistoricalOffset()
494 int32_t offsetAfter = zoneOffsetAt(transIdx); in getHistoricalOffset()
495 UBool dstAfter = dstOffsetAt(transIdx) != 0; in getHistoricalOffset()
537 rawoff = rawOffsetAt(transIdx) * U_MILLIS_PER_SECOND; in getHistoricalOffset()
538 dstoff = dstOffsetAt(transIdx) * U_MILLIS_PER_SECOND; in getHistoricalOffset()