Home
last modified time | relevance | path

Searched refs:times (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DASN1Time.java45 c.set(Calendar.YEAR, in.times[0]); in getDecodedObject()
46 c.set(Calendar.MONTH, in.times[1]-1); in getDecodedObject()
47 c.set(Calendar.DAY_OF_MONTH, in.times[2]); in getDecodedObject()
48 c.set(Calendar.HOUR_OF_DAY, in.times[3]); in getDecodedObject()
49 c.set(Calendar.MINUTE, in.times[4]); in getDecodedObject()
50 c.set(Calendar.SECOND, in.times[5]); in getDecodedObject()
51 c.set(Calendar.MILLISECOND, in.times[6]); in getDecodedObject()
DBerInputStream.java288 public int[] times; field in BerInputStream
323 if (times == null) { in readGeneralizedTime()
324 times = new int[7]; in readGeneralizedTime()
326 times[0] = strToInt(contentOffset, 4); // year in readGeneralizedTime()
327 times[1] = strToInt(contentOffset + 4, 2); // month in readGeneralizedTime()
328 times[2] = strToInt(contentOffset + 6, 2); // day in readGeneralizedTime()
329 times[3] = strToInt(contentOffset + 8, 2); // hour in readGeneralizedTime()
330 times[4] = strToInt(contentOffset + 10, 2); // minute in readGeneralizedTime()
331 times[5] = strToInt(contentOffset + 12, 2); // second in readGeneralizedTime()
335 times[6] = strToInt(contentOffset + 15, length - 16); in readGeneralizedTime()
[all …]
/libcore/luni/src/main/native/
Djava_io_File.cpp69 utimbuf times; in File_setLastModifiedImpl() local
70 times.actime = sb.st_atime; in File_setLastModifiedImpl()
71 times.modtime = static_cast<time_t>(ms / 1000); in File_setLastModifiedImpl()
72 return (utime(path.c_str(), &times) == 0); in File_setLastModifiedImpl()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetGetterTests.java980 List<Time> times = new LinkedList<Time>(); in testGetTimeIntCalendar() local
1042 List<Time> times = new LinkedList<Time>(); in testGetTimeString() local
1101 List<Time> times = new LinkedList<Time>(); in testGetTimeStringCalendar() local
1161 List<Timestamp> times = new LinkedList<Timestamp>(); in testGetTimestampInt() local
1178 times.add(t2); in testGetTimestampInt()
1191 times.add(t3); in testGetTimestampInt()
1218 List<Timestamp> times = new LinkedList<Timestamp>(); in testGetTimestampIntCalendar() local
1235 times.add(t2); in testGetTimestampIntCalendar()
1248 times.add(t3); in testGetTimestampIntCalendar()
1281 List<Timestamp> times = new LinkedList<Timestamp>(); in testGetTimestampString() local
[all …]
DOldPreparedStatementTest.java1922 Time[] times = { new Time(24, 25, 26), new Time(Integer.MAX_VALUE), in testSetTimeint_Time() local
1931 for (int i = 0; i < times.length; i++) { in testSetTimeint_Time()
1933 ps.setTime(1, times[i]); in testSetTimeint_Time()
1937 + times[i].getTime() + "'"); in testSetTimeint_Time()
1949 ps.setTime(2, times[0]); in testSetTimeint_Time()
1958 ps.setTime(1, times[0]); in testSetTimeint_Time()
1965 ps1.setTime(1, times[0]); in testSetTimeint_Time()
1982 Time[] times = { new Time(24, 25, 26), new Time(Integer.MAX_VALUE), in testSetTime_int_Time_Calendar() local
1991 for (int i = 0; i < times.length; i++) { in testSetTime_int_Time_Calendar()
1993 ps.setTime(1, times[i], cals[i]); in testSetTime_int_Time_Calendar()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInet6AddressTest.java835 int times = bytes.length / 4; in byteArrayToHexString() local
836 int intArray[] = new int[times]; in byteArrayToHexString()
837 for (int i = 0; i < times; i++) { in byteArrayToHexString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetEncoderTest.java820 private byte[] duplicateByteArray(byte[] ba, int times) { in duplicateByteArray() argument
821 byte[] result = new byte[ba.length * times]; in duplicateByteArray()
822 for (int i = 0; i < times; i++) { in duplicateByteArray()
/libcore/expectations/
Dknownfailures.txt16 description: "KeyAgreementFunctionalTest times out even with an absurdly long timeout",