/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestTextParser.java | 98 …public void test_parse_error(TemporalField field, TextStyle style, String text, int pos, Class<?> … in test_parse_error() 108 ParsePosition pos = new ParsePosition(3); in test_parse_midStr() local 116 ParsePosition pos = new ParsePosition(0); in test_parse_remainderIgnored() local 125 ParsePosition pos = new ParsePosition(0); in test_parse_noMatch1() local 133 ParsePosition pos = new ParsePosition(3); in test_parse_noMatch2() local 141 ParsePosition pos = new ParsePosition(6); in test_parse_noMatch_atEnd() local 250 ParsePosition pos = new ParsePosition(0); in test_parseText() local 257 ParsePosition pos = new ParsePosition(0); in test_parseNumber() local 265 ParsePosition pos = new ParsePosition(0); in test_parseStandaloneText() local 273 ParsePosition pos = new ParsePosition(0); in test_parseDayOfWeekText() local [all …]
|
D | TestZoneOffsetParser.java | 89 …public void test_parse_error(String pattern, String noOffsetText, String text, int pos, Class<?> e… in test_parse_error() 99 ParsePosition pos = new ParsePosition(0); in test_parse_exactMatch_UTC() local 106 ParsePosition pos = new ParsePosition(0); in test_parse_startStringMatch_UTC() local 113 ParsePosition pos = new ParsePosition(5); in test_parse_midStringMatch_UTC() local 120 ParsePosition pos = new ParsePosition(5); in test_parse_endStringMatch_UTC() local 128 ParsePosition pos = new ParsePosition(0); in test_parse_exactMatch_UTC_EmptyUTC() local 135 ParsePosition pos = new ParsePosition(0); in test_parse_startStringMatch_UTC_EmptyUTC() local 142 ParsePosition pos = new ParsePosition(5); in test_parse_midStringMatch_UTC_EmptyUTC() local 149 ParsePosition pos = new ParsePosition(5); in test_parse_endStringMatch_UTC_EmptyUTC() local 233 ParsePosition pos = new ParsePosition(0); in test_parse_exactMatch() local [all …]
|
D | TestSettingsParser.java | 97 ParsePosition pos = new ParsePosition(0); in test_parse_changeStyle_sensitive() local 104 ParsePosition pos = new ParsePosition(0); in test_parse_changeStyle_insensitive() local 111 ParsePosition pos = new ParsePosition(0); in test_parse_changeStyle_strict() local 118 ParsePosition pos = new ParsePosition(0); in test_parse_changeStyle_lenient() local
|
D | TestReducedParser.java | 121 …_parse_error(TemporalField field, int width, int baseValue, String text, int pos, Class<?> expecte… in test_parse_error() 131 ParsePosition pos = new ParsePosition(0); in test_parse_fieldRangeIgnored() local 186 …seAllStrict(TemporalField field, int width, int baseValue, String input, int pos, int parseLen, In… in test_parseAllStrict() 200 …eAllLenient(TemporalField field, int width, int baseValue, String input, int pos, int parseLen, In… in test_parseAllLenient() 272 …_parseStrict(TemporalField field, int minWidth, int maxWidth, int baseValue, String input, int pos, in test_parseStrict() 287 …ict_baseDate(TemporalField field, int minWidth, int maxWidth, int baseValue, String input, int pos, in test_parseStrict_baseDate() 305 …parseLenient(TemporalField field, int minWidth, int maxWidth, int baseValue, String input, int pos, in test_parseLenient() 320 …ent_baseDate(TemporalField field, int minWidth, int maxWidth, int baseValue, String input, int pos, in test_parseLenient_baseDate() 367 …public void test_parseAdjacent(String pattern, String input, boolean strict, int pos, int parseLen… in test_parseAdjacent() 421 ParsePosition pos = new ParsePosition(0); in test_reducedWithChronoYear() local [all …]
|
D | TestNumberParser.java | 96 …ror(TemporalField field, int min, int max, SignStyle style, String text, int pos, Class<?> expecte… in test_parse_error() 167 …th, int maxWidth, SignStyle signStyle, int subsequentWidth, String text, int pos, int expectedPos,… in test_parse_fresh() 187 …th, int maxWidth, SignStyle signStyle, int subsequentWidth, String text, int pos, int expectedPos,… in test_parse_textField() 309 ParsePosition pos = new ParsePosition(0); in test_parseSignsStrict() local 419 ParsePosition pos = new ParsePosition(0); in test_parseSignsLenient() local 510 ParsePosition pos = new ParsePosition(0); in test_parseDigitsLenient() local 544 ParsePosition pos = new ParsePosition(0); in test_parseDigitsAdjacentLenient() local
|
D | TestFractionPrinterParser.java | 244 ParsePosition pos = new ParsePosition(0); in test_reverseParse() local 253 ParsePosition pos = new ParsePosition((result.startsWith(".") ? 1 : 0)); in test_reverseParse_noDecimalPoint() local 262 ParsePosition pos = new ParsePosition(0); in test_reverseParse_followedByNonDigit() local 280 ParsePosition pos = new ParsePosition(1); in test_reverseParse_preceededByNonDigit() local 297 ParsePosition pos = new ParsePosition(0); in test_reverseParse_seconds() local 327 …(TemporalField field, int min, int max, boolean decimalPoint, String text, int pos, int expected) { in test_parse_nothing()
|
D | TestStringLiteralParser.java | 108 …public void test_parse_success(String s, boolean caseSensitive, String text, int pos, int expected… in test_parse_success() 132 public void test_parse_error(String s, String text, int pos, Class<?> expected) { in test_parse_error()
|
D | TestCharLiteralParser.java | 105 String text, int pos, int expectedPos) { in test_parse_success() 129 public void test_parse_error(char c, String text, int pos, Class<?> expected) { in test_parse_error()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Clob.java | 95 String getSubString(long pos, int length) throws SQLException; in getSubString() 196 int setString(long pos, String str) throws SQLException; in setString() 228 int setString(long pos, String str, int offset, int len) throws SQLException; in setString() 257 java.io.OutputStream setAsciiStream(long pos) throws SQLException; in setAsciiStream() 287 java.io.Writer setCharacterStream(long pos) throws SQLException; in setCharacterStream() 346 Reader getCharacterStream(long pos, long length) throws SQLException; in getCharacterStream()
|
D | Blob.java | 97 byte[] getBytes(long pos, int length) throws SQLException; in getBytes() 181 int setBytes(long pos, byte[] bytes) throws SQLException; in setBytes() 217 int setBytes(long pos, byte[] bytes, int offset, int len) throws SQLException; in setBytes() 246 java.io.OutputStream setBinaryStream(long pos) throws SQLException; in setBinaryStream() 303 InputStream getBinaryStream(long pos, long length) throws SQLException; in getBinaryStream()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineResultTest.java | 95 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; in test_bytesConsumed() local 118 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; in test_bytesProduced() local 141 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; in test_getHandshakeStatus() local 164 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; in test_getStatus() local 187 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; in test_toString() local
|
/libcore/ojluni/src/main/java/java/text/ |
D | StringCharacterIterator.java | 58 private int pos; field in StringCharacterIterator 76 public StringCharacterIterator(String text, int pos) in StringCharacterIterator() 90 public StringCharacterIterator(String text, int begin, int end, int pos) { in StringCharacterIterator()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 67 private HeapByteBuffer(byte[] buf, int mark, int pos, int lim, int cap, int off, in HeapByteBuffer() 211 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked() 239 void putUnchecked(int pos, char[] src, int srcOffset, int length) { in putUnchecked() 272 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked() 300 void putUnchecked(int pos, short[] src, int srcOffset, int length) { in putUnchecked() 333 void getUnchecked(int pos, int[] dst, int dstOffset, int length) { in getUnchecked() 361 void putUnchecked(int pos, int[] src, int srcOffset, int length) { in putUnchecked() 395 void getUnchecked(int pos, long[] dst, int dstOffset, int length) { in getUnchecked() 423 void putUnchecked(int pos, long[] src, int srcOffset, int length) { in putUnchecked() 456 void getUnchecked(int pos, float[] dst, int dstOffset, int length) { in getUnchecked() [all …]
|
D | ByteBuffer.java | 209 ByteBuffer(int mark, int pos, int lim, int cap, // package-private in ByteBuffer() 218 ByteBuffer(int mark, int pos, int lim, int cap) { // package-private in ByteBuffer() 982 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked() 1007 void putUnchecked(int pos, char[] dst, int srcOffset, int length) { in putUnchecked() 1077 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked() 1102 void putUnchecked(int pos, short[] dst, int srcOffset, int length) { in putUnchecked() 1172 void getUnchecked(int pos, int[] dst, int dstOffset, int length) { in getUnchecked() 1197 void putUnchecked(int pos, int[] dst, int srcOffset, int length) { in putUnchecked() 1267 void getUnchecked(int pos, long[] dst, int dstOffset, int length) { in getUnchecked() 1292 void putUnchecked(int pos, long[] dst, int srcOffset, int length) { in putUnchecked() [all …]
|
D | DirectByteBuffer.java | 132 int mark, int pos, int lim, int cap, in DirectByteBuffer() 138 int mark, int pos, int lim, int cap, in DirectByteBuffer() 162 int pos = position(); in slice() local 235 int pos = position(); in get() local 286 int pos = position(); in put() local 306 int pos = position(); in compact() local 371 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked() 417 void putUnchecked(int pos, char[] src, int srcOffset, int length) { in putUnchecked() 473 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked() 519 void putUnchecked(int pos, short[] src, int srcOffset, int length) { in putUnchecked() [all …]
|
D | ByteBufferAsCharBuffer.java | 37 int mark, int pos, int lim, int cap, in ByteBufferAsCharBuffer() 58 int pos = this.position(); in slice() local 138 int pos = position(); in compact() local 181 int pos = position(); in subSequence() local
|
D | ByteBufferAsFloatBuffer.java | 37 int mark, int pos, int lim, int cap, in ByteBufferAsFloatBuffer() 58 int pos = this.position(); in slice() local 134 int pos = position(); in compact() local
|
D | ByteBufferAsIntBuffer.java | 37 int mark, int pos, int lim, int cap, in ByteBufferAsIntBuffer() 58 int pos = this.position(); in slice() local 134 int pos = position(); in compact() local
|
D | ByteBufferAsLongBuffer.java | 37 int mark, int pos, int lim, int cap, in ByteBufferAsLongBuffer() 58 int pos = this.position(); in slice() local 134 int pos = position(); in compact() local
|
D | ByteBufferAsShortBuffer.java | 37 int mark, int pos, int lim, int cap, in ByteBufferAsShortBuffer() 58 int pos = this.position(); in slice() local 133 int pos = position(); in compact() local
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | IOUtil.java | 54 int pos = src.position(); in write() local 80 int pos = bb.position(); in writeFromNativeBuffer() local 121 int pos = buf.position(); in write() local 155 int pos = vec.getPosition(j); in write() local 211 int pos = bb.position(); in readIntoNativeBuffer() local 253 int pos = buf.position(); in read() local 289 int pos = vec.getPosition(j); in read() local
|
D | FileDispatcher.java | 45 abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size, in lock() 48 abstract void release(FileDescriptor fd, long pos, long size) in release()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatter.java | 487 ParsePosition pos = new ParsePosition(3); in test_parse_CharSequence_ParsePosition() local 499 ParsePosition pos = new ParsePosition(3); in test_parse_CharSequence_ParsePosition_resolved() local 516 ParsePosition pos = new ParsePosition(3); in test_parse_CharSequence_ParsePosition_parseError() local 695 ParsePosition pos = new ParsePosition(0); in test_parseUnresolved_StringParsePosition() local 705 ParsePosition pos = new ParsePosition(0); in test_parseUnresolved_StringParsePosition_parseError() local 716 ParsePosition pos = new ParsePosition(3); in test_parseUnresolved_StringParsePosition_duplicateFieldSameValue() local 727 ParsePosition pos = new ParsePosition(3); in test_parseUnresolved_StringParsePosition_duplicateFieldDifferentValue() local 737 ParsePosition pos = new ParsePosition(0); in test_parseUnresolved_StringParsePosition_nullString() local 738 test.parseUnresolved((String) null, pos); in test_parseUnresolved_StringParsePosition_nullString() local 750 ParsePosition pos = new ParsePosition(6); in test_parseUnresolved_StringParsePosition_invalidPosition() local [all …]
|
D | TCKLocalizedFieldParser.java | 98 …public void test_parse_textField(String pattern, String text, int pos, int expectedPos, long expec… in test_parse_textField() 149 …public void test_parse_textLocalDate(String pattern, String text, int pos, int expectedPos, LocalD… in test_parse_textLocalDate() 186 …public void test_parse_WeekBasedYear(String pattern, String text, int pos, int expectedPos, LocalD… in test_parse_WeekBasedYear()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldFormatTest.java | 32 FieldPosition pos) { in format() 39 public Object parseObject(String source, ParsePosition pos) { in parseObject()
|