/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | BasicTimeZone.java | 120 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()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | BasicTimeZone.java | 113 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()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 306 int[] offsets2 = new int[2]; in TestHistoricalRuleBasedTimeZone() local 311 ny.getOffset(times[i], false, offsets2); in TestHistoricalRuleBasedTimeZone() 312 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestHistoricalRuleBasedTimeZone() 594 int[] offsets2 = new int[2]; in TestVTimeZoneSimpleWrite() local 617 vtz_new.getOffset(time, false, offsets2); in TestVTimeZoneSimpleWrite() 618 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneSimpleWrite() 1149 int[] offsets2 = new int[2]; in TestVTimeZoneCoverage() local 1152 vtz.getOffset(t, false, offsets2); in TestVTimeZoneCoverage() 1153 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneCoverage() 1725 int[] offsets2 = new int[2]; in hasEquivalentTransitions() local [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 308 int[] offsets2 = new int[2]; in TestHistoricalRuleBasedTimeZone() local 313 ny.getOffset(times[i], false, offsets2); in TestHistoricalRuleBasedTimeZone() 314 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestHistoricalRuleBasedTimeZone() 596 int[] offsets2 = new int[2]; in TestVTimeZoneSimpleWrite() local 619 vtz_new.getOffset(time, false, offsets2); in TestVTimeZoneSimpleWrite() 620 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneSimpleWrite() 1151 int[] offsets2 = new int[2]; in TestVTimeZoneCoverage() local 1154 vtz.getOffset(t, false, offsets2); in TestVTimeZoneCoverage() 1155 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneCoverage() 1727 int[] offsets2 = new int[2]; in hasEquivalentTransitions() local [all …]
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | ncnvtst.c | 382 static const int32_t offsets2[] = { 0x00, 0x00, 0x01, 0x01, 0x02, 0x02}; in TestErrorBehaviour() local 412 expected2, sizeof(expected2), "ibm-1363", offsets2, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour() 430 expected2, sizeof(expected2), "ibm-1363", offsets2, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour() 458 static const int32_t offsets2[] = { 0x00,0x01,0x02}; in TestErrorBehaviour() local 471 expected2, sizeof(expected2), "iso-2022-jp", offsets2, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour() 474 expected2, sizeof(expected2), "iso-2022-jp", offsets2, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour() 477 expected2, sizeof(expected2), "iso-2022-jp", offsets2, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour() 498 static const int32_t offsets2[] = { 0x00, 0x01,0x02}; in TestErrorBehaviour() local 515 expected2, sizeof(expected2), "iso-2022-cn", offsets2, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour() 518 expected2, sizeof(expected2), "iso-2022-cn", offsets2, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour() [all …]
|
D | nccbtst.c | 1646 … static const int32_t offsets2[]={ 1, 3, 5, 7, 10 }; in TestSub() local 1655 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets2, NULL, 0) in TestSub() 1667 static const int32_t offsets2[]={ in TestSub() local 1671 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets2, NULL, 0) in TestSub() 1712 offsets2[]={ 2, 4 }, in TestSub() local 1722 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets2, NULL, 0) in TestSub() 1750 offsets2[]={ 4, 4, 8 }, in TestSub() local 1761 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets2, NULL, 0) in TestSub()
|