Searched refs:cy (Results 1 - 25 of 30) sorted by relevance

12

/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Dadd_n.c36 register mp_limb_t x, y, cy; local
48 cy = 0;
53 y += cy; /* add previous carry to one addend */
54 cy = (y < cy); /* get out carry from that addition */
56 cy = (y < x) + cy; /* get out carry from that add, combine */
61 return cy;
H A Dsub_n.c36 register mp_limb_t x, y, cy; local
48 cy = 0;
53 y += cy; /* add previous carry to subtrahend */
54 cy = (y < cy); /* get out carry from that addition */
56 cy = (y > x) + cy; /* get out carry from the subtract, combine */
61 return cy;
H A Dmul_n.c156 mp_limb_t cy; local
194 cy = mpn_add_n (prodp + size, prodp + size, prodp + size + hsize, hsize);
198 cy -= mpn_sub_n (prodp + hsize, prodp + hsize, tspace, size);
200 cy += mpn_add_n (prodp + hsize, prodp + hsize, tspace, size);
211 cy += mpn_add_n (prodp + hsize, prodp + hsize, tspace, size);
212 if (cy)
213 mpn_add_1 (prodp + hsize + size, prodp + hsize + size, hsize, cy);
216 cy = mpn_add_n (prodp + hsize, prodp + hsize, tspace + hsize, hsize);
217 if (cy)
309 mp_limb_t cy; local
[all...]
H A Dmul.c60 mp_limb_t cy; local
130 cy = mpn_add_n (prodp, prodp, tp, vsize);
131 mpn_add_1 (prodp + vsize, tp + vsize, vsize, cy);
146 cy = mpn_add_n (prodp, prodp, tspace, vsize);
147 mpn_add_1 (prodp + vsize, tspace + vsize, usize, cy);
/haiku/src/kits/interface/
H A DGradientConic.cpp18 fData.conic.cy = 0.0f;
28 fData.conic.cy = center.y;
35 BGradientConic::BGradientConic(float cx, float cy, float angle) argument
38 fData.conic.cy = cy;
48 return BPoint(fData.conic.cx, fData.conic.cy);
57 fData.conic.cy = center.y;
63 BGradientConic::SetCenter(float cx, float cy) argument
66 fData.conic.cy = cy;
[all...]
H A DGradientDiamond.cpp18 fData.diamond.cy = 0.0f;
27 fData.diamond.cy = center.y;
33 BGradientDiamond::BGradientDiamond(float cx, float cy) argument
36 fData.diamond.cy = cy;
45 return BPoint(fData.diamond.cx, fData.diamond.cy);
54 fData.diamond.cy = center.y;
60 BGradientDiamond::SetCenter(float cx, float cy) argument
63 fData.diamond.cy = cy;
[all...]
H A DGradientRadial.cpp18 fData.radial.cy = 0.0f;
28 fData.radial.cy = center.y;
35 BGradientRadial::BGradientRadial(float cx, float cy, float radius) argument
38 fData.radial.cy = cy;
48 return BPoint(fData.radial.cx, fData.radial.cy);
57 fData.radial.cy = center.y;
63 BGradientRadial::SetCenter(float cx, float cy) argument
66 fData.radial.cy = cy;
[all...]
H A DGradientRadialFocus.cpp18 fData.radial_focus.cy = 0.0f;
31 fData.radial_focus.cy = center.y;
40 BGradientRadialFocus::BGradientRadialFocus(float cx, float cy, float radius, argument
44 fData.radial_focus.cy = cy;
56 return BPoint(fData.radial_focus.cx, fData.radial_focus.cy);
65 fData.radial_focus.cy = center.y;
71 BGradientRadialFocus::SetCenter(float cx, float cy) argument
74 fData.radial_focus.cy = cy;
[all...]
H A DGradient.cpp144 if (archive->FindFloat("radial_cy", (float*)&fData.radial.cy) < B_OK)
145 fData.radial.cy = 0.0f;
152 if (archive->FindFloat("radial_f_cy", (float*)&fData.radial_focus.cy) < B_OK)
153 fData.radial_focus.cy = 0.0f;
164 if (archive->FindFloat("diamond_cy", (float*)&fData.diamond.cy) < B_OK)
165 fData.diamond.cy = 0.0f;
170 if (archive->FindFloat("conic_cy", (float*)&fData.conic.cy) < B_OK)
171 fData.conic.cy = 0.0f;
219 ret = into->AddFloat("radial_cy", (float)fData.radial.cy);
227 ret = into->AddFloat("radial_f_cy", (float)fData.radial_focus.cy);
[all...]
/haiku/headers/os/interface/
H A DGradientConic.h24 BGradientConic(float cx, float cy,
29 void SetCenter(float cx, float cy);
H A DGradientDiamond.h23 BGradientDiamond(float cx, float cy);
27 void SetCenter(float cx, float cy);
H A DGradientRadial.h24 BGradientRadial(float cx, float cy,
29 void SetCenter(float cx, float cy);
H A DGradientRadialFocus.h24 BGradientRadialFocus(float cx, float cy,
29 void SetCenter(float cx, float cy);
H A DGradient.h106 float cx, cy, radius; member in struct:BGradient::__anon1::__anon3
109 float cx, cy, fx, fy, radius; member in struct:BGradient::__anon1::__anon4
112 float cx, cy; member in struct:BGradient::__anon1::__anon5
115 float cx, cy, angle; member in struct:BGradient::__anon1::__anon6
/haiku/src/system/libroot/posix/glibc/arch/ppc/
H A Dmul.c60 mp_limb_t cy; local
130 cy = mpn_add_n (prodp, prodp, tp, vsize);
131 mpn_add_1 (prodp + vsize, tp + vsize, vsize, cy);
146 cy = mpn_add_n (prodp, prodp, tspace, vsize);
147 mpn_add_1 (prodp + vsize, tspace + vsize, usize, cy);
H A Dsubmul_1.S41 addc r7,r7,r8 # invert cy (r7 is junk)
53 addc r7,r7,r8 # invert cy (r7 is junk)
H A Dmul_1.S40 addic r5,r5,0 # clear cy with dummy insn
/haiku/src/system/libroot/posix/glibc/arch/x86_64/
H A Dadd_n.S30 xorl %eax, %eax # clear cy
H A Dsub_n.S30 xorl %eax, %eax # clear cy
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dprintf_fp.c196 mp_limb_t cy; local
214 cy = __mpn_mul_1 (frac, frac, fracsize - 1, 10);
215 frac[fracsize - 1] = cy;
240 cy = __mpn_mul_1 (frac, frac, fracsize, 10);
241 if (cy != 0)
242 frac[fracsize++] = cy;
471 cy = __mpn_lshift (frac + (exponent + to_shift) / BITS_PER_MP_LIMB,
475 if (cy)
476 frac[fracsize++] = cy;
516 cy
[all...]
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dstrtod.c271 mp_limb_t cy = __mpn_add_1 (retval, retval, RETURN_LIMB_SIZE, 1); local
273 if (((MANT_DIG % BITS_PER_MP_LIMB) == 0 && cy) ||
330 mp_limb_t cy; local
331 cy = __mpn_mul_1 (n, n, *nsize, MAX_FAC_PER_LIMB);
332 cy += __mpn_add_1 (n, n, *nsize, low);
333 if (cy != 0)
335 n[*nsize] = cy;
385 mp_limb_t cy; local
386 cy = __mpn_mul_1 (n, n, *nsize, start);
387 cy
1061 mp_limb_t cy; variable
1161 mp_limb_t cy; variable
1194 mp_limb_t cy; variable
1225 mp_limb_t cy; variable
1448 mp_limb_t cy, dX, d1, n0, n1; variable
[all...]
/haiku/src/tests/kits/game/ParticlesII/
H A DparticlesII.cpp60 void draw_ellipse(int cx, int cy, int wide, int deep, int color);
326 int32 x, y, cx,cy; local
330 cy = height/2;
346 PRINT(("cx=%d, cy=%d\n", cx,cy));
351 y = s->y = (int32)(cy + (int32)((s->gravity/2)*(s->timeval*s->timeval)*1.94) + ((s->init_velocity - (s->gravity*s->timeval)) * s->timeval));
503 NWindowScreen::draw_ellipse(int cx, int cy, int wide, int deep, int color) argument
509 set_pixel(cx,cy,color);
525 ellipse_points(x, y, cx, cy, color);
536 ellipse_points(x, y, cx, cy, colo
556 fill_ellipse(int cx, int cy, int wide, int deep, int color) argument
[all...]
/haiku/src/tests/kits/game/direct_window_test/
H A DStarWindow.cpp317 uint32 i, j, window_area, cx, cy; local
335 cy = (info->window_bounds.bottom+info->window_bounds.top+1)/2;
341 clipping_bound.top = info->clip_bounds.top - cy;
342 clipping_bound.bottom = info->clip_bounds.bottom - cy;
350 clipping_list[i].top = info->clip_list[i].top - cy;
351 clipping_list[i].bottom = info->clip_list[i].bottom - cy;
386 deltay = cy_old - (cy - info->window_bounds.top);
458 window_offset = row_bytes*(cy-info->window_bounds.top) + (cx-info->window_bounds.left);
515 cy_old = cy - info->window_bounds.top;
/haiku/src/apps/diskusage/
H A DPieView.cpp442 float cy = floorf(b.top + b.Height() / 2.0 + 0.5); local
461 FillEllipse(BPoint(cx, cy), kPieCenterSize, kPieCenterSize);
464 FillArc(BPoint(cx, cy), kPieCenterSize, kPieCenterSize, 0.0,
473 cy + fFontHeight + kSmallVMargin));
489 FillEllipse(BRect(cx - kPieCenterSize, cy - kPieCenterSize,
490 cx + kPieCenterSize + 0.5, cy + kPieCenterSize + 0.5));
500 StrokeEllipse(BPoint(cx, cy), kPieCenterSize + 0.5,
513 DrawString(label.String(), BPoint(cx - labelWidth / 2.0, cy));
533 StrokeArc(BPoint(cx, cy), radius, radius,
540 StrokeArc(BPoint(cx, cy), radiu
572 float cy = b.top + b.Height() / 2.0; local
[all...]
/haiku/src/libs/agg/src/
H A Dagg_bezier_arc.cpp38 void arc_to_bezier(double cx, double cy, double rx, double ry, argument
64 curve[i * 2 + 1] = cy + ry * (px[i] * sn + py[i] * cs);
191 // Calculate (cx, cy) from (cx1, cy1)
196 double cy = sy2 + (sin_a * cx1 + cos_a * cy1); local
239 mtx *= trans_affine_translation(cx, cy);

Completed in 279 milliseconds

12