/external/apache-commons-io/src/main/java/org/apache/commons/io/ |
D | IOUtils.java | 2289 public static long skip(final InputStream input, final long toSkip) throws IOException { in skip() argument 2290 if (toSkip < 0) { in skip() 2291 … throw new IllegalArgumentException("Skip count must be non-negative, actual: " + toSkip); in skip() 2299 long remain = toSkip; in skip() 2309 return toSkip - remain; in skip() 2324 public static long skip(final ReadableByteChannel input, final long toSkip) throws IOException { in skip() argument 2325 if (toSkip < 0) { in skip() 2326 … throw new IllegalArgumentException("Skip count must be non-negative, actual: " + toSkip); in skip() 2328 …final ByteBuffer skipByteBuffer = ByteBuffer.allocate((int) Math.min(toSkip, DEFAULT_BUFFER_SIZE)); in skip() 2329 long remain = toSkip; in skip() [all …]
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/input/ |
D | ReadAheadInputStream.java | 414 int toSkip = (int) n; in skipInternal() local 416 toSkip -= activeBuffer.remaining(); in skipInternal() 417 assert toSkip > 0; // skipping from activeBuffer already handled. in skipInternal() local 420 readAheadBuffer.position(toSkip + readAheadBuffer.position()); in skipInternal() 427 final long toSkip = n - skippedBytes; in skipInternal() local 432 final long skippedFromInputStream = underlyingInputStream.skip(toSkip); in skipInternal()
|
D | BoundedInputStream.java | 218 final long toSkip = max >= 0 ? Math.min(n, max - pos) : n; in skip() local 219 final long skippedBytes = in.skip(toSkip); in skip()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/ |
D | BitInputStream.java | 122 int toSkip = bitsCachedSize % Byte.SIZE; in alignWithByteBoundary() local 123 if (toSkip > 0) { in alignWithByteBoundary() 124 readCachedBits(toSkip); in alignWithByteBoundary()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | ZipArchiveInputStream.java | 1122 BigInteger toSkip = len.add(BigInteger.valueOf(DWORD - suspectLocalFileHeader.length in isApkSigningBlock() local 1127 if (toSkip.signum() < 0) { in isApkSigningBlock() 1129 int off = suspectLocalFileHeader.length + toSkip.intValue(); in isApkSigningBlock() 1134 int bytesInBuffer = Math.abs(toSkip.intValue()); in isApkSigningBlock() 1140 while (toSkip.compareTo(LONG_MAX) > 0) { in isApkSigningBlock() 1142 toSkip = toSkip.add(LONG_MAX.negate()); in isApkSigningBlock() 1144 realSkip(toSkip.longValue()); in isApkSigningBlock() 1264 final long toSkip = max >= 0 ? Math.min(n, max - pos) : n; in skip() local 1265 final long skippedBytes = IOUtils.skip(in, toSkip); in skip()
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | RealBufferedSource.java | 293 long toSkip = Math.min(byteCount, buffer.size()); in skip() local 294 buffer.skip(toSkip); in skip() 295 byteCount -= toSkip; in skip()
|
D | Buffer.java | 773 int toSkip = (int) Math.min(byteCount, head.limit - head.pos); 774 size -= toSkip; 775 byteCount -= toSkip; 776 head.pos += toSkip;
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | RealBufferedSource.java | 294 long toSkip = Math.min(byteCount, buffer.size()); in skip() local 295 buffer.skip(toSkip); in skip() 296 byteCount -= toSkip; in skip()
|
D | Buffer.java | 775 int toSkip = (int) Math.min(byteCount, head.limit - head.pos); 776 size -= toSkip; 777 byteCount -= toSkip; 778 head.pos += toSkip;
|
/external/okio/okio/src/commonMain/kotlin/okio/internal/ |
D | RealBufferedSource.kt | 304 val toSkip = minOf(byteCount, buffer.size) in commonSkip() constant 305 buffer.skip(toSkip) in commonSkip() 306 byteCount -= toSkip in commonSkip()
|
D | Buffer.kt | 422 val toSkip = minOf(byteCount, head.limit - head.pos).toInt() in commonClear() constant 423 size -= toSkip.toLong() in commonClear() 424 byteCount -= toSkip.toLong() in commonClear() 425 head.pos += toSkip in commonClear()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/util/ |
D | NalUnitUtil.java | 502 int toSkip = 0; in parseH265SpsNalUnitPayload() local 505 toSkip += 89; in parseH265SpsNalUnitPayload() 508 toSkip += 8; in parseH265SpsNalUnitPayload() 511 data.skipBits(toSkip); in parseH265SpsNalUnitPayload()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | H265Reader.java | 264 int toSkip = 0; in parseMediaFormat() local 267 toSkip += 89; in parseMediaFormat() 270 toSkip += 8; in parseMediaFormat() 273 bitArray.skipBits(toSkip); in parseMediaFormat()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/util/ |
D | NalUnitUtil.java | 483 int toSkip = 0; in parseH265SpsNalUnitPayload() local 486 toSkip += 89; in parseH265SpsNalUnitPayload() 489 toSkip += 8; in parseH265SpsNalUnitPayload() 492 data.skipBits(toSkip); in parseH265SpsNalUnitPayload()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | H265Reader.java | 266 int toSkip = 0; in parseMediaFormat() local 269 toSkip += 89; in parseMediaFormat() 272 toSkip += 8; in parseMediaFormat() 275 bitArray.skipBits(toSkip); in parseMediaFormat()
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/ |
D | OutdatedPaths.java | 191 Boolean toSkip = SKIP_PATHS.get(distinguishedPath); in isOutdated() local 192 if (toSkip != null) { in isOutdated()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Iterables.java | 917 int toSkip = Math.min(list.size(), numberToSkip); 918 return list.subList(toSkip, list.size()).iterator(); 957 int toSkip = Math.min(list.size(), numberToSkip); 958 return list.subList(toSkip, list.size()).spliterator();
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | LiteralByteStringTest.java | 293 long toSkip = n; in skipFully() local 299 long skipped = toSkip - n; in skipFully() 304 + toSkip in skipFully()
|
D | NioByteStringTest.java | 312 long toSkip = n; in skipFully() local 318 long skipped = toSkip - n; in skipFully() 323 + toSkip in skipFully()
|
/external/guice/core/src/com/google/inject/spi/ |
D | Elements.java | 570 int toSkip = 0; in getPartialCallStack() local 572 toSkip = moduleSource.getStackTraceSize(); in getPartialCallStack() 575 int chunkSize = callStack.length - toSkip - 1; in getPartialCallStack()
|
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | LiteralByteStringTest.java | 293 long toSkip = n; in skipFully() local 299 long skipped = toSkip - n; in skipFully() 304 + toSkip in skipFully()
|
D | NioByteStringTest.java | 312 long toSkip = n; in skipFully() local 318 long skipped = toSkip - n; in skipFully() 323 + toSkip in skipFully()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServer.java | 840 long toSkip = byteCount - toRead; 841 if (toSkip > 0) { 842 source.skip(toSkip);
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | Iterables.java | 923 int toSkip = Math.min(list.size(), numberToSkip); 924 return list.subList(toSkip, list.size()).iterator();
|
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | CodedInputStream.java | 3095 int toSkip = size - totalSkipped; in skipRawBytesSlowPath() local 3096 long skipped = skip(input, toSkip); in skipRawBytesSlowPath() 3097 if (skipped < 0 || skipped > toSkip) { in skipRawBytesSlowPath()
|