Home
last modified time | relevance | path

Searched refs:copyLength (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/main/java/java/io/
DPipedReader.java260 int copyLength = 0; in read() local
263 copyLength = count > this.buffer.length - out ? this.buffer.length - out : count; in read()
264 System.arraycopy(this.buffer, out, buffer, offset, copyLength); in read()
265 out += copyLength; in read()
280 if (copyLength == count || in == -1) { in read()
281 return copyLength; in read()
284 int charsCopied = copyLength; in read()
286 copyLength = in - out > count - copyLength ? count - copyLength : in - out; in read()
287 System.arraycopy(this.buffer, out, buffer, offset + charsCopied, copyLength); in read()
288 out += copyLength; in read()
[all …]
DPushbackReader.java178 int copyLength = 0; in read() local
182 copyLength = (buf.length - pos >= count) ? count : buf.length in read()
184 System.arraycopy(buf, pos, buffer, newOffset, copyLength); in read()
185 newOffset += copyLength; in read()
186 copiedChars += copyLength; in read()
188 pos += copyLength; in read()
191 if (copyLength == count) { in read()
DPushbackInputStream.java171 int copiedBytes = 0, copyLength = 0, newOffset = byteOffset; in read() local
174 copyLength = (buf.length - pos >= byteCount) ? byteCount : buf.length - pos; in read()
175 System.arraycopy(buf, pos, buffer, newOffset, copyLength); in read()
176 newOffset += copyLength; in read()
177 copiedBytes += copyLength; in read()
179 pos += copyLength; in read()
182 if (copyLength == byteCount) { in read()
/libcore/luni/src/main/java/java/util/
DArrays.java2640 int copyLength = Math.min(resultLength, originalLength - start); in copyOfRange() local
2642 System.arraycopy(original, start, result, 0, copyLength); in copyOfRange()
2670 int copyLength = Math.min(resultLength, originalLength - start); in copyOfRange() local
2672 System.arraycopy(original, start, result, 0, copyLength); in copyOfRange()
2700 int copyLength = Math.min(resultLength, originalLength - start); in copyOfRange() local
2702 System.arraycopy(original, start, result, 0, copyLength); in copyOfRange()
2730 int copyLength = Math.min(resultLength, originalLength - start); in copyOfRange() local
2732 System.arraycopy(original, start, result, 0, copyLength); in copyOfRange()
2760 int copyLength = Math.min(resultLength, originalLength - start); in copyOfRange() local
2762 System.arraycopy(original, start, result, 0, copyLength); in copyOfRange()
[all …]