Home
last modified time | relevance | path

Searched defs:pos (Results 1 – 25 of 203) sorted by relevance

123456789

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestTextParser.java99 …public void test_parse_error(TemporalField field, TextStyle style, String text, int pos, Class<?> … in test_parse_error()
109 ParsePosition pos = new ParsePosition(3); in test_parse_midStr() local
117 ParsePosition pos = new ParsePosition(0); in test_parse_remainderIgnored() local
126 ParsePosition pos = new ParsePosition(0); in test_parse_noMatch1() local
134 ParsePosition pos = new ParsePosition(3); in test_parse_noMatch2() local
142 ParsePosition pos = new ParsePosition(6); in test_parse_noMatch_atEnd() local
220 ParsePosition pos = new ParsePosition(0); in test_parseText() local
227 ParsePosition pos = new ParsePosition(0); in test_parseNumber() local
235 ParsePosition pos = new ParsePosition(0); in test_parseDayOfWeekText() local
248 ParsePosition pos = new ParsePosition(0); in test_parse_strict_caseSensitive_parseUpper() local
[all …]
DTestZoneOffsetParser.java89 …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 …]
DTestSettingsParser.java97 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
DTestTextParserWithLocale.java118 ParsePosition pos = new ParsePosition(0); in test_parseDayOfWeekText() local
153 ParsePosition pos = new ParsePosition(0); in test_parseStandaloneText() local
161 ParsePosition pos = new ParsePosition(0); in test_parse_french_short_strict_full_noMatch() local
169 ParsePosition pos = new ParsePosition(0); in test_parse_french_short_strict_short_match() local
182 ParsePosition pos = new ParsePosition(0); in test_parseLenientText() local
DTestReducedParser.java121 …_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 …]
DTestNumberParser.java96 …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
DTestFractionPrinterParser.java247 ParsePosition pos = new ParsePosition(0); in test_reverseParse() local
256 ParsePosition pos = new ParsePosition((result.startsWith(".") ? 1 : 0)); in test_reverseParse_noDecimalPoint() local
265 ParsePosition pos = new ParsePosition(0); in test_reverseParse_followedByNonDigit() local
283 ParsePosition pos = new ParsePosition(1); in test_reverseParse_preceededByNonDigit() local
300 ParsePosition pos = new ParsePosition(0); in test_reverseParse_seconds() local
330 …(TemporalField field, int min, int max, boolean decimalPoint, String text, int pos, int expected) { in test_parse_nothing()
/libcore/ojluni/src/main/java/java/sql/
DClob.java95 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()
DBlob.java97 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/
DSSLEngineResultTest.java95 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/util/zip/
DZipUtils.java262 static final long CENSIG(byte[] b, int pos) { return LG(b, pos + 0); } in CENSIG()
263 static final int CENVEM(byte[] b, int pos) { return SH(b, pos + 4); } in CENVEM()
264 …static final int CENVEM_FA(byte[] b, int pos) { return CH(b, pos + 5); } // file attribute compat… in CENVEM_FA()
265 static final int CENVER(byte[] b, int pos) { return SH(b, pos + 6); } in CENVER()
266 static final int CENFLG(byte[] b, int pos) { return SH(b, pos + 8); } in CENFLG()
267 static final int CENHOW(byte[] b, int pos) { return SH(b, pos + 10);} in CENHOW()
268 static final long CENTIM(byte[] b, int pos) { return LG(b, pos + 12);} in CENTIM()
269 static final long CENCRC(byte[] b, int pos) { return LG(b, pos + 16);} in CENCRC()
270 static final long CENSIZ(byte[] b, int pos) { return LG(b, pos + 20);} in CENSIZ()
271 static final long CENLEN(byte[] b, int pos) { return LG(b, pos + 24);} in CENLEN()
[all …]
/libcore/ojluni/src/main/java/java/nio/
DHeapByteBuffer.java122 int mark, int pos, int lim, int cap, in HeapByteBuffer()
142 int pos = this.position(); in slice() local
240 int pos = position(); in get() local
300 int pos = position(); in put() local
406 int pos = position(); in compact() local
481 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked()
507 void putUnchecked(int pos, char[] src, int srcOffset, int length) { in putUnchecked()
514 int pos = position(); in asCharBuffer() local
571 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked()
609 void putUnchecked(int pos, short[] src, int srcOffset, int length) { in putUnchecked()
[all …]
DHeapCharBuffer.java122 int mark, int pos, int lim, int cap, in HeapCharBuffer()
142 int pos = this.position(); in slice() local
240 int pos = position(); in get() local
300 int pos = position(); in put() local
386 int pos = position(); in put() local
406 int pos = position(); in compact() local
1086 int pos = position(); in subSequence() local
DByteBuffer.java294 ByteBuffer(int mark, int pos, int lim, int cap, // package-private in ByteBuffer()
305 ByteBuffer(int mark, int pos, int lim, int cap) { // package-private in ByteBuffer()
817 int pos = position(); in get() local
1030 int pos = position(); in put() local
1106 void putBuffer(int pos, ByteBuffer src, int srcPos, int n) { in putBuffer()
1296 int pos = position(); in put() local
2379 int pos = position(); in alignedSlice() local
2479 abstract void getUnchecked(int pos, char[] dst, int dstOffset, int length); in getUnchecked()
2509 abstract void putUnchecked(int pos, char[] dst, int srcOffset, int length); in putUnchecked()
2589 abstract void getUnchecked(int pos, short[] dst, int dstOffset, int length); in getUnchecked()
[all …]
DHeapIntBuffer.java122 int mark, int pos, int lim, int cap, in HeapIntBuffer()
142 int pos = this.position(); in slice() local
240 int pos = position(); in get() local
300 int pos = position(); in put() local
406 int pos = position(); in compact() local
DHeapFloatBuffer.java122 int mark, int pos, int lim, int cap, in HeapFloatBuffer()
142 int pos = this.position(); in slice() local
240 int pos = position(); in get() local
300 int pos = position(); in put() local
406 int pos = position(); in compact() local
DHeapShortBuffer.java122 int mark, int pos, int lim, int cap, in HeapShortBuffer()
142 int pos = this.position(); in slice() local
240 int pos = position(); in get() local
300 int pos = position(); in put() local
406 int pos = position(); in compact() local
DHeapLongBuffer.java122 int mark, int pos, int lim, int cap, in HeapLongBuffer()
142 int pos = this.position(); in slice() local
240 int pos = position(); in get() local
300 int pos = position(); in put() local
406 int pos = position(); in compact() local
/libcore/ojluni/src/main/java/java/text/
DStringCharacterIterator.java59 private int pos; field in StringCharacterIterator
77 public StringCharacterIterator(String text, int pos) in StringCharacterIterator()
91 public StringCharacterIterator(String text, int begin, int end, int pos) { in StringCharacterIterator()
/libcore/ojluni/annotations/hiddenapi/java/nio/
DByteBuffer.java37 ByteBuffer(int mark, int pos, int lim, int cap, byte[] hb, int offset) { in ByteBuffer()
42 ByteBuffer(int mark, int pos, int lim, int cap) { in ByteBuffer()
157 abstract void getUnchecked(int pos, char[] dst, int dstOffset, int length); in getUnchecked()
163 abstract void putUnchecked(int pos, char[] dst, int srcOffset, int length); in putUnchecked()
175 abstract void getUnchecked(int pos, short[] dst, int dstOffset, int length); in getUnchecked()
181 abstract void putUnchecked(int pos, short[] dst, int srcOffset, int length); in putUnchecked()
193 abstract void getUnchecked(int pos, int[] dst, int dstOffset, int length); in getUnchecked()
199 abstract void putUnchecked(int pos, int[] dst, int srcOffset, int length); in putUnchecked()
211 abstract void getUnchecked(int pos, long[] dst, int dstOffset, int length); in getUnchecked()
217 abstract void putUnchecked(int pos, long[] dst, int srcOffset, int length); in putUnchecked()
[all …]
DDirectByteBuffer.java58 int pos, in DirectByteBuffer()
69 int pos, in DirectByteBuffer()
182 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked()
202 void putUnchecked(int pos, char[] src, int srcOffset, int length) { in putUnchecked()
226 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked()
246 void putUnchecked(int pos, short[] src, int srcOffset, int length) { in putUnchecked()
270 final void getUnchecked(int pos, int[] dst, int dstOffset, int length) { in getUnchecked()
290 final void putUnchecked(int pos, int[] src, int srcOffset, int length) { in putUnchecked()
314 final void getUnchecked(int pos, long[] dst, int dstOffset, int length) { in getUnchecked()
334 final void putUnchecked(int pos, long[] src, int srcOffset, int length) { in putUnchecked()
[all …]
/libcore/ojluni/src/main/java/sun/nio/ch/
DIOUtil.java54 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
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatter.java487 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 …]
/libcore/luni/src/test/java/libcore/java/text/
DOldFormatTest.java32 FieldPosition pos) { in format()
39 public Object parseObject(String source, ParsePosition pos) { in parseObject()
/libcore/ojluni/src/test/java/io/InputStream/
DSkip.java71 long pos = in.position(); in dotestExact() local
154 long pos = 0; in testSkip() local
220 public void position(long pos) { in position()

123456789