/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ |
D | ConstantBitrateSeekMap.java | 28 private final long inputLength; field in ConstantBitrateSeekMap 45 long inputLength, long firstFrameBytePosition, int bitrate, int frameSize) { in ConstantBitrateSeekMap() argument 46 this.inputLength = inputLength; in ConstantBitrateSeekMap() 51 if (inputLength == C.LENGTH_UNSET) { in ConstantBitrateSeekMap() 55 dataSize = inputLength - firstFrameBytePosition; in ConstantBitrateSeekMap() 56 durationUs = getTimeUsAtPosition(inputLength, firstFrameBytePosition, bitrate); in ConstantBitrateSeekMap() 73 if (seekTimeUs >= timeUs || seekFramePosition + frameSize >= inputLength) { in getSeekPoints()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/ |
D | Sniffer.java | 88 long inputLength = input.getLength(); in sniffInternal() local 89 int bytesToSearch = (int) (inputLength == C.LENGTH_UNSET || inputLength > SEARCH_LENGTH in sniffInternal() 90 ? SEARCH_LENGTH : inputLength); in sniffInternal() 127 if (inputLength != C.LENGTH_UNSET && bytesToSearch > inputLength) { in sniffInternal() 129 bytesToSearch = (int) inputLength; in sniffInternal()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/ |
D | Sniffer.java | 44 long inputLength = input.getLength(); in sniff() local 45 int bytesToSearch = (int) (inputLength == C.LENGTH_UNSET || inputLength > SEARCH_LENGTH in sniff() 46 ? SEARCH_LENGTH : inputLength); in sniff() 64 || (inputLength != C.LENGTH_UNSET && headerStart + headerSize >= inputLength)) { in sniff()
|
/external/icu/icu4c/source/test/perf/utfperf/ |
D | utfperf.cpp | 89 int32_t inputLength; in UtfPerformanceTest() local 90 UPerfTest::getBuffer(inputLength, status); in UtfPerformanceTest() 127 input(testcase.getBuffer()), inputLength(testcase.getBufferLen()), in Command() 148 int32_t inputLength; member in Command 178 pInLimit=input+inputLength; in call() 213 if(inputLength!=outputLength) { in call() 214 …f(stderr, "error: roundtrip failed, inputLength %d!=outputLength %d\n", inputLength, outputLength); in call() 242 pInLimit=input+inputLength; in call()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | AdtsExtractor.java | 185 long inputLength = input.getLength(); in read() local 187 (flags & FLAG_ENABLE_CONSTANT_BITRATE_SEEKING) != 0 && inputLength != C.LENGTH_UNSET; in read() 194 maybeOutputSeekMap(inputLength, canUseConstantBitrateSeeking, readEndOfStream); in read() 237 long inputLength, boolean canUseConstantBitrateSeeking, boolean readEndOfStream) { in maybeOutputSeekMap() argument 251 extractorOutput.seekMap(getConstantBitrateSeekMap(inputLength)); in maybeOutputSeekMap() 318 private SeekMap getConstantBitrateSeekMap(long inputLength) { in getConstantBitrateSeekMap() argument 320 return new ConstantBitrateSeekMap(inputLength, firstFramePosition, bitrate, averageFrameSize); in getConstantBitrateSeekMap()
|
D | PsExtractor.java | 168 long inputLength = input.getLength(); in read() local 169 boolean canReadDuration = inputLength != C.LENGTH_UNSET; in read() 173 maybeOutputSeekMap(inputLength); in read() 180 inputLength != C.LENGTH_UNSET ? inputLength - input.getPeekPosition() : C.LENGTH_UNSET; in read() 286 private void maybeOutputSeekMap(long inputLength) { in maybeOutputSeekMap() argument 294 inputLength); in maybeOutputSeekMap()
|
D | TsDurationReader.java | 161 long inputLength = input.getLength(); in readLastPcrValue() local 162 int bytesToSearch = (int) Math.min(TIMESTAMP_SEARCH_BYTES, inputLength); in readLastPcrValue() 163 long searchStartPosition = inputLength - bytesToSearch; in readLastPcrValue()
|
D | PsDurationReader.java | 175 long inputLength = input.getLength(); in readLastScrValue() local 176 int bytesToSearch = (int) Math.min(TIMESTAMP_SEARCH_BYTES, inputLength); in readLastScrValue() 177 long searchStartPosition = inputLength - bytesToSearch; in readLastScrValue()
|
D | TsExtractor.java | 257 long inputLength = input.getLength(); in read() local 259 boolean canReadDuration = inputLength != C.LENGTH_UNSET && mode != MODE_HLS; in read() 263 maybeOutputSeekMap(inputLength); in read() 345 if (mode != MODE_HLS && !wereTracksEnded && tracksEnded && inputLength != C.LENGTH_UNSET) { in read() 358 private void maybeOutputSeekMap(long inputLength) { in maybeOutputSeekMap() argument 366 inputLength, in maybeOutputSeekMap()
|
D | TsBinarySearchSeeker.java | 41 TimestampAdjuster pcrTimestampAdjuster, long streamDurationUs, long inputLength, int pcrPid) { in TsBinarySearchSeeker() argument 49 /* ceilingBytePosition= */ inputLength, in TsBinarySearchSeeker()
|
D | PsBinarySearchSeeker.java | 41 TimestampAdjuster scrTimestampAdjuster, long streamDurationUs, long inputLength) { in PsBinarySearchSeeker() argument 49 /* ceilingBytePosition= */ inputLength, in PsBinarySearchSeeker()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/ |
D | WavHeaderReader.java | 140 long inputLength = input.getLength(); in skipToData() local 141 if (inputLength != C.LENGTH_UNSET && dataEndPosition > inputLength) { in skipToData() 142 Log.w(TAG, "Data exceeds input length: " + dataEndPosition + ", " + inputLength); in skipToData() 143 dataEndPosition = inputLength; in skipToData()
|
/external/icu/icu4c/source/samples/csdet/ |
D | csdet.c | 33 int32_t inputLength, match, matchCount = 0; in main() local 51 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file); in main() 56 ucsdet_setText(csd, buffer, inputLength, &status); in main()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/ |
D | VbriSeeker.java | 46 long inputLength, in create() argument 91 if (inputLength != C.LENGTH_UNSET && inputLength != position) { in create() 92 Log.w(TAG, "VBRI data size mismatch: " + inputLength + ", " + position); in create()
|
D | XingSeeker.java | 47 long inputLength, in create() argument 77 if (inputLength != C.LENGTH_UNSET && inputLength != position + dataSize) { in create() 78 Log.w(TAG, "XING data size mismatch: " + inputLength + ", " + (position + dataSize)); in create()
|
D | ConstantBitrateSeeker.java | 33 long inputLength, long firstFramePosition, MpegAudioUtil.Header mpegAudioHeader) { in ConstantBitrateSeeker() argument 37 super(inputLength, firstFramePosition, mpegAudioHeader.bitrate, mpegAudioHeader.frameSize); in ConstantBitrateSeeker()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/amr/ |
D | AmrExtractor.java | 347 private void maybeOutputSeekMap(long inputLength, int sampleReadResult) { in maybeOutputSeekMap() argument 353 || inputLength == C.LENGTH_UNSET in maybeOutputSeekMap() 360 seekMap = getConstantBitrateSeekMap(inputLength); in maybeOutputSeekMap() 366 private SeekMap getConstantBitrateSeekMap(long inputLength) { in getConstantBitrateSeekMap() argument 368 return new ConstantBitrateSeekMap(inputLength, firstSamplePosition, bitrate, firstSampleSize); in getConstantBitrateSeekMap()
|
/external/skqp/tests/ |
D | PDFDeflateWStreamTest.cpp | 54 size_t inputLength = src->getLength(); in stream_inflate() local 55 if (input == nullptr || inputLength == 0) { in stream_inflate() 61 flateData.avail_in = SkToUInt(inputLength); in stream_inflate()
|
/external/skia/tests/ |
D | PDFDeflateWStreamTest.cpp | 54 size_t inputLength = src->getLength(); in stream_inflate() local 55 if (input == nullptr || inputLength == 0) { in stream_inflate() 61 flateData.avail_in = SkToUInt(inputLength); in stream_inflate()
|
/external/skia/src/core/ |
D | SkMD5.cpp | 39 bool SkMD5::write(const void* buf, size_t inputLength) { in write() argument 45 if (inputLength >= bufferAvailable) { in write() 54 for (; inputIndex + 63 < inputLength; inputIndex += 64) { in write() 63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); in write() 65 this->byteCount += inputLength; in write()
|
/external/skqp/src/core/ |
D | SkMD5.cpp | 39 bool SkMD5::write(const void* buf, size_t inputLength) { in write() argument 45 if (inputLength >= bufferAvailable) { in write() 54 for (; inputIndex + 63 < inputLength; inputIndex += 64) { in write() 63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); in write() 65 this->byteCount += inputLength; in write()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flac/ |
D | FlacBinarySearchSeeker.java | 48 long inputLength) { in FlacBinarySearchSeeker() argument 56 /* ceilingBytePosition= */ inputLength, in FlacBinarySearchSeeker()
|
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/ |
D | FlacBinarySearchSeeker.java | 65 long inputLength, in FlacBinarySearchSeeker() argument 75 /* ceilingBytePosition= */ inputLength, in FlacBinarySearchSeeker()
|
/external/icu/icu4c/source/test/perf/utrie2perf/ |
D | utrie2perf.cpp | 57 int32_t inputLength; in UTrie2PerfTest() local 58 UPerfTest::getBuffer(inputLength, status); in UTrie2PerfTest() 59 if(U_SUCCESS(status) && inputLength>0) { in UTrie2PerfTest()
|
/external/icu/icu4c/source/test/perf/unisetperf/ |
D | unisetperf.cpp | 62 int32_t inputLength; in UnicodeSetPerformanceTest() local 63 UPerfTest::getBuffer(inputLength, status); in UnicodeSetPerformanceTest() 64 if(U_SUCCESS(status) && inputLength>0) { in UnicodeSetPerformanceTest()
|