Lines Matching refs:s1
247 unsigned int s1, s2; in shift_jisx0213_wctomb() local
251 s1 = jch >> 8; in shift_jisx0213_wctomb()
253 s1 -= 0x21; in shift_jisx0213_wctomb()
255 if (s1 >= 0x5e) { in shift_jisx0213_wctomb()
257 if (s1 >= 0xcd) /* rows 0x26E..0x27E */ in shift_jisx0213_wctomb()
258 s1 -= 102; in shift_jisx0213_wctomb()
259 else if (s1 >= 0x8b || s1 == 0x87) /* rows 0x228, 0x22C..0x22F */ in shift_jisx0213_wctomb()
260 s1 -= 40; in shift_jisx0213_wctomb()
262 s1 -= 34; in shift_jisx0213_wctomb()
265 if (s1 & 1) in shift_jisx0213_wctomb()
267 s1 = s1 >> 1; in shift_jisx0213_wctomb()
268 if (s1 < 0x1f) in shift_jisx0213_wctomb()
269 s1 += 0x81; in shift_jisx0213_wctomb()
271 s1 += 0xc1; in shift_jisx0213_wctomb()
280 conv->ostate = (s1 << 8) | s2; in shift_jisx0213_wctomb()
285 r[0] = s1; in shift_jisx0213_wctomb()