Home | History | Annotate | Download | only in input

Lines Matching refs:position

66     private long position;
101 * Return the current position.
103 * @return the current position.
106 return position;
124 long avail = size - position;
142 position = 0;
147 * Mark the current position.
149 * @param readlimit The number of bytes before this marked position
157 mark = position;
184 if (position == size) {
187 position++;
223 if (position == size) {
226 position += length;
228 if (position > size) {
229 returnLength = length - (int)(position - size);
230 position = size;
240 * @throws IOException If no position has been marked
241 * or the read limit has been exceed since the last position was
249 throw new IOException("No position has been marked");
251 if (position > (mark + readlimit)) {
252 throw new IOException("Marked position [" + mark +
256 position = mark;
275 if (position == size) {
278 position += numberOfBytes;
280 if (position > size) {
281 returnLength = numberOfBytes - (position - size);
282 position = size;