Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/native/
DFileInputStream.c77 jlong cur = jlong_zero; in FileInputStream_skip0() local
84 if ((cur = IO_Lseek(fd, (jlong)0, (jint)SEEK_CUR)) == -1) { in FileInputStream_skip0()
93 return (end - cur); in FileInputStream_skip0()
/libcore/ojluni/src/main/java/java/io/
DDataInputStream.java221 int cur = 0; in skipBytes() local
223 while ((total<n) && ((cur = (int) in.skip(n-total)) > 0)) { in skipBytes()
224 total += cur; in skipBytes()
DRandomAccessFile.java1010 long cur = getFilePointer(); in readLine() local
1012 seek(cur); in readLine()
/libcore/luni/src/test/java/libcore/java/text/
DOldDateFormatTest.java401 char[] cur = df.format(current).toCharArray(); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() local
402 cur[cur.length / 2] = 'Z'; in test_parseObjectLjava_lang_StringLjava_text_ParsePosition()
403 String partialCorrect = new String(cur); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition()
408 pp.getErrorIndex() == cur.length / 2); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DMessageFormatTest.java170 char[] cur = result.toCharArray(); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition() local
171 cur[cur.length / 2] = 'Z'; in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition()
172 String partialCorrect = new String(cur); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition()
176 assertTrue("ParseErrorIndex is incorrect", pp.getErrorIndex() == cur.length / 2); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition()
/libcore/ojluni/src/main/java/java/util/stream/
DNodes.java1115 OfPrimitive(N cur) { in OfPrimitive() argument
1116 super(cur); in OfPrimitive()
1167 OfInt(Node.OfInt cur) { in OfInt() argument
1168 super(cur); in OfInt()
1176 OfLong(Node.OfLong cur) { in OfLong() argument
1177 super(cur); in OfLong()
1185 OfDouble(Node.OfDouble cur) { in OfDouble() argument
1186 super(cur); in OfDouble()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java405 ZoneOffsetTransition cur = trans.get(i); in test_London_nextTransition_historic() local
408 assertEquals(test.nextTransition(cur.getInstant()), next); in test_London_nextTransition_historic()
452 ZoneOffsetTransition cur = trans.get(i + 1); in test_London_previousTransition_historic() local
454 assertEquals(test.previousTransition(cur.getInstant()), prev); in test_London_previousTransition_historic()
888 ZoneOffsetTransition cur = trans.get(i); in test_Kathmandu_nextTransition_historic() local
891 assertEquals(test.nextTransition(cur.getInstant()), next); in test_Kathmandu_nextTransition_historic()
919 ZoneOffsetTransition cur = trans.get(i); in test_Apia_nextTransition_historic() local
922 assertEquals(test.nextTransition(cur.getInstant()), next); in test_Apia_nextTransition_historic()