• Home
  • Raw
  • Download

Lines Matching refs:inHeader

54     const UCATableHeader *inHeader=(const UCATableHeader *)inData;  in ucol_looksLikeCollationBinary()  local
65 header.size=udata_readInt32(ds, inHeader->size); in ucol_looksLikeCollationBinary()
66 } else if((length<(42*4) || length<(header.size=udata_readInt32(ds, inHeader->size)))) { in ucol_looksLikeCollationBinary()
70 header.magic=ds->readUInt32(inHeader->magic); in ucol_looksLikeCollationBinary()
73 inHeader->formatVersion[0]==3 /*&& in ucol_looksLikeCollationBinary()
79 if(inHeader->isBigEndian!=ds->inIsBigEndian || inHeader->charSetFamily!=ds->inCharset) { in ucol_looksLikeCollationBinary()
96 const UCATableHeader *inHeader; in swapFormatVersion3() local
114 inHeader=(const UCATableHeader *)inData; in swapFormatVersion3()
125 header.size=udata_readInt32(ds, inHeader->size); in swapFormatVersion3()
126 } else if((length<(42*4) || length<(header.size=udata_readInt32(ds, inHeader->size)))) { in swapFormatVersion3()
133 header.magic=ds->readUInt32(inHeader->magic); in swapFormatVersion3()
136 inHeader->formatVersion[0]==3 /*&& in swapFormatVersion3()
141 inHeader->formatVersion[0], inHeader->formatVersion[1]); in swapFormatVersion3()
146 if(inHeader->isBigEndian!=ds->inIsBigEndian || inHeader->charSetFamily!=ds->inCharset) { in swapFormatVersion3()
148 inHeader->isBigEndian, inHeader->charSetFamily); in swapFormatVersion3()
162 header.options= ds->readUInt32(inHeader->options); in swapFormatVersion3()
163 header.UCAConsts= ds->readUInt32(inHeader->UCAConsts); in swapFormatVersion3()
164 header.contractionUCACombos= ds->readUInt32(inHeader->contractionUCACombos); in swapFormatVersion3()
165 header.mappingPosition= ds->readUInt32(inHeader->mappingPosition); in swapFormatVersion3()
166 header.expansion= ds->readUInt32(inHeader->expansion); in swapFormatVersion3()
167 header.contractionIndex= ds->readUInt32(inHeader->contractionIndex); in swapFormatVersion3()
168 header.contractionCEs= ds->readUInt32(inHeader->contractionCEs); in swapFormatVersion3()
169 header.contractionSize= ds->readUInt32(inHeader->contractionSize); in swapFormatVersion3()
170 header.endExpansionCE= ds->readUInt32(inHeader->endExpansionCE); in swapFormatVersion3()
171 header.expansionCESize= ds->readUInt32(inHeader->expansionCESize); in swapFormatVersion3()
172 header.endExpansionCECount= udata_readInt32(ds, inHeader->endExpansionCECount); in swapFormatVersion3()
173 header.contractionUCACombosSize=udata_readInt32(ds, inHeader->contractionUCACombosSize); in swapFormatVersion3()
174 header.scriptToLeadByte= ds->readUInt32(inHeader->scriptToLeadByte); in swapFormatVersion3()
175 header.leadByteToScript= ds->readUInt32(inHeader->leadByteToScript); in swapFormatVersion3()
178 …ds->swapArray32(ds, inHeader, (int32_t)((const char *)&inHeader->jamoSpecial-(const char *)inHeade… in swapFormatVersion3()
180 …ds->swapArray32(ds, &(inHeader->scriptToLeadByte), sizeof(header.scriptToLeadByte) + sizeof(header… in swapFormatVersion3()
243 … count=header.contractionUCACombosSize*inHeader->contractionUCACombosWidth*U_SIZEOF_UCHAR; in swapFormatVersion3()
534 const InverseUCATableHeader *inHeader; in ucol_swapInverseUCA() local
565 inHeader=(const InverseUCATableHeader *)inBytes; in ucol_swapInverseUCA()
575 header.byteSize=udata_readInt32(ds, inHeader->byteSize); in ucol_swapInverseUCA()
578 (uint32_t)(length-headerSize)<(header.byteSize=udata_readInt32(ds, inHeader->byteSize))) in ucol_swapInverseUCA()
595 header.tableSize= ds->readUInt32(inHeader->tableSize); in ucol_swapInverseUCA()
596 header.contsSize= ds->readUInt32(inHeader->contsSize); in ucol_swapInverseUCA()
597 header.table= ds->readUInt32(inHeader->table); in ucol_swapInverseUCA()
598 header.conts= ds->readUInt32(inHeader->conts); in ucol_swapInverseUCA()
601 ds->swapArray32(ds, inHeader, 5*4, outHeader, pErrorCode); in ucol_swapInverseUCA()