Searched refs:magic (Results 1 – 4 of 4) sorted by relevance
386 short magic = java.io.ObjectStreamConstants.STREAM_MAGIC; in fillStreamHeader() local394 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() local453 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()
213 String magic = new String(tzdata_version, 0, 6, StandardCharsets.US_ASCII); in readHeader() local214 if (!magic.equals("tzdata") || tzdata_version[11] != 0) { in readHeader()
1837 int magic = dayOfWeek + getMinimalDaysInFirstWeek() - 1; in getActualMaximum() local1838 if ((magic == 6) || in getActualMaximum()1839 (date.isLeapYear() && (magic == 5 || magic == 12))) { in getActualMaximum()
1402 int magic = dayOfWeek + getMinimalDaysInFirstWeek() - 1; in getActualMaximum()1403 if ((magic == 6) || in getActualMaximum()1404 (date.isLeapYear() && (magic == 5 || magic == 12))) { in getActualMaximum()