Lines Matching refs:inHeader

127     const UCATableHeader *inHeader=(const UCATableHeader *)inData;  in ucol_looksLikeCollationBinary()  local
138 header.size=udata_readInt32(ds, inHeader->size); in ucol_looksLikeCollationBinary()
139 } else if((length<(42*4) || length<(header.size=udata_readInt32(ds, inHeader->size)))) { in ucol_looksLikeCollationBinary()
143 header.magic=ds->readUInt32(inHeader->magic); in ucol_looksLikeCollationBinary()
146 inHeader->formatVersion[0]==3 /*&& in ucol_looksLikeCollationBinary()
152 if(inHeader->isBigEndian!=ds->inIsBigEndian || inHeader->charSetFamily!=ds->inCharset) { in ucol_looksLikeCollationBinary()
169 const UCATableHeader *inHeader; in swapFormatVersion3() local
187 inHeader=(const UCATableHeader *)inData; in swapFormatVersion3()
198 header.size=udata_readInt32(ds, inHeader->size); in swapFormatVersion3()
199 } else if((length<(42*4) || length<(header.size=udata_readInt32(ds, inHeader->size)))) { in swapFormatVersion3()
206 header.magic=ds->readUInt32(inHeader->magic); in swapFormatVersion3()
209 inHeader->formatVersion[0]==3 /*&& in swapFormatVersion3()
214 inHeader->formatVersion[0], inHeader->formatVersion[1]); in swapFormatVersion3()
219 if(inHeader->isBigEndian!=ds->inIsBigEndian || inHeader->charSetFamily!=ds->inCharset) { in swapFormatVersion3()
221 inHeader->isBigEndian, inHeader->charSetFamily); in swapFormatVersion3()
235 header.options= ds->readUInt32(inHeader->options); in swapFormatVersion3()
236 header.UCAConsts= ds->readUInt32(inHeader->UCAConsts); in swapFormatVersion3()
237 header.contractionUCACombos= ds->readUInt32(inHeader->contractionUCACombos); in swapFormatVersion3()
238 header.mappingPosition= ds->readUInt32(inHeader->mappingPosition); in swapFormatVersion3()
239 header.expansion= ds->readUInt32(inHeader->expansion); in swapFormatVersion3()
240 header.contractionIndex= ds->readUInt32(inHeader->contractionIndex); in swapFormatVersion3()
241 header.contractionCEs= ds->readUInt32(inHeader->contractionCEs); in swapFormatVersion3()
242 header.contractionSize= ds->readUInt32(inHeader->contractionSize); in swapFormatVersion3()
243 header.endExpansionCE= ds->readUInt32(inHeader->endExpansionCE); in swapFormatVersion3()
244 header.expansionCESize= ds->readUInt32(inHeader->expansionCESize); in swapFormatVersion3()
245 header.endExpansionCECount= udata_readInt32(ds, inHeader->endExpansionCECount); in swapFormatVersion3()
246 header.contractionUCACombosSize=udata_readInt32(ds, inHeader->contractionUCACombosSize); in swapFormatVersion3()
247 header.scriptToLeadByte= ds->readUInt32(inHeader->scriptToLeadByte); in swapFormatVersion3()
248 header.leadByteToScript= ds->readUInt32(inHeader->leadByteToScript); in swapFormatVersion3()
251 …ds->swapArray32(ds, inHeader, (int32_t)((const char *)&inHeader->jamoSpecial-(const char *)inHeade… in swapFormatVersion3()
253 …ds->swapArray32(ds, &(inHeader->scriptToLeadByte), sizeof(header.scriptToLeadByte) + sizeof(header… in swapFormatVersion3()
316 … count=header.contractionUCACombosSize*inHeader->contractionUCACombosWidth*U_SIZEOF_UCHAR; in swapFormatVersion3()
607 const InverseUCATableHeader *inHeader; in ucol_swapInverseUCA() local
638 inHeader=(const InverseUCATableHeader *)inBytes; in ucol_swapInverseUCA()
648 header.byteSize=udata_readInt32(ds, inHeader->byteSize); in ucol_swapInverseUCA()
651 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize))) in ucol_swapInverseUCA()
668 header.tableSize= ds->readUInt32(inHeader->tableSize); in ucol_swapInverseUCA()
669 header.contsSize= ds->readUInt32(inHeader->contsSize); in ucol_swapInverseUCA()
670 header.table= ds->readUInt32(inHeader->table); in ucol_swapInverseUCA()
671 header.conts= ds->readUInt32(inHeader->conts); in ucol_swapInverseUCA()
674 ds->swapArray32(ds, inHeader, 5*4, outHeader, pErrorCode); in ucol_swapInverseUCA()