Lines Matching refs:stateProps
631 enumToU(UConverterMBCSTable *mbcsTable, int8_t stateProps[],
648 b=(stateProps[state]&0x38)<<2;
649 if(b==0 && stateProps[state]>=0x40) {
654 limit=((stateProps[state]&7)+1)<<5;
659 if(stateProps[nextState]>=0) {
662 mbcsTable, stateProps, nextState,
728 * Only called if stateProps[state]==-1.
729 * A recursive call may do stateProps[state]|=0x40 if this state is the target of an
733 getStateProp(const int32_t (*stateTable)[256], int8_t stateProps[], int state) {
738 stateProps[state]=0;
744 if(stateProps[nextState]==-1) {
745 getStateProp(stateTable, stateProps, nextState);
748 if(stateProps[nextState]>=0) {
755 stateProps[state]=-0x40; /* (int8_t)0xc0 */
756 return stateProps[state];
759 stateProps[state]|=(int8_t)((min>>5)<<3);
765 if(stateProps[nextState]==-1) {
766 getStateProp(stateTable, stateProps, nextState);
769 if(stateProps[nextState]>=0) {
776 stateProps[state]|=(int8_t)(max>>5);
782 if(stateProps[nextState]==-1) {
783 getStateProp(stateTable, stateProps, nextState);
786 stateProps[nextState]|=0x40;
788 stateProps[state]|=0x40;
793 return stateProps[state];
826 int8_t stateProps[MBCS_MAX_STATE_COUNT];
829 uprv_memset(stateProps, -1, sizeof(stateProps));
831 /* recurse from state 0 and set all stateProps */
832 getStateProp(mbcsTable->stateTable, stateProps, 0);
835 /*if(stateProps[state]==-1) {
838 if(stateProps[state]>=0x40) {
841 mbcsTable, stateProps, state, 0, 0,