• Home
  • Raw
  • Download

Lines Matching refs:countStates

191     if(states->countStates==MBCS_MAX_STATE_COUNT) {  in ucm_addState()
196 error=parseState(s, states->stateTable[states->countStates], in ucm_addState()
197 &states->stateFlags[states->countStates]); in ucm_addState()
203 ++states->countStates; in ucm_addState()
347 for(count=states->countStates; !allStatesReady && count>=0; --count) { in sumUpStates()
349 for(state=states->countStates-1; state>=0; --state) { in sumUpStates()
408 for(state=1; state<states->countStates; ++state) { in sumUpStates()
434 if(states->countStates==0) { in ucm_processStates()
494 for(state=0; state<states->countStates; ++state) { in ucm_processStates()
531 for(state=states->countStates-1; state>=0; --state) { in ucm_processStates()
534 if((uint8_t)MBCS_ENTRY_STATE(entry)>=states->countStates) { in ucm_processStates()
552 if(states->countStates>=2 && (states->stateFlags[1]&0xf)==MBCS_STATE_FLAG_DIRECT) { in ucm_processStates()
557 if(states->countStates<3) { in ucm_processStates()
558 …rr, "ucm error: SI/SO codepages must have at least 3 states (not %x)\n", (int)states->countStates); in ucm_processStates()
579 while(state<states->countStates) { in ucm_processStates()
644 for(i=1; i<states->countStates; ++i) { in compactToUnicode2()
699 if(states->countStates>=MBCS_MAX_STATE_COUNT) { in compactToUnicode2()
705 oldStateTable=(int32_t (*)[256])uprv_malloc(states->countStates*1024); in compactToUnicode2()
710 uprv_memcpy(oldStateTable, states->stateTable, states->countStates*1024); in compactToUnicode2()
717 newState=states->countStates++; in compactToUnicode2()
741 for(i=0; i<states->countStates; ++i) { in compactToUnicode2()
762 --states->countStates; in compactToUnicode2()
763 uprv_memcpy(states->stateTable, oldStateTable, states->countStates*1024); in compactToUnicode2()
781 for(leadState=0; leadState<states->countStates; ++leadState) { in compactToUnicode2()
905 for(state=0; state<states->countStates; ++state) { in compactToUnicodeHelper()
936 for(state=0; state<states->countStates; ++state) { in ucm_optimizeStates()
987 if(states->countStates==0) { in ucm_countChars()