Lines Matching refs:state1
59 unsigned int state1 = state & 0xff, state2 = (state >> 8) & 0xff, state3 = (state >> 16) & 0xff, state4 = state >> 24
61 state = (state4 << 24) | (state3 << 16) | (state2 << 8) | state1
231 state1 = STATE_TWOBYTE;
238 state1 = STATE_ASCII;
246 switch (state1) {
310 int count = (state1 == STATE_ASCII ? 1 : 2);
313 if (state1 != STATE_ASCII) {
316 state1 = STATE_ASCII;
333 int count = (state2 == STATE2_DESIGNATED_GB2312 ? 0 : 4) + (state1 == STATE_TWOBYTE ? 0 : 1) + 2;
344 if (state1 != STATE_TWOBYTE) {
347 state1 = STATE_TWOBYTE;
363 int count = (state2 == STATE2_DESIGNATED_CNS11643_1 ? 0 : 4) + (state1 == STATE_TWOBYTE ? 0 : 1) + 2;
374 if (state1 != STATE_TWOBYTE) {
377 state1 = STATE_TWOBYTE;
525 int count = (state2 == STATE2_DESIGNATED_ISO_IR_165 ? 0 : 4) + (state1 == STATE_TWOBYTE ? 0 : 1) + 2;
536 if (state1 != STATE_TWOBYTE) {
539 state1 = STATE_TWOBYTE;
560 if (state1 != STATE_ASCII) {