Lines Matching defs:limit
197 private int limit = 0;
682 if ((pos < limit || fillBuffer(1)) && buffer[pos] == '>') {
718 * Returns true once {@code limit - pos >= minimum}. If the data is
733 if (limit != pos) {
734 limit -= pos;
735 System.arraycopy(buffer, pos, buffer, 0, limit);
737 limit = 0;
742 while ((total = in.read(buffer, limit, buffer.length - limit)) != -1) {
743 limit += total;
747 && limit > 0 && buffer[0] == '\ufeff') {
752 if (limit >= minimum) {
782 while (pos < limit || fillBuffer(1)) {
792 if (pos == limit && !fillBuffer(1)) {
848 while (pos < limit || fillBuffer(1)) {
858 for (; pos + toFind.length() <= limit || fillBuffer(toFind.length()); pos++) {
884 while (pos < limit) {
932 for (; pos + i < limit; i++) {
964 buffer[limit] = '\0';
1013 if (pos == limit && !fillBuffer(1)) {
1020 if (pos + 4 > limit && !fillBuffer(4)) {
1167 int afterPos = Math.min(limit - pos, 20);