Lines Matching defs:mark
37 * while changing the position, limit and mark of a read-only buffer is OK.</li>
49 * <code>UNSET_MARK</code> means the mark has not been set.
69 int mark = UNSET_MARK;
204 * and mark is cleared.
210 mark = UNSET_MARK;
219 * zero, and the mark is cleared.
228 mark = UNSET_MARK;
286 * been adjusted to be equivalent to <code>newLimit</code>. If the mark
305 if ((mark != UNSET_MARK) && (mark > newLimit)) {
306 mark = UNSET_MARK;
317 public final Buffer mark() {
318 mark = position;
334 * If the mark is set and it is greater than the new position, then it is
355 if ((mark != UNSET_MARK) && (mark > position)) {
356 mark = UNSET_MARK;
371 * Resets the position of this buffer to the <code>mark</code>.
375 * if the mark is not set.
378 if (mark == UNSET_MARK) {
381 position = mark;
388 * The position is set to zero, and the mark is cleared. The content of this
395 mark = UNSET_MARK;