Lines Matching refs:sjis
147 unsigned char sjis[2]; member
273 static inline int euc2sjisibm_jisx0212(unsigned char *sjis, const unsigned char euc_hi,
275 static inline int euc2sjisibm_g3upper(unsigned char *sjis, const unsigned char euc_hi,
277 static inline int euc2sjisibm(unsigned char *sjis, const unsigned char euc_hi,
304 static inline int euc2sjisibm_jisx0212(unsigned char *sjis, const unsigned char euc_hi, in euc2sjisibm_jisx0212() argument
321 sjis[0] = euc2sjisibm_jisx0212_map[index].sjis[0]; in euc2sjisibm_jisx0212()
322 sjis[1] = euc2sjisibm_jisx0212_map[index].sjis[1]; in euc2sjisibm_jisx0212()
330 static inline int euc2sjisibm_g3upper(unsigned char *sjis, const unsigned char euc_hi, in euc2sjisibm_g3upper() argument
343 sjis[0] = euc2sjisibm_g3upper_map[index][0]; in euc2sjisibm_g3upper()
344 sjis[1] = euc2sjisibm_g3upper_map[index][1]; in euc2sjisibm_g3upper()
350 static inline int euc2sjisibm(unsigned char *sjis, const unsigned char euc_hi, in euc2sjisibm() argument
357 sjis[0] = 0xFA; in euc2sjisibm()
358 sjis[1] = 0x54; in euc2sjisibm()
361 sjis[0] = 0xFA; in euc2sjisibm()
362 sjis[1] = 0x5B; in euc2sjisibm()
366 if ((n = euc2sjisibm_g3upper(sjis, euc_hi, euc_lo))) { in euc2sjisibm()
368 } else if ((n = euc2sjisibm_jisx0212(sjis, euc_hi, euc_lo))) { in euc2sjisibm()