Searched refs:c2 (Results 1 - 25 of 87) sorted by relevance

1234

/haiku/src/apps/mail/
H A DUtilities.cpp69 char c2; local
78 c2 = str2[loop];
79 if (c2 >= 'A' && c2 <= 'Z')
80 c2 += 'a' - 'A';
81 if (c1 == c2) {
82 } else if (c1 < c2) {
84 } else if (c1 > c2 || !c2) {
100 char c2; local
129 char c2; local
[all...]
/haiku/src/libs/iconv/
H A Dcp936.h71 unsigned char c2 = s[1]; local
72 if ((c2 >= 0x40 && c2 < 0x7f) || (c2 >= 0x80 && c2 < 0xa1)) {
73 *pwc = 0xe4c6 + 96 * (c - 0xa1) + (c2 - (c2 >= 0x80 ? 0x41 : 0x40));
81 unsigned char c2 = s[1]; local
82 if (c2 >= 0xa1 && c2 <
109 unsigned int c2 = i % 94; local
116 unsigned int c2 = i % 96; local
[all...]
H A Dcns11643_4.h38 unsigned char c2 = s[1]; local
39 if (c2 >= 0x21 && c2 < 0x7f) {
40 unsigned int i = 94 * (c1 - 0x21) + (c2 - 0x21);
H A Deuc_jp.h37 unsigned char c2 = s[1]; local
38 if (c2 >= 0xa1 && c2 < 0xff) {
40 buf[0] = c-0x80; buf[1] = c2-0x80;
47 unsigned char c2 = s[1]; local
48 if (c2 >= 0xa1 && c2 < 0xff) {
49 *pwc = 0xe000 + 94*(c-0xf5) + (c2-0xa1);
60 unsigned char c2 = s[1]; local
61 if (c2 >
76 unsigned char c2 = s[1]; local
169 unsigned char c1, c2; local
178 unsigned char c1, c2; local
[all...]
H A Dces_big5.h37 unsigned char c2 = s[1]; local
38 if ((c2 >= 0x40 && c2 < 0x7f) || (c2 >= 0xa1 && c2 < 0xff))
H A Dbig5hkscs1999.h68 unsigned char c2 = s[1]; local
69 if ((c2 >= 0x40 && c2 < 0x7f) || (c2 >= 0xa1 && c2 < 0xff)) {
70 if (!((c == 0xc6 && c2 >= 0xa1) || c == 0xc7)) {
87 unsigned char c2 = s[1]; local
88 if (c2 == 0x62 || c2 == 0x64 || c2
[all...]
H A Disoir165.h91 unsigned char c2 = s[1]; local
92 if (c2 >= 0x21 && c2 <= 0x40) {
95 buf[1] = c2;
109 unsigned char c2 = s[1]; local
110 if (c2 >= 0x21 && c2 < 0x7f) {
H A Ddec_hanyu.h39 unsigned char c2 = s[1]; local
40 if (c == 0xc2 && c2 == 0xcb) {
53 } else if (c2 >= 0xa1 && c2 < 0xff) {
54 if (c != 0xc2 || c2 < 0xc2) {
56 buf[0] = c-0x80; buf[1] = c2-0x80;
59 } else if (c2 >= 0x21 && c2 < 0x7f) {
61 buf[0] = c-0x80; buf[1] = c2;
H A Ddec_kanji.h37 unsigned char c2 = s[1]; local
38 if (c2 >= 0xa1 && c2 < 0xff) {
40 buf[0] = c-0x80; buf[1] = c2-0x80;
H A Deuc_cn.h37 unsigned char c2 = s[1]; local
38 if (c2 >= 0xa1 && c2 < 0xff) {
40 buf[0] = c-0x80; buf[1] = c2-0x80;
H A Deuc_kr.h39 unsigned char c2 = s[1]; local
40 if (c2 >= 0xa1 && c2 < 0xff) {
42 buf[0] = c-0x80; buf[1] = c2-0x80;
H A Dgbk.h72 unsigned char c2 = s[1]; local
74 if (c2 == 0xa4) {
78 if (c2 == 0xaa) {
83 if (c2 >= 0xa1 && c2 < 0xff) {
86 buf[0] = c-0x80; buf[1] = c2-0x80;
90 buf[0] = c; buf[1] = c2;
101 unsigned char c2 = s[1]; local
102 if (c2 >= 0xa1 && c2 <
[all...]
H A Dsjis.h26 Conversion between SJIS codes (s1,s2) and JISX0208 codes (c1,c2):
27 Example. (s1,s2) = 0x8140, (c1,c2) = 0x2121.
30 0x21 <= c1 <= 0x74, 0x21 <= c2 <= 0x7E.
33 = 94*(c1-0x21)+(c2-0x21)
34 Conversion (s1,s2) -> (c1,c2):
38 c2 := (t2 < 0x5E ? t2 : t2-0x5E) + 0x21
39 Conversion (c1,c2) -> (s1,s2):
41 t2 := ((c1 - 0x21) & 1) * 0x5E + (c2 - 0x21)
103 unsigned char c1, c2; local
108 c2
121 unsigned char c1, c2; local
[all...]
H A Dcp949.h54 unsigned char c2 = s[1]; local
55 if (c2 < 0xa1)
58 else if (c2 < 0xff && !(c == 0xa2 && c2 == 0xe8)) {
62 buf[0] = c-0x80; buf[1] = c2-0x80;
68 *pwc = 0xe000 + (c2 - 0xa1);
72 *pwc = 0xe05e + (c2 - 0xa1);
H A Dbig5hkscs2001.h70 unsigned char c2 = s[1]; local
71 if ((c2 >= 0x40 && c2 < 0x7f) || (c2 >= 0xa1 && c2 < 0xff)) {
72 if (!((c == 0xc6 && c2 >= 0xa1) || c == 0xc7)) {
94 unsigned char c2 = s[1]; local
95 if (c2 == 0x62 || c2 == 0x64 || c2
[all...]
H A Dbig5hkscs2004.h70 unsigned char c2 = s[1]; local
71 if ((c2 >= 0x40 && c2 < 0x7f) || (c2 >= 0xa1 && c2 < 0xff)) {
72 if (!((c == 0xc6 && c2 >= 0xa1) || c == 0xc7)) {
99 unsigned char c2 = s[1]; local
100 if (c2 == 0x62 || c2 == 0x64 || c2
[all...]
H A Deuc_tw.h37 unsigned char c2 = s[1]; local
38 if (c2 >= 0xa1 && c2 < 0xff) {
40 buf[0] = c-0x80; buf[1] = c2-0x80;
51 unsigned char c2 = s[1]; local
52 if (c2 >= 0xa1 && c2 <= 0xb0) {
59 switch (c2-0xa0) {
H A Dcp936ext.h43 unsigned char c2 = s[1]; local
44 if ((c2 >= 0x40 && c2 < 0x7f) || (c2 >= 0x80 && c2 < 0xff)) {
45 unsigned int i = 190 * (c1 - 0x81) + (c2 - (c2 >= 0x80 ? 0x41 : 0x40));
H A Dcp932.h68 Conversion between SJIS codes (s1,s2) and JISX0208 codes (c1,c2):
69 Example. (s1,s2) = 0x8140, (c1,c2) = 0x2121.
72 0x21 <= c1 <= 0x74, 0x21 <= c2 <= 0x7E.
75 = 94*(c1-0x21)+(c2-0x21)
76 Conversion (s1,s2) -> (c1,c2):
80 c2 := (t2 < 0x5E ? t2 : t2-0x5E) + 0x21
81 Conversion (c1,c2) -> (s1,s2):
83 t2 := ((c1 - 0x21) & 1) * 0x5E + (c2 - 0x21)
163 unsigned char c1, c2; local
168 c2
192 unsigned char c1, c2; local
[all...]
H A Dgb18030.h216 unsigned char c2 = s[1]; local
217 if (c2 >= 0xa1 && c2 <= 0xfe) {
218 *pwc = 0xe000 + 94 * (c1 >= 0xf8 ? c1 - 0xf2 : c1 - 0xaa) + (c2 - 0xa1);
225 unsigned char c2 = s[1]; local
226 if (c2 >= 0x40 && c2 <= 0xa1 && c2 != 0x7f) {
227 *pwc = 0xe4c6 + 96 * (c1 - 0xa1) + c2 - (c2 >
240 unsigned char c2 = s[1]; local
[all...]
/haiku/headers/cpp/std/
H A Dstraits.h45 static void assign (char_type& c1, const char_type& c2) argument
46 { c1 = c2; }
47 static bool eq (const char_type& c1, const char_type& c2) argument
48 { return (c1 == c2); }
49 static bool ne (const char_type& c1, const char_type& c2) argument
50 { return !(c1 == c2); }
51 static bool lt (const char_type& c1, const char_type& c2) argument
52 { return (c1 < c2); }
111 static void assign (char_type& c1, const char_type& c2) argument
112 { c1 = c2; }
113 eq(const char_type & c1, const char_type& c2) argument
115 ne(const char_type& c1, const char_type& c2) argument
117 lt(const char_type& c1, const char_type& c2) argument
[all...]
/haiku/src/libs/libtelnet/
H A Dgenget.c60 char c1, c2; local
66 c2 = *s2;
67 while (LOWER(c1) == LOWER(c2)) {
71 c2 = *++s2;
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutnonansi.c257 int c2; local
263 c2 = tolower ((int) *String2);
268 while ((c1 == c2) && (c1));
270 return (c1 - c2);
/haiku/headers/private/kernel/arch/arm/
H A Darch_cpu.h79 /* CP15 c2, Translation table support registers */
80 DEFINE_ARM_GET_REG(ttbr0, p15, 0, c2, c0, 0)
81 DEFINE_ARM_SET_REG(ttbr0, p15, 0, c2, c0, 0)
82 DEFINE_ARM_GET_REG(ttbr1, p15, 0, c2, c0, 1)
83 DEFINE_ARM_SET_REG(ttbr1, p15, 0, c2, c0, 1)
84 DEFINE_ARM_GET_REG(ttbcr, p15, 0, c2, c0, 2)
85 DEFINE_ARM_SET_REG(ttbcr, p15, 0, c2, c0, 2)
/haiku/src/bin/network/telnet/
H A Ddefines.h40 #define NET2ADD(c1,c2) { NETADD(c1); NETADD(c2); }

Completed in 95 milliseconds

1234