| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/metadata/dvbsi/ |
| D | AppInfoTableDecoder.java | 58 private static Metadata parseAit(ParsableBitArray sectionData) { in parseAit() argument 60 sectionData.skipBits(12); in parseAit() 61 int sectionLength = sectionData.readBits(12); in parseAit() 62 int endOfSection = sectionData.getBytePosition() + sectionLength - 4 /* Ignore leading CRC */; in parseAit() 66 sectionData.skipBits(44); in parseAit() 68 int commonDescriptorsLength = sectionData.readBits(12); in parseAit() 72 sectionData.skipBytes(commonDescriptorsLength); in parseAit() 75 sectionData.skipBits(16); in parseAit() 78 while (sectionData.getBytePosition() < endOfSection) { in parseAit() 83 sectionData.skipBits(48); in parseAit() [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/metadata/dvbsi/ |
| D | AppInfoTableDecoder.java | 58 private static Metadata parseAit(ParsableBitArray sectionData) { in parseAit() argument 60 sectionData.skipBits(12); in parseAit() 61 int sectionLength = sectionData.readBits(12); in parseAit() 62 int endOfSection = sectionData.getBytePosition() + sectionLength - 4 /* Ignore leading CRC */; in parseAit() 66 sectionData.skipBits(44); in parseAit() 68 int commonDescriptorsLength = sectionData.readBits(12); in parseAit() 72 sectionData.skipBytes(commonDescriptorsLength); in parseAit() 75 sectionData.skipBits(16); in parseAit() 78 while (sectionData.getBytePosition() < endOfSection) { in parseAit() 83 sectionData.skipBits(48); in parseAit() [all …]
|
| /external/aac/libAACenc/src/ |
| D | dyn_bits.cpp | 344 SECTION_DATA* const RESTRICT sectionData, INT mergeGainLookUp[MAX_SFB_LONG], in FDKaacEnc_noiselessCounter() argument 366 sectionData->noOfSections = 0; in FDKaacEnc_noiselessCounter() 367 sectionData->huffmanBits = 0; in FDKaacEnc_noiselessCounter() 368 sectionData->sideInfoBits = 0; in FDKaacEnc_noiselessCounter() 370 if (sectionData->maxSfbPerGroup == 0) return; in FDKaacEnc_noiselessCounter() 373 for (grpNdx = 0; grpNdx < sectionData->sfbCnt; in FDKaacEnc_noiselessCounter() 374 grpNdx += sectionData->sfbPerGroup) { in FDKaacEnc_noiselessCounter() 375 huffsection = sectionData->huffsection + sectionData->noOfSections; in FDKaacEnc_noiselessCounter() 378 FDKaacEnc_buildBitLookUp(quantSpectrum, sectionData->maxSfbPerGroup, in FDKaacEnc_noiselessCounter() 383 FDKaacEnc_gmStage0(huffsection, bitLookUp, sectionData->maxSfbPerGroup, in FDKaacEnc_noiselessCounter() [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
| D | SectionReader.java | 38 private final ParsableByteArray sectionData; field in SectionReader 47 sectionData = new ParsableByteArray(DEFAULT_SECTION_BUFFER_LENGTH); in SectionReader() 96 // sectionData is guaranteed to have enough space because it's initialized with a 32-element in consume() 98 data.readBytes(sectionData.getData(), bytesRead, headerBytesToRead); in consume() 101 sectionData.setPosition(0); in consume() 102 sectionData.setLimit(SECTION_HEADER_LENGTH); in consume() 103 sectionData.skipBytes(1); // Skip table id (8). in consume() 104 int secondHeaderByte = sectionData.readUnsignedByte(); in consume() 105 int thirdHeaderByte = sectionData.readUnsignedByte(); in consume() 109 if (sectionData.capacity() < totalSectionLength) { in consume() [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
| D | SectionReader.java | 38 private final ParsableByteArray sectionData; field in SectionReader 47 sectionData = new ParsableByteArray(DEFAULT_SECTION_BUFFER_LENGTH); in SectionReader() 96 // sectionData is guaranteed to have enough space because it's initialized with a 32-element in consume() 98 data.readBytes(sectionData.getData(), bytesRead, headerBytesToRead); in consume() 101 sectionData.setPosition(0); in consume() 102 sectionData.setLimit(SECTION_HEADER_LENGTH); in consume() 103 sectionData.skipBytes(1); // Skip table id (8). in consume() 104 int secondHeaderByte = sectionData.readUnsignedByte(); in consume() 105 int thirdHeaderByte = sectionData.readUnsignedByte(); in consume() 109 if (sectionData.capacity() < totalSectionLength) { in consume() [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
| D | Decompressor.cpp | 34 : SectionData(Data), DecompressedSize(0) {} in Decompressor() 37 if (!SectionData.startswith("ZLIB")) in consumeCompressedGnuHeader() 40 SectionData = SectionData.substr(4); in consumeCompressedGnuHeader() 43 if (SectionData.size() < 8) in consumeCompressedGnuHeader() 45 DecompressedSize = read64be(SectionData.data()); in consumeCompressedGnuHeader() 46 SectionData = SectionData.substr(8); in consumeCompressedGnuHeader() 55 if (SectionData.size() < HdrSize) in consumeCompressedZLibHeader() 58 DataExtractor Extractor(SectionData, IsLittleEndian, 0); in consumeCompressedZLibHeader() 71 SectionData = SectionData.substr(HdrSize); in consumeCompressedZLibHeader() 97 return zlib::uncompress(SectionData, Buffer.data(), Size); in decompress()
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/metadata/scte35/ |
| D | SpliceScheduleCommand.java | 118 private static Event parseFromSection(ParsableByteArray sectionData) { in parseFromSection() argument 119 long spliceEventId = sectionData.readUnsignedInt(); in parseFromSection() 121 boolean spliceEventCancelIndicator = (sectionData.readUnsignedByte() & 0x80) != 0; in parseFromSection() 132 int headerByte = sectionData.readUnsignedByte(); in parseFromSection() 137 utcSpliceTime = sectionData.readUnsignedInt(); in parseFromSection() 140 int componentCount = sectionData.readUnsignedByte(); in parseFromSection() 143 int componentTag = sectionData.readUnsignedByte(); in parseFromSection() 144 long componentUtcSpliceTime = sectionData.readUnsignedInt(); in parseFromSection() 149 long firstByte = sectionData.readUnsignedByte(); in parseFromSection() 151 long breakDuration90khz = ((firstByte & 0x01) << 32) | sectionData.readUnsignedInt(); in parseFromSection() [all …]
|
| D | SpliceInfoDecoder.java | 37 private final ParsableByteArray sectionData; field in SpliceInfoDecoder 43 sectionData = new ParsableByteArray(); in SpliceInfoDecoder() 59 sectionData.reset(data, size); in decode() 72 sectionData.skipBytes(14); in decode() 78 command = SpliceScheduleCommand.parseFromSection(sectionData); in decode() 82 SpliceInsertCommand.parseFromSection(sectionData, ptsAdjustment, timestampAdjuster); in decode() 85 command = TimeSignalCommand.parseFromSection(sectionData, ptsAdjustment, timestampAdjuster); in decode() 88 command = PrivateCommand.parseFromSection(sectionData, spliceCommandLength, ptsAdjustment); in decode()
|
| D | SpliceInsertCommand.java | 130 ParsableByteArray sectionData, long ptsAdjustment, TimestampAdjuster timestampAdjuster) { in parseFromSection() argument 131 long spliceEventId = sectionData.readUnsignedInt(); in parseFromSection() 133 boolean spliceEventCancelIndicator = (sectionData.readUnsignedByte() & 0x80) != 0; in parseFromSection() 145 int headerByte = sectionData.readUnsignedByte(); in parseFromSection() 151 programSplicePts = TimeSignalCommand.parseSpliceTime(sectionData, ptsAdjustment); in parseFromSection() 154 int componentCount = sectionData.readUnsignedByte(); in parseFromSection() 157 int componentTag = sectionData.readUnsignedByte(); in parseFromSection() 160 componentSplicePts = TimeSignalCommand.parseSpliceTime(sectionData, ptsAdjustment); in parseFromSection() 170 long firstByte = sectionData.readUnsignedByte(); in parseFromSection() 172 long breakDuration90khz = ((firstByte & 0x01) << 32) | sectionData.readUnsignedInt(); in parseFromSection() [all …]
|
| D | TimeSignalCommand.java | 37 ParsableByteArray sectionData, long ptsAdjustment, TimestampAdjuster timestampAdjuster) { in parseFromSection() argument 38 long ptsTime = parseSpliceTime(sectionData, ptsAdjustment); in parseFromSection() 47 * @param sectionData The section data from which the pts_time is parsed. 52 /* package */ static long parseSpliceTime(ParsableByteArray sectionData, long ptsAdjustment) { in parseSpliceTime() argument 53 long firstByte = sectionData.readUnsignedByte(); in parseSpliceTime() 57 ptsTime = (firstByte & 0x01) << 32 | sectionData.readUnsignedInt(); in parseSpliceTime()
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/metadata/scte35/ |
| D | SpliceScheduleCommand.java | 118 private static Event parseFromSection(ParsableByteArray sectionData) { in parseFromSection() argument 119 long spliceEventId = sectionData.readUnsignedInt(); in parseFromSection() 121 boolean spliceEventCancelIndicator = (sectionData.readUnsignedByte() & 0x80) != 0; in parseFromSection() 132 int headerByte = sectionData.readUnsignedByte(); in parseFromSection() 137 utcSpliceTime = sectionData.readUnsignedInt(); in parseFromSection() 140 int componentCount = sectionData.readUnsignedByte(); in parseFromSection() 143 int componentTag = sectionData.readUnsignedByte(); in parseFromSection() 144 long componentUtcSpliceTime = sectionData.readUnsignedInt(); in parseFromSection() 149 long firstByte = sectionData.readUnsignedByte(); in parseFromSection() 151 long breakDuration90khz = ((firstByte & 0x01) << 32) | sectionData.readUnsignedInt(); in parseFromSection() [all …]
|
| D | SpliceInfoDecoder.java | 37 private final ParsableByteArray sectionData; field in SpliceInfoDecoder 43 sectionData = new ParsableByteArray(); in SpliceInfoDecoder() 59 sectionData.reset(data, size); in decode() 72 sectionData.skipBytes(14); in decode() 78 command = SpliceScheduleCommand.parseFromSection(sectionData); in decode() 82 SpliceInsertCommand.parseFromSection(sectionData, ptsAdjustment, timestampAdjuster); in decode() 85 command = TimeSignalCommand.parseFromSection(sectionData, ptsAdjustment, timestampAdjuster); in decode() 88 command = PrivateCommand.parseFromSection(sectionData, spliceCommandLength, ptsAdjustment); in decode()
|
| D | SpliceInsertCommand.java | 130 ParsableByteArray sectionData, long ptsAdjustment, TimestampAdjuster timestampAdjuster) { in parseFromSection() argument 131 long spliceEventId = sectionData.readUnsignedInt(); in parseFromSection() 133 boolean spliceEventCancelIndicator = (sectionData.readUnsignedByte() & 0x80) != 0; in parseFromSection() 145 int headerByte = sectionData.readUnsignedByte(); in parseFromSection() 151 programSplicePts = TimeSignalCommand.parseSpliceTime(sectionData, ptsAdjustment); in parseFromSection() 154 int componentCount = sectionData.readUnsignedByte(); in parseFromSection() 157 int componentTag = sectionData.readUnsignedByte(); in parseFromSection() 160 componentSplicePts = TimeSignalCommand.parseSpliceTime(sectionData, ptsAdjustment); in parseFromSection() 170 long firstByte = sectionData.readUnsignedByte(); in parseFromSection() 172 long breakDuration90khz = ((firstByte & 0x01) << 32) | sectionData.readUnsignedInt(); in parseFromSection() [all …]
|
| D | TimeSignalCommand.java | 37 ParsableByteArray sectionData, long ptsAdjustment, TimestampAdjuster timestampAdjuster) { in parseFromSection() argument 38 long ptsTime = parseSpliceTime(sectionData, ptsAdjustment); in parseFromSection() 47 * @param sectionData The section data from which the pts_time is parsed. 52 /* package */ static long parseSpliceTime(ParsableByteArray sectionData, long ptsAdjustment) { in parseSpliceTime() argument 53 long firstByte = sectionData.readUnsignedByte(); in parseSpliceTime() 57 ptsTime = (firstByte & 0x01) << 32 | sectionData.readUnsignedInt(); in parseSpliceTime()
|
| /external/llvm/test/MC/ARM/ |
| D | eh-directive-personalityindex.s | 23 @ CHECK: SectionData ( 52 @ CHECK: SectionData ( 78 @ CHECK: SectionData ( 85 @ CHECK: SectionData ( 115 @ CHECK: SectionData ( 122 @ CHECK: SectionData ( 149 @ CHECK: SectionData ( 156 @ CHECK: SectionData ( 184 @ CHECK: SectionData ( 191 @ CHECK: SectionData (
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/ |
| D | TsExtractorTest.java | 306 public void consume(ParsableByteArray sectionData) { in consume() argument 311 sectionData.skipBytes(11); in consume() 313 assertThat(sectionData.readUnsignedShort()).isEqualTo(0x5566 /* arbitrary service id */); in consume() 315 sectionData.skipBytes(1); in consume() 318 assertThat(sectionData.readUnsignedShort() & 0xFFF).isEqualTo(sectionData.bytesLeft()); in consume() 319 while (sectionData.bytesLeft() > 0) { in consume() 320 int descriptorTag = sectionData.readUnsignedByte(); in consume() 321 int descriptorLength = sectionData.readUnsignedByte(); in consume() 323 assertThat(sectionData.readUnsignedByte()).isEqualTo(1); // Service type: Digital TV. in consume() 324 int serviceProviderNameLength = sectionData.readUnsignedByte(); in consume() [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/ |
| D | TsExtractorTest.java | 306 public void consume(ParsableByteArray sectionData) { in consume() argument 311 sectionData.skipBytes(11); in consume() 313 assertThat(sectionData.readUnsignedShort()).isEqualTo(0x5566 /* arbitrary service id */); in consume() 315 sectionData.skipBytes(1); in consume() 318 assertThat(sectionData.readUnsignedShort() & 0xFFF).isEqualTo(sectionData.bytesLeft()); in consume() 319 while (sectionData.bytesLeft() > 0) { in consume() 320 int descriptorTag = sectionData.readUnsignedByte(); in consume() 321 int descriptorLength = sectionData.readUnsignedByte(); in consume() 323 assertThat(sectionData.readUnsignedByte()).isEqualTo(1); // Service type: Digital TV. in consume() 324 int serviceProviderNameLength = sectionData.readUnsignedByte(); in consume() [all …]
|
| /external/llvm/test/MC/MachO/ |
| D | x86_32-sections.s | 79 // CHECK: SectionData ( 97 // CHECK: SectionData ( 115 // CHECK: SectionData ( 133 // CHECK: SectionData ( 151 // CHECK: SectionData ( 169 // CHECK: SectionData ( 187 // CHECK: SectionData ( 205 // CHECK: SectionData ( 223 // CHECK: SectionData ( 242 // CHECK: SectionData ( [all …]
|
| D | x86_64-sections.s | 76 // CHECK: SectionData ( 95 // CHECK: SectionData ( 114 // CHECK: SectionData ( 133 // CHECK: SectionData ( 152 // CHECK: SectionData ( 171 // CHECK: SectionData ( 190 // CHECK: SectionData ( 209 // CHECK: SectionData ( 228 // CHECK: SectionData ( 247 // CHECK: SectionData ( [all …]
|
| D | x86_32-symbols.s | 155 // CHECK: SectionData ( 173 // CHECK: SectionData ( 191 // CHECK: SectionData ( 209 // CHECK: SectionData ( 227 // CHECK: SectionData ( 245 // CHECK: SectionData ( 263 // CHECK: SectionData ( 281 // CHECK: SectionData ( 299 // CHECK: SectionData ( 318 // CHECK: SectionData ( [all …]
|
| /external/elfutils/libdw/ |
| D | libdw_findcu.c | 70 Elf_Data *dbg1_data = dbg1->sectiondata[IDX_debug_info]; in __libdw_finddbg_cb() 74 Elf_Data *dbg2_data = dbg2->sectiondata[IDX_debug_info]; in __libdw_finddbg_cb() 142 Elf_Data *data = dbg->sectiondata[sec_idx]; in __libdw_intern_next_unit() 275 if (addr >= dbg->sectiondata[IDX_debug_info]->d_buf in __libdw_findcu_addr() 276 && addr < (dbg->sectiondata[IDX_debug_info]->d_buf in __libdw_findcu_addr() 277 + dbg->sectiondata[IDX_debug_info]->d_size)) in __libdw_findcu_addr() 280 start = addr - dbg->sectiondata[IDX_debug_info]->d_buf; in __libdw_findcu_addr() 282 else if (dbg->sectiondata[IDX_debug_types] != NULL in __libdw_findcu_addr() 283 && addr >= dbg->sectiondata[IDX_debug_types]->d_buf in __libdw_findcu_addr() 284 && addr < (dbg->sectiondata[IDX_debug_types]->d_buf in __libdw_findcu_addr() [all …]
|
| D | dwarf_getpubnames.c | 50 unsigned char *const startp = dbg->sectiondata[IDX_debug_pubnames]->d_buf; in get_offsets() 52 unsigned char *endp = readp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets() 90 size_t max_size = dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets() 114 = ((unsigned char *) dbg->sectiondata[IDX_debug_info]->d_buf in get_offsets() 156 if (unlikely (dbg->sectiondata[IDX_debug_pubnames] == NULL in dwarf_getpubnames() 158 >= dbg->sectiondata[IDX_debug_pubnames]->d_size))) in dwarf_getpubnames() 186 = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf; in dwarf_getpubnames() 188 = startp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in dwarf_getpubnames() 237 startp = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf; in dwarf_getpubnames()
|
| D | dwarf_formstring.c | 62 ? dbg_ret->sectiondata[IDX_debug_line_str] in dwarf_formstring() 63 : dbg_ret->sectiondata[IDX_debug_str]); in dwarf_formstring() 145 if (dbg->sectiondata[IDX_debug_str_offsets] == NULL) in dwarf_formstring() 153 if (cu->offset_size > dbg->sectiondata[IDX_debug_str_offsets]->d_size) in dwarf_formstring() 161 if (str_off > (dbg->sectiondata[IDX_debug_str_offsets]->d_size in dwarf_formstring() 165 size_t max_idx = (dbg->sectiondata[IDX_debug_str_offsets]->d_size in dwarf_formstring() 170 datap = (dbg->sectiondata[IDX_debug_str_offsets]->d_buf in dwarf_formstring()
|
| D | dwarf_begin_elf.c | 227 if (unlikely (result->sectiondata[cnt] != NULL)) in check_section() 257 result->sectiondata[cnt] = data; in check_section() 308 && unlikely (result->sectiondata[IDX_debug_info] == NULL in valid_p() 309 && result->sectiondata[IDX_debug_line] == NULL in valid_p() 310 && result->sectiondata[IDX_debug_frame] == NULL)) in valid_p() 338 if (result != NULL && result->sectiondata[IDX_debug_loc] != NULL) in valid_p() 353 = result->sectiondata[IDX_debug_loc]->d_buf; in valid_p() 355 = (result->sectiondata[IDX_debug_loc]->d_buf in valid_p() 356 + result->sectiondata[IDX_debug_loc]->d_size); in valid_p() 365 if (result != NULL && result->sectiondata[IDX_debug_loclists] != NULL) in valid_p() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Object/ |
| D | Decompressor.cpp | 29 : SectionData(Data), DecompressedSize(0) {} in Decompressor() 34 if (SectionData.size() < HdrSize) in consumeCompressedHeader() 37 DataExtractor Extractor(SectionData, IsLittleEndian, 0); in consumeCompressedHeader() 61 SectionData = SectionData.substr(HdrSize); in consumeCompressedHeader() 67 arrayRefFromStringRef(SectionData), in decompress()
|