Home
last modified time | relevance | path

Searched defs:position (Results 1 – 25 of 56) sorted by relevance

123

/libcore/luni/src/main/java/java/nio/channels/
DFileChannel.java250 public abstract FileLock lock(long position, long size, boolean shared) in lock()
281 long position, long size) throws IOException; in map()
292 public abstract long position() throws IOException; in position() method in FileChannel
312 public abstract FileChannel position(long newPosition) throws IOException; in position() method in FileChannel
380 public abstract int read(ByteBuffer buffer, long position) in read()
500 public abstract long transferFrom(ReadableByteChannel src, long position, in transferFrom()
537 public abstract long transferTo(long position, long count, in transferTo()
616 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock()
681 public abstract int write(ByteBuffer buffer, long position) in write()
DFileLock.java77 private final long position; field in FileLock
99 protected FileLock(FileChannel channel, long position, long size, boolean shared) { in FileLock()
121 public final long position() { in position() method in FileLock
/libcore/luni/src/main/java/java/nio/
DFileChannelImpl.java94 …private FileLock basicLock(long position, long size, boolean shared, boolean wait) throws IOExcept… in basicLock()
140 public FileLockImpl(FileChannel channel, long position, long size, boolean shared) { in FileLockImpl()
159 public final FileLock lock(long position, long size, boolean shared) throws IOException { in lock()
179 public final FileLock tryLock(long position, long size, boolean shared) throws IOException { in tryLock()
220 … public final MappedByteBuffer map(MapMode mapMode, long position, long size) throws IOException { in map()
261 public long position() throws IOException { in position() method in FileChannelImpl
270 public FileChannel position(long newPosition) throws IOException { in position() method in FileChannelImpl
283 public int read(ByteBuffer buffer, long position) throws IOException { in read()
294 private int readImpl(ByteBuffer buffer, long position) throws IOException { in readImpl()
363 … public long transferFrom(ReadableByteChannel src, long position, long count) throws IOException { in transferFrom()
[all …]
DBuffer.java75 int position = 0; field in Buffer
327 public final int position() { in position() method in Buffer
344 public final Buffer position(int newPosition) { in position() method in Buffer
/libcore/luni/src/main/java/java/text/
DFormat.java149 ParsePosition position = new ParsePosition(0); in parseObject() local
175 public abstract Object parseObject(String string, ParsePosition position); in parseObject()
177 static boolean upTo(String string, ParsePosition position, in upTo()
204 static boolean upToWithQuotes(String string, ParsePosition position, in upToWithQuotes()
DDecimalFormat.java668 private void checkBufferAndFieldPosition(StringBuffer buffer, FieldPosition position) { in checkBufferAndFieldPosition()
678 public StringBuffer format(double value, StringBuffer buffer, FieldPosition position) { in format()
685 public StringBuffer format(long value, StringBuffer buffer, FieldPosition position) { in format()
692 public final StringBuffer format(Object number, StringBuffer buffer, FieldPosition position) { in format()
702 buffer.append(ndf.formatBigDecimal((BigDecimal) number, position)); in format() local
857 public Number parse(String string, ParsePosition position) { in parse()
DMessageFormat.java388 ParsePosition position = new ParsePosition(0); in applyPattern() local
554 FieldPosition position, List<FieldContainer> fields) { in formatImpl()
613 FieldPosition position, List<FieldContainer> fields) { in handleArgumentField()
830 ParsePosition position = new ParsePosition(0); in parse() local
857 public Object[] parse(String string, ParsePosition position) { in parse()
929 public Object parseObject(String string, ParsePosition position) { in parseObject()
933 private int match(String string, ParsePosition position, boolean last, in match()
962 private Format parseVariable(String string, ParsePosition position) { in parseVariable()
DSimpleDateFormat.java576 private void append(StringBuffer buffer, FieldPosition position, in append()
800 private Date error(ParsePosition position, int offset, TimeZone zone) { in error()
873 ParsePosition position = new ParsePosition(offset); in parse() local
898 ParsePosition position = new ParsePosition(offset); in parse() local
1040 public Date parse(String string, ParsePosition position) { in parse()
1112 private Number parseNumber(int max, String string, ParsePosition position) { in parseNumber()
1141 ParsePosition position = new ParsePosition(offset); in parseNumber() local
1192 ParsePosition position = new ParsePosition(offset + 1); in parseTimeZone() local
DChoiceFormat.java129 ParsePosition position = new ParsePosition(0); in applyPattern() local
354 public Number parse(String string, ParsePosition position) { in parse()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileLockTest.java42 protected MockFileLock(FileChannel channel, long position, long size, in MockFileLock()
116 final long position = ((long) Integer.MAX_VALUE + 1); in test_position() local
129 final long position = 0x0FFFFFFFFFFFFFFFL; in test_size() local
/libcore/dex/src/main/java/com/android/dex/util/
DByteArrayByteInput.java22 private int position; field in ByteArrayByteInput
/libcore/luni/src/main/java/java/sql/
DBlob.java97 public long position(Blob pattern, long start) throws SQLException; in position() method
115 public long position(byte[] pattern, long start) throws SQLException; in position() method
DClob.java92 public long position(Clob searchstr, long start) throws SQLException; in position() method
108 public long position(String searchstr, long start) throws SQLException; in position() method
/libcore/luni/src/test/resources/wf/
Dstaff.dtd3 <!ELEMENT position (#PCDATA)> element
/libcore/dom/src/test/resources/
Dstaff.dtd3 <!ELEMENT position (#PCDATA)> element
Dstaff2.dtd3 <!ELEMENT position (#PCDATA)> element
/libcore/luni/src/test/resources/systemid/
Dstaff.dtd3 <!ELEMENT position (#PCDATA)> element
/libcore/luni/src/test/resources/nwf/
Dstaff.dtd3 <!ELEMENT position (#PCDATA)> element
/libcore/dex/src/main/java/com/android/dex/
DDex.java186 public Section open(int position) { in open()
338 int position = tableOfContents.fieldIds.off + (SizeOf.MEMBER_ID_ITEM * fieldIndex); in nameIndexFromFieldIndex() local
379 int position = tableOfContents.fieldIds.off + (SizeOf.MEMBER_ID_ITEM * fieldIndex); in typeIndexFromFieldIndex() local
390 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); in declaringClassIndexFromMethodIndex() local
400 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); in nameIndexFromMethodIndex() local
412 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); in parameterTypeIndicesFromMethodIndex() local
443 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); in returnTypeIndexFromMethodIndex() local
458 int position = tableOfContents.typeIds.off + (SizeOf.TYPE_ID_ITEM * typeIndex); in descriptorIndexFromTypeIndex() local
467 int position = tableOfContents.classDefs.off + (SizeOf.CLASS_DEF_ITEM * classDefIndex); in typeIndexFromClassDefIndex() local
476 int position = tableOfContents.classDefs.off + (SizeOf.CLASS_DEF_ITEM * classDefIndex); in annotationDirectoryOffsetFromClassDefIndex() local
[all …]
/libcore/luni/src/main/java/libcore/net/url/
DFileURLConnection.java166 public String getHeaderFieldKey(int position) { in getHeaderFieldKey()
183 public String getHeaderField(int position) { in getHeaderField()
/libcore/luni/src/main/java/java/io/
DOutputStreamWriter.java167 int position = bytes.position(); in flushBytes() local
170 out.write(bytes.array(), bytes.arrayOffset(), position); in flushBytes() local
/libcore/luni/src/test/java/libcore/java/io/
DOldOutputStreamTest.java29 private int position; field in OldOutputStreamTest.BasicOutputStream
/libcore/luni/src/main/java/javax/crypto/
DCipherSpi.java339 int position = input.position(); in engineUpdate() local
414 int position = input.position(); in engineUpdateAAD() local
523 int position = input.position(); in engineDoFinal() local
DMacSpi.java103 int position = input.position(); in engineUpdate() local
/libcore/luni/src/main/java/java/security/
DMessageDigestSpi.java80 int position = input.position(); in engineUpdate() local

123