/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | BasicTimeZone.java | 112 int[] offsets1 = new int[2]; in hasEquivalentTransitions() local 115 getOffset(start, false, offsets1); 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/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | BasicTimeZone.java | 119 int[] offsets1 = new int[2]; in hasEquivalentTransitions() local 122 getOffset(start, false, offsets1); 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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 305 int[] offsets1 = new int[2]; in TestHistoricalRuleBasedTimeZone() local 310 rbtz.getOffset(times[i], false, offsets1); in TestHistoricalRuleBasedTimeZone() 312 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestHistoricalRuleBasedTimeZone() 593 int[] offsets1 = new int[2]; in TestVTimeZoneSimpleWrite() local 616 vtz_org.getOffset(time, false, offsets1); in TestVTimeZoneSimpleWrite() 618 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneSimpleWrite() 1148 int[] offsets1 = new int[2]; in TestVTimeZoneCoverage() local 1151 otz.getOffset(t, false, offsets1); in TestVTimeZoneCoverage() 1153 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneCoverage() 1724 int[] offsets1 = new int[2]; in hasEquivalentTransitions() local [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 308 int[] offsets1 = new int[2]; in TestHistoricalRuleBasedTimeZone() local 313 rbtz.getOffset(times[i], false, offsets1); in TestHistoricalRuleBasedTimeZone() 315 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestHistoricalRuleBasedTimeZone() 596 int[] offsets1 = new int[2]; in TestVTimeZoneSimpleWrite() local 619 vtz_org.getOffset(time, false, offsets1); in TestVTimeZoneSimpleWrite() 621 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneSimpleWrite() 1151 int[] offsets1 = new int[2]; in TestVTimeZoneCoverage() local 1154 otz.getOffset(t, false, offsets1); in TestVTimeZoneCoverage() 1156 if (offsets1[0] != offsets2[0] || offsets1[1] != offsets2[1]) { in TestVTimeZoneCoverage() 1727 int[] offsets1 = new int[2]; in hasEquivalentTransitions() local [all …]
|
/external/cronet/third_party/icu/source/test/cintltst/ |
D | nccbtst.c | 913 int32_t offsets1[] = { 0x0000, 0x0001, 0x0006}; in TestSkip() local 917 UCNV_TO_U_CALLBACK_SKIP, offsets1, NULL, 0 )) in TestSkip() 925 int32_t offsets1[] = { 0x0000, 0x0001,0x0002,0x0003,4,5}; in TestSkip() local 929 UCNV_TO_U_CALLBACK_SKIP, offsets1, NULL, 0 )) in TestSkip() 1329 static const int32_t offsets1[] = { 0x0000, 0x0001}; in TestStop() local 1333 UCNV_TO_U_CALLBACK_STOP, offsets1, NULL, 0 )) in TestStop() 1340 static const int32_t offsets1[] = { 0x0000, 0x0001,0x0002,0x0003}; in TestStop() local 1344 UCNV_TO_U_CALLBACK_STOP, offsets1, NULL, 0 )) in TestStop() 1619 int32_t offsets1[] = { 0x0000, 0x0001, 0x0004, 0x0005, 0x0006}; in TestSub() local 1623 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1, NULL, 0 )) in TestSub() [all …]
|
D | ncnvtst.c | 968 int32_t offsets1[] = { 0x0000, 0x0001, 0x0004, 0x0005, 0x0006}; in TestWithBufferSize() local 971 … expected1, UPRV_LENGTHOF(expected1),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,false)) in TestWithBufferSize() 1535 static const int32_t offsets1[] = { 0,2,4,6}; in TestResetBehaviour() local 1547 offsets1, true)) in TestResetBehaviour() 1559 offsets1, true)) in TestResetBehaviour() 1578 static const int32_t offsets1[] = { 3,5,10,11,12}; in TestResetBehaviour() local 1590 offsets1, true)) in TestResetBehaviour() 1623 static const int32_t offsets1[] = { 5,7,13,16,17}; in TestResetBehaviour() local 1635 offsets1, true)) in TestResetBehaviour() 1669 static const int32_t offsets1[] = { in TestResetBehaviour() local [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | nccbtst.c | 917 int32_t offsets1[] = { 0x0000, 0x0001, 0x0006}; in TestSkip() local 921 UCNV_TO_U_CALLBACK_SKIP, offsets1, NULL, 0 )) in TestSkip() 929 int32_t offsets1[] = { 0x0000, 0x0001,0x0002,0x0003,4,5}; in TestSkip() local 933 UCNV_TO_U_CALLBACK_SKIP, offsets1, NULL, 0 )) in TestSkip() 1333 static const int32_t offsets1[] = { 0x0000, 0x0001}; in TestStop() local 1337 UCNV_TO_U_CALLBACK_STOP, offsets1, NULL, 0 )) in TestStop() 1344 static const int32_t offsets1[] = { 0x0000, 0x0001,0x0002,0x0003}; in TestStop() local 1348 UCNV_TO_U_CALLBACK_STOP, offsets1, NULL, 0 )) in TestStop() 1623 int32_t offsets1[] = { 0x0000, 0x0001, 0x0004, 0x0005, 0x0006}; in TestSub() local 1627 UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1, NULL, 0 )) in TestSub() [all …]
|
D | ncnvtst.c | 980 int32_t offsets1[] = { 0x0000, 0x0001, 0x0004, 0x0005, 0x0006}; in TestWithBufferSize() local 983 … expected1, UPRV_LENGTHOF(expected1),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,false)) in TestWithBufferSize() 1547 static const int32_t offsets1[] = { 0,2,4,6}; in TestResetBehaviour() local 1559 offsets1, true)) in TestResetBehaviour() 1571 offsets1, true)) in TestResetBehaviour() 1590 static const int32_t offsets1[] = { 3,5,10,11,12}; in TestResetBehaviour() local 1602 offsets1, true)) in TestResetBehaviour() 1687 static const int32_t offsets1[] = { in TestResetBehaviour() local 1701 offsets1, true)) in TestResetBehaviour() 1733 static const int32_t offsets1[] = {2,6,9,13,14,15 in TestResetBehaviour() local [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | TimeZoneGenericNames.java | 409 int[] offsets1 = {0, 0}; in formatGenericNonLocationName() local 415 goldenZone.getOffset(date + offsets[0] + offsets[1], true, offsets1); in formatGenericNonLocationName() 417 if (offsets[0] != offsets1[0] || offsets[1] != offsets1[1]) { in formatGenericNonLocationName()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | TimeZoneGenericNames.java | 413 int[] offsets1 = {0, 0}; in formatGenericNonLocationName() local 419 goldenZone.getOffset(date + offsets[0] + offsets[1], true, offsets1); in formatGenericNonLocationName() 421 if (offsets[0] != offsets1[0] || offsets[1] != offsets1[1]) { in formatGenericNonLocationName()
|
/external/skia/src/gpu/ganesh/ops/ |
D | GrOvalOpFactory.cpp | 796 GrGLSLVarying offsets1(SkSLType::kFloat2); in onEmitCode() local 797 varyingHandler->addVarying("EllipseOffsets1", &offsets1); in onEmitCode() 798 vertBuilder->codeAppendf("%s = %s;", offsets1.vsOut(), diegp.fInEllipseOffsets1.name()); in onEmitCode() 849 fragBuilder->codeAppendf("scaledOffset = %s.xy;", offsets1.fsIn()); in onEmitCode() 851 fragBuilder->codeAppendf("duvdx = float2(dFdx(%s));", offsets1.fsIn()); in onEmitCode() 852 fragBuilder->codeAppendf("duvdy = float2(dFdy(%s));", offsets1.fsIn()); in onEmitCode() 856 offsets1.fsIn(), offsets1.fsIn(), offsets1.fsIn(), offsets1.fsIn()); in onEmitCode()
|