Searched defs:code (Results 1 - 25 of 99) sorted by relevance

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
H A D_codecs_tw.c18 DBCHAR code; local
30 TRYMAP_ENC(big5, code, c);
33 OUT1(code >> 8)
34 OUT2(code & 0xFF)
73 DBCHAR code; local
83 TRYMAP_ENC(cp950ext, code, c);
84 else TRYMAP_ENC(big5, code, c);
87 OUT1(code >> 8)
88 OUT2(code & 0xFF)
H A D_codecs_cn.c18 /* GBK and GB2312 map differently in few code points that are listed below:
33 #define GBK_ENCODE(code, assi) \
34 if ((code) == 0x2014) (assi) = 0xa1aa; \
35 else if ((code) == 0x2015) (assi) = 0xa844; \
36 else if ((code) == 0x00b7) (assi) = 0xa1a4; \
37 else if ((code) != 0x30fb && TRYMAP_ENC_COND(gbcommon, assi, code));
47 DBCHAR code; local
57 TRYMAP_ENC(gbcommon, code, c);
60 if (code
103 DBCHAR code; local
161 DBCHAR code; local
333 DBCHAR code; local
[all...]
H A D_codecs_hk.c35 * These are handled by not mapping tables but a hand-written code.
43 DBCHAR code; local
59 TRYMAP_ENC(big5hkscs_bmp, code, c) {
60 if (code == MULTIC) {
64 code = big5hkscs_pairenc_table[
74 code = 0x8866;
76 code = 0x88a7;
80 else TRYMAP_ENC(big5, code, c);
86 TRYMAP_ENC(big5hkscs_nonbmp, code, c & 0xffff);
92 OUT1(code >>
[all...]
H A D_codecs_jp.c24 DBCHAR code; local
51 TRYMAP_ENC(cp932ext, code, c) {
52 OUT1(code >> 8)
53 OUT2(code & 0xff)
55 else TRYMAP_ENC(jisxcommon, code, c) {
56 if (code & 0x8000) /* MSB set: JIS X 0212 */
60 c1 = code >> 8;
61 c2 = code & 0xff;
151 DBCHAR code; local
164 EMULATE_JISX0213_2000_ENCODE_BMP(code,
238 ucs4_t code; local
320 DBCHAR code; local
437 DBCHAR code; local
545 DBCHAR code = NOCHAR; local
643 ucs4_t code; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
H A D_codecs_tw.c18 DBCHAR code; local
30 TRYMAP_ENC(big5, code, c);
33 OUT1(code >> 8)
34 OUT2(code & 0xFF)
73 DBCHAR code; local
83 TRYMAP_ENC(cp950ext, code, c);
84 else TRYMAP_ENC(big5, code, c);
87 OUT1(code >> 8)
88 OUT2(code & 0xFF)
H A D_codecs_cn.c33 #define GBK_ENCODE(code, assi) \
34 if ((code) == 0x2014) (assi) = 0xa1aa; \
35 else if ((code) == 0x2015) (assi) = 0xa844; \
36 else if ((code) == 0x00b7) (assi) = 0xa1a4; \
37 else if ((code) != 0x30fb && TRYMAP_ENC_COND(gbcommon, assi, code));
47 DBCHAR code; local
57 TRYMAP_ENC(gbcommon, code, c);
60 if (code & 0x8000) /* MSB set: GBK */
63 OUT1((code >>
103 DBCHAR code; local
161 DBCHAR code; local
333 DBCHAR code; local
[all...]
H A D_codecs_hk.c35 * These are handled by not mapping tables but a hand-written code.
43 DBCHAR code; local
59 TRYMAP_ENC(big5hkscs_bmp, code, c) {
60 if (code == MULTIC) {
64 code = big5hkscs_pairenc_table[
74 code = 0x8866;
76 code = 0x88a7;
80 else TRYMAP_ENC(big5, code, c);
86 TRYMAP_ENC(big5hkscs_nonbmp, code, c & 0xffff);
92 OUT1(code >>
[all...]
H A D_codecs_jp.c24 DBCHAR code; local
51 TRYMAP_ENC(cp932ext, code, c) {
52 OUT1(code >> 8)
53 OUT2(code & 0xff)
55 else TRYMAP_ENC(jisxcommon, code, c) {
56 if (code & 0x8000) /* MSB set: JIS X 0212 */
60 c1 = code >> 8;
61 c2 = code & 0xff;
151 DBCHAR code; local
164 EMULATE_JISX0213_2000_ENCODE_BMP(code,
238 ucs4_t code; local
320 DBCHAR code; local
437 DBCHAR code; local
545 DBCHAR code = NOCHAR; local
643 ucs4_t code; local
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/enc/
H A Dascii.c11 * 1. Redistributions of source code must retain the above copyright
33 ascii_is_code_ctype(OnigCodePoint code, unsigned int ctype) argument
35 if (code < 128)
36 return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype);
H A Dutf16_le.c11 * 1. Redistributions of source code must retain the above copyright
52 utf16le_code_to_mbclen(OnigCodePoint code) argument
54 return (code > 0xffff ? 4 : 2);
86 OnigCodePoint code; local
91 code = ((((c1 - 0xd8) << 2) + ((c0 & 0xc0) >> 6) + 1) << 16)
96 code = c1 * 256 + p[0];
98 return code;
102 utf16le_code_to_mbc(OnigCodePoint code, UChar *buf) argument
106 if (code > 0xffff) {
109 plane = (code >> 1
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dnew.py17 from types import CodeType as code namespace
/device/google/cuttlefish_common/common/vsoc/lib/
H A Dinput_events_region_view.h29 uint16_t code; member in struct:vsoc::input_events::InputEvent
H A Dinput_events_region_view.cpp29 void InitInputEvent(InputEvent* evt, uint16_t type, uint16_t code, uint32_t value) { argument
31 evt->code = code;
/device/google/wahoo/wifi_offload/
H A Doffload_status_util.cpp26 OffloadStatus createOffloadStatus(OffloadStatusCode code, const std::string &description) { argument
27 return {code, description};
30 OffloadStatus createOffloadStatus(OffloadStatusCode code) { argument
31 return createOffloadStatus(code, "");
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
H A Dinftrees.h12 information needed to do the operation requested by the code that
14 table that indexes more bits of the code. op indicates whether
16 distance, an end-of-block, or an invalid code. For a table
19 is the number of extra bits to get after the code. bits is
20 the number of bits in this code or part of the code to drop off
26 unsigned char bits; /* bits in this part of the code */
27 unsigned short val; /* offset in table or code value */
28 } code; typedef in typeref:struct:__anon3468
35 01000000 - invalid code
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
H A Derrnomodule.c32 _inscode(PyObject *d, PyObject *de, char *name, int code) argument
35 PyObject *v = PyInt_FromLong((long) code);
78 #define inscode(d, ds, de, name, code, comment) _inscode(d, de, name, code)
443 inscode(d, ds, de, "EBADRQC", EBADRQC, "Invalid request code");
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dimport.h59 unsigned char *code; member in struct:_frozen
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
H A Dinftrees.h12 information needed to do the operation requested by the code that
14 table that indexes more bits of the code. op indicates whether
16 distance, an end-of-block, or an invalid code. For a table
19 is the number of extra bits to get after the code. bits is
20 the number of bits in this code or part of the code to drop off
26 unsigned char bits; /* bits in this part of the code */
27 unsigned short val; /* offset in table or code value */
28 } code; typedef in typeref:struct:__anon3123
35 01000000 - invalid code
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
H A Derrnomodule.c31 _inscode(PyObject *d, PyObject *de, char *name, int code) argument
34 PyObject *v = PyInt_FromLong((long) code);
77 #define inscode(d, ds, de, name, code, comment) _inscode(d, de, name, code)
442 inscode(d, ds, de, "EBADRQC", EBADRQC, "Invalid request code");
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dimport.h59 unsigned char *code; member in struct:_frozen
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Derrnomodule.c32 _inscode(PyObject *d, PyObject *de, char *name, int code) argument
35 PyObject *v = PyInt_FromLong((long) code);
78 #define inscode(d, ds, de, name, code, comment) _inscode(d, de, name, code)
443 inscode(d, ds, de, "EBADRQC", EBADRQC, "Invalid request code");
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/
H A Dinftrees.h12 information needed to do the operation requested by the code that
14 table that indexes more bits of the code. op indicates whether
16 distance, an end-of-block, or an invalid code. For a table
19 is the number of extra bits to get after the code. bits is
20 the number of bits in this code or part of the code to drop off
26 unsigned char bits; /* bits in this part of the code */
27 unsigned short val; /* offset in table or code value */
28 } code; typedef in typeref:struct:__anon5393
35 01000000 - invalid code
[all...]
/device/google/cuttlefish_common/guest/commands/vsoc_input_service/
H A Dvirtual_device_base.cpp110 uint16_t code,
114 event.code = code;
109 EmitEvent(uint16_t type, uint16_t code, uint32_t value) argument
/device/generic/goldfish/libqemu/
H A Dtest_host_1.c128 static void usage(int code) argument
138 exit(code);
H A Dtest_guest_2.c20 * See test_host_1.c for the corresponding server code, which simply
34 static void usage(int code) argument
45 exit(code);

Completed in 285 milliseconds

1234