Home
last modified time | relevance | path

Searched refs:headerSize (Results 1 – 25 of 35) sorted by relevance

12

/external/icu4c/tools/toolutil/
Dswapimpl.cpp79 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap() local
103 const uint8_t *inBytes=static_cast<const uint8_t *>(inData)+headerSize; in upname_swap()
104 uint8_t *outBytes=static_cast<uint8_t *>(outData)+headerSize; in upname_swap()
107 length-=headerSize; in upname_swap()
154 return headerSize+totalSize; in upname_swap()
164 int32_t headerSize, i; in uprops_swap() local
170 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap()
196 if(length>=0 && (length-headerSize)<(int32_t)sizeof(dataIndexes)) { in uprops_swap()
198 length-headerSize); in uprops_swap()
204 inData32=(const int32_t *)((const char *)inData+headerSize); in uprops_swap()
[all …]
Dunewdata.c29 uint16_t headerSize; member
39 uint16_t headerSize, commentLength; in udata_create() local
108 headerSize=(uint16_t)(pInfo->size+4); in udata_create()
111 headerSize+=commentLength; in udata_create()
117 pData->headerSize=(uint16_t)((headerSize+15)&~0xf); in udata_create()
120 T_FileStream_write(pData->file, &pData->headerSize, 4); in udata_create()
131 headerSize&=0xf; in udata_create()
132 if(headerSize!=0) { in udata_create()
133 headerSize=(uint16_t)(16-headerSize); in udata_create()
134 uprv_memset(bytes, 0, headerSize); in udata_create()
[all …]
/external/icu4c/common/
Dudataswp.c239 uint16_t headerSize, infoSize; in udata_swapDataHeader() local
262 headerSize=ds->readUInt16(pHeader->dataHeader.headerSize); in udata_swapDataHeader()
265 if( headerSize<sizeof(DataHeader) || in udata_swapDataHeader()
267 headerSize<(sizeof(pHeader->dataHeader)+infoSize) || in udata_swapDataHeader()
268 (length>=0 && length<headerSize) in udata_swapDataHeader()
271 headerSize, infoSize, length); in udata_swapDataHeader()
283 uprv_memcpy(outData, inData, headerSize); in udata_swapDataHeader()
291 …ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorC… in udata_swapDataHeader()
299 maxLength=headerSize-infoSize; in udata_swapDataHeader()
306 return headerSize; in udata_swapDataHeader()
[all …]
Ducol_swp.cpp337 int32_t headerSize, collationSize; in ucol_swap() local
340 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swap()
364 (const char *)inData+headerSize, in ucol_swap()
365 length>=0 ? length-headerSize : -1, in ucol_swap()
366 (char *)outData+headerSize, in ucol_swap()
369 return headerSize+collationSize; in ucol_swap()
381 int32_t headerSize; in ucol_swapInverseUCA() local
391 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swapInverseUCA()
414 inBytes=(const uint8_t *)inData+headerSize; in ucol_swapInverseUCA()
415 outBytes=(uint8_t *)outData+headerSize; in ucol_swapInverseUCA()
[all …]
Ddictionarydata.cpp151 int32_t headerSize; in udict_swap() local
158 headerSize = udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in udict_swap()
172 inBytes = (const uint8_t *)inData + headerSize; in udict_swap()
173 outBytes = (uint8_t *)outData + headerSize; in udict_swap()
177 length -= headerSize; in udict_swap()
226 return headerSize + size; in udict_swap()
Ducnvsel.cpp303 header.dataHeader.headerSize = (uint16_t)((sizeof(header) + 15) & ~15); in ucnvsel_serialize()
316 header.dataHeader.headerSize + in ucnvsel_serialize()
321 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize()
327 int32_t length = header.dataHeader.headerSize; in ucnvsel_serialize()
371 int32_t headerSize = udata_swapDataHeader(ds, inData, length, outData, status); in ucnvsel_swap() local
398 length -= headerSize; in ucnvsel_swap()
407 const uint8_t *inBytes = (const uint8_t *)inData + headerSize; in ucnvsel_swap()
408 uint8_t *outBytes = (uint8_t *)outData + headerSize; in ucnvsel_swap()
458 return headerSize + size; in ucnvsel_swap()
531 if (length < (pHeader->dataHeader.headerSize + 16 * 4)) { in ucnvsel_openFromSerialized()
[all …]
Drbbidata.cpp61 ((char *)(udm->pHeader) + udm->pHeader->dataHeader.headerSize); in RBBIDataWrapper()
311 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, status); in ubrk_swap() local
322 const uint8_t *inBytes =(const uint8_t *)inData+headerSize; in ubrk_swap()
337 int32_t totalSize = headerSize + breakDataLength; in ubrk_swap()
358 uint8_t *outBytes = (uint8_t *)outData + headerSize; in ubrk_swap()
Drbbirb.cpp156 int32_t headerSize = align8(sizeof(RBBIDataHeader)); in flattenData() local
165 int32_t totalSize = headerSize + forwardTableSize + reverseTableSize in flattenData()
185 data->fFTable = headerSize; in flattenData()
Ducnv_io.cpp1143 int32_t headerSize; in ucnv_swapAliases() local
1156 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucnv_swapAliases()
1179 if(length>=0 && (length-headerSize)<4*(1+minTocLength)) { in ucnv_swapAliases()
1181 length-headerSize); in ucnv_swapAliases()
1186 inSectionSizes=(const uint32_t *)((const char *)inData+headerSize); in ucnv_swapAliases()
1217 if((length-headerSize)<(2*(int32_t)topOffset)) { in ucnv_swapAliases()
1219 length-headerSize); in ucnv_swapAliases()
1224 outTable=(uint16_t *)((char *)outData+headerSize); in ucnv_swapAliases()
1348 return headerSize+2*(int32_t)topOffset; in ucnv_swapAliases()
Dusprep.cpp825 int32_t headerSize; in usprep_swap() local
836 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in usprep_swap()
858 inBytes=(const uint8_t *)inData+headerSize; in usprep_swap()
859 outBytes=(uint8_t *)outData+headerSize; in usprep_swap()
864 length-=headerSize; in usprep_swap()
915 return headerSize+size; in usprep_swap()
Duresdata.c973 int32_t headerSize, maxTableLength; in ures_swap() local
985 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ures_swap()
1013 bundleLength=(length-headerSize)/4; in ures_swap()
1018 length-headerSize); in ures_swap()
1024 inBundle=(const Resource *)((const char *)inData+headerSize); in ures_swap()
1059 Resource *outBundle=(Resource *)((char *)outData+headerSize); in ures_swap()
1146 return headerSize+4*top; in ures_swap()
Ducmndata.h35 uint16_t headerSize; member
Ducmndata.c39 return udh->dataHeader.headerSize; in udata_getHeaderSize()
42 uint16_t x=udh->dataHeader.headerSize; in udata_getHeaderSize()
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DPoolAlloc.h69 return size + 2 * guardBlockSize + headerSize(); in allocationSize()
74 return m + guardBlockSize + headerSize(); in offsetAllocation()
81 unsigned char* preGuard() const { return mem + headerSize(); } in preGuard()
96 inline static size_t headerSize() { return sizeof(TAllocation); } in headerSize() function
98 inline static size_t headerSize() { return 0; } in headerSize() function
/external/icu4c/tools/icuswap/
Dicuswap.cpp340 int32_t headerSize; in udata_swapPackage() local
357 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in udata_swapPackage()
408 inBytes=(const uint8_t *)inData+headerSize; in udata_swapPackage()
416 return headerSize+4; in udata_swapPackage()
424 return headerSize+offset+(uint32_t)itemLength; in udata_swapPackage()
430 length-=headerSize; in udata_swapPackage()
454 outBytes=(uint8_t *)outData+headerSize; in udata_swapPackage()
461 return headerSize+4; in udata_swapPackage()
633 uprv_memcpy((uint8_t *)outData+headerSize, outBytes, length); in udata_swapPackage()
637 return headerSize+length; in udata_swapPackage()
/external/jpeg/
Drdbmp.c253 INT32 headerSize; in start_input_bmp() local
277 headerSize = (INT32) GET_4B(bmpinfoheader,0); in start_input_bmp()
278 if (headerSize < 12 || headerSize > 64) in start_input_bmp()
280 if (! ReadOK(source->pub.input_file, bmpinfoheader+4, headerSize-4)) in start_input_bmp()
283 switch ((int) headerSize) { in start_input_bmp()
350 bPad = bfOffBits - (headerSize + 14); in start_input_bmp()
/external/qemu/distrib/jpeg-6b/
Drdbmp.c253 INT32 headerSize; in start_input_bmp() local
277 headerSize = (INT32) GET_4B(bmpinfoheader,0); in start_input_bmp()
278 if (headerSize < 12 || headerSize > 64) in start_input_bmp()
280 if (! ReadOK(source->pub.input_file, bmpinfoheader+4, headerSize-4)) in start_input_bmp()
283 switch ((int) headerSize) { in start_input_bmp()
350 bPad = bfOffBits - (headerSize + 14); in start_input_bmp()
/external/opencv/
Dcvjni.h183 int headerSize = 14 /* fileheader */ + bitmapHeaderSize + paletteSize; in loadImageBytes() local
186 int testSize = fileStep*height + headerSize; in loadImageBytes()
195 m_strm->PutDWord( fileStep*height + headerSize ); // file size in loadImageBytes()
197 m_strm->PutDWord( headerSize ); in loadImageBytes()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DUniformListItem.java160 offset += headerSize(); in place0()
209 private int headerSize() { in headerSize() method in UniformListItem
/external/srec/srec/EventLog/src/
Driff.c960 int headerSize = sizeof(RiffHeaderStruct); in convertBuf2Riff() local
984 total_buflen = headerSize + num_bytes; in convertBuf2Riff()
1039 memcpy(ptr, &header, headerSize); in convertBuf2Riff()
1041 memcpy(ptr + headerSize, waveform, header.dataLength); in convertBuf2Riff()
1043 short_byte_swap((short *)(ptr + headerSize), num_samples); in convertBuf2Riff()
1057 memcpy(ptr, &header, headerSize); in convertBuf2Riff()
1058 memcpy(ptr + headerSize, waveform, header.dataLength); in convertBuf2Riff()
1060 ptr += headerSize + header.dataLength; in convertBuf2Riff()
/external/icu4c/stubdata/
Dstubdata.c26 uint16_t headerSize; member
/external/skia/include/pdf/
DSkPDFDocument.h92 size_t headerSize();
/external/opencv/otherlibs/highgui/
Dgrfmt_bmp.cpp506 int headerSize = 14 /* fileheader */ + bitmapHeaderSize + paletteSize; in WriteImage() local
513 m_strm.PutDWord( fileStep*height + headerSize ); // file size in WriteImage()
515 m_strm.PutDWord( headerSize ); in WriteImage()
/external/icu4c/i18n/
Duspoof_impl.cpp497 ((char *)(udm->pHeader) + udm->pHeader->dataHeader.headerSize); in SpoofData()
866 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, status); in uspoof_swap() local
873 const uint8_t *inBytes =(const uint8_t *)inData+headerSize; in uspoof_swap()
887 int32_t totalSize = headerSize + spoofDataLength; in uspoof_swap()
908 uint8_t *outBytes = (uint8_t *)outData + headerSize; in uspoof_swap()
/external/skia/src/pdf/
DSkPDFDocument.cpp126 off_t fileOffset = headerSize(); in emitPDF()
255 size_t SkPDFDocument::headerSize() { in headerSize() function in SkPDFDocument

12