Home
last modified time | relevance | path

Searched refs:dstOffset (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/third_party/icu/source/test/intltest/
Dtzoffloc.cpp120 int32_t rawOffset, dstOffset; in TestGetOffsetAroundTransition() local
224 TESTZONES[i]->getOffset(MILLIS[m], TRUE, rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
227 } else if (rawOffset != OFFSETS2[m][0] || dstOffset != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition()
232 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
245 rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
248 } else if (rawOffset != OFFSETS2[m][0] || dstOffset != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition()
253 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
266 rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
269 } else if (rawOffset != OFFSETS3[m][0] || dstOffset != OFFSETS3[m][1]) { in TestGetOffsetAroundTransition()
274 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
[all …]
/external/icu4c/test/intltest/
Dtzoffloc.cpp120 int32_t rawOffset, dstOffset; in TestGetOffsetAroundTransition() local
224 TESTZONES[i]->getOffset(MILLIS[m], TRUE, rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
227 } else if (rawOffset != OFFSETS2[m][0] || dstOffset != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition()
232 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
245 rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
248 } else if (rawOffset != OFFSETS2[m][0] || dstOffset != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition()
253 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
266 rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
269 } else if (rawOffset != OFFSETS3[m][0] || dstOffset != OFFSETS3[m][1]) { in TestGetOffsetAroundTransition()
274 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
[all …]
/external/chromium_org/third_party/icu/source/tools/tzcode/
Dicuzdump.cpp131 int32_t rawOffset, dstOffset; in dump() local
136 timezone->getOffset(t, FALSE, rawOffset, dstOffset, status); in dump()
143 UBool bSameOffset = (rawOffset + dstOffset) == (newRawOffset + newDstOffset); in dump()
144 …UBool bSameDst = ((dstOffset != 0) && (newDstOffset != 0)) || ((dstOffset == 0) && (newDstOffset =… in dump()
159 bSameOffset = (rawOffset + dstOffset) == (medRawOffset + medDstOffset); in dump()
160 … bSameDst = ((dstOffset != 0) && (medDstOffset != 0)) || ((dstOffset == 0) && (medDstOffset == 0)); in dump()
170 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? FALSE : TRUE), str); in dump()
182 dstOffset = newDstOffset; in dump()
/external/icu4c/tools/tzcode/
Dicuzdump.cpp131 int32_t rawOffset, dstOffset; in dump() local
136 timezone->getOffset(t, FALSE, rawOffset, dstOffset, status); in dump()
143 UBool bSameOffset = (rawOffset + dstOffset) == (newRawOffset + newDstOffset); in dump()
144 …UBool bSameDst = ((dstOffset != 0) && (newDstOffset != 0)) || ((dstOffset == 0) && (newDstOffset =… in dump()
159 bSameOffset = (rawOffset + dstOffset) == (medRawOffset + medDstOffset); in dump()
160 … bSameDst = ((dstOffset != 0) && (medDstOffset != 0)) || ((dstOffset == 0) && (medDstOffset == 0)); in dump()
170 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? FALSE : TRUE), str); in dump()
182 dstOffset = newDstOffset; in dump()
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DStringImpl.cpp1661 unsigned dstOffset = 0; in replace() local
1669 … memcpy(data + dstOffset, characters8() + srcSegmentStart, srcSegmentLength * sizeof(LChar)); in replace()
1670 dstOffset += srcSegmentLength; in replace()
1671 memcpy(data + dstOffset, replacement, repStrLength * sizeof(LChar)); in replace()
1672 dstOffset += repStrLength; in replace()
1677 memcpy(data + dstOffset, characters8() + srcSegmentStart, srcSegmentLength * sizeof(LChar)); in replace()
1679 ASSERT(dstOffset + srcSegmentLength == newImpl->length()); in replace()
1689 … memcpy(data + dstOffset, characters16() + srcSegmentStart, srcSegmentLength * sizeof(UChar)); in replace()
1691 dstOffset += srcSegmentLength; in replace()
1693 data[i + dstOffset] = replacement[i]; in replace()
[all …]
/external/chromium_org/third_party/icu/source/i18n/unicode/
Drbtz.h197 int32_t& dstOffset, UErrorCode& ec) const;
304 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) /*const*/;
319 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& ec) const;
Dbasictz.h160 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) /*const*/;
Dsimpletz.h617 int32_t& dstOffset, UErrorCode& ec) const;
624 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) /*const*/;
Dtimezone.h400 int32_t& dstOffset, UErrorCode& ec) const;
/external/icu4c/i18n/unicode/
Drbtz.h197 int32_t& dstOffset, UErrorCode& ec) const;
304 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const;
319 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& ec) const;
Dbasictz.h162 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const;
Dsimpletz.h617 int32_t& dstOffset, UErrorCode& ec) const;
624 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const;
/external/chromium_org/third_party/icu/source/i18n/
Drbtz.cpp373 int32_t rawOffset, dstOffset; in getOffset() local
375 getOffsetInternal(time, TRUE, kDaylight, kStandard, rawOffset, dstOffset, status); in getOffset()
379 return (rawOffset + dstOffset); in getOffset()
384 int32_t& dstOffset, UErrorCode& status) const { in getOffset() argument
385 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); in getOffset()
390 … int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) /*const*/ { in getOffsetFromLocal() argument
391 …getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); in getOffsetFromLocal()
401 int32_t& rawOffset, int32_t& dstOffset, in getOffsetInternal() argument
404 dstOffset = 0; in getOffsetInternal()
450 dstOffset = rule->getDSTSavings(); in getOffsetInternal()
Dtimezone.cpp609 int32_t& dstOffset, UErrorCode& ec) const { in getOffset() argument
638 dstOffset = getOffset(GregorianCalendar::AD, year, month, dom, in getOffset()
644 if (pass!=0 || !local || dstOffset == 0) { in getOffset()
648 date -= dstOffset; in getOffset()
1050 int32_t dstOffset; in getDisplayName() local
1051 this->getOffset(d, FALSE, rawOffset, dstOffset, status); in getDisplayName()
1056 if ((daylight && dstOffset != 0) || in getDisplayName()
1057 (!daylight && dstOffset == 0) || in getDisplayName()
Dvzone.cpp131 int32_t& dstOffset, UErrorCode& ec) { in vzone_getOffset3() argument
132 return ((VTimeZone*)zone)->VTimeZone::getOffset(date, local, rawOffset, dstOffset, ec); in vzone_getOffset3()
Dvzone.h255 int32_t& dstOffset, UErrorCode& ec);
Dolsontz.h179 int32_t& dstOffset, UErrorCode& ec) const;
/external/icu4c/i18n/
Drbtz.cpp393 int32_t rawOffset, dstOffset; in getOffset() local
395 getOffsetInternal(time, TRUE, kDaylight, kStandard, rawOffset, dstOffset, status); in getOffset()
399 return (rawOffset + dstOffset); in getOffset()
404 int32_t& dstOffset, UErrorCode& status) const { in getOffset() argument
405 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); in getOffset()
410 … int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const { in getOffsetFromLocal() argument
411 …getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); in getOffsetFromLocal()
421 int32_t& rawOffset, int32_t& dstOffset, in getOffsetInternal() argument
424 dstOffset = 0; in getOffsetInternal()
472 dstOffset = rule->getDSTSavings(); in getOffsetInternal()
Dchnsecal.cpp488 int32_t rawOffset, dstOffset; in daysToMillis() local
490 fZoneAstroCalc->getOffset(millis, FALSE, rawOffset, dstOffset, status); in daysToMillis()
492 return millis - (double)(rawOffset + dstOffset); in daysToMillis()
505 int32_t rawOffset, dstOffset; in millisToDays() local
507 fZoneAstroCalc->getOffset(millis, FALSE, rawOffset, dstOffset, status); in millisToDays()
509 return ClockMath::floorDivide(millis + (double)(rawOffset + dstOffset), kOneDay); in millisToDays()
Dvzone.cpp131 int32_t& dstOffset, UErrorCode& ec) { in vzone_getOffset3() argument
132 return ((VTimeZone*)zone)->VTimeZone::getOffset(date, local, rawOffset, dstOffset, ec); in vzone_getOffset3()
Dcalendar.cpp1288 int32_t rawOffset, dstOffset; in computeFields() local
1289 getTimeZone().getOffset(localMillis, FALSE, rawOffset, dstOffset, ec); in computeFields()
1290 localMillis += (rawOffset + dstOffset); in computeFields()
1357 fFields[UCAL_DST_OFFSET] = dstOffset; in computeFields()
2898 int32_t rawOffset, dstOffset; in computeZoneOffset() local
2904 … btz->getOffsetFromLocal(wall, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, ec); in computeZoneOffset()
2908 tz.getOffset(wall, TRUE, rawOffset, dstOffset, ec); in computeZoneOffset()
2913 UDate tgmt = wall - (rawOffset + dstOffset); in computeZoneOffset()
2920 int32_t offsetDelta = (rawOffset + dstOffset) - (tmpRaw + tmpDst); in computeZoneOffset()
2928 tz.getOffset(wall + offsetDelta, TRUE, rawOffset, dstOffset, ec); in computeZoneOffset()
[all …]
Dvzone.h239 int32_t& dstOffset, UErrorCode& ec);
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DMonthInputType.cpp91 double dstOffset = calculateDSTOffset(current, utcOffset); in defaultValueForStepUp() local
92 int offset = static_cast<int>((utcOffset + dstOffset) / msPerMinute); in defaultValueForStepUp()
DTimeInputType.cpp78 double dstOffset = calculateDSTOffset(current, utcOffset); in defaultValueForStepUp() local
79 int offset = static_cast<int>((utcOffset + dstOffset) / msPerMinute); in defaultValueForStepUp()
DBaseDateAndTimeInputType.cpp96 double dstOffset = calculateDSTOffset(ms, utcOffset); in defaultValueForStepUp() local
97 int offset = static_cast<int>((utcOffset + dstOffset) / msPerMinute); in defaultValueForStepUp()

12