Searched defs:rh (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
H A Du_half_test.c18 uint16_t rh; local
21 rh = util_float_to_half(f.f);
23 if (h != rh && !(util_is_half_nan(h) && util_is_half_nan(rh))) {
24 printf("Roundtrip failed: %x -> %x = %f -> %x\n", h, f.ui, f.f, rh);
/external/mesa3d/src/gallium/tests/unit/
H A Du_half_test.c18 uint16_t rh; local
21 rh = util_float_to_half(f.f);
23 if (h != rh && !(util_is_half_nan(h) && util_is_half_nan(rh))) {
24 printf("Roundtrip failed: %x -> %x = %f -> %x\n", h, f.ui, f.f, rh);
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DActiveEdge_Test.cpp50 const UnitTest::ActiveEdge& rh) {
51 if ((rh.fAbove.fY - lh.fAbove.fY > lh.fBelow.fY - rh.fAbove.fY
52 && lh.fBelow.fY < rh.fBelow.fY)
53 || (lh.fAbove.fY - rh.fAbove.fY < rh.fBelow.fY - lh.fAbove.fY
54 && rh.fBelow.fY < lh.fBelow.fY)) {
55 const SkPoint& check = rh.fBelow.fY <= lh.fBelow.fY
56 && lh.fBelow != rh.fBelow ? rh
49 operator_less_than(const UnitTest::ActiveEdge& lh, const UnitTest::ActiveEdge& rh) argument
[all...]
/external/skia/experimental/Intersection/
H A DActiveEdge_Test.cpp50 const UnitTest::ActiveEdge& rh) {
51 if ((rh.fAbove.fY - lh.fAbove.fY > lh.fBelow.fY - rh.fAbove.fY
52 && lh.fBelow.fY < rh.fBelow.fY)
53 || (lh.fAbove.fY - rh.fAbove.fY < rh.fBelow.fY - lh.fAbove.fY
54 && rh.fBelow.fY < lh.fBelow.fY)) {
55 const SkPoint& check = rh.fBelow.fY <= lh.fBelow.fY
56 && lh.fBelow != rh.fBelow ? rh
49 operator_less_than(const UnitTest::ActiveEdge& lh, const UnitTest::ActiveEdge& rh) argument
[all...]
/external/qemu/util/
H A Dhost-utils.c45 LL rl, rm, rn, rh, a0, b0; local
54 rh.ll = (uint64_t)a0.l.high * b0.l.high;
59 c = c + rm.l.high + rn.l.high + rh.l.low;
60 rh.l.low = c;
61 rh.l.high += (uint32_t)(c >> 32);
64 *phigh = rh.ll;
76 uint64_t rh; local
78 mul64(plow, &rh, a, b);
82 rh -= a;
85 rh
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/ec/
H A Decp_smpl.c946 BIGNUM *rh, *tmp, *Z4, *Z6; local
964 rh = BN_CTX_get(ctx);
976 * To test this, we add up the right-hand side in 'rh'.
979 /* rh := X^2 */
980 if (!field_sqr(group, rh, &point->X, ctx)) goto err;
988 /* rh := (rh + a*Z^4)*X */
993 if (!BN_mod_sub_quick(rh, rh, tmp, p)) goto err;
994 if (!field_mul(group, rh, r
[all...]
/external/openssl/crypto/ec/
H A Decp_smpl.c946 BIGNUM *rh, *tmp, *Z4, *Z6; local
964 rh = BN_CTX_get(ctx);
976 * To test this, we add up the right-hand side in 'rh'.
979 /* rh := X^2 */
980 if (!field_sqr(group, rh, &point->X, ctx)) goto err;
988 /* rh := (rh + a*Z^4)*X */
993 if (!BN_mod_sub_quick(rh, rh, tmp, p)) goto err;
994 if (!field_mul(group, rh, r
[all...]
/external/qemu/tcg/
H A Doptimize.c1010 TCGArg rl, rh; local
1022 rh = args[1];
1026 tcg_opt_gen_movi(&gen_args[2], rh, (uint32_t)(a >> 32));
1039 TCGArg rl, rh; local
1045 rh = args[1];
1049 tcg_opt_gen_movi(&gen_args[2], rh, (uint32_t)(r >> 32));
/external/speex/libspeex/
H A Dsb_celp.c556 spx_word32_t rl, rh; /*Q13*/ local
581 rh = LPC_SCALING;
584 rh += st->interp_qlpc[i+1] - st->interp_qlpc[i];
590 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767));
592 filter_ratio=(rl+.01)/(rh+.01);
987 spx_word32_t rl=0,rh=0; local
1011 rh = LPC_SCALING;
1014 rh += ak[i+1] - ak[i];
1020 filter_ratio=EXTRACT16(SATURATE(PDIV32(SHL32(ADD32(rl,82),7),ADD32(82,rh)),32767));
1022 filter_ratio=(rl+.01)/(rh
[all...]
/external/tcpdump/
H A Dprint-udp.c210 struct rtcphdr *rh = (struct rtcphdr *)hdr; local
215 if ((u_char *)(rh + 1) > ep) {
219 len = (EXTRACT_16BITS(&rh->rh_len) + 1) * 4;
220 flags = EXTRACT_16BITS(&rh->rh_flags);
224 sr = (struct rtcp_sr *)(rh + 1);
226 if (len != cnt * sizeof(*rr) + sizeof(*sr) + sizeof(*rh))
229 printf(" %u", EXTRACT_32BITS(&rh->rh_ssrc));
243 if (len != cnt * sizeof(*rr) + sizeof(*rh))
245 rr = (struct rtcp_rr *)(rh + 1);
247 printf(" %u", EXTRACT_32BITS(&rh
[all...]
/external/chromium_org/third_party/bintrees/bintrees/
H A Dctrees.c536 int lh, rh, max; local
541 rh = height(up[top]->link[!upd[top]]);
544 if (lh - rh == 0)
546 if (lh - rh >= 2) {
564 rh = height(up[top]->link[!upd[top]]);
565 max = avl_max(lh, rh);
635 int rh = height(up[top]->link[!upd[top]]); local
636 int max = avl_max(lh, rh);
642 if (lh - rh == -1)
644 if (lh - rh <
[all...]
/external/chromium_org/third_party/skia/tests/
H A DPathOpsAngleIdeas.cpp21 static int ConvexHullOverlaps(const SkOpAngle& lh, const SkOpAngle& rh) { argument
22 return lh.convexHullOverlaps(rh);
25 static int EndsIntersect(const SkOpAngle& lh, const SkOpAngle& rh) { argument
26 return lh.endsIntersect(rh);
/external/deqp/modules/gles31/functional/
H A Des31fStencilTexturingTests.cpp102 const int rh = rects[rectNdx].w(); local
107 const float y1 = float((ry+rh)*2)/h - 1.0f;
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11modes.c1096 int rw, rh; local
1099 get_real_resolution(this, &rw, &rh);
1101 if (rw != saved_res.width || rh != saved_res.height) {
/external/skia/tests/
H A DPathOpsAngleIdeas.cpp21 static int ConvexHullOverlaps(const SkOpAngle& lh, const SkOpAngle& rh) { argument
22 return lh.convexHullOverlaps(rh);
25 static int EndsIntersect(const SkOpAngle& lh, const SkOpAngle& rh) { argument
26 return lh.endsIntersect(rh);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Darc.c128 /* Given: Ellipse parameters rh, rv, rot (in degrees),
134 find_ellipses(double rh, double rv, double rot, argument
145 x0p = (x0*COS + y0*SIN)/rh;
147 x1p = (x1*COS + y1*SIN)/rh;
155 pcx0 *= rh; pcy0 *= rv;
156 pcx1 *= rh; pcy1 *= rv;
350 VGfloat rh, VGfloat rv,
362 arc->a = rh;
370 arc->is_valid = find_ellipses(rh, rv, rot, x1, y1, x2, y2,
374 rh
346 arc_init(struct arc *arc, VGPathSegment type, VGfloat x1, VGfloat y1, VGfloat x2, VGfloat y2, VGfloat rh, VGfloat rv, VGfloat rot) argument
[all...]
H A Dpath.c578 VGfloat rh, rv, rot; local
584 rh = data[0];
592 x0, y0, x1, y1, rh, rv, rot);
595 rh, rv, rot);
1494 VGfloat rh, rv, rot; local
1500 rh = data[0];
1515 rh, rv, rot);
/external/chromium_org/third_party/skia/src/core/
H A DSkStroke.cpp697 SkScalar rh = origRect.height(); local
698 if ((rw < 0) ^ (rh < 0)) {
705 rh = rect.height();
729 if (fWidth < SkMinScalar(rw, rh) && !fDoFill) {
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpAngle.cpp60 // return true if lh < this < rh
63 const SkOpAngle& rh = *lh.fNext; local
64 SkASSERT(&lh != &rh);
74 rh.fSegment->debugID(), rh.debugID(), rh.fSectorStart, rh.fSectorEnd,
75 rh.fSegment->t(rh.fStart), rh
1070 tangentsDiverge(const SkOpAngle& rh, double s0xt0) const argument
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Darc.c128 /* Given: Ellipse parameters rh, rv, rot (in degrees),
134 find_ellipses(double rh, double rv, double rot, argument
145 x0p = (x0*COS + y0*SIN)/rh;
147 x1p = (x1*COS + y1*SIN)/rh;
155 pcx0 *= rh; pcy0 *= rv;
156 pcx1 *= rh; pcy1 *= rv;
350 VGfloat rh, VGfloat rv,
362 arc->a = rh;
370 arc->is_valid = find_ellipses(rh, rv, rot, x1, y1, x2, y2,
374 rh
346 arc_init(struct arc *arc, VGPathSegment type, VGfloat x1, VGfloat y1, VGfloat x2, VGfloat y2, VGfloat rh, VGfloat rv, VGfloat rot) argument
[all...]
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Ddwt.c397 OPJ_INT32 rh; /* height of the resolution level computed */ local
425 rh = l_cur_res->y1 - l_cur_res->y0;
433 dn = rh - rh1;
436 for (k = 0; k < rh; ++k) {
448 for (j = 0; j < rh; j++) {
567 OPJ_UINT32 rh = (OPJ_UINT32)(tr->y1 - tr->y0); /* height of the resolution level computed */ local
585 v.sn = (OPJ_INT32)rh;
588 rh = (OPJ_UINT32)(tr->y1 - tr->y0);
593 for(j = 0; j < rh; ++j) {
599 v.dn = (OPJ_INT32)(rh
840 OPJ_UINT32 rh = (OPJ_UINT32)(res->y1 - res->y0); /* height of the resolution level computed */ local
[all...]
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
H A Dcmspcs.c491 deltaC,deltah,dc,t,g,dh,rh,rc,rt,bfd; local
523 rh = -0.260*cos((Aveh-308)/(180/M_PI))-
530 rt = rh*rc;
/external/qemu/include/
H A Dqemu-common.h386 uint64_t rl, rh; local
390 rh = (uint64_t)u.l.high * (uint64_t)b;
391 rh += (rl >> 32);
392 res.l.high = rh / c;
393 res.l.low = (((rh % c) << 32) + (rl & 0xffffffff)) / c;
/external/skia/src/core/
H A DSkStroke.cpp697 SkScalar rh = origRect.height(); local
698 if ((rw < 0) ^ (rh < 0)) {
705 rh = rect.height();
729 if (fWidth < SkMinScalar(rw, rh) && !fDoFill) {
/external/skia/src/pathops/
H A DSkOpAngle.cpp60 // return true if lh < this < rh
63 const SkOpAngle& rh = *lh.fNext; local
64 SkASSERT(&lh != &rh);
74 rh.fSegment->debugID(), rh.debugID(), rh.fSectorStart, rh.fSectorEnd,
75 rh.fSegment->t(rh.fStart), rh
1070 tangentsDiverge(const SkOpAngle& rh, double s0xt0) const argument
[all...]

Completed in 755 milliseconds

12