/frameworks/base/core/jni/ |
android_backup_BackupHelperDispatcher.cpp | 34 int headerSize; 53 amt = read(fd, &flattenedHeader.headerSize, sizeof(flattenedHeader.headerSize)); 54 if (amt != sizeof(flattenedHeader.headerSize)) { 58 int remainingHeader = flattenedHeader.headerSize - sizeof(flattenedHeader.headerSize); 60 if (flattenedHeader.headerSize < (int)sizeof(chunk_header_v1)) { 61 ALOGW("Skipping unknown header: %d bytes", flattenedHeader.headerSize); 70 sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize)); 75 remainingHeader -= sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize); [all...] |
/external/icu4c/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 | 78 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 102 const uint8_t *inBytes=reinterpret_cast<const uint8_t *>(inData)+headerSize; 103 uint8_t *outBytes=reinterpret_cast<uint8_t *>(outData)+headerSize; 106 length-=headerSize; 153 return headerSize+totalSize; 163 int32_t headerSize, i; 169 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 195 if(length>=0 && (length-headerSize)<(int32_t)sizeof(dataIndexes)) { 197 length-headerSize); 203 inData32=(const int32_t *)((const char *)inData+headerSize); [all...] |
/external/icu4c/common/ |
udataswp.c | 239 uint16_t headerSize, infoSize; 262 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); 265 if( headerSize<sizeof(DataHeader) || 267 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || 268 (length>=0 && length<headerSize) 270 udata_printError(ds, "udata_swapDataHeader(): header size mismatch - headerSize %d infoSize %d length %d\n", 271 headerSize, infoSize, length); 283 uprv_memcpy(outData, inData, headerSize); 290 /* swap headerSize */ [all...] |
ucol_swp.cpp | 339 int32_t headerSize, collationSize; 342 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 366 (const char *)inData+headerSize, 367 length>=0 ? length-headerSize : -1, 368 (char *)outData+headerSize, 371 return headerSize+collationSize; 383 int32_t headerSize; 393 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 416 inBytes=(const uint8_t *)inData+headerSize; 417 outBytes=(uint8_t *)outData+headerSize; [all...] |
ucnvsel.cpp | 303 header.dataHeader.headerSize = (uint16_t)((sizeof(header) + 15) & ~15); 316 header.dataHeader.headerSize + 321 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; 327 int32_t length = header.dataHeader.headerSize; 371 int32_t headerSize = udata_swapDataHeader(ds, inData, length, outData, status); 398 length -= headerSize; 407 const uint8_t *inBytes = (const uint8_t *)inData + headerSize; 408 uint8_t *outBytes = (uint8_t *)outData + headerSize; 458 return headerSize + size; 531 if (length < (pHeader->dataHeader.headerSize + 16 * 4)) [all...] |
ucmndata.h | 35 uint16_t headerSize;
|
/frameworks/rs/ |
rsFileA3D.cpp | 114 uint64_t headerSize = 0; 115 if (lengthRemaining < sizeof(headerSize)) { 119 memcpy(&headerSize, localData, sizeof(headerSize)); 120 localData += sizeof(headerSize); 121 lengthRemaining -= sizeof(headerSize); 123 if (lengthRemaining < headerSize) { 131 localData += headerSize; 132 lengthRemaining -= headerSize; 166 uint64_t headerSize = 0 [all...] |
/external/icu4c/stubdata/ |
stubdata.c | 26 uint16_t headerSize; 42 32, /* headerSize */
|
/external/chromium/chrome/browser/chromeos/panels/ |
panel_scroller_container.h | 21 int HeaderSize() const;
|
/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; 301 size_t frameSize, frameSizeWithoutHeader, headerSize; 302 if ((frameSize = getAdtsFrameLength(mDataSource, mOffset, &headerSize)) == 0) { 312 frameSizeWithoutHeader = frameSize - headerSize; 313 if (mDataSource->readAt(mOffset + headerSize, buffer->data(),
|
/frameworks/native/opengl/libs/EGL/ |
egl_cache.cpp | 222 size_t headerSize = cacheFileHeaderSize; 247 size_t fileSize = headerSize + cacheSize; 258 status_t err = mBlobCache->flatten(buf + headerSize, cacheSize, NULL, 272 *crc = crc32c(buf + headerSize, cacheSize); 291 size_t headerSize = cacheFileHeaderSize; 327 size_t cacheSize = fileSize - headerSize; 334 if (crc32c(buf + headerSize, cacheSize) != *crc) { 340 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize, NULL,
|
/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) {
|
/external/opencv/ |
cvjni.h | 183 int headerSize = 14 /* fileheader */ + bitmapHeaderSize + paletteSize;
186 int testSize = fileStep*height + headerSize;
188 sprintf(log_str, "fileStep*height + headerSize=%i", testSize);
195 m_strm->PutDWord( fileStep*height + headerSize ); // file size
197 m_strm->PutDWord( headerSize );
|
/external/jpeg/ |
wrbmp.c | 170 INT32 headersize, bfSize; local 190 headersize = 14 + 40 + cmap_entries * 4; /* Header and colormap */ 191 bfSize = headersize + (INT32) dest->row_width * (INT32) cinfo->output_height; 202 PUT_4B(bmpfileheader, 10, headersize); /* bfOffBits */ 235 INT32 headersize, bfSize; local 255 headersize = 14 + 12 + cmap_entries * 3; /* Header and colormap */ 256 bfSize = headersize + (INT32) dest->row_width * (INT32) cinfo->output_height; 267 PUT_4B(bmpfileheader, 10, headersize); /* bfOffBits */
|
rdbmp.c | 253 INT32 headerSize; 277 headerSize = (INT32) GET_4B(bmpinfoheader,0); 278 if (headerSize < 12 || headerSize > 64) 280 if (! ReadOK(source->pub.input_file, bmpinfoheader+4, headerSize-4)) 283 switch ((int) headerSize) { 350 bPad = bfOffBits - (headerSize + 14);
|
/external/qemu/distrib/jpeg-6b/ |
wrbmp.c | 170 INT32 headersize, bfSize; local 190 headersize = 14 + 40 + cmap_entries * 4; /* Header and colormap */ 191 bfSize = headersize + (INT32) dest->row_width * (INT32) cinfo->output_height; 202 PUT_4B(bmpfileheader, 10, headersize); /* bfOffBits */ 235 INT32 headersize, bfSize; local 255 headersize = 14 + 12 + cmap_entries * 3; /* Header and colormap */ 256 bfSize = headersize + (INT32) dest->row_width * (INT32) cinfo->output_height; 267 PUT_4B(bmpfileheader, 10, headersize); /* bfOffBits */
|
rdbmp.c | 253 INT32 headerSize; 277 headerSize = (INT32) GET_4B(bmpinfoheader,0); 278 if (headerSize < 12 || headerSize > 64) 280 if (! ReadOK(source->pub.input_file, bmpinfoheader+4, headerSize-4)) 283 switch ((int) headerSize) { 350 bPad = bfOffBits - (headerSize + 14);
|
/external/chromium/chrome/common/net/ |
net_resource_provider.cc | 34 value.SetString("headerSize",
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
PoolAlloc.h | 69 return size + 2 * guardBlockSize + headerSize(); 74 return m + guardBlockSize + headerSize(); 81 unsigned char* preGuard() const { return mem + headerSize(); } 96 inline static size_t headerSize() { return sizeof(TAllocation); } 98 inline static size_t headerSize() { return 0; }
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
BinaryDictInputOutput.java | [all...] |
/external/icu4c/tools/icuswap/ |
icuswap.cpp | 340 int32_t headerSize; 357 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 408 inBytes=(const uint8_t *)inData+headerSize; 416 return headerSize+4; 424 return headerSize+offset+(uint32_t)itemLength; 430 length-=headerSize; 454 outBytes=(uint8_t *)outData+headerSize; 461 return headerSize+4; 633 uprv_memcpy((uint8_t *)outData+headerSize, outBytes, length); 637 return headerSize+length [all...] |
/dalvik/dx/src/com/android/dx/dex/ |
TableOfContents.java | 87 int headerSize = headerIn.readInt(); 88 if (headerSize != SizeOf.HEADER_ITEM) { 89 throw new DexException("Unexpected header: 0x" + Integer.toHexString(headerSize));
|
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | 101 const uint16_t headerSize = dtohs(chunk->headerSize); 104 if (headerSize >= minSize) { 105 if (headerSize <= size) { 106 if (((headerSize|size)&0x3) == 0) { 115 ALOGW("%s size 0x%x or headerSize 0x%x is not on an integer boundary.", 116 name, (int)size, (int)headerSize); 120 name, (void*)size, (void*)(int)headerSize); 124 name, (void*)(int)headerSize); 349 h->header.headerSize = dtohs(mHeader->header.headerSize) [all...] |
/external/skia/include/pdf/ |
SkPDFDocument.h | 89 size_t headerSize();
|