/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | CollationElementIteratorTest.java | 46 int offset = iterator.getOffset(); in testGetOffset() 51 offset = iterator.getOffset(); in testGetOffset() 67 int offset = iterator.getOffset(); in testNext() 78 assertEquals(0, iterator.getOffset()); in testNext() 94 int offset = iterator.getOffset(); in testPrevious() 105 assertEquals(0, iterator.getOffset()); in testPrevious() 119 int offset = iterator.getOffset(); in testReset() 123 assertEquals(0, iterator.getOffset()); in testReset() 186 assertEquals(0, iterator.getOffset()); in testSetOffset() 188 assertEquals(0, iterator.getOffset()); in testSetOffset() [all …]
|
D | RuleBasedCollatorTest.java | 113 int offset = iterator.getOffset(); in testGetCollationElementIteratorString() 118 offset = iterator.getOffset(); in testGetCollationElementIteratorString() 130 int offset = iterator.getOffset(); in testGetCollationElementIteratorString() 135 offset = iterator.getOffset(); in testGetCollationElementIteratorString() 156 int offset = iterator.getOffset(); in testGetCollationElementIteratorCharacterIterator() 161 offset = iterator.getOffset(); in testGetCollationElementIteratorCharacterIterator() 175 int offset = iterator.getOffset(); in testGetCollationElementIteratorCharacterIterator() 180 offset = iterator.getOffset(); in testGetCollationElementIteratorCharacterIterator()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectStreamFieldTest.java | 141 .getOffset() != osfArray[1].getOffset()); in test_getOffset() 145 expectedOffsets[i], osfArray[i].getOffset()); in test_getOffset() 153 assertEquals("Test 1: Unexpected offset value.", 42, f.getOffset()); in test_setOffsetI() 155 assertEquals("Test 2: Unexpected offset value.", 2008, f.getOffset()); in test_setOffsetI()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectStreamFieldTest.java | 105 .getOffset() != osfArray[1].getOffset()); in test_getOffset() 107 0, osfArray[0].getOffset()); in test_getOffset() 109 .getOffset()); in test_getOffset() 111 osfArray[2].getOffset()); in test_getOffset() 221 assertEquals(0, objectStreamClass.getField("d").getOffset()); in test_isUnshared() 222 assertEquals(1, objectStreamClass.getField("i").getOffset()); in test_isUnshared() 223 assertEquals(2, objectStreamClass.getField("s").getOffset()); in test_isUnshared()
|
/libcore/luni/src/main/java/java/text/ |
D | CollationElementIterator.java | 101 public int getOffset() { in getOffset() method in CollationElementIterator 102 return this.icuIterator.getOffset(); in getOffset()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TimeZoneTest.java | 82 -(5 * ONE_HOUR), st1.getOffset(time1)); in test_getOffset_long() 88 -(5 * ONE_HOUR), st1.getOffset(time2)); in test_getOffset_long() 93 -(5 * ONE_HOUR), tz1.getOffset(time1)); in test_getOffset_long() 95 -(4 * ONE_HOUR), tz1.getOffset(time2)); in test_getOffset_long() 100 (3 * ONE_HOUR), tz1.getOffset(time1)); in test_getOffset_long() 102 (3 * ONE_HOUR), tz1.getOffset(time2)); in test_getOffset_long()
|
D | SimpleTimeZoneTest.java | 300 assertTrue("Incorrect offset returned", st1.getOffset( in test_getOffsetIIIIII() 306 .getOffset(GregorianCalendar.AD, 1998, Calendar.JUNE, 11, in test_getOffsetIIIIII() 313 assertEquals(fourHours, st1.getOffset(1, 2099, 01, 1, 5, 0)); in test_getOffsetIIIIII() 316 st1.getOffset(-1, 2099, 01, 1, 5, 0); in test_getOffsetIIIIII() 323 st1.getOffset(1, 2099, 15, 1, 5, 0); in test_getOffsetIIIIII() 330 st1.getOffset(1, 2099, 01, 100, 5, 0); in test_getOffsetIIIIII() 337 st1.getOffset(1, 2099, 01, 1, 50, 0); in test_getOffsetIIIIII() 344 st1.getOffset(1, 2099, 01, 1, 5, -10); in test_getOffsetIIIIII() 806 assertTrue("Incorrect offset returned", st1.getOffset(cal.getTimeInMillis()) == in test_getOffsetJ() 812 .getOffset(cal.getTimeInMillis())); in test_getOffsetJ() [all …]
|
/libcore/luni/src/main/java/libcore/icu/ |
D | CollationElementIteratorICU.java | 104 public int getOffset() { in getOffset() method in CollationElementIteratorICU 105 return NativeCollation.getOffset(address); in getOffset()
|
D | NativeCollation.java | 42 public static native int getOffset(long address); in getOffset() method in NativeCollation
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TimeZoneTest.java | 66 assertEquals(-28800000, tz.getOffset(date.getTime())); in testPreHistoricInDaylightTime() 72 assertEquals(-28800000, tz.getOffset(date.getTime())); in testPreHistoricInDaylightTime() 92 assertEquals(expectedOffsetSeconds, tz.getOffset(epochSeconds * 1000) / 1000); in assertNonDaylightOffset() 111 int currentOffset = tz.getOffset(new Date(0).getTime()); in testZeroTransitionZones() 112 assertEquals(currentOffset, tz.getOffset(new Date(Integer.MIN_VALUE).getTime())); in testZeroTransitionZones() 113 assertEquals(currentOffset, tz.getOffset(new Date(Integer.MAX_VALUE).getTime())); in testZeroTransitionZones() 121 long offset = timeZone.getOffset(time); in testHelsinkiOverflow()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramPacketTest.java | 61 assertEquals("Wrong offset", 2, dp.getOffset()); in test_Constructor$BII() 74 assertEquals("Wrong offset", 2, dp.getOffset()); in test_Constructor$BIILjava_net_InetAddressI() 122 assertEquals("Incorrect length returned", 3, dp.getOffset()); in test_getOffset() 276 assertEquals("Offset not set correctly", 1, thePacket.getOffset()); in test_Constructor$BIILjava_net_SocketAddress()
|
/libcore/libart/src/main/java/java/lang/reflect/ |
D | ArtField.java | 63 int getOffset() { in getOffset() method in ArtField
|
D | Field.java | 152 public int getOffset() { in getOffset() method in Field 153 return artField.getOffset(); in getOffset()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TimeZone.java | 74 public int getOffset(int p1, int p2, int p3, int p4, int p5, int p6) { in getOffset() method in Support_TimeZone
|
/libcore/luni/src/main/java/java/util/ |
D | GregorianCalendar.java | 458 int offsetBefore = getOffset(time + zoneOffset); in add() 459 int offsetAfter = getOffset(time + zoneOffset + delta); in add() 461 if (getOffset(time + zoneOffset + delta + dstDelta) == offsetAfter) { in add() 503 int dstOffset = fields[YEAR] <= 0 ? 0 : getTimeZone().getOffset(AD, in fullFieldsCalc() 810 long timeValWithoutDST = timeVal - getOffset(timeVal) in computeTime() 812 timeVal -= getOffset(timeValWithoutDST); in computeTime() 1049 private int getOffset(long localTime) { in getOffset() method in GregorianCalendar 1090 return timeZone.getOffset(AD, year, month, date, dayOfWeek, millis); in getOffset()
|
D | TimeZone.java | 300 public int getOffset(long time) { in getOffset() method in TimeZone 319 public abstract int getOffset(int era, int year, int month, int day, in getOffset() method in TimeZone
|
D | SimpleTimeZone.java | 342 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int time) { in getOffset() method in SimpleTimeZone 472 public int getOffset(long time) { in getOffset() method in SimpleTimeZone 478 return getOffset(GregorianCalendar.AD, fields[0], fields[1], fields[2], in getOffset() 527 return useDaylightTime() && getOffset(time.getTime()) != getRawOffset(); in inDaylightTime()
|
/libcore/dex/src/main/java/com/android/dex/ |
D | ClassDef.java | 50 public int getOffset() { in getOffset() method in ClassDef
|
D | Code.java | 120 public int getOffset() { in getOffset() method in Code.CatchHandler
|
/libcore/luni/src/main/java/java/lang/ |
D | HexStringParser.java | 162 int offset = getOffset(strIntegerPart, strDecimalPart); in parseMantissa() 294 private int getOffset(String strIntegerPart, String strDecimalPart) { in getOffset() method in HexStringParser
|
/libcore/luni/src/main/java/java/net/ |
D | PlainDatagramSocketImpl.java | 163 …IoBridge.recvfrom(false, fd, pack.getData(), pack.getOffset(), pack.getLength(), flags, pack, isNa… in doRecv() 184 IoBridge.sendto(fd, packet.getData(), packet.getOffset(), packet.getLength(), 0, address, in send()
|
D | DatagramPacket.java | 153 public synchronized int getOffset() { in getOffset() method in DatagramPacket
|
/libcore/libart/src/main/java/sun/misc/ |
D | Unsafe.java | 69 return field.getOffset(); in objectFieldOffset()
|
/libcore/luni/src/main/java/java/io/ |
D | ObjectStreamField.java | 156 public int getOffset() { in getOffset() method in ObjectStreamField
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 183 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) { in getOffset() method in ZoneInfo 208 return getOffset(calc); in getOffset() 212 public int getOffset(long when) { in getOffset() method in ZoneInfo
|