/frameworks/ex/framesequence/jni/ |
Registry.cpp | 46 int headerSize = gHeaderBytesRequired; 47 char header[headerSize]; 48 headerSize = stream->peek(header, headerSize); 50 if (headerSize >= registry->mImpl.requiredHeaderBytes 51 && registry->mImpl.checkHeader(header, headerSize)) {
|
/frameworks/base/core/jni/ |
android_backup_BackupHelperDispatcher.cpp | 35 int headerSize; 54 amt = read(fd, &flattenedHeader.headerSize, sizeof(flattenedHeader.headerSize)); 55 if (amt != sizeof(flattenedHeader.headerSize)) { 59 int remainingHeader = flattenedHeader.headerSize - sizeof(flattenedHeader.headerSize); 61 if (flattenedHeader.headerSize < (int)sizeof(chunk_header_v1)) { 62 ALOGW("Skipping unknown header: %d bytes", flattenedHeader.headerSize); 71 sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize)); 76 remainingHeader -= sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize); [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
unewdata.c | 29 uint16_t headerSize; 39 uint16_t headerSize, commentLength; 108 headerSize=(uint16_t)(pInfo->size+4); 111 headerSize+=commentLength; 117 pData->headerSize=(uint16_t)((headerSize+15)&~0xf); 120 T_FileStream_write(pData->file, &pData->headerSize, 4); 131 headerSize&=0xf; 132 if(headerSize!=0) { 133 headerSize=(uint16_t)(16-headerSize) [all...] |
swapimpl.cpp | 77 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 101 const uint8_t *inBytes=static_cast<const uint8_t *>(inData)+headerSize; 102 uint8_t *outBytes=static_cast<uint8_t *>(outData)+headerSize; 105 length-=headerSize; 152 return headerSize+totalSize; 162 int32_t headerSize, i; 168 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 194 if(length>=0 && (length-headerSize)<(int32_t)sizeof(dataIndexes)) { 196 length-headerSize); 202 inData32=(const int32_t *)((const char *)inData+headerSize); [all...] |
/frameworks/rs/ |
rsFileA3D.cpp | 117 uint64_t headerSize = 0; 118 if (lengthRemaining < sizeof(headerSize)) { 122 memcpy(&headerSize, localData, sizeof(headerSize)); 123 localData += sizeof(headerSize); 124 lengthRemaining -= sizeof(headerSize); 126 if (lengthRemaining < headerSize) { 134 localData += headerSize; 135 lengthRemaining -= headerSize; 169 uint64_t headerSize = 0 [all...] |
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
format_utils_test.cpp | 33 const size_t headerSize) { 46 buffer.push_back(headerSize >> 24); 47 buffer.push_back(headerSize >> 16); 48 buffer.push_back(headerSize >> 8); 49 buffer.push_back(headerSize);
|
/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderMP4.cpp | 32 uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize) { 36 *headerSize = 0; 53 *headerSize = 0; // 55 *headerSize = bufSize - bytesLeft; 65 uint32_t headerSize = 0; 68 mCurSegment->size - mOffsetInSeg, &headerSize); 70 if (headerSize == 0) { 76 if (headerSize <= outBuffer->bufferSize) { 77 memcpy(outBuffer->data, (uint8_t *)mCurSegment->buf + mOffsetInSeg, headerSize); 78 mTotalSizeCopied += headerSize; [all...] |
VideoEncoderMP4.h | 51 Encode_Status getHeaderPos(uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize);
|
/external/icu/icu4c/source/i18n/ |
collationdatawriter.cpp | 177 int32_t headerSize; 179 headerSize = 0; // udata_create() writes the header 186 headerSize = (int32_t)sizeof(header); 187 U_ASSERT((headerSize & 3) == 0); // multiple of 4 bytes 191 int32_t sum = headerSize + (indexesLength + reorderCodesLength) * 4; 197 headerSize += 4; 200 header.dataHeader.headerSize = (uint16_t)headerSize; 201 if(headerSize <= capacity) { 204 uprv_memset(dest + sizeof(header), 0, headerSize - (int32_t)sizeof(header)) [all...] |
/external/icu/icu4c/source/common/ |
udataswp.c | 288 uint16_t headerSize, infoSize; 311 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); 314 if( headerSize<sizeof(DataHeader) || 316 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || 317 (length>=0 && length<headerSize) 319 udata_printError(ds, "udata_swapDataHeader(): header size mismatch - headerSize %d infoSize %d length %d\n", 320 headerSize, infoSize, length); 332 uprv_memcpy(outData, inData, headerSize); 339 /* swap headerSize */ [all...] |
dictionarydata.cpp | 163 int32_t headerSize; 170 headerSize = udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 184 inBytes = (const uint8_t *)inData + headerSize; 185 outBytes = (uint8_t *)outData + headerSize; 189 length -= headerSize; 238 return headerSize + size;
|
/external/icu/icu4c/source/stubdata/ |
stubdata.c | 26 uint16_t headerSize; 42 32, /* headerSize */
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
HeaderItem.java | 28 public int headerSize; 61 headerSize = file.readUInt(); 80 if (headerSize != 0x70) { 83 if (file.getFilePointer() != headerSize) { 102 file.writeUInt(headerSize);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
BlockOutputStream.java | 24 private final int headerSize; 68 headerSize = buf.length + 4; 71 if (headerSize > EncoderUtil.BLOCK_HEADER_SIZE_MAX) 84 - headerSize - check.getSize(); 128 return headerSize + outCounted.getSize() + check.getSize();
|
BlockInputStream.java | 30 private final int headerSize; 56 headerSize = 4 * ((buf[0] & 0xFF) + 1); 57 inData.readFully(buf, 1, headerSize - 1); 60 if (!DecoderUtil.isCRC32Valid(buf, 0, headerSize - 4, headerSize - 4)) 76 buf, 2, headerSize - 6); 82 - headerSize - check.getSize(); 129 int headerAndCheckSize = headerSize + check.getSize(); 278 return headerSize + inCounted.getSize() + check.getSize();
|
/external/curl/tests/libtest/ |
lib1509.c | 35 long headerSize; 63 code = curl_easy_getinfo(curl, CURLINFO_HEADER_SIZE, &headerSize); 72 printf("header length is ........: %lu\n", headerSize);
|
/external/jetty/src/java/org/eclipse/jetty/io/ |
BuffersFactory.java | 23 public static Buffers newBuffers(Buffers.Type headerType, int headerSize, Buffers.Type bufferType, int bufferSize, Buffers.Type otherType,int maxSize) 26 return new PooledBuffers(headerType,headerSize,bufferType,bufferSize,otherType,maxSize); 27 return new ThreadLocalBuffers(headerType,headerSize,bufferType,bufferSize,otherType);
|
/external/minijail/ |
elfparse.c | 64 uint8_t pHeader[HEADERSIZE] = ""; 68 if (fread(pHeader, 1, HEADERSIZE, elf_file) == HEADERSIZE) { 102 * The file is smaller than |HEADERSIZE| bytes.
|
/frameworks/base/tools/aapt2/unflatten/ |
ResChunkPullParser.h | 31 * An android::ResChunk_header specifies a type, headerSize, 81 if (util::deviceToHost16(chunk->headerSize) < sizeof(T)) { 88 return reinterpret_cast<const uint8_t*>(chunk) + util::deviceToHost16(chunk->headerSize); 92 return util::deviceToHost32(chunk->size) - util::deviceToHost16(chunk->headerSize);
|
ResChunkPullParser.cpp | 52 if (util::deviceToHost16(mCurrentChunk->headerSize) < sizeof(ResChunk_header)) { 57 util::deviceToHost16(mCurrentChunk->headerSize)) {
|
/frameworks/av/media/libstagefright/ |
AACExtractor.cpp | 94 // If headerSize is non-NULL, it will be used to return the size of the header of this ADTS frame. 95 static size_t getAdtsFrameLength(const sp<DataSource> &source, off64_t offset, size_t* headerSize) { 128 if (headerSize != NULL) { 129 *headerSize = headSize; 303 size_t frameSize, frameSizeWithoutHeader, headerSize; 304 if ((frameSize = getAdtsFrameLength(mDataSource, mOffset, &headerSize)) == 0) { 314 frameSizeWithoutHeader = frameSize - headerSize; 315 if (mDataSource->readAt(mOffset + headerSize, buffer->data(),
|
/external/lzma/C/Util/Lzma/ |
LzmaUtil.c | 152 size_t headerSize = LZMA_PROPS_SIZE;
155 res = LzmaEnc_WriteProperties(enc, header, &headerSize);
157 header[headerSize++] = (Byte)(fileSize >> (8 * i));
158 if (outStream->Write(outStream, header, headerSize) != headerSize)
|
/frameworks/base/tools/aapt2/flatten/ |
ChunkWriter.h | 48 mHeader->headerSize = util::hostToDevice16(sizeof(T)); 81 mHeader->headerSize = util::hostToDevice16(sizeof(android::ResChunk_header));
|
/frameworks/native/opengl/libs/EGL/ |
egl_cache.cpp | 221 size_t headerSize = cacheFileHeaderSize; 246 size_t fileSize = headerSize + cacheSize; 257 status_t err = mBlobCache->flatten(buf + headerSize, cacheSize); 270 *crc = crc32c(buf + headerSize, cacheSize); 289 size_t headerSize = cacheFileHeaderSize; 326 size_t cacheSize = fileSize - headerSize; 333 if (crc32c(buf + headerSize, cacheSize) != *crc) { 339 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/ |
BinaryXMLDescriber.java | 61 short headerSize = buf.getShort(); 63 if (type == RES_XML_TYPE && headerSize == RES_XML_HEADER_SIZE) {
|