Home
last modified time | relevance | path

Searched refs:transIdx (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/icu/source/i18n/
Dolsontz.h304 int64_t transitionTimeInSeconds(int16_t transIdx) const;
305 double transitionTime(int16_t transIdx) const;
311 int32_t zoneOffsetAt(int16_t transIdx) const;
312 int32_t rawOffsetAt(int16_t transIdx) const;
313 int32_t dstOffsetAt(int16_t transIdx) const;
412 OlsonTimeZone::transitionTime(int16_t transIdx) const { in transitionTime() argument
413 return (double)transitionTimeInSeconds(transIdx) * U_MILLIS_PER_SECOND; in transitionTime()
417 OlsonTimeZone::zoneOffsetAt(int16_t transIdx) const { in zoneOffsetAt() argument
418 int16_t typeIdx = (transIdx >= 0 ? typeMapData[transIdx] : 0) << 1; in zoneOffsetAt()
423 OlsonTimeZone::rawOffsetAt(int16_t transIdx) const { in rawOffsetAt() argument
[all …]
Dolsontz.cpp451 OlsonTimeZone::transitionTimeInSeconds(int16_t transIdx) const { in transitionTimeInSeconds()
452 U_ASSERT(transIdx >= 0 && transIdx < transitionCount()); in transitionTimeInSeconds()
454 if (transIdx < transitionCountPre32) { in transitionTimeInSeconds()
455 return (((int64_t)((uint32_t)transitionTimesPre32[transIdx << 1])) << 32) in transitionTimeInSeconds()
456 | ((int64_t)((uint32_t)transitionTimesPre32[(transIdx << 1) + 1])); in transitionTimeInSeconds()
459 transIdx -= transitionCountPre32; in transitionTimeInSeconds()
460 if (transIdx < transitionCount32) { in transitionTimeInSeconds()
461 return (int64_t)transitionTimes32[transIdx]; in transitionTimeInSeconds()
464 transIdx -= transitionCount32; in transitionTimeInSeconds()
465 return (((int64_t)((uint32_t)transitionTimesPost32[transIdx << 1])) << 32) in transitionTimeInSeconds()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dolsontz.h304 int64_t transitionTimeInSeconds(int16_t transIdx) const;
305 double transitionTime(int16_t transIdx) const;
311 int32_t zoneOffsetAt(int16_t transIdx) const;
312 int32_t rawOffsetAt(int16_t transIdx) const;
313 int32_t dstOffsetAt(int16_t transIdx) const;
412 OlsonTimeZone::transitionTime(int16_t transIdx) const { in transitionTime() argument
413 return (double)transitionTimeInSeconds(transIdx) * U_MILLIS_PER_SECOND; in transitionTime()
417 OlsonTimeZone::zoneOffsetAt(int16_t transIdx) const { in zoneOffsetAt() argument
418 int16_t typeIdx = (transIdx >= 0 ? typeMapData[transIdx] : 0) << 1; in zoneOffsetAt()
423 OlsonTimeZone::rawOffsetAt(int16_t transIdx) const { in rawOffsetAt() argument
[all …]
Dolsontz.cpp450 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()
[all …]
/third_party/icu/icu4c/source/i18n/
Dolsontz.h304 int64_t transitionTimeInSeconds(int16_t transIdx) const;
305 double transitionTime(int16_t transIdx) const;
311 int32_t zoneOffsetAt(int16_t transIdx) const;
312 int32_t rawOffsetAt(int16_t transIdx) const;
313 int32_t dstOffsetAt(int16_t transIdx) const;
412 OlsonTimeZone::transitionTime(int16_t transIdx) const { in transitionTime() argument
413 return (double)transitionTimeInSeconds(transIdx) * U_MILLIS_PER_SECOND; in transitionTime()
417 OlsonTimeZone::zoneOffsetAt(int16_t transIdx) const { in zoneOffsetAt() argument
418 int16_t typeIdx = (transIdx >= 0 ? typeMapData[transIdx] : 0) << 1; in zoneOffsetAt()
423 OlsonTimeZone::rawOffsetAt(int16_t transIdx) const { in rawOffsetAt() argument
[all …]
Dolsontz.cpp450 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()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java686 int transIdx; in getHistoricalOffset() local
687 for (transIdx = transitionCount - 1; transIdx >= 0; transIdx--) { in getHistoricalOffset()
688 long transition = transitionTimes64[transIdx]; in getHistoricalOffset()
690 int offsetBefore = zoneOffsetAt(transIdx - 1); in getHistoricalOffset()
691 boolean dstBefore = dstOffsetAt(transIdx - 1) != 0; in getHistoricalOffset()
693 int offsetAfter = zoneOffsetAt(transIdx); in getHistoricalOffset()
694 boolean dstAfter = dstOffsetAt(transIdx) != 0; in getHistoricalOffset()
736 offsets[0] = rawOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
737 offsets[1] = dstOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
754 private int zoneOffsetAt(int transIdx) { in zoneOffsetAt() argument
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DOlsonTimeZone.java688 int transIdx; in getHistoricalOffset() local
689 for (transIdx = transitionCount - 1; transIdx >= 0; transIdx--) { in getHistoricalOffset()
690 long transition = transitionTimes64[transIdx]; in getHistoricalOffset()
692 int offsetBefore = zoneOffsetAt(transIdx - 1); in getHistoricalOffset()
693 boolean dstBefore = dstOffsetAt(transIdx - 1) != 0; in getHistoricalOffset()
695 int offsetAfter = zoneOffsetAt(transIdx); in getHistoricalOffset()
696 boolean dstAfter = dstOffsetAt(transIdx) != 0; in getHistoricalOffset()
738 offsets[0] = rawOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
739 offsets[1] = dstOffsetAt(transIdx) * Grego.MILLIS_PER_SECOND; in getHistoricalOffset()
756 private int zoneOffsetAt(int transIdx) { in zoneOffsetAt() argument
[all …]