Home
last modified time | relevance | path

Searched refs:assi (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Modules/cjkcodecs/
Dalg_jisx0201.h1 #define JISX0201_R_ENCODE(c, assi) \ argument
3 (assi) = (c); \
4 else if ((c) == 0x00a5) (assi) = 0x5c; \
5 else if ((c) == 0x203e) (assi) = 0x7e;
6 #define JISX0201_K_ENCODE(c, assi) \ argument
8 (assi) = (c) - 0xfec0;
9 #define JISX0201_ENCODE(c, assi) \ argument
10 JISX0201_R_ENCODE(c, assi) \
11 else JISX0201_K_ENCODE(c, assi)
13 #define JISX0201_R_DECODE(c, assi) \ argument
[all …]
Demu_jisx0213_2000.h8 #define EMULATE_JISX0213_2000_ENCODE_BMP(assi, c) \ argument
17 (assi) = 0x8000 | 0x7d3b; \
19 #define EMULATE_JISX0213_2000_ENCODE_EMP(assi, c) \ argument
27 #define EMULATE_JISX0213_2000_DECODE_PLANE1(assi, c1, c2) \ argument
41 #define EMULATE_JISX0213_2000_DECODE_PLANE2(assi, c1, c2) \ argument
43 (assi) = 0x9B1D;
D_codecs_cn.c26 #define GBK_DECODE(dc1, dc2, assi) \ argument
27 if ((dc1) == 0xa1 && (dc2) == 0xaa) (assi) = 0x2014; \
28 else if ((dc1) == 0xa8 && (dc2) == 0x44) (assi) = 0x2015; \
29 else if ((dc1) == 0xa1 && (dc2) == 0xa4) (assi) = 0x00b7; \
30 else TRYMAP_DEC(gb2312, assi, dc1 ^ 0x80, dc2 ^ 0x80); \
31 else TRYMAP_DEC(gbkext, assi, dc1, dc2);
33 #define GBK_ENCODE(code, assi) \ argument
34 if ((code) == 0x2014) (assi) = 0xa1aa; \
35 else if ((code) == 0x2015) (assi) = 0xa844; \
36 else if ((code) == 0x00b7) (assi) = 0xa1a4; \
[all …]
Dcjkcodecs.h161 #define _TRYMAP_ENC(m, assi, val) \ argument
163 (val)<= (m)->top && ((assi) = (m)->map[(val) - \
165 #define TRYMAP_ENC_COND(charset, assi, uni) \ argument
166 _TRYMAP_ENC(&charset##_encmap[(uni) >> 8], assi, (uni) & 0xff)
167 #define TRYMAP_ENC(charset, assi, uni) \ argument
168 if TRYMAP_ENC_COND(charset, assi, uni)
170 #define _TRYMAP_DEC(m, assi, val) \ argument
172 (val)<= (m)->top && ((assi) = (m)->map[(val) - \
174 #define TRYMAP_DEC(charset, assi, c1, c2) \ argument
175 if _TRYMAP_DEC(&charset##_decmap[c1], assi, c2)
[all …]
D_codecs_iso2022.c379 #define ISO8859_7_DECODE(c, assi) \ argument
380 if ((c) < 0xa0) (assi) = (c); \
382 (assi) = (c); \
385 (assi) = 0x02d0 + (c); \
386 else if ((c) == 0xa1) (assi) = 0x2018; \
387 else if ((c) == 0xa2) (assi) = 0x2019; \
388 else if ((c) == 0xaf) (assi) = 0x2015;