/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/ |
D | CacheUtil.java | 85 long bytesLeft = requestLength; in getCached() local 86 while (bytesLeft != 0) { in getCached() 89 key, position, bytesLeft != C.LENGTH_UNSET ? bytesLeft : Long.MAX_VALUE); in getCached() 99 bytesLeft -= bytesLeft == C.LENGTH_UNSET ? 0 : blockLength; in getCached() 170 long bytesLeft; in cache() local 176 bytesLeft = lengthAndBytesAlreadyCached.first; in cache() 178 bytesLeft = getRequestLength(dataSpec, cache, key); in cache() 182 boolean lengthUnset = bytesLeft == C.LENGTH_UNSET; in cache() 183 while (bytesLeft != 0) { in cache() 186 cache.getCachedLength(key, position, lengthUnset ? Long.MAX_VALUE : bytesLeft); in cache() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | LimitedInputStream.cs | 46 private int bytesLeft; field in Google.Protobuf.LimitedInputStream 51 bytesLeft = size; in LimitedInputStream() 86 if (bytesLeft > 0) in Read() 88 int bytesRead = proxied.Read(buffer, offset, Math.Min(bytesLeft, count)); in Read() 89 bytesLeft -= bytesRead; in Read()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLEvpCipher.java | 116 final int bytesLeft = output.length - outputOffset; in updateInternal() local 117 if (bytesLeft < maximumLen) { in updateInternal() 119 + bytesLeft + " < " + maximumLen); in updateInternal() 145 final int bytesLeft = output.length - outputOffset; in doFinalInternal() local 147 if (bytesLeft >= maximumLen) { in doFinalInternal() 152 if (writtenBytes > bytesLeft) { in doFinalInternal() 154 + bytesLeft); in doFinalInternal()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLEvpCipher.java | 120 final int bytesLeft = output.length - outputOffset; in updateInternal() local 121 if (bytesLeft < maximumLen) { in updateInternal() 123 "output buffer too small during update: " + bytesLeft + " < " + maximumLen); in updateInternal() 149 final int bytesLeft = output.length - outputOffset; in doFinalInternal() local 151 if (bytesLeft >= maximumLen) { in doFinalInternal() 156 if (writtenBytes > bytesLeft) { in doFinalInternal() 158 "buffer is too short: " + writtenBytes + " > " + bytesLeft); in doFinalInternal()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | PsBinarySearchSeeker.java | 94 while (packetBuffer.bytesLeft() >= 4) { in searchForScrValueInBuffer() 145 if (packetBuffer.bytesLeft() < 10) { in skipToEndOfCurrentPack() 154 if (packetBuffer.bytesLeft() < packStuffingLength) { in skipToEndOfCurrentPack() 160 if (packetBuffer.bytesLeft() < 4) { in skipToEndOfCurrentPack() 169 if (packetBuffer.bytesLeft() < systemHeaderLength) { in skipToEndOfCurrentPack() 180 while (packetBuffer.bytesLeft() >= 4) { in skipToEndOfCurrentPack() 191 if (packetBuffer.bytesLeft() < 2) { in skipToEndOfCurrentPack()
|
D | DtsReader.java | 94 while (data.bytesLeft() > 0) { in consume() 110 int bytesToRead = Math.min(data.bytesLeft(), sampleSize - bytesRead); in consume() 140 int bytesToRead = Math.min(source.bytesLeft(), targetLength - bytesRead); in continueRead() 154 while (pesBuffer.bytesLeft() > 0) { in skipToNextSync()
|
D | PesReader.java | 114 while (data.bytesLeft() > 0) { in consume() 117 data.skipBytes(data.bytesLeft()); in consume() 136 readLength = data.bytesLeft(); in consume() 173 int bytesToRead = Math.min(source.bytesLeft(), targetLength - bytesRead); in continueRead()
|
D | Ac3Reader.java | 115 while (data.bytesLeft() > 0) { in consume() 134 int bytesToRead = Math.min(data.bytesLeft(), sampleSize - bytesRead); in consume() 164 int bytesToRead = Math.min(source.bytesLeft(), targetLength - bytesRead); in continueRead() 178 while (pesBuffer.bytesLeft() > 0) { in skipToNextSync()
|
D | Ac4Reader.java | 114 while (data.bytesLeft() > 0) { in consume() 133 int bytesToRead = Math.min(data.bytesLeft(), sampleSize - bytesRead); in consume() 163 int bytesToRead = Math.min(source.bytesLeft(), targetLength - bytesRead); in continueRead() 177 while (pesBuffer.bytesLeft() > 0) { in skipToNextSync()
|
D | SectionReader.java | 77 while (data.bytesLeft() > 0) { in consume() 90 int headerBytesToRead = Math.min(data.bytesLeft(), SECTION_HEADER_LENGTH - bytesRead); in consume() 111 int bodyBytesToRead = Math.min(data.bytesLeft(), totalSectionLength - bytesRead); in consume()
|
D | TsExtractor.java | 379 int bytesLeft = tsPacketBuffer.bytesLeft(); in fillBufferWithAtLeastOnePacket() local 380 if (bytesLeft > 0) { in fillBufferWithAtLeastOnePacket() 381 System.arraycopy(data, tsPacketBuffer.getPosition(), data, 0, bytesLeft); in fillBufferWithAtLeastOnePacket() 383 tsPacketBuffer.reset(data, bytesLeft); in fillBufferWithAtLeastOnePacket() 386 while (tsPacketBuffer.bytesLeft() < TS_PACKET_SIZE) { in fillBufferWithAtLeastOnePacket() 471 int programCount = sectionData.bytesLeft() / 4; in consume() 575 int remainingEntriesLength = sectionData.bytesLeft(); in consume()
|
D | TsUtil.java | 48 if (packetBuffer.bytesLeft() < 5) { in readPcrFromPacket() 68 if (adaptationFieldLength >= 7 && packetBuffer.bytesLeft() >= 7) { in readPcrFromPacket()
|
D | AdtsReader.java | 160 while (data.bytesLeft() > 0) { in consume() 216 int bytesToRead = Math.min(source.bytesLeft(), targetLength - bytesRead); in continueRead() 333 if (buffer.bytesLeft() == 0) { in checkAdtsHeader() 459 if (source.bytesLeft() < targetLength) { in tryRead() 534 int bytesToRead = Math.min(data.bytesLeft(), sampleSize - bytesRead); in readSample()
|
D | MpegAudioReader.java | 97 while (data.bytesLeft() > 0) { in consume() 170 int bytesToRead = Math.min(source.bytesLeft(), HEADER_SIZE - frameBytesRead); in readHeaderRemainder() 222 int bytesToRead = Math.min(source.bytesLeft(), frameSize - frameBytesRead); in readFrameRemainder()
|
D | DvbSubtitleReader.java | 107 int bytesAvailable = data.bytesLeft(); in consume() 117 if (data.bytesLeft() == 0) { in checkNextByte()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/ |
D | WavExtractor.java | 137 long bytesLeft = dataEndPosition - input.getPosition(); in read() local 138 return outputWriter.sampleData(input, bytesLeft) ? RESULT_END_OF_INPUT : RESULT_CONTINUE; in read() 179 boolean sampleData(ExtractorInput input, long bytesLeft) throws IOException; in sampleData() argument 253 public boolean sampleData(ExtractorInput input, long bytesLeft) throws IOException { in sampleData() argument 255 while (bytesLeft > 0 && pendingOutputBytes < targetSampleSizeBytes) { in sampleData() 256 int bytesToRead = (int) Math.min(targetSampleSizeBytes - pendingOutputBytes, bytesLeft); in sampleData() 259 bytesLeft = 0; in sampleData() 262 bytesLeft -= bytesAppended; in sampleData() 284 return bytesLeft <= 0; in sampleData() 396 public boolean sampleData(ExtractorInput input, long bytesLeft) throws IOException { in sampleData() argument [all …]
|
D | WavHeaderReader.java | 82 int bytesLeft = (int) chunkHeader.size - 16; in peek() local 84 if (bytesLeft > 0) { in peek() 85 extraData = new byte[bytesLeft]; in peek() 86 input.peekFully(extraData, 0, bytesLeft); in peek()
|
/external/sonivox/arm-wt-22k/misc/ |
D | eas_host.c | 311 EAS_I32 bytesLeft = n; in EAS_HWReadFile() local 324 for (;bytesLeft > 0;) in EAS_HWReadFile() 328 if (temp > bytesLeft) in EAS_HWReadFile() 329 temp = bytesLeft; in EAS_HWReadFile() 336 bytesLeft -= temp; in EAS_HWReadFile() 340 if ((bytesLeft == 0) || (bytesLeft >= EAS_FILE_BUFFER_SIZE)) in EAS_HWReadFile() 349 if (bytesLeft) in EAS_HWReadFile() 358 temp = (EAS_I32) fread(p, 1, (size_t) bytesLeft, file->pFile); in EAS_HWReadFile()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/tx3g/ |
D | Tx3gDecoder.java | 134 while (parsableByteArray.bytesLeft() >= SIZE_ATOM_HEADER) { in decode() 139 assertTrue(parsableByteArray.bytesLeft() >= SIZE_SHORT); in decode() 145 assertTrue(parsableByteArray.bytesLeft() >= SIZE_SHORT); in decode() 166 assertTrue(parsableByteArray.bytesLeft() >= SIZE_SHORT); in readSubtitleText() 171 if (parsableByteArray.bytesLeft() >= SIZE_BOM_UTF16) { in readSubtitleText() 182 assertTrue(parsableByteArray.bytesLeft() >= SIZE_STYLE_RECORD); in applyStyleRecord()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ |
D | CeaUtil.java | 45 while (seiBuffer.bytesLeft() > 1 /* last byte will be rbsp_trailing_bits */) { in consume() 50 if (payloadSize == -1 || payloadSize > seiBuffer.bytesLeft()) { in consume() 126 if (buffer.bytesLeft() == 0) { in readNon255TerminatedValue()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/ |
D | VideoTagPayloadReader.java | 88 ParsableByteArray videoSequence = new ParsableByteArray(new byte[data.bytesLeft()]); in parsePayload() 89 data.readBytes(videoSequence.data, 0, data.bytesLeft()); in parsePayload() 122 while (data.bytesLeft() > 0) { in parsePayload()
|
D | AudioTagPayloadReader.java | 97 int sampleSize = data.bytesLeft(); in parsePayload() 105 byte[] audioSpecificConfig = new byte[data.bytesLeft()]; in parsePayload() 120 int sampleSize = data.bytesLeft(); in parsePayload()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flac/ |
D | FlacExtractor.java | 266 } else if (buffer.bytesLeft() == 0) { in readFrames() 277 buffer.skipBytes(Math.min(minFrameSize - currentFrameBytesWritten, buffer.bytesLeft())); in readFrames() 293 if (buffer.bytesLeft() < FlacConstants.MAX_FRAME_HEADER_SIZE) { in readFrames() 297 buffer.data, buffer.getPosition(), buffer.data, /* destPos= */ 0, buffer.bytesLeft()); in readFrames() 298 buffer.reset(buffer.bytesLeft()); in readFrames()
|
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/ |
D | EASLibVst.c | 585 EAS_I32 bytesLeft = n; in EAS_HWReadFile() local 598 for (;bytesLeft > 0;) in EAS_HWReadFile() 602 if (temp > bytesLeft) in EAS_HWReadFile() 603 temp = bytesLeft; in EAS_HWReadFile() 611 bytesLeft -= temp; in EAS_HWReadFile() 614 if ((bytesLeft == 0) || (bytesLeft >= EAS_FILE_BUFFER_SIZE)) in EAS_HWReadFile() 623 if (bytesLeft) in EAS_HWReadFile() 631 temp = (EAS_I32) fread(p, 1, (size_t) bytesLeft, file->pFile); in EAS_HWReadFile()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/ |
D | Mp4WebvttDecoder.java | 58 while (sampleData.bytesLeft() > 0) { in decode() 59 if (sampleData.bytesLeft() < BOX_HEADER_SIZE) { in decode()
|