/libcore/ojluni/src/main/java/java/lang/ |
D | CharSequence.java | 132 int cur = 0; in chars() field in CharSequence.CharIterator 135 return cur < length(); in chars() 140 return charAt(cur++); in chars() 148 for (; cur < length(); cur++) { in chars() 149 block.accept(charAt(cur)); in chars() 179 int cur = 0; in codePoints() field in CharSequence.CodePointIterator 184 int i = cur; in codePoints() 201 cur = i; in codePoints() 206 return cur < length(); in codePoints() 212 if (cur >= length) { in codePoints() [all …]
|
/libcore/ojluni/src/main/native/ |
D | FileInputStream.c | 77 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/time/format/ |
D | DateTimeFormatterBuilder.java | 1584 char cur = pattern.charAt(pos); in parsePattern() local 1585 if ((cur >= 'A' && cur <= 'Z') || (cur >= 'a' && cur <= 'z')) { in parsePattern() 1587 for ( ; pos < pattern.length() && pattern.charAt(pos) == cur; pos++); // short loop in parsePattern() 1590 if (cur == 'p') { in parsePattern() 1593 cur = pattern.charAt(pos); in parsePattern() 1594 if ((cur >= 'A' && cur <= 'Z') || (cur >= 'a' && cur <= 'z')) { in parsePattern() 1597 … for ( ; pos < pattern.length() && pattern.charAt(pos) == cur; pos++); // short loop in parsePattern() 1608 TemporalField field = FIELD_MAP.get(cur); in parsePattern() 1610 parseField(cur, count, field); in parsePattern() 1611 } else if (cur == 'z') { in parsePattern() [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | DataInputStream.java | 221 int cur = 0; in skipBytes() local 223 while ((total<n) && ((cur = (int) in.skip(n-total)) > 0)) { in skipBytes() 224 total += cur; in skipBytes()
|
D | RandomAccessFile.java | 1010 long cur = getFilePointer(); in readLine() local 1012 seek(cur); in readLine()
|
D | ObjectInputStream.java | 2355 Callback prev = null, cur = list; in register() local 2356 while (cur != null && priority < cur.priority) { in register() 2357 prev = cur; in register() 2358 cur = cur.next; in register() 2362 prev.next = new Callback(obj, priority, cur, acc); in register()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDateFormatTest.java | 401 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/ |
D | MessageFormatTest.java | 170 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/ |
D | Nodes.java | 1115 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/ |
D | TCKZoneRules.java | 405 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()
|