Lines Matching refs:state1
49 unsigned int state1 = state & 0xff, state2 = (state >> 8) & 0xff, state3 = state >> 16
51 state = (state3 << 16) | (state2 << 8) | state1
115 state1 = STATE_TWOBYTE;
122 state1 = STATE_ASCII;
130 switch (state1) {
192 int count = (state1 == STATE_ASCII ? 1 : 2);
195 if (state1 != STATE_ASCII) {
198 state1 = STATE_ASCII;
215 int count = (state2 == STATE2_DESIGNATED_GB2312 ? 0 : 4) + (state1 == STATE_TWOBYTE ? 0 : 1) + 2;
226 if (state1 != STATE_TWOBYTE) {
229 state1 = STATE_TWOBYTE;
245 int count = (state2 == STATE2_DESIGNATED_CNS11643_1 ? 0 : 4) + (state1 == STATE_TWOBYTE ? 0 : 1) + 2;
256 if (state1 != STATE_TWOBYTE) {
259 state1 = STATE_TWOBYTE;
301 if (state1 != STATE_ASCII) {