/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/ |
D | Mp4WebvttDecoder.java | 44 private final ParsableByteArray sampleData; field in Mp4WebvttDecoder 48 sampleData = new ParsableByteArray(); in Mp4WebvttDecoder() 56 sampleData.reset(bytes, length); in decode() 58 while (sampleData.bytesLeft() > 0) { in decode() 59 if (sampleData.bytesLeft() < BOX_HEADER_SIZE) { in decode() 62 int boxSize = sampleData.readInt(); in decode() 63 int boxType = sampleData.readInt(); in decode() 65 resultingCueList.add(parseVttCueBox(sampleData, boxSize - BOX_HEADER_SIZE)); in decode() 68 sampleData.skipBytes(boxSize - BOX_HEADER_SIZE); in decode() 74 private static Cue parseVttCueBox(ParsableByteArray sampleData, int remainingCueBoxBytes) in parseVttCueBox() argument [all …]
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | FakeSampleStream.java | 38 @Nullable byte[] sampleData; field in FakeSampleStream.FakeSampleStreamItem 65 public FakeSampleStreamItem(byte[] sampleData) { in FakeSampleStreamItem() argument 66 this.sampleData = sampleData.clone(); in FakeSampleStreamItem() 76 public FakeSampleStreamItem(byte[] sampleData, int flags) { in FakeSampleStreamItem() argument 77 this.sampleData = sampleData.clone(); in FakeSampleStreamItem() 192 if (fakeSampleStreamItem.sampleData != null) { in readData() 193 byte[] sampleData = fakeSampleStreamItem.sampleData; in readData() 196 buffer.ensureSpaceForWrite(sampleData.length); in readData() 197 buffer.data.put(sampleData); in readData()
|
D | FakeTrackOutput.java | 46 private byte[] sampleData; field in FakeTrackOutput 55 sampleData = Util.EMPTY_BYTE_ARRAY; in FakeTrackOutput() 63 sampleData = Util.EMPTY_BYTE_ARRAY; in clear() 75 public int sampleData( in sampleData() method in FakeTrackOutput 87 sampleData = TestUtil.joinByteArrays(sampleData, newData); in sampleData() 92 public void sampleData(ParsableByteArray data, int length, @SampleDataPart int sampleDataPart) { in sampleData() method in FakeTrackOutput 95 sampleData = TestUtil.joinByteArrays(sampleData, newData); in sampleData() 116 timeUs, flags, sampleData.length - offset - size, sampleData.length - offset, cryptoData); in sampleMetadata() 133 return Arrays.copyOfRange(sampleData, getSampleStartOffset(index), getSampleEndOffset(index)); in getSampleData() 137 return Arrays.copyOfRange(sampleData, fromIndex, toIndex); in getSampleData() [all …]
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
D | WebvttExtractor.java | 62 private byte[] sampleData; field in WebvttExtractor 69 sampleData = new byte[1024]; in WebvttExtractor() 78 sampleData, /* offset= */ 0, /* length= */ HEADER_MIN_LENGTH, /* allowEndOfInput= */ false); in sniff() 79 sampleDataWrapper.reset(sampleData, HEADER_MIN_LENGTH); in sniff() 85 sampleData, in sniff() 89 sampleDataWrapper.reset(sampleData, HEADER_MAX_LENGTH); in sniff() 117 if (sampleSize == sampleData.length) { in read() 118 sampleData = Arrays.copyOf(sampleData, in read() 119 (currentFileSize != C.LENGTH_UNSET ? currentFileSize : sampleData.length) * 3 / 2); in read() 123 int bytesRead = input.read(sampleData, sampleSize, sampleData.length - sampleSize); in read() [all …]
|
/external/perfetto/ui/src/controller/ |
D | cpu_profile_controller.ts | 57 .then(sampleData => { 58 if (sampleData !== undefined && selectedSample && 65 stack: sampleData, 150 const sampleData: CallsiteInfo[] = new Array(); constant 156 sampleData.push({ 169 return sampleData;
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | ExtractCountItems.java | 92 SampleData sampleData = getSamples(cldr, keywordCount, "//ldml/units/unit", data); in gatherData() local 93 if (sampleData == null) { in gatherData() 95 … sampleData = getSamples(cldr, keywordCount, "//ldml/numbers/currencies/currency", data); in gatherData() 97 if (sampleData == null) { in gatherData() 101 System.out.println("#" + locale + "\t" + sampleData.basePath); in gatherData() 103 for (Entry<Count, String> entry : sampleData.entrySet()) { in gatherData() 166 SampleData sampleData = data.get(basePath); in getSamples() local 167 if (sampleData == null) { in getSamples() 168 data.put(basePath, sampleData = new SampleData(basePath)); in getSamples() 170 int items = sampleData.put(count, value); in getSamples() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | SingleSampleMediaPeriod.java | 70 /* package */ byte @MonotonicNonNull [] sampleData; field in SingleSampleMediaPeriod 217 sampleData = Assertions.checkNotNull(loadable.sampleData); in onLoadCompleted() 343 if (sampleData != null) { in readData() 350 buffer.data.put(sampleData, 0, sampleSize); in readData() 389 @Nullable private byte[] sampleData; field in SingleSampleMediaPeriod.SourceLoadable 412 if (sampleData == null) { in load() 413 sampleData = new byte[INITIAL_SAMPLE_SIZE]; in load() 414 } else if (sampleSize == sampleData.length) { in load() 415 sampleData = Arrays.copyOf(sampleData, sampleData.length * 2); in load() 417 result = dataSource.read(sampleData, sampleSize, sampleData.length - sampleSize); in load()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ |
D | TrackOutput.java | 147 default int sampleData(DataReader input, int length, boolean allowEndOfInput) throws IOException { in sampleData() method 148 return sampleData(input, length, allowEndOfInput, SAMPLE_DATA_PART_MAIN); in sampleData() 155 default void sampleData(ParsableByteArray data, int length) { in sampleData() method 156 sampleData(data, length, SAMPLE_DATA_PART_MAIN); in sampleData() 171 int sampleData( in sampleData() method 182 void sampleData(ParsableByteArray data, int length, @SampleDataPart int sampleDataPart); in sampleData() method
|
D | DummyTrackOutput.java | 46 public int sampleData( in sampleData() method in DummyTrackOutput 61 public void sampleData(ParsableByteArray data, int length, @SampleDataPart int sampleDataPart) { in sampleData() method in DummyTrackOutput
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | Ac3Extractor.java | 51 private final ParsableByteArray sampleData; field in Ac3Extractor 58 sampleData = new ParsableByteArray(MAX_SYNC_FRAME_SIZE); in Ac3Extractor() 128 int bytesRead = input.read(sampleData.data, 0, MAX_SYNC_FRAME_SIZE); in read() 134 sampleData.setPosition(0); in read() 135 sampleData.setLimit(bytesRead); in read() 144 reader.consume(sampleData); in read()
|
D | Ac4Extractor.java | 58 private final ParsableByteArray sampleData; field in Ac4Extractor 65 sampleData = new ParsableByteArray(READ_BUFFER_SIZE); in Ac4Extractor() 136 int bytesRead = input.read(sampleData.data, /* offset= */ 0, /* length= */ READ_BUFFER_SIZE); in read() 142 sampleData.setPosition(0); in read() 143 sampleData.setLimit(bytesRead); in read() 152 reader.consume(sampleData); in read()
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | SetCreationBenchmark.java | 45 private CollectionBenchmarkSampleData sampleData; field in SetCreationBenchmark 49 sampleData = new CollectionBenchmarkSampleData(true, random, 0.8, size); in setUp() 56 x ^= System.identityHashCode(impl.create(sampleData.getValuesInSet())); in creation()
|
D | SetContainsBenchmark.java | 57 CollectionBenchmarkSampleData sampleData = in setUp() local 60 this.setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet()); in setUp() 61 this.queries = sampleData.getQueries(); in setUp()
|
D | SetIterationBenchmark.java | 50 CollectionBenchmarkSampleData sampleData = in setUp() local 52 setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet()); in setUp()
|
D | MapBenchmark.java | 184 CollectionBenchmarkSampleData sampleData = in setUp() local 188 List<Element> valueList = newArrayList(sampleData.getValuesInSet()); in setUp() 192 values = sampleData.getValuesInSet(); in setUp() 195 this.queries = sampleData.getQueries(); in setUp()
|
/external/guava/android/guava-tests/benchmark/com/google/common/collect/ |
D | SetCreationBenchmark.java | 45 private CollectionBenchmarkSampleData sampleData; field in SetCreationBenchmark 49 sampleData = new CollectionBenchmarkSampleData(true, random, 0.8, size); in setUp() 56 x ^= System.identityHashCode(impl.create(sampleData.getValuesInSet())); in creation()
|
D | SetContainsBenchmark.java | 57 CollectionBenchmarkSampleData sampleData = in setUp() local 60 this.setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet()); in setUp() 61 this.queries = sampleData.getQueries(); in setUp()
|
D | SetIterationBenchmark.java | 50 CollectionBenchmarkSampleData sampleData = in setUp() local 52 setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet()); in setUp()
|
D | MapBenchmark.java | 184 CollectionBenchmarkSampleData sampleData = in setUp() local 188 List<Element> valueList = newArrayList(sampleData.getValuesInSet()); in setUp() 192 values = sampleData.getValuesInSet(); in setUp() 195 this.queries = sampleData.getQueries(); in setUp()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | SampleQueueTest.java | 166 sampleQueue.sampleData( in capacityIncreases() 218 sampleQueue.sampleData(new ParsableByteArray(DATA), ALLOCATION_SIZE); in multipleFormatsDeduplicated() 224 sampleQueue.sampleData(new ParsableByteArray(DATA), ALLOCATION_SIZE); in multipleFormatsDeduplicated() 235 sampleQueue.sampleData(new ParsableByteArray(DATA), ALLOCATION_SIZE); in multipleFormatsDeduplicated() 244 sampleQueue.sampleData(new ParsableByteArray(DATA), ALLOCATION_SIZE); in readSingleSamples() 273 sampleQueue.sampleData(new ParsableByteArray(DATA), ALLOCATION_SIZE); in readSingleSamples() 342 sampleQueue.sampleData(new ParsableByteArray(DATA), DATA.length); in emptyQueueReturnsLoadingFinished() 483 byte[] sampleData = new byte[] {0, 1, 2}; in trailingCryptoInfoInitializationVectorBytesZeroed() 491 sampleData); in trailingCryptoInfoInitializationVectorBytesZeroed() 596 sampleQueue.sampleData(new ParsableByteArray(DATA), ALLOCATION_SIZE); in advanceToEndRetainsUnassignedData() [all …]
|
/external/okio/okio/jvm/jmh/src/jmh/java/com/squareup/okio/benchmarks/ |
D | SelectBenchmark.java | 70 ByteString sampleData; field in SelectBenchmark 85 sampleData = sampleDataBuffer.readByteString(); in setup() 90 buffer.write(sampleData); in select()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/chunk/ |
D | ChunkExtractorWrapper.java | 206 public int sampleData( in sampleData() method in ChunkExtractorWrapper.BindingTrackOutput 209 return castNonNull(trackOutput).sampleData(input, length, allowEndOfInput); in sampleData() 213 public void sampleData(ParsableByteArray data, int length, @SampleDataPart int sampleDataPart) { in sampleData() method in ChunkExtractorWrapper.BindingTrackOutput 214 castNonNull(trackOutput).sampleData(data, length); in sampleData()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/ |
D | WavExtractor.java | 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() method 253 public boolean sampleData(ExtractorInput input, long bytesLeft) throws IOException { in sampleData() method in WavExtractor.PassthroughOutputWriter 257 int bytesAppended = trackOutput.sampleData(input, bytesToRead, true); in sampleData() 396 public boolean sampleData(ExtractorInput input, long bytesLeft) throws IOException { in sampleData() method in WavExtractor.ImaAdPcmOutputWriter 425 trackOutput.sampleData(decodedData, decodedDataSize); in sampleData()
|
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/ |
D | FlacExtractor.java | 282 ParsableByteArray sampleData, int size, long timeUs, TrackOutput output) { in outputSample() argument 283 sampleData.setPosition(0); in outputSample() 284 output.sampleData(sampleData, size); in outputSample()
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/ |
D | PlayerEmsgHandler.java | 304 public int sampleData( 307 return sampleQueue.sampleData(input, length, allowEndOfInput); 311 public void sampleData(ParsableByteArray data, int length, @SampleDataPart int sampleDataPart) { 312 sampleQueue.sampleData(data, length);
|