Searched refs:newPosition (Results 1 – 6 of 6) sorted by relevance
177 int newPosition = position + SizeOf.CHAR; in getChar() local178 if (newPosition > limit) { in getChar()182 position = newPosition; in getChar()194 int newPosition = position + SizeOf.DOUBLE; in getDouble() local195 if (newPosition > limit) { in getDouble()199 position = newPosition; in getDouble()211 int newPosition = position + SizeOf.FLOAT; in getFloat() local212 if (newPosition > limit) { in getFloat()216 position = newPosition; in getFloat()228 int newPosition = position + SizeOf.INT; in getInt() local[all …]
163 int newPosition = position + SizeOf.CHAR; in getChar() local164 if (newPosition > limit) { in getChar()168 position = newPosition; in getChar()194 int newPosition = position + SizeOf.INT; in getInt() local195 if (newPosition > limit) { in getInt()199 position = newPosition; in getInt()209 int newPosition = position + SizeOf.LONG; in getLong() local210 if (newPosition > limit) { in getLong()214 position = newPosition; in getLong()224 int newPosition = position + SizeOf.SHORT; in getShort() local[all …]
344 public final Buffer position(int newPosition) { in position() argument345 positionImpl(newPosition); in position()349 void positionImpl(int newPosition) { in positionImpl() argument350 if (newPosition < 0 || newPosition > limit) { in positionImpl()351 … throw new IllegalArgumentException("Bad position (limit " + limit + "): " + newPosition); in positionImpl()354 position = newPosition; in positionImpl()
84 int newPosition = position + charCount; in get() local85 sequence.toString().getChars(position, newPosition, dst, dstOffset); in get()86 position = newPosition; in get()
270 public FileChannel position(long newPosition) throws IOException { in position() argument272 if (newPosition < 0) { in position()273 throw new IllegalArgumentException("position: " + newPosition); in position()276 Libcore.os.lseek(fd, newPosition, SEEK_SET); in position()
312 public abstract FileChannel position(long newPosition) throws IOException; in position() argument