Lines Matching full:stateprops
494 enumToU(UConverterMBCSTable *mbcsTable, int8_t stateProps[],
511 b=(stateProps[state]&0x38)<<2;
512 if(b==0 && stateProps[state]>=0x40) {
517 limit=((stateProps[state]&7)+1)<<5;
522 if(stateProps[nextState]>=0) {
525 mbcsTable, stateProps, nextState,
591 * Only called if stateProps[state]==-1.
592 * A recursive call may do stateProps[state]|=0x40 if this state is the target of an
596 getStateProp(const int32_t (*stateTable)[256], int8_t stateProps[], int state) {
601 stateProps[state]=0;
607 if(stateProps[nextState]==-1) {
608 getStateProp(stateTable, stateProps, nextState);
611 if(stateProps[nextState]>=0) {
618 stateProps[state]=-0x40; /* (int8_t)0xc0 */
619 return stateProps[state];
622 stateProps[state]|=(int8_t)((min>>5)<<3);
628 if(stateProps[nextState]==-1) {
629 getStateProp(stateTable, stateProps, nextState);
632 if(stateProps[nextState]>=0) {
639 stateProps[state]|=(int8_t)(max>>5);
645 if(stateProps[nextState]==-1) {
646 getStateProp(stateTable, stateProps, nextState);
649 stateProps[nextState]|=0x40;
651 stateProps[state]|=0x40;
656 return stateProps[state];
689 int8_t stateProps[MBCS_MAX_STATE_COUNT];
692 uprv_memset(stateProps, -1, sizeof(stateProps));
694 /* recurse from state 0 and set all stateProps */
695 getStateProp(mbcsTable->stateTable, stateProps, 0);
698 /*if(stateProps[state]==-1) {
701 if(stateProps[state]>=0x40) {
704 mbcsTable, stateProps, state, 0, 0,