Home
last modified time | relevance | path

Searched refs:TRYMAP_ENC (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Modules/cjkcodecs/
D_codecs_jp.c52 if (TRYMAP_ENC(cp932ext, code, c)) { in ENCODER()
56 else if (TRYMAP_ENC(jisxcommon, code, c)) { in ENCODER()
168 else if (TRYMAP_ENC(jisx0213_bmp, code, c)) { in ENCODER()
200 else if (TRYMAP_ENC(jisxcommon, code, c)) in ENCODER()
219 else if (TRYMAP_ENC(jisx0213_emp, code, c & 0xffff)) in ENCODER()
344 if (TRYMAP_ENC(jisxcommon, code, c)) in ENCODER()
483 if (TRYMAP_ENC(jisxcommon, code, c)) in ENCODER()
586 else if (TRYMAP_ENC(jisx0213_bmp, code, c)) { in ENCODER()
619 else if (TRYMAP_ENC(jisxcommon, code, c)) { in ENCODER()
629 else if (TRYMAP_ENC(jisx0213_emp, code, c&0xffff)) in ENCODER()
D_codecs_tw.c32 if (TRYMAP_ENC(big5, code, c)) in ENCODER()
89 if (TRYMAP_ENC(cp950ext, code, c)) in ENCODER()
91 else if (TRYMAP_ENC(big5, code, c)) in ENCODER()
D_codecs_hk.c57 if (TRYMAP_ENC(big5hkscs_bmp, code, c)) { in ENCODER()
84 else if (TRYMAP_ENC(big5, code, c)) in ENCODER()
92 if (TRYMAP_ENC(big5hkscs_nonbmp, code, c & 0xffff)) in ENCODER()
D_codecs_cn.c50 } else if ((code) != 0x30fb && TRYMAP_ENC(gbcommon, assi, code)) { \
74 if (TRYMAP_ENC(gbcommon, code, c)) in ENCODER()
213 else if (TRYMAP_ENC(gb18030ext, code, c)) in ENCODER()
370 if (TRYMAP_ENC(gbcommon, code, c)) in ENCODER()
D_codecs_iso2022.c598 if (TRYMAP_ENC(cp949, coded, *data)) { in ksx1001_encoder()
639 else if (TRYMAP_ENC(jisxcommon, coded, *data)) { in jisx0208_encoder()
676 if (TRYMAP_ENC(jisxcommon, coded, *data)) { in jisx0212_encoder()
788 else if (TRYMAP_ENC(jisx0213_emp, coded, (*data) & 0xffff)) in jisx0213_encoder()
795 else if (TRYMAP_ENC(jisx0213_bmp, coded, *data)) { in jisx0213_encoder()
799 else if (TRYMAP_ENC(jisxcommon, coded, *data)) { in jisx0213_encoder()
992 if (TRYMAP_ENC(gbcommon, coded, *data)) { in gb2312_encoder()
D_codecs_kr.c50 if (TRYMAP_ENC(cp949, code, c)) in ENCODER()
188 if (TRYMAP_ENC(cp949, code, c)) in ENCODER()
288 else if (TRYMAP_ENC(cp949, code, c)) { in ENCODER()
Dcjkcodecs.h192 #define TRYMAP_ENC(charset, assi, uni) \ macro
/external/python/cpython2/Modules/cjkcodecs/
D_codecs_jp.c51 TRYMAP_ENC(cp932ext, code, c) { in ENCODER()
55 else TRYMAP_ENC(jisxcommon, code, c) { in ENCODER()
165 else TRYMAP_ENC(jisx0213_bmp, code, c) { in ENCODER()
196 else TRYMAP_ENC(jisxcommon, code, c); in ENCODER()
214 else TRYMAP_ENC(jisx0213_emp, code, c & 0xffff); in ENCODER()
330 TRYMAP_ENC(jisxcommon, code, c); in ENCODER()
462 TRYMAP_ENC(jisxcommon, code, c); in ENCODER()
564 else TRYMAP_ENC(jisx0213_bmp, code, c) { in ENCODER()
596 else TRYMAP_ENC(jisxcommon, code, c) { in ENCODER()
605 else TRYMAP_ENC(jisx0213_emp, code, c&0xffff); in ENCODER()
D_codecs_tw.c30 TRYMAP_ENC(big5, code, c); in ENCODER()
83 TRYMAP_ENC(cp950ext, code, c); in ENCODER()
84 else TRYMAP_ENC(big5, code, c); in ENCODER()
D_codecs_hk.c59 TRYMAP_ENC(big5hkscs_bmp, code, c) { in ENCODER()
80 else TRYMAP_ENC(big5, code, c); in ENCODER()
86 TRYMAP_ENC(big5hkscs_nonbmp, code, c & 0xffff); in ENCODER()
D_codecs_cn.c57 TRYMAP_ENC(gbcommon, code, c); in ENCODER()
200 else TRYMAP_ENC(gb18030ext, code, c); in ENCODER()
354 TRYMAP_ENC(gbcommon, code, c); in ENCODER()
D_codecs_kr.c48 TRYMAP_ENC(cp949, code, c); in ENCODER()
181 TRYMAP_ENC(cp949, code, c); in ENCODER()
275 else TRYMAP_ENC(cp949, code, c) { in ENCODER()
D_codecs_iso2022.c596 TRYMAP_ENC(cp949, coded, *data) in ksx1001_encoder()
636 else TRYMAP_ENC(jisxcommon, coded, *data) { in jisx0208_encoder()
673 TRYMAP_ENC(jisxcommon, coded, *data) { in jisx0212_encoder()
777 else TRYMAP_ENC(jisx0213_emp, coded, in jisx0213_encoder()
785 else TRYMAP_ENC(jisx0213_bmp, coded, *data) { in jisx0213_encoder()
789 else TRYMAP_ENC(jisxcommon, coded, *data) { in jisx0213_encoder()
980 TRYMAP_ENC(gbcommon, coded, *data) { in gb2312_encoder()
Dcjkcodecs.h167 #define TRYMAP_ENC(charset, assi, uni) \ macro