Lines Matching refs:state
116 static int chkstate(int state, register unsigned int c)
118 switch(state)
121 state = (c==0x9a?4:0);
124 state = ((c==0x80||c==0x81)?6+(c&1):0);
127 state = (c==0x80?5:0);
130 state = (c==0x80?10:0);
133 state = (c==0x80?10:0);
136 state = 0;
150 state = (c==0x9f?10:0);
155 return state;
339 int state=0;
417 state = 0;
418 if(skip==2 && (cp[-1]&0xc)==0 && (state=(cp[-1]&0x3)))
422 state = 8;
429 if(state && (state=chkstate(state,oldc)))
431 if(state==10)
436 state=0;
450 state = 0;