| /external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/dvbsi/ |
| D | AppInfoTableDecoder.java | 62 private static Metadata parseAit(ParsableBitArray sectionData) { in parseAit() argument 64 sectionData.skipBits(12); in parseAit() 65 int sectionLength = sectionData.readBits(12); in parseAit() 66 int endOfSection = sectionData.getBytePosition() + sectionLength - 4 /* Ignore leading CRC */; in parseAit() 70 sectionData.skipBits(44); in parseAit() 72 int commonDescriptorsLength = sectionData.readBits(12); in parseAit() 76 sectionData.skipBytes(commonDescriptorsLength); in parseAit() 79 sectionData.skipBits(16); in parseAit() 82 while (sectionData.getBytePosition() < endOfSection) { in parseAit() 87 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 …]
|
| D | bitenc.cpp | 128 SECTION_DATA *sectionData, in FDKaacEnc_encodeSpectralData() argument 134 for (i = 0; i < sectionData->noOfSections; i++) { in FDKaacEnc_encodeSpectralData() 135 if (sectionData->huffsection[i].codeBook != CODE_BOOK_PNS_NO) { in FDKaacEnc_encodeSpectralData() 137 INT tmp = sectionData->huffsection[i].sfbStart + in FDKaacEnc_encodeSpectralData() 138 sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeSpectralData() 139 for (sfb = sectionData->huffsection[i].sfbStart; sfb < tmp; sfb++) { in FDKaacEnc_encodeSpectralData() 142 sectionData->huffsection[i].codeBook, hBitStream); in FDKaacEnc_encodeSpectralData() 239 static INT FDKaacEnc_encodeSectionData(SECTION_DATA *sectionData, in FDKaacEnc_encodeSectionData() argument 249 switch (sectionData->blockType) { in FDKaacEnc_encodeSectionData() 263 for (i = 0; i < sectionData->noOfSections; i++) { in FDKaacEnc_encodeSectionData() [all …]
|
| /external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
| D | SectionReader.java | 35 private final ParsableByteArray sectionData; field in SectionReader 44 sectionData = new ParsableByteArray(DEFAULT_SECTION_BUFFER_LENGTH); in SectionReader() 91 data.readBytes(sectionData.data, bytesRead, headerBytesToRead); in consume() 94 sectionData.reset(SECTION_HEADER_LENGTH); in consume() 95 sectionData.skipBytes(1); // Skip table id (8). in consume() 96 int secondHeaderByte = sectionData.readUnsignedByte(); in consume() 97 int thirdHeaderByte = sectionData.readUnsignedByte(); in consume() 101 if (sectionData.capacity() < totalSectionLength) { in consume() 103 byte[] bytes = sectionData.data; in consume() 104 sectionData.reset( in consume() [all …]
|
| /external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
| D | Decompressor.cpp | 35 : SectionData(Data), DecompressedSize(0) {} in Decompressor() 38 if (!SectionData.startswith("ZLIB")) in consumeCompressedGnuHeader() 41 SectionData = SectionData.substr(4); in consumeCompressedGnuHeader() 44 if (SectionData.size() < 8) in consumeCompressedGnuHeader() 46 DecompressedSize = read64be(SectionData.data()); in consumeCompressedGnuHeader() 47 SectionData = SectionData.substr(8); in consumeCompressedGnuHeader() 56 if (SectionData.size() < HdrSize) in consumeCompressedZLibHeader() 59 DataExtractor Extractor(SectionData, IsLittleEndian, 0); in consumeCompressedZLibHeader() 72 SectionData = SectionData.substr(HdrSize); in consumeCompressedZLibHeader() 93 return zlib::uncompress(SectionData, Buffer.data(), Size); in decompress()
|
| /external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/scte35/ |
| D | SpliceScheduleCommand.java | 124 private static Event parseFromSection(ParsableByteArray sectionData) { in parseFromSection() argument 125 long spliceEventId = sectionData.readUnsignedInt(); in parseFromSection() 127 boolean spliceEventCancelIndicator = (sectionData.readUnsignedByte() & 0x80) != 0; in parseFromSection() 138 int headerByte = sectionData.readUnsignedByte(); in parseFromSection() 143 utcSpliceTime = sectionData.readUnsignedInt(); in parseFromSection() 146 int componentCount = sectionData.readUnsignedByte(); in parseFromSection() 149 int componentTag = sectionData.readUnsignedByte(); in parseFromSection() 150 long componentUtcSpliceTime = sectionData.readUnsignedInt(); in parseFromSection() 155 long firstByte = sectionData.readUnsignedByte(); in parseFromSection() 157 long breakDuration90khz = ((firstByte & 0x01) << 32) | sectionData.readUnsignedInt(); in parseFromSection() [all …]
|
| D | SpliceInfoDecoder.java | 40 private final ParsableByteArray sectionData; field in SpliceInfoDecoder 46 sectionData = new ParsableByteArray(); in SpliceInfoDecoder() 65 sectionData.reset(data, size); in decode() 78 sectionData.skipBytes(14); in decode() 84 command = SpliceScheduleCommand.parseFromSection(sectionData); in decode() 87 command = SpliceInsertCommand.parseFromSection(sectionData, ptsAdjustment, in decode() 91 command = TimeSignalCommand.parseFromSection(sectionData, ptsAdjustment, timestampAdjuster); in decode() 94 command = PrivateCommand.parseFromSection(sectionData, spliceCommandLength, ptsAdjustment); in decode()
|
| D | SpliceInsertCommand.java | 135 /* package */ static SpliceInsertCommand parseFromSection(ParsableByteArray sectionData, in parseFromSection() argument 137 long spliceEventId = sectionData.readUnsignedInt(); in parseFromSection() 139 boolean spliceEventCancelIndicator = (sectionData.readUnsignedByte() & 0x80) != 0; in parseFromSection() 151 int headerByte = sectionData.readUnsignedByte(); in parseFromSection() 157 programSplicePts = TimeSignalCommand.parseSpliceTime(sectionData, ptsAdjustment); in parseFromSection() 160 int componentCount = sectionData.readUnsignedByte(); in parseFromSection() 163 int componentTag = sectionData.readUnsignedByte(); in parseFromSection() 166 componentSplicePts = TimeSignalCommand.parseSpliceTime(sectionData, ptsAdjustment); in parseFromSection() 173 long firstByte = sectionData.readUnsignedByte(); in parseFromSection() 175 long breakDuration90khz = ((firstByte & 0x01) << 32) | sectionData.readUnsignedInt(); in parseFromSection() [all …]
|
| D | TimeSignalCommand.java | 42 /* package */ static TimeSignalCommand parseFromSection(ParsableByteArray sectionData, in parseFromSection() argument 44 long ptsTime = parseSpliceTime(sectionData, ptsAdjustment); in parseFromSection() 53 * @param sectionData The section data from which the pts_time is parsed. 58 /* package */ static long parseSpliceTime(ParsableByteArray sectionData, long ptsAdjustment) { in parseSpliceTime() argument 59 long firstByte = sectionData.readUnsignedByte(); in parseSpliceTime() 63 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 (
|
| D | eh-directive-personality.s | 27 @ CHECK: SectionData ( 33 @ CHECK: SectionData ( 47 @ CHECK: SectionData ( 78 @ CHECK: SectionData ( 84 @ CHECK: SectionData ( 98 @ CHECK: SectionData (
|
| /external/swiftshader/third_party/llvm-7.0/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 (
|
| D | eh-directive-personality.s | 27 @ CHECK: SectionData ( 33 @ CHECK: SectionData ( 47 @ CHECK: SectionData ( 78 @ CHECK: SectionData ( 84 @ CHECK: SectionData ( 98 @ CHECK: SectionData (
|
| /external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/ |
| D | TsExtractorTest.java | 294 public void consume(ParsableByteArray sectionData) { in consume() argument 299 sectionData.skipBytes(11); in consume() 301 assertThat(sectionData.readUnsignedShort()).isEqualTo(0x5566 /* arbitrary service id */); in consume() 303 sectionData.skipBytes(1); in consume() 306 assertThat(sectionData.readUnsignedShort() & 0xFFF).isEqualTo(sectionData.bytesLeft()); in consume() 307 while (sectionData.bytesLeft() > 0) { in consume() 308 int descriptorTag = sectionData.readUnsignedByte(); in consume() 309 int descriptorLength = sectionData.readUnsignedByte(); in consume() 311 assertThat(sectionData.readUnsignedByte()).isEqualTo(1); // Service type: Digital TV. in consume() 312 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/swiftshader/third_party/llvm-7.0/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() 267 if (addr >= dbg->sectiondata[IDX_debug_info]->d_buf in __libdw_findcu_addr() 268 && addr < (dbg->sectiondata[IDX_debug_info]->d_buf in __libdw_findcu_addr() 269 + dbg->sectiondata[IDX_debug_info]->d_size)) in __libdw_findcu_addr() 272 start = addr - dbg->sectiondata[IDX_debug_info]->d_buf; in __libdw_findcu_addr() 274 else if (dbg->sectiondata[IDX_debug_types] != NULL in __libdw_findcu_addr() 275 && addr >= dbg->sectiondata[IDX_debug_types]->d_buf in __libdw_findcu_addr() 276 && addr < (dbg->sectiondata[IDX_debug_types]->d_buf in __libdw_findcu_addr() [all …]
|
| D | dwarf_begin_elf.c | 146 if (unlikely (result->sectiondata[cnt] != NULL)) in check_section() 176 result->sectiondata[cnt] = data; in check_section() 211 && unlikely (result->sectiondata[IDX_debug_info] == NULL in valid_p() 212 && result->sectiondata[IDX_debug_line] == NULL in valid_p() 213 && result->sectiondata[IDX_debug_frame] == NULL)) in valid_p() 224 if (result != NULL && result->sectiondata[IDX_debug_loc] != NULL) in valid_p() 239 = result->sectiondata[IDX_debug_loc]->d_buf; in valid_p() 241 = (result->sectiondata[IDX_debug_loc]->d_buf in valid_p() 242 + result->sectiondata[IDX_debug_loc]->d_size); in valid_p() 250 if (result != NULL && result->sectiondata[IDX_debug_loclists] != NULL) in valid_p() [all …]
|
| 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() 142 if (dbg->sectiondata[IDX_debug_str_offsets] == NULL) in dwarf_formstring() 150 if (cu->offset_size > dbg->sectiondata[IDX_debug_str_offsets]->d_size) in dwarf_formstring() 158 if (str_off > (dbg->sectiondata[IDX_debug_str_offsets]->d_size in dwarf_formstring() 162 size_t max_idx = (dbg->sectiondata[IDX_debug_str_offsets]->d_size in dwarf_formstring() 167 datap = (dbg->sectiondata[IDX_debug_str_offsets]->d_buf in dwarf_formstring() 174 if (off > dbg->sectiondata[IDX_debug_str]->d_size) in dwarf_formstring()
|
| 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() 91 size_t max_size = dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets() 115 = ((unsigned char *) dbg->sectiondata[IDX_debug_info]->d_buf in get_offsets() 157 if (unlikely (dbg->sectiondata[IDX_debug_pubnames] == NULL in dwarf_getpubnames() 159 >= dbg->sectiondata[IDX_debug_pubnames]->d_size))) in dwarf_getpubnames() 187 = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf; in dwarf_getpubnames() 189 = startp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in dwarf_getpubnames() 238 startp = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf; in dwarf_getpubnames()
|
| /external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
| D | coff2yaml.cpp | 119 ArrayRef<uint8_t> sectionData; in initializeFileAndStringTable() local 125 Obj.getSectionContents(COFFSection, sectionData); in initializeFileAndStringTable() 127 BinaryStreamReader Reader(sectionData, support::little); in initializeFileAndStringTable() 166 ArrayRef<uint8_t> sectionData; in dumpSections() local 168 Obj.getSectionContents(COFFSection, sectionData); in dumpSections() 169 NewYAMLSection.SectionData = yaml::BinaryRef(sectionData); in dumpSections() 172 NewYAMLSection.DebugS = CodeViewYAML::fromDebugS(sectionData, SC); in dumpSections() 174 NewYAMLSection.DebugT = CodeViewYAML::fromDebugT(sectionData, in dumpSections() 177 NewYAMLSection.DebugP = CodeViewYAML::fromDebugT(sectionData, in dumpSections() 180 NewYAMLSection.DebugH = CodeViewYAML::fromDebugH(sectionData); in dumpSections()
|