Lines Matching refs:stateProps
634 enumToU(UConverterMBCSTable *mbcsTable, int8_t stateProps[], in enumToU() argument
651 b=(stateProps[state]&0x38)<<2; in enumToU()
652 if(b==0 && stateProps[state]>=0x40) { in enumToU()
657 limit=((stateProps[state]&7)+1)<<5; in enumToU()
662 if(stateProps[nextState]>=0) { in enumToU()
665 mbcsTable, stateProps, nextState, in enumToU()
736 getStateProp(const int32_t (*stateTable)[256], int8_t stateProps[], int state) { in getStateProp() argument
741 stateProps[state]=0; in getStateProp()
747 if(stateProps[nextState]==-1) { in getStateProp()
748 getStateProp(stateTable, stateProps, nextState); in getStateProp()
751 if(stateProps[nextState]>=0) { in getStateProp()
758 stateProps[state]=-0x40; /* (int8_t)0xc0 */ in getStateProp()
759 return stateProps[state]; in getStateProp()
762 stateProps[state]|=(int8_t)((min>>5)<<3); in getStateProp()
768 if(stateProps[nextState]==-1) { in getStateProp()
769 getStateProp(stateTable, stateProps, nextState); in getStateProp()
772 if(stateProps[nextState]>=0) { in getStateProp()
779 stateProps[state]|=(int8_t)(max>>5); in getStateProp()
785 if(stateProps[nextState]==-1) { in getStateProp()
786 getStateProp(stateTable, stateProps, nextState); in getStateProp()
789 stateProps[nextState]|=0x40; in getStateProp()
791 stateProps[state]|=0x40; in getStateProp()
796 return stateProps[state]; in getStateProp()
829 int8_t stateProps[MBCS_MAX_STATE_COUNT]; in ucnv_MBCSEnumToUnicode() local
832 uprv_memset(stateProps, -1, sizeof(stateProps)); in ucnv_MBCSEnumToUnicode()
835 getStateProp(mbcsTable->stateTable, stateProps, 0); in ucnv_MBCSEnumToUnicode()
841 if(stateProps[state]>=0x40) { in ucnv_MBCSEnumToUnicode()
844 mbcsTable, stateProps, state, 0, 0, in ucnv_MBCSEnumToUnicode()