Home
last modified time | relevance | path

Searched refs:rh (Results 1 – 25 of 97) sorted by relevance

1234

/external/chromium_org/third_party/skia/experimental/Intersection/
DActiveEdge_Test.cpp50 const UnitTest::ActiveEdge& rh) { in operator_less_than() argument
51 if ((rh.fAbove.fY - lh.fAbove.fY > lh.fBelow.fY - rh.fAbove.fY in operator_less_than()
52 && lh.fBelow.fY < rh.fBelow.fY) in operator_less_than()
53 || (lh.fAbove.fY - rh.fAbove.fY < rh.fBelow.fY - lh.fAbove.fY in operator_less_than()
54 && rh.fBelow.fY < lh.fBelow.fY)) { in operator_less_than()
55 const SkPoint& check = rh.fBelow.fY <= lh.fBelow.fY in operator_less_than()
56 && lh.fBelow != rh.fBelow ? rh.fBelow : in operator_less_than()
57 rh.fAbove; in operator_less_than()
61 const SkPoint& check = lh.fBelow.fY <= rh.fBelow.fY in operator_less_than()
62 && lh.fBelow != rh.fBelow ? lh.fBelow : lh.fAbove; in operator_less_than()
[all …]
/external/skia/experimental/Intersection/
DActiveEdge_Test.cpp50 const UnitTest::ActiveEdge& rh) { in operator_less_than() argument
51 if ((rh.fAbove.fY - lh.fAbove.fY > lh.fBelow.fY - rh.fAbove.fY in operator_less_than()
52 && lh.fBelow.fY < rh.fBelow.fY) in operator_less_than()
53 || (lh.fAbove.fY - rh.fAbove.fY < rh.fBelow.fY - lh.fAbove.fY in operator_less_than()
54 && rh.fBelow.fY < lh.fBelow.fY)) { in operator_less_than()
55 const SkPoint& check = rh.fBelow.fY <= lh.fBelow.fY in operator_less_than()
56 && lh.fBelow != rh.fBelow ? rh.fBelow : in operator_less_than()
57 rh.fAbove; in operator_less_than()
61 const SkPoint& check = lh.fBelow.fY <= rh.fBelow.fY in operator_less_than()
62 && lh.fBelow != rh.fBelow ? lh.fBelow : lh.fAbove; in operator_less_than()
[all …]
/external/chromium_org/third_party/skia/src/pathops/
DSkOpAngle.cpp63 const SkOpAngle& rh = *lh.fNext; in after() local
64 SkASSERT(&lh != &rh); in after()
74 rh.fSegment->debugID(), rh.debugID(), rh.fSectorStart, rh.fSectorEnd, in after()
75 rh.fSegment->t(rh.fStart), rh.fSegment->t(rh.fEnd)); in after()
83 if (rh.fComputeSector && !const_cast<SkOpAngle&>(rh).computeSector()) { in after()
94 rh.fSegment->debugID(), rh.debugID(), rh.fSectorStart, rh.fSectorEnd, in after()
95 rh.fSegment->t(rh.fStart), rh.fSegment->t(rh.fEnd)); in after()
97 bool ltrOverlap = (lh.fSectorMask | rh.fSectorMask) & fSectorMask; in after()
98 bool lrOverlap = lh.fSectorMask & rh.fSectorMask; in after()
102 return COMPARE_RESULT(4, (lh.fSectorEnd > rh.fSectorStart) in after()
[all …]
DSkOpAngle.h114 bool oppositePlanes(const SkOpAngle& rh) const;
115 bool orderable(const SkOpAngle& rh) const; // false == this < rh ; true == this > rh
120 bool tangentsDiverge(const SkOpAngle& rh, double s0xt0) const;
/external/skia/src/pathops/
DSkOpAngle.cpp63 const SkOpAngle& rh = *lh.fNext; in after() local
64 SkASSERT(&lh != &rh); in after()
74 rh.fSegment->debugID(), rh.debugID(), rh.fSectorStart, rh.fSectorEnd, in after()
75 rh.fSegment->t(rh.fStart), rh.fSegment->t(rh.fEnd)); in after()
83 if (rh.fComputeSector && !const_cast<SkOpAngle&>(rh).computeSector()) { in after()
94 rh.fSegment->debugID(), rh.debugID(), rh.fSectorStart, rh.fSectorEnd, in after()
95 rh.fSegment->t(rh.fStart), rh.fSegment->t(rh.fEnd)); in after()
97 bool ltrOverlap = (lh.fSectorMask | rh.fSectorMask) & fSectorMask; in after()
98 bool lrOverlap = lh.fSectorMask & rh.fSectorMask; in after()
102 return COMPARE_RESULT(4, (lh.fSectorEnd > rh.fSectorStart) in after()
[all …]
DSkOpAngle.h114 bool oppositePlanes(const SkOpAngle& rh) const;
115 bool orderable(const SkOpAngle& rh) const; // false == this < rh ; true == this > rh
120 bool tangentsDiverge(const SkOpAngle& rh, double s0xt0) const;
/external/skia/include/gpu/
DGrKey.h21 bool operator<(const GrKey& rh) const {
22 return fHash < rh.fHash || (fHash == rh.fHash && this->lt(rh));
24 bool operator==(const GrKey& rh) const {
25 return fHash == rh.fHash && this->eq(rh);
29 virtual bool lt(const GrKey& rh) const = 0;
30 virtual bool eq(const GrKey& rh) const = 0;
/external/qemu/util/
Dhost-utils.c45 LL rl, rm, rn, rh, a0, b0; in mul64() local
54 rh.ll = (uint64_t)a0.l.high * b0.l.high; in mul64()
59 c = c + rm.l.high + rn.l.high + rh.l.low; in mul64()
60 rh.l.low = c; in mul64()
61 rh.l.high += (uint32_t)(c >> 32); in mul64()
64 *phigh = rh.ll; in mul64()
76 uint64_t rh; in muls64() local
78 mul64(plow, &rh, a, b); in muls64()
82 rh -= a; in muls64()
85 rh -= b; in muls64()
[all …]
/external/chromium_org/third_party/skia/include/gpu/
DGrFontScaler.h33 bool operator<(const GrFontDescKey& rh) const {
34 return fHash < rh.fHash || (fHash == rh.fHash && this->lt(rh));
36 bool operator==(const GrFontDescKey& rh) const {
37 return fHash == rh.fHash && this->eq(rh);
42 bool lt(const GrFontDescKey& rh) const;
43 bool eq(const GrFontDescKey& rh) const;
/external/mesa3d/src/gallium/tests/unit/
Du_half_test.c18 uint16_t rh; in main() local
21 rh = util_float_to_half(f.f); in main()
23 if (h != rh && !(util_is_half_nan(h) && util_is_half_nan(rh))) { in main()
24 printf("Roundtrip failed: %x -> %x = %f -> %x\n", h, f.ui, f.f, rh); in main()
/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
Du_half_test.c18 uint16_t rh; in main() local
21 rh = util_float_to_half(f.f); in main()
23 if (h != rh && !(util_is_half_nan(h) && util_is_half_nan(rh))) { in main()
24 printf("Roundtrip failed: %x -> %x = %f -> %x\n", h, f.ui, f.f, rh); in main()
/external/skia/src/gpu/
DSkGrFontScaler.cpp23 virtual bool lt(const GrKey& rh) const;
24 virtual bool eq(const GrKey& rh) const;
52 bool SkGrDescKey::lt(const GrKey& rh) const { in lt()
53 const SkDescriptor* srcDesc = ((const SkGrDescKey*)&rh)->fDesc; in lt()
64 bool SkGrDescKey::eq(const GrKey& rh) const { in eq()
65 const SkDescriptor* srcDesc = ((const SkGrDescKey*)&rh)->fDesc; in eq()
/external/tcpdump/
Dprint-udp.c210 struct rtcphdr *rh = (struct rtcphdr *)hdr; in rtcp_print() local
215 if ((u_char *)(rh + 1) > ep) { in rtcp_print()
219 len = (EXTRACT_16BITS(&rh->rh_len) + 1) * 4; in rtcp_print()
220 flags = EXTRACT_16BITS(&rh->rh_flags); in rtcp_print()
224 sr = (struct rtcp_sr *)(rh + 1); in rtcp_print()
226 if (len != cnt * sizeof(*rr) + sizeof(*sr) + sizeof(*rh)) in rtcp_print()
229 printf(" %u", EXTRACT_32BITS(&rh->rh_ssrc)); in rtcp_print()
243 if (len != cnt * sizeof(*rr) + sizeof(*rh)) in rtcp_print()
245 rr = (struct rtcp_rr *)(rh + 1); in rtcp_print()
247 printf(" %u", EXTRACT_32BITS(&rh->rh_ssrc)); in rtcp_print()
[all …]
/external/chromium_org/third_party/skia/tests/
DPathOpsAngleTest.cpp194 static int After(const SkOpAngle& lh, const SkOpAngle& rh) { in After() argument
195 return lh.after(&rh); in After()
198 static int ConvexHullOverlaps(const SkOpAngle& lh, const SkOpAngle& rh) { in ConvexHullOverlaps() argument
199 return lh.convexHullOverlaps(rh); in ConvexHullOverlaps()
202 static int Orderable(const SkOpAngle& lh, const SkOpAngle& rh) { in Orderable() argument
203 return lh.orderable(rh); in Orderable()
206 static int EndsIntersect(const SkOpAngle& lh, const SkOpAngle& rh) { in EndsIntersect() argument
207 return lh.endsIntersect(rh); in EndsIntersect()
210 static void SetNext(SkOpAngle& lh, SkOpAngle& rh) { in SetNext() argument
211 lh.fNext = &rh; in SetNext()
/external/skia/tests/
DPathOpsAngleTest.cpp194 static int After(const SkOpAngle& lh, const SkOpAngle& rh) { in After() argument
195 return lh.after(&rh); in After()
198 static int ConvexHullOverlaps(const SkOpAngle& lh, const SkOpAngle& rh) { in ConvexHullOverlaps() argument
199 return lh.convexHullOverlaps(rh); in ConvexHullOverlaps()
202 static int Orderable(const SkOpAngle& lh, const SkOpAngle& rh) { in Orderable() argument
203 return lh.orderable(rh); in Orderable()
206 static int EndsIntersect(const SkOpAngle& lh, const SkOpAngle& rh) { in EndsIntersect() argument
207 return lh.endsIntersect(rh); in EndsIntersect()
210 static void SetNext(SkOpAngle& lh, SkOpAngle& rh) { in SetNext() argument
211 lh.fNext = &rh; in SetNext()
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Ddwt.c397 OPJ_INT32 rh; /* height of the resolution level computed */ in opj_dwt_encode_procedure() local
425 rh = l_cur_res->y1 - l_cur_res->y0; in opj_dwt_encode_procedure()
433 dn = rh - rh1; in opj_dwt_encode_procedure()
436 for (k = 0; k < rh; ++k) { in opj_dwt_encode_procedure()
448 for (j = 0; j < rh; j++) { in opj_dwt_encode_procedure()
567 OPJ_UINT32 rh = (OPJ_UINT32)(tr->y1 - tr->y0); /* height of the resolution level computed */ in opj_dwt_decode_tile() local
585 v.sn = (OPJ_INT32)rh; in opj_dwt_decode_tile()
588 rh = (OPJ_UINT32)(tr->y1 - tr->y0); in opj_dwt_decode_tile()
593 for(j = 0; j < rh; ++j) { in opj_dwt_decode_tile()
599 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_tile()
[all …]
/external/clang/test/CodeGen/
Darm-asm-variable.c10 register uint32_t rh asm("r2"); in foo()
17 : [_rl] "=&r" (rl), [_rh] "=&r" (rh) \ in foo()
/external/openssl/crypto/ec/
Decp_smpl.c947 BIGNUM *rh, *tmp, *Z4, *Z6; in ec_GFp_simple_is_on_curve() local
965 rh = BN_CTX_get(ctx); in ec_GFp_simple_is_on_curve()
981 if (!field_sqr(group, rh, &point->X, ctx)) goto err; in ec_GFp_simple_is_on_curve()
994 if (!BN_mod_sub_quick(rh, rh, tmp, p)) goto err; in ec_GFp_simple_is_on_curve()
995 if (!field_mul(group, rh, rh, &point->X, ctx)) goto err; in ec_GFp_simple_is_on_curve()
1000 if (!BN_mod_add_quick(rh, rh, tmp, p)) goto err; in ec_GFp_simple_is_on_curve()
1001 if (!field_mul(group, rh, rh, &point->X, ctx)) goto err; in ec_GFp_simple_is_on_curve()
1006 if (!BN_mod_add_quick(rh, rh, tmp, p)) goto err; in ec_GFp_simple_is_on_curve()
1013 if (!BN_mod_add_quick(rh, rh, &group->a, p)) goto err; in ec_GFp_simple_is_on_curve()
1014 if (!field_mul(group, rh, rh, &point->X, ctx)) goto err; in ec_GFp_simple_is_on_curve()
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/ec/
Dsimple.c953 BIGNUM *rh, *tmp, *Z4, *Z6; in ec_GFp_simple_is_on_curve() local
970 rh = BN_CTX_get(ctx); in ec_GFp_simple_is_on_curve()
988 if (!field_sqr(group, rh, &point->X, ctx)) in ec_GFp_simple_is_on_curve()
1005 if (!BN_mod_sub_quick(rh, rh, tmp, p)) in ec_GFp_simple_is_on_curve()
1007 if (!field_mul(group, rh, rh, &point->X, ctx)) in ec_GFp_simple_is_on_curve()
1012 if (!BN_mod_add_quick(rh, rh, tmp, p)) in ec_GFp_simple_is_on_curve()
1014 if (!field_mul(group, rh, rh, &point->X, ctx)) in ec_GFp_simple_is_on_curve()
1021 if (!BN_mod_add_quick(rh, rh, tmp, p)) in ec_GFp_simple_is_on_curve()
1027 if (!BN_mod_add_quick(rh, rh, &group->a, p)) in ec_GFp_simple_is_on_curve()
1029 if (!field_mul(group, rh, rh, &point->X, ctx)) in ec_GFp_simple_is_on_curve()
[all …]
/external/chromium_org/third_party/skia/src/gpu/
DGrFontScaler.cpp34 bool GrFontDescKey::lt(const GrFontDescKey& rh) const { in lt()
35 const SkDescriptor* srcDesc = (&rh)->fDesc; in lt()
46 bool GrFontDescKey::eq(const GrFontDescKey& rh) const { in eq()
47 const SkDescriptor* srcDesc = (&rh)->fDesc; in eq()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
Darc.c134 find_ellipses(double rh, double rv, double rot, in find_ellipses() argument
145 x0p = (x0*COS + y0*SIN)/rh; in find_ellipses()
147 x1p = (x1*COS + y1*SIN)/rh; in find_ellipses()
155 pcx0 *= rh; pcy0 *= rv; in find_ellipses()
156 pcx1 *= rh; pcy1 *= rv; in find_ellipses()
350 VGfloat rh, VGfloat rv, in arc_init() argument
362 arc->a = rh; in arc_init()
370 arc->is_valid = find_ellipses(rh, rv, rot, x1, y1, x2, y2, in arc_init()
374 rh = arc->a; in arc_init()
377 find_ellipses(rh, rv, rot, x1, y1, x2, y2, in arc_init()
/external/mesa3d/src/gallium/state_trackers/vega/
Darc.c134 find_ellipses(double rh, double rv, double rot, in find_ellipses() argument
145 x0p = (x0*COS + y0*SIN)/rh; in find_ellipses()
147 x1p = (x1*COS + y1*SIN)/rh; in find_ellipses()
155 pcx0 *= rh; pcy0 *= rv; in find_ellipses()
156 pcx1 *= rh; pcy1 *= rv; in find_ellipses()
350 VGfloat rh, VGfloat rv, in arc_init() argument
362 arc->a = rh; in arc_init()
370 arc->is_valid = find_ellipses(rh, rv, rot, x1, y1, x2, y2, in arc_init()
374 rh = arc->a; in arc_init()
377 find_ellipses(rh, rv, rot, x1, y1, x2, y2, in arc_init()
/external/chromium_org/third_party/bintrees/bintrees/
Dctrees.c536 int lh, rh, max; in avl_insert() local
541 rh = height(up[top]->link[!upd[top]]); in avl_insert()
544 if (lh - rh == 0) in avl_insert()
546 if (lh - rh >= 2) { in avl_insert()
564 rh = height(up[top]->link[!upd[top]]); in avl_insert()
565 max = avl_max(lh, rh); in avl_insert()
635 int rh = height(up[top]->link[!upd[top]]); in avl_remove() local
636 int max = avl_max(lh, rh); in avl_remove()
642 if (lh - rh == -1) in avl_remove()
644 if (lh - rh <= -2) { in avl_remove()
/external/qemu/tcg/
Dtcg-op.h2364 static inline void tcg_gen_add2_i32(TCGv_i32 rl, TCGv_i32 rh, TCGv_i32 al, in tcg_gen_add2_i32() argument
2368 tcg_gen_op6_i32(INDEX_op_add2_i32, rl, rh, al, ah, bl, bh); in tcg_gen_add2_i32()
2377 tcg_gen_extr_i64_i32(rl, rh, t0); in tcg_gen_add2_i32()
2383 static inline void tcg_gen_sub2_i32(TCGv_i32 rl, TCGv_i32 rh, TCGv_i32 al, in tcg_gen_sub2_i32() argument
2387 tcg_gen_op6_i32(INDEX_op_sub2_i32, rl, rh, al, ah, bl, bh); in tcg_gen_sub2_i32()
2396 tcg_gen_extr_i64_i32(rl, rh, t0); in tcg_gen_sub2_i32()
2402 static inline void tcg_gen_mulu2_i32(TCGv_i32 rl, TCGv_i32 rh, in tcg_gen_mulu2_i32() argument
2406 tcg_gen_op4_i32(INDEX_op_mulu2_i32, rl, rh, arg1, arg2); in tcg_gen_mulu2_i32()
2412 tcg_gen_op3_i32(INDEX_op_muluh_i32, rh, arg1, arg2); in tcg_gen_mulu2_i32()
2421 tcg_gen_extr_i64_i32(rl, rh, t0); in tcg_gen_mulu2_i32()
[all …]
/external/icu/icu4c/source/data/translit/
DLatin_InterIndic.txt74 $rh=\uE043;
134 $x=[$virama$aa$ai$au$ii$i$uu$u$rrh$rh$lh$e$o$se$ce$so$co];
151 \u0314r\u0325→$rh;
171 $consonants{ r\u0325a→$rh;
172 $consonants{ r\u0325→$rh;
280 $virama r\u0325a→$rh;
281 $virama r\u0325→$rh;

1234