Home
last modified time | relevance | path

Searched refs:offsets2 (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBasicTimeZone.java120 int[] offsets2 = new int[2]; in hasEquivalentTransitions() local
123 tz.getOffset(start, false, offsets2); in hasEquivalentTransitions()
126 if ((offsets1[0] + offsets1[1] != offsets2[0] + offsets2[1]) in hasEquivalentTransitions()
127 || (offsets1[1] != 0 && offsets2[1] == 0) in hasEquivalentTransitions()
128 || (offsets1[1] == 0 && offsets2[1] != 0)) { in hasEquivalentTransitions()
132 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in hasEquivalentTransitions()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBasicTimeZone.java113 int[] offsets2 = new int[2]; in hasEquivalentTransitions() local
116 tz.getOffset(start, false, offsets2); in hasEquivalentTransitions()
119 if ((offsets1[0] + offsets1[1] != offsets2[0] + offsets2[1]) in hasEquivalentTransitions()
120 || (offsets1[1] != 0 && offsets2[1] == 0) in hasEquivalentTransitions()
121 || (offsets1[1] == 0 && offsets2[1] != 0)) { in hasEquivalentTransitions()
125 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in hasEquivalentTransitions()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java303 int[] offsets2 = new int[2]; in TestHistoricalRuleBasedTimeZone() local
308 ny.getOffset(times[i], false, offsets2); in TestHistoricalRuleBasedTimeZone()
309 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestHistoricalRuleBasedTimeZone()
591 int[] offsets2 = new int[2]; in TestVTimeZoneSimpleWrite() local
614 vtz_new.getOffset(time, false, offsets2); in TestVTimeZoneSimpleWrite()
615 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneSimpleWrite()
1146 int[] offsets2 = new int[2]; in TestVTimeZoneCoverage() local
1149 vtz.getOffset(t, false, offsets2); in TestVTimeZoneCoverage()
1150 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneCoverage()
1722 int[] offsets2 = new int[2]; in hasEquivalentTransitions() local
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java302 int[] offsets2 = new int[2]; in TestHistoricalRuleBasedTimeZone() local
307 ny.getOffset(times[i], false, offsets2); in TestHistoricalRuleBasedTimeZone()
308 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestHistoricalRuleBasedTimeZone()
590 int[] offsets2 = new int[2]; in TestVTimeZoneSimpleWrite() local
613 vtz_new.getOffset(time, false, offsets2); in TestVTimeZoneSimpleWrite()
614 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneSimpleWrite()
1145 int[] offsets2 = new int[2]; in TestVTimeZoneCoverage() local
1148 vtz.getOffset(t, false, offsets2); in TestVTimeZoneCoverage()
1149 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneCoverage()
1721 int[] offsets2 = new int[2]; in hasEquivalentTransitions() local
[all …]
/external/icu/icu4c/source/test/cintltst/
Dncnvtst.c386 static const int32_t offsets2[] = { 0x00, 0x00, 0x01, 0x01, 0x02, 0x02}; in TestErrorBehaviour() local
416 expected2, sizeof(expected2), "ibm-1363", offsets2, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
434 expected2, sizeof(expected2), "ibm-1363", offsets2, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour()
462 static const int32_t offsets2[] = { 0x00,0x01,0x02}; in TestErrorBehaviour() local
475 expected2, sizeof(expected2), "iso-2022-jp", offsets2, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
478 expected2, sizeof(expected2), "iso-2022-jp", offsets2, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour()
481 expected2, sizeof(expected2), "iso-2022-jp", offsets2, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour()
559 static const int32_t offsets2[] = { -1, -1, -1, -1, 0x00, 0x01, 0x02}; in TestErrorBehaviour() local
573 expected2, sizeof(expected2), "iso-2022-kr", offsets2, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
576 expected2, sizeof(expected2), "iso-2022-kr", offsets2, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour()
[all …]
Dnccbtst.c1650 … static const int32_t offsets2[]={ 1, 3, 5, 7, 10 }; in TestSub() local
1659 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets2, NULL, 0) in TestSub()
1671 static const int32_t offsets2[]={ in TestSub() local
1675 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets2, NULL, 0) in TestSub()
1716 offsets2[]={ 2, 4 }, in TestSub() local
1726 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets2, NULL, 0) in TestSub()
1754 offsets2[]={ 4, 4, 8 }, in TestSub() local
1765 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets2, NULL, 0) in TestSub()