Lines Matching refs:trailState
624 int32_t i, j, leadState, trailState, newState, fallback; in compactToUnicode2() local
643 trailState=0; in compactToUnicode2()
645 if(count[i]>count[trailState]) { in compactToUnicode2()
646 trailState=i; in compactToUnicode2()
656 if(MBCS_ENTRY_IS_TRANSITION(entry) && (MBCS_ENTRY_TRANSITION_STATE(entry))==trailState) { in compactToUnicode2()
661 entry=states->stateTable[trailState][j]; in compactToUnicode2()
721 entry=states->stateTable[trailState][i]; in compactToUnicode2()
787 trailState=(uint8_t)MBCS_ENTRY_TRANSITION_STATE(entry); in compactToUnicode2()
789 if(trailState!=newState) { in compactToUnicode2()
794 entry=states->stateTable[trailState][j]; in compactToUnicode2()
800 … oldOffset=oldTrailOffset+MBCS_ENTRY_FINAL_VALUE_16(oldStateTable[trailState][j]); in compactToUnicode2()
809 … oldOffset=oldTrailOffset+MBCS_ENTRY_FINAL_VALUE_16(oldStateTable[trailState][j]); in compactToUnicode2()