Lines Matching refs:mbcsHeader
1360 _MBCSHeader mbcsHeader;
1456 ((mbcsHeader.options=ds->readUInt32(inMBCSHeader->options))&
1459 mbcsHeaderLength=mbcsHeader.options&MBCS_OPT_LENGTH_MASK;
1460 noFromU=(UBool)((mbcsHeader.options&MBCS_OPT_NO_FROM_U)!=0);
1468 uprv_memcpy(mbcsHeader.version, inMBCSHeader->version, 4);
1469 mbcsHeader.countStates= ds->readUInt32(inMBCSHeader->countStates);
1470 mbcsHeader.countToUFallbacks= ds->readUInt32(inMBCSHeader->countToUFallbacks);
1471 mbcsHeader.offsetToUCodeUnits= ds->readUInt32(inMBCSHeader->offsetToUCodeUnits);
1472 mbcsHeader
1473 mbcsHeader.offsetFromUBytes= ds->readUInt32(inMBCSHeader->offsetFromUBytes);
1474 mbcsHeader.flags= ds->readUInt32(inMBCSHeader->flags);
1475 mbcsHeader.fromUBytesLength= ds->readUInt32(inMBCSHeader->fromUBytesLength);
1476 /* mbcsHeader.options have been read above */
1478 extOffset=(int32_t)(mbcsHeader.flags>>8);
1479 outputType=(uint8_t)mbcsHeader.flags;
1508 * utf8Friendly MBCS files (mbcsHeader.version 4.3)
1511 * where maxFastUChar=((mbcsHeader.version[2]<<8)|0xff).
1516 mbcsHeader.version[1]>=3 && (maxFastUChar=mbcsHeader.version[2])!=0
1523 size=(int32_t)(mbcsHeader.offsetFromUBytes+mbcsIndexLength);
1525 size+=(int32_t)mbcsHeader.fromUBytesLength;
1556 /* swap the MBCSHeader, except for the version field */
1577 count=mbcsHeader.countStates*1024;
1583 count=mbcsHeader.countToUFallbacks*8;
1588 offset=mbcsHeader.offsetToUCodeUnits;
1589 count=mbcsHeader.offsetFromUTable-offset;
1594 offset=mbcsHeader.offsetFromUTable;
1598 count=(mbcsHeader.offsetFromUBytes-offset)+mbcsHeader.fromUBytesLength;
1615 count=mbcsHeader.offsetFromUBytes-offset;
1620 offset=mbcsHeader.offsetFromUBytes;
1621 count= noFromU ? 0 : mbcsHeader.fromUBytesLength;