Home
last modified time | relevance | path

Searched refs:sectionLength (Results 1 – 7 of 7) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/pgs/
DPgsDecoder.java84 int sectionLength = buffer.readUnsignedShort(); in readNextSection() local
86 int nextSectionPosition = buffer.getPosition() + sectionLength; in readNextSection()
95 cueBuilder.parsePaletteSection(buffer, sectionLength); in readNextSection()
98 cueBuilder.parseBitmapSection(buffer, sectionLength); in readNextSection()
101 cueBuilder.parseIdentifierSection(buffer, sectionLength); in readNextSection()
133 private void parsePaletteSection(ParsableByteArray buffer, int sectionLength) { in parsePaletteSection() argument
134 if ((sectionLength % 5) != 2) { in parsePaletteSection()
141 int entryCount = sectionLength / 5; in parsePaletteSection()
160 private void parseBitmapSection(ParsableByteArray buffer, int sectionLength) { in parseBitmapSection() argument
161 if (sectionLength < 4) { in parseBitmapSection()
[all …]
/external/llvm-project/llvm/lib/Support/
DELFAttributeParser.cpp209 uint32_t sectionLength = de.getU32(cursor); in parse() local
218 if (sectionLength < 4 || cursor.tell() - 4 + sectionLength > section.size()) in parse()
221 Twine(sectionLength) + " at offset 0x" + in parse()
224 if (Error e = parseSubsection(sectionLength)) in parse()
/external/llvm-project/libunwind/src/
DEHHeaderParser.hpp41 uint32_t sectionLength,
102 uint32_t sectionLength, in findFDE() argument
105 pint_t ehHdrEnd = ehHdrStart + sectionLength; in findFDE()
DDwarfParser.hpp154 uintptr_t sectionLength, pint_t fdeHint, FDE_Info *fdeInfo,
223 uintptr_t sectionLength, pint_t fdeHint, in findFDE() argument
227 const pint_t ehSectionEnd = (sectionLength == UINTPTR_MAX) in findFDE()
229 : (ehSectionStart + sectionLength); in findFDE()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/
DSectionReaderTest.java182 private void insertTableSection(int offset, byte tableId, int sectionLength) { in insertTableSection() argument
184 packetPayload[offset++] = (byte) ((sectionLength >> 8) & 0x0F); in insertTableSection()
185 packetPayload[offset] = (byte) (sectionLength & 0xFF); in insertTableSection()
/external/icu/icu4c/source/i18n/
Duspoof_impl.cpp914 int32_t sectionLength; in uspoof_swap() local
927 sectionLength = ds->readUInt32(spoofDH->fCFUKeysSize) * 4; in uspoof_swap()
928 ds->swapArray32(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
932 sectionLength = ds->readUInt32(spoofDH->fCFUStringIndexSize) * 2; in uspoof_swap()
933 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
937 sectionLength = ds->readUInt32(spoofDH->fCFUStringTableLen) * 2; in uspoof_swap()
938 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/dvbsi/
DAppInfoTableDecoder.java65 int sectionLength = sectionData.readBits(12); in parseAit() local
66 int endOfSection = sectionData.getBytePosition() + sectionLength - 4 /* Ignore leading CRC */; in parseAit()