/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
D | AbstractBoxParser.java | 62 long contentSize; in parseBox() local 69 contentSize = size - 16; in parseBox() 76 contentSize = size - 8; in parseBox() 78 contentSize = size - 8; in parseBox() 85 contentSize -= 16; in parseBox() 93 if (l2i(size - contentSize) == 8) { in parseBox() 97 } else if (l2i(size - contentSize) == 16) { in parseBox() 102 } else if (l2i(size - contentSize) == 24) { in parseBox() 107 } else if (l2i(size - contentSize) == 32) { in parseBox() 118 box.parse(byteChannel, header, contentSize, this); in parseBox()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
D | MediaDataBox.java | 61 private long contentSize; field in MediaDataBox 99 …transfer(fileChannel, startPosition - header.limit(), contentSize + header.limit(), writableByteCh… in getBox() 134 size += contentSize; in getSize() 138 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 140 this.contentSize = contentSize; in parse() 142 … if (readableByteChannel instanceof FileChannel && (contentSize > AbstractBox.MEM_MAP_THRESHOLD)) { in parse() 145 …annel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); in parse() 147 content = ChannelHelper.readFully(readableByteChannel, l2i(contentSize)); in parse() 170 …ileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFER_SIZE, contentSize - offset)); in getContent()
|
/external/zstd/tests/ |
D | decodecorpus.c | 191 size_t contentSize; /* 0 means unknown (unless contentSize == windowSize == 0) */ member 254 int contentSize; /* force the content size to be present */ member 295 fh.contentSize = highBit ? highBit + (RAND(seed) % highBit) : 0; in writeFrameHeader() 298 contentSizeFlag = opts.contentSize | (RAND(seed) & 1); in writeFrameHeader() 300 if (contentSizeFlag && (fh.contentSize == 0 || !(RAND(seed) & 7))) { in writeFrameHeader() 302 fh.windowSize = (U32) fh.contentSize; in writeFrameHeader() 309 int minFcsCode = (fh.contentSize >= 256) + in writeFrameHeader() 310 (fh.contentSize >= 65536 + 256) + in writeFrameHeader() 311 (fh.contentSize > 0xFFFFFFFFU); in writeFrameHeader() 316 if (fcsCode == 1 && fh.contentSize < 256) fcsCode++; in writeFrameHeader() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | FreeBox.java | 95 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 96 if (readableByteChannel instanceof FileChannel && contentSize > 1024 * 1024) { in parse() 98 …l).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize); in parse() 99 …annel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); in parse() 101 assert contentSize < Integer.MAX_VALUE; in parse() 102 data = ChannelHelper.readFully(readableByteChannel, contentSize); in parse()
|
D | MediaHeaderBox.java | 64 long contentSize = 4; in getContentSize() local 66 contentSize += 8 + 8 + 4 + 8; in getContentSize() 68 contentSize += 4 + 4 + 4 + 4; in getContentSize() 70 contentSize += 2; in getContentSize() 71 contentSize += 2; in getContentSize() 72 return contentSize; in getContentSize()
|
D | MovieHeaderBox.java | 92 long contentSize = 4; in getContentSize() local 94 contentSize += 28; in getContentSize() 96 contentSize += 16; in getContentSize() 98 contentSize += 80; in getContentSize() 99 return contentSize; in getContentSize()
|
D | TrackHeaderBox.java | 97 long contentSize = 4; in getContentSize() local 99 contentSize += 32; in getContentSize() 101 contentSize += 20; in getContentSize() 103 contentSize += 60; in getContentSize() 104 return contentSize; in getContentSize()
|
D | EditListBox.java | 74 long contentSize = 8; in getContentSize() local 76 contentSize += entries.size() * 20; in getContentSize() 78 contentSize += entries.size() * 12; in getContentSize() 81 return contentSize; in getContentSize()
|
D | KeywordsBox.java | 56 long contentSize = 7; in getContentSize() local 58 contentSize += 1 + Utf8.utf8StringLengthInBytes(keyword) + 1; in getContentSize() 60 return contentSize; in getContentSize()
|
D | UserDataBox.java | 41 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 42 …super.parse(readableByteChannel, header, contentSize, boxParser); //To change body of overridde… in parse()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/ |
D | TrackFragmentRandomAccessBox.java | 69 long contentSize = 4; in getContentSize() local 70 contentSize += 4 + 4 /*26 + 2 + 2 + 2 */ + 4; in getContentSize() 72 contentSize += (8 + 8) * entries.size(); in getContentSize() 74 contentSize += (4 + 4) * entries.size(); in getContentSize() 76 contentSize += lengthSizeOfTrafNum * entries.size(); in getContentSize() 77 contentSize += lengthSizeOfTrunNum * entries.size(); in getContentSize() 78 contentSize += lengthSizeOfSampleNum * entries.size(); in getContentSize() 79 return contentSize; in getContentSize()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
D | AbstractContainerBox.java | 46 long contentSize = 0; in getContentSize() local 48 contentSize += boxe.getSize(); in getContentSize() 50 return contentSize; in getContentSize() 104 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 106 super.parse(readableByteChannel, header, contentSize, boxParser); in parse()
|
D | FullContainerBox.java | 68 long contentSize = 4; // flags and version in getContentSize() local 70 contentSize += boxe.getSize(); in getContentSize() 72 return contentSize; in getContentSize() 94 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 96 super.parse(readableByteChannel, header, contentSize, boxParser); in parse()
|
D | AbstractBox.java | 103 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 104 if (readableByteChannel instanceof FileChannel && contentSize > MEM_MAP_THRESHOLD) { in parse() 109 …l).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize); in parse() 110 …annel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); in parse() 112 assert contentSize < Integer.MAX_VALUE; in parse() 113 content = ChannelHelper.readFully(readableByteChannel, contentSize); in parse()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
D | MpegSampleEntry.java | 27 long contentSize = 8; in getContentSize() local 29 contentSize += boxe.getSize(); in getContentSize() 31 return contentSize; in getContentSize()
|
D | AudioSampleEntry.java | 223 long contentSize = 28; in getContentSize() local 224 contentSize += soundVersion > 0 ? 16 : 0; in getContentSize() 225 contentSize += soundVersion == 2 ? 20 : 0; in getContentSize() 227 contentSize += boxe.getSize(); in getContentSize() 229 return contentSize; in getContentSize()
|
D | TextSampleEntry.java | 78 long contentSize = 18; in getContentSize() local 79 contentSize += boxRecord.getSize(); in getContentSize() 80 contentSize += styleRecord.getSize(); in getContentSize() 82 contentSize += boxe.getSize(); in getContentSize() 84 return contentSize; in getContentSize()
|
D | VisualSampleEntry.java | 174 long contentSize = 78; in getContentSize() local 176 contentSize += boxe.getSize(); in getContentSize() 178 return contentSize; in getContentSize()
|
D | SubtitleSampleEntry.java | 31 … long contentSize = 8 + namespace.length() + schemaLocation.length() + imageMimeType.length() + 3; in getContentSize() local 32 return contentSize; in getContentSize()
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mkv/ |
D | DefaultEbmlReaderTest.java | 208 public void startMasterElement(int id, long contentPosition, long contentSize) { in startMasterElement() argument 210 + " contentSize=" + contentSize)); in startMasterElement() 234 public void binaryElement(int id, int contentSize, ExtractorInput input) throws IOException { in binaryElement() argument 235 byte[] bytes = new byte[contentSize]; in binaryElement() 236 input.readFully(bytes, 0, contentSize); in binaryElement()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ |
D | AbstractSampleEncryptionBox.java | 173 long contentSize = 4; in getContentSize() local 175 contentSize += 4; in getContentSize() 176 contentSize += kid.length; in getContentSize() 178 contentSize += 4; in getContentSize() 180 contentSize += entry.getSize(); in getContentSize() 182 return contentSize; in getContentSize()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/ |
D | MatroskaExtractor.java | 606 protected void startMasterElement(int id, long contentPosition, long contentSize) in startMasterElement() argument 615 segmentContentSize = contentSize; in startMasterElement() 1067 protected void binaryElement(int id, int contentSize, ExtractorInput input) throws IOException { in binaryElement() argument 1071 input.readFully(seekEntryIdBytes.data, 4 - contentSize, contentSize); in binaryElement() 1076 currentTrack.codecPrivate = new byte[contentSize]; in binaryElement() 1077 input.readFully(currentTrack.codecPrivate, 0, contentSize); in binaryElement() 1080 currentTrack.projectionData = new byte[contentSize]; in binaryElement() 1081 input.readFully(currentTrack.projectionData, 0, contentSize); in binaryElement() 1085 currentTrack.sampleStrippedBytes = new byte[contentSize]; in binaryElement() 1086 input.readFully(currentTrack.sampleStrippedBytes, 0, contentSize); in binaryElement() [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz4/ |
D | FramedLZ4CompressorInputStream.java | 230 byte[] contentSize = new byte[8]; in readFrameDescriptor() 231 int skipped = IOUtils.readFully(in, contentSize); in readFrameDescriptor() 236 contentHash.update(contentSize, 0, contentSize.length); in readFrameDescriptor()
|
/external/llvm-project/lld/lib/ReaderWriter/MachO/ |
D | File.h | 43 uint64_t sectionOffset, uint64_t contentSize, bool thumb, in addDefinedAtom() argument 46 assert(sectionOffset+contentSize <= inSection->content.size()); in addDefinedAtom() 48 contentSize); in addDefinedAtom() 66 uint64_t contentSize, StringRef sectionName, in addDefinedAtomInCustomSection() argument 68 assert(sectionOffset+contentSize <= inSection->content.size()); in addDefinedAtomInCustomSection() 70 contentSize); in addDefinedAtomInCustomSection()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
D | DefaultMp4Builder.java | 380 long contentSize = 0; field in DefaultMp4Builder.InterleaveChunkMdat 390 …parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxP… in parse() argument 413 contentSize += s.limit(); in InterleaveChunkMdat() 444 return 16 + contentSize; in getSize() 447 private boolean isSmallBox(long contentSize) { in isSmallBox() argument 448 return (contentSize + 8) < 4294967296L; in isSmallBox()
|