Lines Matching refs:trailState
622 int32_t i, j, leadState, trailState, newState, fallback; in compactToUnicode2() local
641 trailState=0; in compactToUnicode2()
643 if(count[i]>count[trailState]) { in compactToUnicode2()
644 trailState=i; in compactToUnicode2()
654 if(MBCS_ENTRY_IS_TRANSITION(entry) && (MBCS_ENTRY_TRANSITION_STATE(entry))==trailState) { in compactToUnicode2()
659 entry=states->stateTable[trailState][j]; in compactToUnicode2()
719 entry=states->stateTable[trailState][i]; in compactToUnicode2()
785 trailState=(uint8_t)MBCS_ENTRY_TRANSITION_STATE(entry); in compactToUnicode2()
787 if(trailState!=newState) { in compactToUnicode2()
792 entry=states->stateTable[trailState][j]; in compactToUnicode2()
798 … oldOffset=oldTrailOffset+MBCS_ENTRY_FINAL_VALUE_16(oldStateTable[trailState][j]); in compactToUnicode2()
807 … oldOffset=oldTrailOffset+MBCS_ENTRY_FINAL_VALUE_16(oldStateTable[trailState][j]); in compactToUnicode2()