Lines Matching refs:ucm

36     UCMFile *ucm;  member
150 MBCSInit(MBCSData *mbcsData, UCMFile *ucm) { in MBCSInit() argument
153 mbcsData->ucm=ucm; /* aliased, not owned */ in MBCSInit()
162 MBCSOpen(UCMFile *ucm) { in MBCSOpen() argument
169 MBCSInit(mbcsData, ucm); in MBCSOpen()
197 sum=mbcsData->ucm->states.countToUCodeUnits; in MBCSStartMappings()
215 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSStartMappings()
375 if(mbcsData->ucm->states.countStates==0) { in MBCSAddToUnicode()
381 if(length==2 && mbcsData->ucm->states.outputType==MBCS_OUTPUT_2_SISO) { in MBCSAddToUnicode()
391 entry=mbcsData->ucm->states.stateTable[state][bytes[i++]]; in MBCSAddToUnicode()
452 mbcsData->ucm->states.stateTable[state][bytes[i-1]]=entry; in MBCSAddToUnicode()
553 return (UBool)(1==ucm_countChars(&mbcsData->ucm->states, bytes, length)); in MBCSIsValid()
687 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSAddFromUnicode()
689 if( mbcsData->ucm->states.outputType==MBCS_OUTPUT_2_SISO && in MBCSAddFromUnicode()
953 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSAddTable()
1075 oldLength=mbcsData->ucm->states.maxCharLength; in transformEUC()
1104 mbcsData->ucm->states.outputType=(int8_t)(MBCS_OUTPUT_3_EUC+oldLength-3); in transformEUC()
1334 states=&mbcsData->ucm->states; in MBCSPostprocess()
1455 if(mbcsData->ucm->states.maxCharLength==1) { in MBCSWrite()
1507 header.countStates=mbcsData->ucm->states.countStates; in MBCSWrite()
1512 mbcsData->ucm->states.countStates*1024+ in MBCSWrite()
1516 mbcsData->ucm->states.countToUCodeUnits*2; in MBCSWrite()
1528 header.flags=(uint8_t)(mbcsData->ucm->states.outputType); in MBCSWrite()
1541 udata_writeBlock(pData, mbcsData->ucm->states.stateTable, header.countStates*1024); in MBCSWrite()
1543 udata_writeBlock(pData, mbcsData->unicodeCodeUnits, mbcsData->ucm->states.countToUCodeUnits*2); in MBCSWrite()
1545 if(mbcsData->ucm->states.maxCharLength==1) { in MBCSWrite()