Lines Matching refs:position
66 private long position;
101 * Return the current position.
103 * @return the current position.
106 return position;
126 position = 0;
131 * Mark the current position.
133 * @param readlimit The number of characters before this marked position
141 mark = position;
168 if (position == size) {
171 position++;
207 if (position == size) {
210 position += length;
212 if (position > size) {
213 returnLength = length - (int)(position - size);
214 position = size;
224 * @throws IOException If no position has been marked
225 * or the read limit has been exceed since the last position was
233 throw new IOException("No position has been marked");
235 if (position > (mark + readlimit)) {
236 throw new IOException("Marked position [" + mark +
240 position = mark;
259 if (position == size) {
262 position += numberOfChars;
264 if (position > size) {
265 returnLength = numberOfChars - (position - size);
266 position = size;