Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java386 short magic = java.io.ObjectStreamConstants.STREAM_MAGIC; in fillStreamHeader() local
394 buffer[0] = (byte) (magic >> 8); in fillStreamHeader()
395 buffer[1] = (byte) magic; in fillStreamHeader()
431 short magic = java.io.ObjectStreamConstants.STREAM_MAGIC; in test_readStreamHeader() local
453 buffer[0] = (byte)magic; in test_readStreamHeader()
454 buffer[1] = (byte)(magic >> 8); in test_readStreamHeader()
467 buffer[0] = (byte)(magic >> 8); in test_readStreamHeader()
468 buffer[1] = (byte)magic; in test_readStreamHeader()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java1837 int magic = dayOfWeek + getMinimalDaysInFirstWeek() - 1; in getActualMaximum() local
1838 if ((magic == 6) || in getActualMaximum()
1839 (date.isLeapYear() && (magic == 5 || magic == 12))) { in getActualMaximum()
DJapaneseImperialCalendar.java1403 int magic = dayOfWeek + getMinimalDaysInFirstWeek() - 1; in getActualMaximum()
1404 if ((magic == 6) || in getActualMaximum()
1405 (date.isLeapYear() && (magic == 5 || magic == 12))) { in getActualMaximum()