/external/python/cpython3/Modules/cjkcodecs/ |
D | _codecs_jp.c | 52 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.c | 32 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.c | 57 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.c | 50 } 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.c | 598 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.c | 50 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()
|
D | cjkcodecs.h | 192 #define TRYMAP_ENC(charset, assi, uni) \ macro
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | _codecs_jp.c | 51 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.c | 30 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.c | 59 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.c | 57 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.c | 48 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.c | 596 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()
|
D | cjkcodecs.h | 167 #define TRYMAP_ENC(charset, assi, uni) \ macro
|