Searched refs:c1 (Results 1 - 25 of 84) sorted by relevance

1234

/haiku/src/system/libroot/posix/glibc/arch/x86/
H A De_expl.c17 * Separate log2(e) into the sum of an exact number c0 and small part c1.
18 * c0 + c1 = log2(e) to extra precision
20 * f = (c0 xi - i) + c0 xf + c1 x
28 static long double c1 = 7.05260771340735992468e-6L; variable
60 "fmul %%st(4),%%st\n\t" /* 4 c1 * x */
61 "faddp %%st,%%st(1)\n\t" /* 3 f = f + c1 * x */
75 : "=t" (res) : "0" (x), "m" (c0), "m" (c1) : "ax", "dx");
/haiku/src/apps/mail/
H A DUtilities.cpp68 char c1; local
75 c1 = str1[loop];
76 if (c1 >= 'A' && c1 <= 'Z')
77 c1 += 'a' - 'A';
81 if (c1 == c2) {
82 } else if (c1 < c2) {
84 } else if (c1 > c2 || !c2) {
99 char c1; local
104 c1
128 char c1; 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
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/iconv/
H A Dcns11643_4.h35 unsigned char c1 = s[0]; local
36 if ((c1 >= 0x21 && c1 <= 0x6e)) {
40 unsigned int i = 94 * (c1 - 0x21) + (c2 - 0x21);
H A Djohab.h26 Conversion between JOHAB codes (s1,s2) and KSX1001 codes (c1,c2):
27 Example. (s1,s2) = 0xD931, (c1,c2) = 0x2121.
28 (s1,s2) = 0xDEF1, (c1,c2) = 0x2C71.
29 (s1,s2) = 0xE031, (c1,c2) = 0x4A21.
30 (s1,s2) = 0xF9FE, (c1,c2) = 0x7D7E.
33 0x21 <= c1 <= 0x2C || 0x4A <= c1 <= 0x7D,
37 = 94*(c1-0x21)+(c2-0x21)
38 Conversion (s1,s2) -> (c1,c2):
41 c1
122 unsigned char c1, c2; local
[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):
37 c1 := 2*t1 + (t2 < 0x5E ? 0 : 1) + 0x21
39 Conversion (c1,c2) -> (s1,s2):
40 t1 := (c1 - 0x21) >> 1
41 t2 := ((c1 - 0x21) & 1) * 0x5E + (c2 - 0x21)
103 unsigned char c1, c local
121 unsigned char c1, c2; local
[all...]
H A Dcp936.h108 unsigned int c1 = i / 94; local
110 r[0] = c1 + (c1 < 6 ? 0xaa : 0xf2);
115 unsigned int c1 = i / 96; local
117 r[0] = c1 + 0xa1;
H A Dgb18030.h213 unsigned char c1 = s[0]; local
214 if ((c1 >= 0xaa && c1 <= 0xaf) || (c1 >= 0xf8 && c1 <= 0xfe)) {
218 *pwc = 0xe000 + 94 * (c1 >= 0xf8 ? c1 - 0xf2 : c1 - 0xaa) + (c2 - 0xa1);
223 } else if (c1 >= 0xa1 && c1 <
237 unsigned char c1 = s[0]; local
[all...]
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):
79 c1 := 2*t1 + (t2 < 0x5E ? 0 : 1) + 0x21
81 Conversion (c1,c2) -> (s1,s2):
82 t1 := (c1 - 0x21) >> 1
83 t2 := ((c1 - 0x21) & 1) * 0x5E + (c2 - 0x21)
163 unsigned char c1, c local
192 unsigned char c1, c2; local
[all...]
H A Dshift_jisx0213.h71 unsigned int c1; local
83 c1 = 2 * c;
85 c2 -= 0x5e, c1++;
87 if (c1 >= 0x5e) {
89 if (c1 >= 0x67)
90 c1 += 230;
91 else if (c1 >= 0x63 || c1 == 0x5f)
92 c1 += 168;
94 c1
[all...]
H A Deuc_jp.h169 unsigned char c1, c2; local
172 c1 = (unsigned int) (wc - 0xe000) / 94;
174 r[0] = c1+0xf5;
178 unsigned char c1, c2; local
181 c1 = (unsigned int) (wc - 0xe3ac) / 94;
184 r[1] = c1+0xf5;
H A Dcp936ext.h40 unsigned char c1 = s[0]; local
41 if ((c1 == 0xa6) || (c1 == 0xa8)) {
45 unsigned int i = 190 * (c1 - 0x81) + (c2 - (c2 >= 0x80 ? 0x41 : 0x40));
/haiku/src/libs/libtelnet/
H A Dgenget.c60 char c1, c2; local
65 c1 = *s1;
67 while (LOWER(c1) == LOWER(c2)) {
68 if (c1 == '\0')
70 c1 = *++s1;
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutnonansi.c256 int c1; local
262 c1 = tolower ((int) *String1);
268 while ((c1 == c2) && (c1));
270 return (c1 - c2);
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Ddoasin.h37 /**/ c1 = {{0x3FC55555, 0x55555555}}, /* 0.16666666666666666 */ variable
50 /**/ c1 = {{0x55555555, 0x3FC55555}}, /* 0.16666666666666666 */ variable
H A Ds_tan.c50 double a,da,a2,b,db,c,dc,c1,cc1,c2,cc2,c3,cc3,fi,ffi,gi,pz,s,sy, local
80 c1 = x2*(a15.d+x2*(a17.d+x2*(a19.d+x2*(a21.d+x2*(a23.d+x2*(a25.d+
83 ADD2(a13.d,aa13.d,c1,zero.d,c2,cc2,t1,t2)
84 MUL2(x2,xx2,c2,cc2,c1,cc1,t1,t2,t3,t4,t5,t6,t7,t8)
85 ADD2(a11.d,aa11.d,c1,cc1,c2,cc2,t1,t2)
86 MUL2(x2,xx2,c2,cc2,c1,cc1,t1,t2,t3,t4,t5,t6,t7,t8)
87 ADD2(a9.d ,aa9.d ,c1,cc1,c2,cc2,t1,t2)
88 MUL2(x2,xx2,c2,cc2,c1,cc1,t1,t2,t3,t4,t5,t6,t7,t8)
89 ADD2(a7.d ,aa7.d ,c1,cc1,c2,cc2,t1,t2)
90 MUL2(x2,xx2,c2,cc2,c1,cc
[all...]
/haiku/src/tests/libs/alm/
H A DTableDemo.cpp29 Column* c1 = layout->AddColumn(layout->Left(), layout->Right()); local
35 layout->AddView(b1, r1, c1);
39 layout->AddView(b2, r2, c1);
44 layout->AddView(b3, r3, c1);
/haiku/src/bin/network/telnet/
H A Ddefines.h40 #define NET2ADD(c1,c2) { NETADD(c1); NETADD(c2); }
/haiku/headers/libs/agg/
H A Dagg_span_gouraud_rgba.h53 void init(const coord_type& c1, const coord_type& c2) argument
55 m_x1 = c1.x - 0.5;
56 m_y1 = c1.y - 0.5;
57 m_dx = c2.x - c1.x;
58 double dy = c2.y - c1.y;
60 m_r1 = c1.color.r;
61 m_g1 = c1.color.g;
62 m_b1 = c1.color.b;
63 m_a1 = c1.color.a;
105 span_gouraud_rgba(const color_type& c1, argument
[all...]
H A Dagg_span_gouraud_gray.h53 void init(const coord_type& c1, const coord_type& c2) argument
55 m_x1 = c1.x - 0.5;
56 m_y1 = c1.y - 0.5;
57 m_dx = c2.x - c1.x;
58 double dy = c2.y - c1.y;
60 m_v1 = c1.color.v;
61 m_a1 = c1.color.a;
93 span_gouraud_gray(const color_type& c1, argument
100 base_type(c1, c2, c3, x1, y1, x2, y2, x3, y3, d)
/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DBufferMixer.cpp59 uint8 c1, c2, c3; local
62 c1 = *source++;
66 destination[0] = ALPHABLEND(c1, destination[0], alpha);
/haiku/src/add-ons/translators/wonderbrush/
H A DLayer.cpp85 uint8 c1 = dstHandle[0] * srcHandle[0] >> 8; local
86 c1 += dstHandle[0] * (
91 ) - c1
93 c1 = (c1 * dstHandle[3]
122 (srcHandle[3] * alphaOverride) >> 8, c1, c2, c3);
139 uint8 c1 local
149 (srcHandle[3] * alphaOverride) / 255, c1, c2, c3);
166 uint8 c1 local
176 (srcHandle[3] * alphaOverride) / 255, c1, c
313 uint8 c1 = 255 - ( local
346 uint8 c1 = ( local
[all...]
/haiku/src/tests/kits/game/ParticlesII/
H A DparticlesII.cpp196 rgb_color c1; local
201 c1.red = j*4; // greys
202 c1.green = j*4;
203 c1.blue = j*4;
204 c1.alpha = 255;
208 c1.red = j*4; // reds
209 c1.green = 0;
210 c1.blue = 0;
211 c1.alpha = 255;
215 c1
[all...]
/haiku/src/system/libroot/posix/glibc/arch/x86_64/
H A De_expl.S17 * Separate log2(e) into the sum of an exact number c0 and small part c1.
18 * c0 + c1 = log2(e) to extra precision
20 * f = (c0 xi - i) + c0 xf + c1 x
49 .type c1,@object
50 c1: .byte 0x58, 0x92, 0xfc, 0x15, 0x37, 0x9a, 0x97, 0xf0, 0xef, 0x3f label
52 ASM_SIZE_DIRECTIVE(c1)
58 .type c1,@object
59 c1: .byte 0x20, 0xfa, 0xee, 0xc2, 0x5f, 0x70, 0xa5, 0xec, 0xed, 0x3f label
61 ASM_SIZE_DIRECTIVE(c1)
175 fldt MO(c1) /*
[all...]
/haiku/src/bin/unzip/
H A Dcrypt.c271 int c0, c1; /* last two input bytes */ local
288 c1 = 0;
290 c0 = c1;
291 if ((c1 = getc(source)) == EOF) {
294 Trace((stdout, " (%02x)", c1));
295 zdecode(c1);
296 Trace((stdout, " %02x", c1));
305 if ((ush)(c0 | (c1<<8)) !=
309 if ((ush)c1 != (z->flg & 8 ? (ush) z->tim >> 8 : (ush)(z->crc >> 24))) {
330 if ((c1
[all...]

Completed in 197 milliseconds

1234