Lines Matching refs:stateProps
631 enumToU(UConverterMBCSTable *mbcsTable, int8_t stateProps[], in enumToU() argument
648 b=(stateProps[state]&0x38)<<2; in enumToU()
649 if(b==0 && stateProps[state]>=0x40) { in enumToU()
654 limit=((stateProps[state]&7)+1)<<5; in enumToU()
659 if(stateProps[nextState]>=0) { in enumToU()
662 mbcsTable, stateProps, nextState, in enumToU()
733 getStateProp(const int32_t (*stateTable)[256], int8_t stateProps[], int state) { in getStateProp() argument
738 stateProps[state]=0; in getStateProp()
744 if(stateProps[nextState]==-1) { in getStateProp()
745 getStateProp(stateTable, stateProps, nextState); in getStateProp()
748 if(stateProps[nextState]>=0) { in getStateProp()
755 stateProps[state]=-0x40; /* (int8_t)0xc0 */ in getStateProp()
756 return stateProps[state]; in getStateProp()
759 stateProps[state]|=(int8_t)((min>>5)<<3); in getStateProp()
765 if(stateProps[nextState]==-1) { in getStateProp()
766 getStateProp(stateTable, stateProps, nextState); in getStateProp()
769 if(stateProps[nextState]>=0) { in getStateProp()
776 stateProps[state]|=(int8_t)(max>>5); in getStateProp()
782 if(stateProps[nextState]==-1) { in getStateProp()
783 getStateProp(stateTable, stateProps, nextState); in getStateProp()
786 stateProps[nextState]|=0x40; in getStateProp()
788 stateProps[state]|=0x40; in getStateProp()
793 return stateProps[state]; in getStateProp()
826 int8_t stateProps[MBCS_MAX_STATE_COUNT]; in ucnv_MBCSEnumToUnicode() local
829 uprv_memset(stateProps, -1, sizeof(stateProps)); in ucnv_MBCSEnumToUnicode()
832 getStateProp(mbcsTable->stateTable, stateProps, 0); in ucnv_MBCSEnumToUnicode()
838 if(stateProps[state]>=0x40) { in ucnv_MBCSEnumToUnicode()
841 mbcsTable, stateProps, state, 0, 0, in ucnv_MBCSEnumToUnicode()