/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
MpegSampleEntry.java | 27 long contentSize = 8;
29 contentSize += boxe.getSize();
31 return contentSize;
|
SubtitleSampleEntry.java | 31 long contentSize = 8 + namespace.length() + schemaLocation.length() + imageMimeType.length() + 3; 32 return contentSize;
|
AudioSampleEntry.java | 223 long contentSize = 28; 224 contentSize += soundVersion > 0 ? 16 : 0; 225 contentSize += soundVersion == 2 ? 20 : 0; 227 contentSize += boxe.getSize(); 229 return contentSize;
|
TextSampleEntry.java | 78 long contentSize = 18; 79 contentSize += boxRecord.getSize(); 80 contentSize += styleRecord.getSize(); 82 contentSize += boxe.getSize(); 84 return contentSize;
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
AbstractBoxParser.java | 62 long contentSize; 69 contentSize = size - 16; 76 contentSize = size - 8; 78 contentSize = size - 8; 85 contentSize -= 16; 93 if (l2i(size - contentSize) == 8) { 97 } else if (l2i(size - contentSize) == 16) { 102 } else if (l2i(size - contentSize) == 24) { 107 } else if (l2i(size - contentSize) == 32) { 118 box.parse(byteChannel, header, contentSize, this) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
FreeBox.java | 95 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 96 if (readableByteChannel instanceof FileChannel && contentSize > 1024 * 1024) { 98 data = ((FileChannel) readableByteChannel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize); 99 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); 101 assert contentSize < Integer.MAX_VALUE; 102 data = ChannelHelper.readFully(readableByteChannel, contentSize);
|
MediaHeaderBox.java | 64 long contentSize = 4; 66 contentSize += 8 + 8 + 4 + 8; 68 contentSize += 4 + 4 + 4 + 4; 70 contentSize += 2; 71 contentSize += 2; 72 return contentSize;
|
KeywordsBox.java | 56 long contentSize = 7; 58 contentSize += 1 + Utf8.utf8StringLengthInBytes(keyword) + 1; 60 return contentSize;
|
UserDataBox.java | 41 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 42 super.parse(readableByteChannel, header, contentSize, boxParser); //To change body of overridden methods use File | Settings | File Templates.
|
MovieHeaderBox.java | 92 long contentSize = 4; 94 contentSize += 28; 96 contentSize += 16; 98 contentSize += 80; 99 return contentSize;
|
TrackHeaderBox.java | 97 long contentSize = 4; 99 contentSize += 32; 101 contentSize += 20; 103 contentSize += 60; 104 return contentSize;
|
Box.java | 50 void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException;
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
Transport.java | 259 final int contentSize = buffer.getInt(); 260 if (contentSize == 0) { 263 final int end = buffer.position() + contentSize; 293 int contentSize = -1; 316 if (contentSize < 0 && position >= Protocol.HEADER_SIZE) { 317 contentSize = buffer.getInt(4); 318 if (contentSize < 0 || contentSize > Protocol.MAX_CONTENT_SIZE) { 319 mLogger.logError("Encountered invalid content size: " + contentSize); 322 length += contentSize; [all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
CryptAuthenticode.c | 79 UINTN ContentSize;
143 ContentSize = (UINTN) (Asn1Byte & 0x7F);
153 ContentSize = (UINTN) (*(UINT8 *)(SpcIndirectDataContent + 2));
163 ContentSize = (UINTN) (*(UINT8 *)(SpcIndirectDataContent + 2));
164 ContentSize = (ContentSize << 8) + (UINTN)(*(UINT8 *)(SpcIndirectDataContent + 3));
179 if (CompareMem (SpcIndirectDataContent + ContentSize - HashSize, ImageHash, HashSize) != 0) {
189 Status = (BOOLEAN) Pkcs7Verify (OrigAuthData, DataSize, TrustedCert, CertSize, SpcIndirectDataContent, ContentSize);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenCRC32Section/ |
GenCRC32Section.c | 165 OUT UINT32 *ContentSize,
215 *ContentSize = Size;
229 UINT32 ContentSize;
236 ContentSize = 0;
262 &ContentSize,
294 Status = SignSectionWithCrc32 (FileBuffer, &BufferSize, ContentSize);
302 ContentSize = fwrite (FileBuffer, sizeof (UINT8), BufferSize, OutputFile);
303 if (ContentSize != BufferSize) {
|
/frameworks/base/services/core/java/com/android/server/security/ |
VerityUtils.java | 66 int contentSize = result.second; 71 return SetupResult.ok(Os.dup(rfd), contentSize); 118 int contentSize = shmBufferFactory.getBufferLimit(); 126 return Pair.create(shm, contentSize); 143 public static SetupResult ok(@NonNull FileDescriptor fileDescriptor, int contentSize) { 144 return new SetupResult(RESULT_OK, fileDescriptor, contentSize); 155 private SetupResult(int code, FileDescriptor fileDescriptor, int contentSize) { 158 this.mContentSize = contentSize;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
FullContainerBox.java | 68 long contentSize = 4; // flags and version 70 contentSize += boxe.getSize(); 72 return contentSize; 94 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 96 super.parse(readableByteChannel, header, contentSize, boxParser);
|
AbstractBox.java | 98 * @param contentSize expected contentSize of the box 103 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 104 if (readableByteChannel instanceof FileChannel && contentSize > MEM_MAP_THRESHOLD) { 109 content = ((FileChannel) readableByteChannel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize); 110 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); 112 assert contentSize < Integer.MAX_VALUE; 113 content = ChannelHelper.readFully(readableByteChannel, contentSize);
|
AbstractContainerBox.java | 46 long contentSize = 0; 48 contentSize += boxe.getSize(); 50 return contentSize; 104 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 106 super.parse(readableByteChannel, header, contentSize, boxParser);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
MediaDataBox.java | 61 private long contentSize; 99 transfer(fileChannel, startPosition - header.limit(), contentSize + header.limit(), writableByteChannel); 134 size += contentSize; 138 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { 140 this.contentSize = contentSize; 142 if (readableByteChannel instanceof FileChannel && (contentSize > AbstractBox.MEM_MAP_THRESHOLD)) { 145 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); 147 content = ChannelHelper.readFully(readableByteChannel, l2i(contentSize)); 170 cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFER_SIZE, contentSize - offset)) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/ |
TrackFragmentRandomAccessBox.java | 69 long contentSize = 4; 70 contentSize += 4 + 4 /*26 + 2 + 2 + 2 */ + 4; 72 contentSize += (8 + 8) * entries.size(); 74 contentSize += (4 + 4) * entries.size(); 76 contentSize += lengthSizeOfTrafNum * entries.size(); 77 contentSize += lengthSizeOfTrunNum * entries.size(); 78 contentSize += lengthSizeOfSampleNum * entries.size(); 79 return contentSize;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ |
AbstractSampleEncryptionBox.java | 173 long contentSize = 4; 175 contentSize += 4; 176 contentSize += kid.length; 178 contentSize += 4; 180 contentSize += entry.getSize(); 182 return contentSize;
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
Pkcs7Verify.h | 85 @param[in,out] ContentSize On input, points to the size in bytes of the optional
88 referenced by ContentSize will contain the actual
89 size of the content from signed file. If ContentSize
92 ContentSize will be updated with the required size.
108 @retval EFI_INVALID_PARAMETER Content is not NULL and ContentSize is NULL.
117 @retval EFI_BUFFER_TOO_SMALL The size of buffer indicated by ContentSize is too
118 small to hold the content. ContentSize updated to
134 IN OUT UINTN *ContentSize
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadEntry.java | 43 public long contentSize; 65 .append("_size").append(contentSize).append(", ")
|
/device/linaro/bootloader/edk2/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/ |
Pkcs7VerifyDxe.c | 120 @param[in] ContentSize The size of data content in bytes.
132 IN UINTN ContentSize,
165 if (!CalculateDataHash (Content, ContentSize, &SigList->SignatureType, HashVal)) {
466 Content is not NULL and ContentSize is NULL.
627 Content is not NULL and ContentSize is NULL.
631 @retval EFI_BUFFER_TOO_SMALL The size of buffer indicated by ContentSize is too
632 small to hold the content. ContentSize updated to
752 @param[in,out] ContentSize On input, points to the size in bytes of the optional
755 referenced by ContentSize will contain the actual
756 size of the content from signed file. If ContentSize
[all...] |