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.java1810 int magic = dayOfWeek + getMinimalDaysInFirstWeek() - 1; in getActualMaximum() local
1811 if ((magic == 6) || in getActualMaximum()
1812 (date.isLeapYear() && (magic == 5 || magic == 12))) { in getActualMaximum()
DJapaneseImperialCalendar.java1381 int magic = dayOfWeek + getMinimalDaysInFirstWeek() - 1;
1382 if ((magic == 6) ||
1383 (date.isLeapYear() && (magic == 5 || magic == 12))) {