Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 25 of 96) sorted by relevance

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
D_codecs_jp.c25 unsigned char c1, c2; in ENCODER() local
61 c2 = code & 0xff; in ENCODER()
62 c2 = (((c1 - 0x21) & 1) ? 0x5e : 0) + (c2 - 0x21); in ENCODER()
65 OUT2(c2 < 0x3f ? c2 + 0x40 : c2 + 0x41) in ENCODER()
70 c2 = (Py_UNICODE)(c - 0xe000) % 188; in ENCODER()
72 OUT2(c2 < 0x3f ? c2 + 0x40 : c2 + 0x41) in ENCODER()
86 unsigned char c = IN1, c2; in DECODER() local
110 c2 = IN2; in DECODER()
112 TRYMAP_DEC(cp932ext, **outbuf, c, c2); in DECODER()
114 if (c2 < 0x40 || (c2 > 0x7e && c2 < 0x80) || c2 > 0xfc) in DECODER()
[all …]
Demu_jisx0213_2000.h27 #define EMULATE_JISX0213_2000_DECODE_PLANE1(assi, c1, c2) \ argument
29 (((c1) == 0x2E && (c2) == 0x21) || \
30 ((c1) == 0x2F && (c2) == 0x7E) || \
31 ((c1) == 0x4F && (c2) == 0x54) || \
32 ((c1) == 0x4F && (c2) == 0x7E) || \
33 ((c1) == 0x74 && (c2) == 0x27) || \
34 ((c1) == 0x7E && (c2) == 0x7A) || \
35 ((c1) == 0x7E && (c2) == 0x7B) || \
36 ((c1) == 0x7E && (c2) == 0x7C) || \
37 ((c1) == 0x7E && (c2) == 0x7D) || \
[all …]
D_codecs_kr.c276 unsigned char c1, c2, t2; in ENCODER() local
281 c2 = code & 0xff; in ENCODER()
284 (c2 >= 0x21 && c2 <= 0x7e)) { in ENCODER()
287 t2 = ((t1 & 1) ? 0x5e : 0) + (c2 - 0x21); in ENCODER()
351 unsigned char c = IN1, c2; in DECODER() local
362 c2 = IN2; in DECODER()
370 c_jung = ((c << 3) | c2 >> 5) & 0x1f; in DECODER()
371 c_jong = c2 & 0x1f; in DECODER()
414 c2 < 0x31 || (c2 >= 0x80 && c2 < 0x91) || in DECODER()
415 (c2 & 0x7f) == 0x7f || in DECODER()
[all …]
D_codecs_cn.c248 unsigned char c = IN1, c2; in DECODER() local
260 c2 = IN2; in DECODER()
261 if (c2 >= 0x30 && c2 <= 0x39) { /* 4 bytes seq */ in DECODER()
271 c -= 0x81; c2 -= 0x30; in DECODER()
275 lseq = ((ucs4_t)c * 10 + c2) * 1260 + in DECODER()
287 lseq = 0x10000 + (((ucs4_t)c-15) * 10 + c2) in DECODER()
298 GBK_DECODE(c, c2, **outbuf) in DECODER()
299 else TRYMAP_DEC(gb18030ext, **outbuf, c, c2); in DECODER()
388 unsigned char c2 = IN2; in DECODER() local
391 if (c2 == '~') { in DECODER()
[all …]
Dcjkcodecs.h132 #define WRITE2(c1, c2) \ argument
135 (*outbuf)[1] = (c2);
136 #define WRITE3(c1, c2, c3) \ argument
139 (*outbuf)[1] = (c2); \
141 #define WRITE4(c1, c2, c3, c4) \ argument
144 (*outbuf)[1] = (c2); \
174 #define TRYMAP_DEC(charset, assi, c1, c2) \ argument
175 if _TRYMAP_DEC(&charset##_decmap[c1], assi, c2)
186 #define TRYMAP_DEC_MPLANE(charset, assi, plane, c1, c2) \ argument
187 if _TRYMAP_DEC(&charset##_decmap[plane][c1], assi, c2)
D_codecs_hk.c100 #define BH2S(c1, c2) (((c1) - 0x87) * (0xfe - 0x40 + 1) + ((c2) - 0x40)) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
D_codecs_jp.c25 unsigned char c1, c2; in ENCODER() local
61 c2 = code & 0xff; in ENCODER()
62 c2 = (((c1 - 0x21) & 1) ? 0x5e : 0) + (c2 - 0x21); in ENCODER()
65 OUT2(c2 < 0x3f ? c2 + 0x40 : c2 + 0x41) in ENCODER()
70 c2 = (Py_UNICODE)(c - 0xe000) % 188; in ENCODER()
72 OUT2(c2 < 0x3f ? c2 + 0x40 : c2 + 0x41) in ENCODER()
86 unsigned char c = IN1, c2; in DECODER() local
110 c2 = IN2; in DECODER()
112 TRYMAP_DEC(cp932ext, **outbuf, c, c2); in DECODER()
114 if (c2 < 0x40 || (c2 > 0x7e && c2 < 0x80) || c2 > 0xfc) in DECODER()
[all …]
Demu_jisx0213_2000.h27 #define EMULATE_JISX0213_2000_DECODE_PLANE1(assi, c1, c2) \ argument
29 (((c1) == 0x2E && (c2) == 0x21) || \
30 ((c1) == 0x2F && (c2) == 0x7E) || \
31 ((c1) == 0x4F && (c2) == 0x54) || \
32 ((c1) == 0x4F && (c2) == 0x7E) || \
33 ((c1) == 0x74 && (c2) == 0x27) || \
34 ((c1) == 0x7E && (c2) == 0x7A) || \
35 ((c1) == 0x7E && (c2) == 0x7B) || \
36 ((c1) == 0x7E && (c2) == 0x7C) || \
37 ((c1) == 0x7E && (c2) == 0x7D) || \
[all …]
D_codecs_kr.c276 unsigned char c1, c2, t2; in ENCODER() local
281 c2 = code & 0xff; in ENCODER()
284 (c2 >= 0x21 && c2 <= 0x7e)) { in ENCODER()
287 t2 = ((t1 & 1) ? 0x5e : 0) + (c2 - 0x21); in ENCODER()
351 unsigned char c = IN1, c2; in DECODER() local
362 c2 = IN2; in DECODER()
370 c_jung = ((c << 3) | c2 >> 5) & 0x1f; in DECODER()
371 c_jong = c2 & 0x1f; in DECODER()
414 c2 < 0x31 || (c2 >= 0x80 && c2 < 0x91) || in DECODER()
415 (c2 & 0x7f) == 0x7f || in DECODER()
[all …]
D_codecs_cn.c248 unsigned char c = IN1, c2; in DECODER() local
260 c2 = IN2; in DECODER()
261 if (c2 >= 0x30 && c2 <= 0x39) { /* 4 bytes seq */ in DECODER()
271 c -= 0x81; c2 -= 0x30; in DECODER()
275 lseq = ((ucs4_t)c * 10 + c2) * 1260 + in DECODER()
287 lseq = 0x10000 + (((ucs4_t)c-15) * 10 + c2) in DECODER()
298 GBK_DECODE(c, c2, **outbuf) in DECODER()
299 else TRYMAP_DEC(gb18030ext, **outbuf, c, c2); in DECODER()
388 unsigned char c2 = IN2; in DECODER() local
391 if (c2 == '~') { in DECODER()
[all …]
Dcjkcodecs.h132 #define WRITE2(c1, c2) \ argument
135 (*outbuf)[1] = (c2);
136 #define WRITE3(c1, c2, c3) \ argument
139 (*outbuf)[1] = (c2); \
141 #define WRITE4(c1, c2, c3, c4) \ argument
144 (*outbuf)[1] = (c2); \
174 #define TRYMAP_DEC(charset, assi, c1, c2) \ argument
175 if _TRYMAP_DEC(&charset##_decmap[c1], assi, c2)
186 #define TRYMAP_DEC_MPLANE(charset, assi, plane, c1, c2) \ argument
187 if _TRYMAP_DEC(&charset##_decmap[plane][c1], assi, c2)
D_codecs_hk.c100 #define BH2S(c1, c2) (((c1) - 0x87) * (0xfe - 0x40 + 1) + ((c2) - 0x40)) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dcomparecodecs.py24 c2 = u.encode(encoding2)
26 c2 = '<undefined>'
27 if c1 != c2:
29 (i, c1, c2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_normalization.py57 c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]]
71 self.assertTrue(c2 == NFC(c1) == NFC(c2) == NFC(c3), line)
73 self.assertTrue(c3 == NFD(c1) == NFD(c2) == NFD(c3), line)
75 self.assertTrue(c4 == NFKC(c1) == NFKC(c2) == \
78 self.assertTrue(c5 == NFKD(c1) == NFKD(c2) == \
Dtest_weakref.py419 c2 = C()
420 c2.c1 = c1
430 del c2
516 c1, c2 = C(), C()
518 c2.me = c2
519 c2.c1 = c1
520 c2.wr = weakref.ref(c1, c2.cb)
522 del c1, c2
544 c1, c2 = D(), C()
546 c2.me = c2
[all …]
Dtest_decorators.py245 c1, c2, c3 = map(NameLookupTracer, [ 1, 2, 3 ])
254 @c2.make_decorator(c2.arg)
265 bar = c1.make_decorator(c1.arg)(c2.make_decorator(c2.arg)(c3.make_decorator(c3.arg)(bar)))
/device/linaro/bootloader/arm-trusted-firmware/include/lib/aarch32/
Darch.h404 #define MAIR0 p15, 0, c10, c2, 0
405 #define MAIR1 p15, 0, c10, c2, 1
406 #define TTBCR p15, 0, c2, c0, 2
407 #define TTBR0 p15, 0, c2, c0, 0
408 #define TTBR1 p15, 0, c2, c0, 1
432 #define CNTHP_CTL p15, 4, c14, c2, 1
456 #define TTBR0_64 p15, 0, c2
457 #define TTBR1_64 p15, 1, c2
459 #define VTTBR_64 p15, 6, c2
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dbase64.py152 c1, c2, c3 = struct.unpack('!HHB', s[i*5:(i+1)*5])
153 c2 += (c1 & 1) << 16 # 17 bits wide
154 c3 += (c2 & 3) << 8 # 10 bits wide
158 _b32tab[c2 >> 12], # bits 16 - 20 (1 - 5)
159 _b32tab[(c2 >> 7) & 0x1f], # bits 21 - 25 (6 - 10)
160 _b32tab[(c2 >> 2) & 0x1f], # bits 26 - 30 (11 - 15)
/device/google/contexthub/util/nanoapp_sign/
Dtest_modulus3 1f:49:45:16:c2:33:ed:1f:99:96:d9:6e:e5:17:81:
9 14:7f:a4:f7:99:bc:8b:1b:c2:01:c2:65:ee:f7:44:
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/Arm/
DArmV7ArchTimerSupport.asm40 mrc p15, 0, r0, c14, c2, 0 ; Read CNTP_TVAL (PL1 physical timer value register)
44 mcr p15, 0, r0, c14, c2, 0 ; Write to CNTP_TVAL (PL1 physical timer value register)
48 mrc p15, 0, r0, c14, c2, 1 ; Read CNTP_CTL (PL1 Physical Timer Control Register)
52 mcr p15, 0, r0, c14, c2, 1 ; Write to CNTP_CTL (PL1 Physical Timer Control Register)
DArmV7ArchTimerSupport.S39 mrc p15, 0, r0, c14, c2, 0 @ Read CNTP_TVAL (PL1 physical timer value register)
43 mcr p15, 0, r0, c14, c2, 0 @ Write to CNTP_TVAL (PL1 physical timer value register)
47 mrc p15, 0, r0, c14, c2, 1 @ Read CNTP_CTL (PL1 Physical Timer Control Register)
51 mcr p15, 0, r0, c14, c2, 1 @ Write to CNTP_CTL (PL1 Physical Timer Control Register)
DArmLibSupport.asm82 mcr p15,0,r0,c2,c0,0
87 mcr p15, 0, r0, c2, c0, 2
92 mrc p15,0,r0,c2,c0,0
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dtokenizer.c1051 PyToken_TwoChars(int c1, int c2) in PyToken_TwoChars() argument
1055 switch (c2) { in PyToken_TwoChars()
1060 switch (c2) { in PyToken_TwoChars()
1065 switch (c2) { in PyToken_TwoChars()
1072 switch (c2) { in PyToken_TwoChars()
1078 switch (c2) { in PyToken_TwoChars()
1083 switch (c2) { in PyToken_TwoChars()
1088 switch (c2) { in PyToken_TwoChars()
1094 switch (c2) { in PyToken_TwoChars()
1100 switch (c2) { in PyToken_TwoChars()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dtokenizer.c1071 PyToken_TwoChars(int c1, int c2) in PyToken_TwoChars() argument
1075 switch (c2) { in PyToken_TwoChars()
1080 switch (c2) { in PyToken_TwoChars()
1085 switch (c2) { in PyToken_TwoChars()
1092 switch (c2) { in PyToken_TwoChars()
1098 switch (c2) { in PyToken_TwoChars()
1103 switch (c2) { in PyToken_TwoChars()
1108 switch (c2) { in PyToken_TwoChars()
1114 switch (c2) { in PyToken_TwoChars()
1120 switch (c2) { in PyToken_TwoChars()
[all …]
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c358 float c2; in getLuxFromAlsData() local
362 c2 = -3.917f; in getLuxFromAlsData()
365 c2 = -3.121f; in getLuxFromAlsData()
368 c2 = -1.096f; in getLuxFromAlsData()
371 c2 = -0.340f; in getLuxFromAlsData()
373 c1 = c2 = 0.0f; in getLuxFromAlsData()
376 return c1 * d0 + c2 * d1; in getLuxFromAlsData()

1234