Home
last modified time | relevance | path

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

12345

/external/skia/src/pathops/
DSkOpAngle.cpp63 SkOpAngle* rh = lh->fNext; in after() local
64 SkASSERT(lh != rh); in after()
73 rh->segment()->debugID(), rh->debugID(), rh->fSectorStart, rh->fSectorEnd, in after()
74 rh->fStart->t(), rh->fEnd->t()); in after()
75 SkString bugPart[3] = { lh->debugPart(), this->debugPart(), rh->debugPart() }; in after()
83 if (rh->fComputeSector && !rh->computeSector()) { in after()
93 rh->segment()->debugID(), rh->debugID(), rh->fSectorStart, rh->fSectorEnd, in after()
94 rh->fStart->t(), rh->fEnd->t()); in after()
96 bool ltrOverlap = (lh->fSectorMask | rh->fSectorMask) & fSectorMask; in after()
97 bool lrOverlap = lh->fSectorMask & rh->fSectorMask; in after()
[all …]
DSkOpAngle.h72 bool endToSide(const SkOpAngle* rh, bool* inside) const;
81 bool midToSide(const SkOpAngle* rh, bool* inside) const;
87 bool oppositePlanes(const SkOpAngle* rh) const;
88 bool orderable(SkOpAngle* rh); // false == this < rh ; true == this > rh
120 bool tangentsDiverge(const SkOpAngle* rh, double s0xt0) const;
/external/autotest/server/samples/
Ddeb_kernel.srv1 rh= hosts.create_host("192.168.1.1")
3 print rh.run("uname -a").stdout
13 dir= kernel.extract(rh)
14 print rh.run('ls "%s"' % (sh_escape(dir),))
18 kernel.install(rh)
20 rh.reboot()
21 rh.wait_up()
23 print rh.run("uname -a").stdout
Dboottool.srv1 rh= hosts.create_host("192.168.1.1")
3 print rh.bootloader.get_titles()
4 default= rh.bootloader.get_default()
6 print rh.bootloader.get_entry(default)
/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/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfp.java1149 int rh = extra / RADIX; in complement() local
1150 extra = extra - rh * RADIX; in complement()
1152 final int r = mant[i] + rh; in complement()
1153 rh = r / RADIX; in complement()
1154 mant[i] = r - rh * RADIX; in complement()
1255 int rh = 0; /* acts as a carry */ in add() local
1257 final int r = a.mant[i]+b.mant[i]+rh; in add()
1258 rh = r / RADIX; in add()
1259 result.mant[i] = r - rh * RADIX; in add()
1267 if (rh != 0 && (asign == bsign)) { in add()
[all …]
DDfpDec.java257 int rh = lsbthreshold; in round() local
259 final int r = mant[i] + rh; in round()
260 rh = r / RADIX; in round()
264 if (rh != 0) { in round()
266 mant[mant.length-1]=rh; in round()
/external/libvncserver/libvncclient/
Dultra.c35 HandleUltraBPP (rfbClient* client, int rx, int ry, int rw, int rh) in HandleUltraBPP() argument
40 lzo_uint uncompressedBytes = (( rw * rh ) * ( BPP / 8 )); in HandleUltraBPP()
50 …ientLog("ultra error: rectangle has 0 uncomressed bytes ((%dw * %dh) * (%d / 8))\n", rw, rh, BPP); in HandleUltraBPP()
95 if ((rw * rh * (BPP / 8)) != uncompressedBytes) in HandleUltraBPP()
96 … rfbClientLog("Ultra decompressed too little (%d < %d)", (rw * rh * (BPP / 8)), uncompressedBytes); in HandleUltraBPP()
101 CopyRectangle(client, (unsigned char *)client->raw_buffer, rx, ry, rw, rh); in HandleUltraBPP()
115 HandleUltraZipBPP (rfbClient* client, int rx, int ry, int rw, int rh) in HandleUltraZipBPP() argument
Dtight.c78 static int InitFilterCopyBPP (rfbClient* client, int rw, int rh);
79 static int InitFilterPaletteBPP (rfbClient* client, int rw, int rh);
80 static int InitFilterGradientBPP (rfbClient* client, int rw, int rh);
92 HandleTightBPP (rfbClient* client, int rx, int ry, int rw, int rh) in HandleTightBPP() argument
134 FillRectangle(client, rx, ry, rw, rh, fill_colour); in HandleTightBPP()
146 return DecompressJpegRectBPP(client, rx, ry, rw, rh); in HandleTightBPP()
169 bitsPixel = InitFilterCopyBPP(client, rw, rh); in HandleTightBPP()
173 bitsPixel = InitFilterPaletteBPP(client, rw, rh); in HandleTightBPP()
177 bitsPixel = InitFilterGradientBPP(client, rw, rh); in HandleTightBPP()
185 bitsPixel = InitFilterCopyBPP(client, rw, rh); in HandleTightBPP()
[all …]
Dzlib.c36 HandleZlibBPP (rfbClient* client, int rx, int ry, int rw, int rh) in HandleZlibBPP() argument
49 if ( client->raw_buffer_size < (( rw * rh ) * ( BPP / 8 ))) { in HandleZlibBPP()
57 client->raw_buffer_size = (( rw * rh ) * ( BPP / 8 )); in HandleZlibBPP()
145 CopyRectangle(client, (uint8_t *)client->raw_buffer, rx, ry, rw, rh); in HandleZlibBPP()
Dhextile.c33 HandleHextileBPP (rfbClient* client, int rx, int ry, int rw, int rh) in HandleHextileBPP() argument
43 for (y = ry; y < ry+rh; y += 16) { in HandleHextileBPP()
48 if (ry+rh - y < 16) in HandleHextileBPP()
49 h = ry+rh - y; in HandleHextileBPP()
Drfbproto.c235 static rfbBool HandleRRE8(rfbClient* client, int rx, int ry, int rw, int rh);
236 static rfbBool HandleRRE16(rfbClient* client, int rx, int ry, int rw, int rh);
237 static rfbBool HandleRRE32(rfbClient* client, int rx, int ry, int rw, int rh);
238 static rfbBool HandleCoRRE8(rfbClient* client, int rx, int ry, int rw, int rh);
239 static rfbBool HandleCoRRE16(rfbClient* client, int rx, int ry, int rw, int rh);
240 static rfbBool HandleCoRRE32(rfbClient* client, int rx, int ry, int rw, int rh);
241 static rfbBool HandleHextile8(rfbClient* client, int rx, int ry, int rw, int rh);
242 static rfbBool HandleHextile16(rfbClient* client, int rx, int ry, int rw, int rh);
243 static rfbBool HandleHextile32(rfbClient* client, int rx, int ry, int rw, int rh);
244 static rfbBool HandleUltra8(rfbClient* client, int rx, int ry, int rw, int rh);
[all …]
Dcorre.c33 HandleCoRREBPP (rfbClient* client, int rx, int ry, int rw, int rh) in HandleCoRREBPP() argument
49 FillRectangle(client, rx, ry, rw, rh, pix); in HandleCoRREBPP()
Drre.c33 HandleRREBPP (rfbClient* client, int rx, int ry, int rw, int rh) in HandleRREBPP() argument
48 FillRectangle(client, rx, ry, rw, rh, pix); in HandleRREBPP()
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
DAbbreviatorTest.java37 RandomHelper rh = new RandomHelper(FS); field in AbbreviatorTest
101 int fixedLen = rh.nextInt(MAX_RANDOM_FIXED_LEN); in testTheories()
103 int averageLen = rh.nextInt(MAX_RANDOM_AVG_LEN) + 3; in testTheories()
106 int maxLen = rh.nextInt(MAX_RANDOM_MAX_LEN) + fixedLen; in testTheories()
111 int targetLen = (maxLen / 2) + rh.nextInt(maxLen / 2) + 1; in testTheories()
116 String filename = rh.buildRandomFileName(averageLen, maxLen); in testTheories()
/external/skia/src/gpu/text/
DGrFontScaler.h29 bool operator==(const GrFontDescKey& rh) const {
30 return fHash == rh.fHash && fDesc.getDesc()->equals(*rh.fDesc.getDesc());
/external/libyuv/files/unit_test/
Dcolor_test.cc450 static void PrintHistogram(int rh[256], int gh[256], int bh[256]) { in PrintHistogram()
454 if (rh[i] || gh[i] || bh[i]) { in PrintHistogram()
460 if (rh[i] || gh[i] || bh[i]) { in PrintHistogram()
461 printf("\t%8d", rh[i]); in PrintHistogram()
466 if (rh[i] || gh[i] || bh[i]) { in PrintHistogram()
472 if (rh[i] || gh[i] || bh[i]) { in PrintHistogram()
480 int rh[256] = { 0, }, gh[256] = { 0, }, bh[256] = { 0, }; in TEST_F() local
491 ++rh[r1 - r0 + 128]; in TEST_F()
497 PrintHistogram(rh, gh, bh); in TEST_F()
501 int rh[256] = { 0, }, gh[256] = { 0, }, bh[256] = { 0, }; in TEST_F() local
[all …]
/external/skia/tests/
DPathOpsAngleTest.cpp193 static int After(SkOpAngle& lh, SkOpAngle& rh) { in After() argument
194 return lh.after(&rh); in After()
197 static int ConvexHullOverlaps(SkOpAngle& lh, SkOpAngle& rh) { in ConvexHullOverlaps() argument
198 return lh.convexHullOverlaps(&rh); in ConvexHullOverlaps()
201 static int Orderable(SkOpAngle& lh, SkOpAngle& rh) { in Orderable() argument
202 return lh.orderable(&rh); in Orderable()
205 static int EndsIntersect(SkOpAngle& lh, SkOpAngle& rh) { in EndsIntersect() argument
206 return lh.endsIntersect(&rh); in EndsIntersect()
209 static void SetNext(SkOpAngle& lh, SkOpAngle& rh) { in SetNext() argument
210 lh.fNext = &rh; in SetNext()
/external/boringssl/src/crypto/ec/
Dsimple.c899 BIGNUM *rh, *tmp, *Z4, *Z6; in ec_GFp_simple_is_on_curve() local
918 rh = BN_CTX_get(ctx); in ec_GFp_simple_is_on_curve()
937 if (!field_sqr(group, rh, &point->X, ctx)) { in ec_GFp_simple_is_on_curve()
952 !BN_mod_sub_quick(rh, rh, tmp, p) || in ec_GFp_simple_is_on_curve()
953 !field_mul(group, rh, rh, &point->X, ctx)) { in ec_GFp_simple_is_on_curve()
958 !BN_mod_add_quick(rh, rh, tmp, p) || in ec_GFp_simple_is_on_curve()
959 !field_mul(group, rh, rh, &point->X, ctx)) { in ec_GFp_simple_is_on_curve()
966 !BN_mod_add_quick(rh, rh, tmp, p)) { in ec_GFp_simple_is_on_curve()
973 if (!BN_mod_add_quick(rh, rh, &group->a, p) || in ec_GFp_simple_is_on_curve()
974 !field_mul(group, rh, rh, &point->X, ctx)) { in ec_GFp_simple_is_on_curve()
[all …]
/external/pdfium/third_party/libopenjpeg20/
Ddwt.c402 OPJ_INT32 rh; /* height of the resolution level computed */ in opj_dwt_encode_procedure() local
432 rh = l_cur_res->y1 - l_cur_res->y0; in opj_dwt_encode_procedure()
440 dn = rh - rh1; in opj_dwt_encode_procedure()
443 for (k = 0; k < rh; ++k) { in opj_dwt_encode_procedure()
455 for (j = 0; j < rh; j++) { in opj_dwt_encode_procedure()
574 OPJ_UINT32 rh = (OPJ_UINT32)(tr->y1 - tr->y0); /* height of the resolution level computed */ in opj_dwt_decode_tile() local
594 v.sn = (OPJ_INT32)rh; in opj_dwt_decode_tile()
597 rh = (OPJ_UINT32)(tr->y1 - tr->y0); in opj_dwt_decode_tile()
602 for(j = 0; j < rh; ++j) { in opj_dwt_decode_tile()
608 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_tile()
[all …]
/external/tcpdump/
Dprint-udp.c199 struct rtcphdr *rh = (struct rtcphdr *)hdr; in rtcp_print() local
204 if ((u_char *)(rh + 1) > ep) { in rtcp_print()
208 len = (EXTRACT_16BITS(&rh->rh_len) + 1) * 4; in rtcp_print()
209 flags = EXTRACT_16BITS(&rh->rh_flags); in rtcp_print()
213 sr = (struct rtcp_sr *)(rh + 1); in rtcp_print()
215 if (len != cnt * sizeof(*rr) + sizeof(*sr) + sizeof(*rh)) in rtcp_print()
218 ND_PRINT((ndo, " %u", EXTRACT_32BITS(&rh->rh_ssrc))); in rtcp_print()
232 if (len != cnt * sizeof(*rr) + sizeof(*rh)) in rtcp_print()
234 rr = (struct rtcp_rr *)(rh + 1); in rtcp_print()
236 ND_PRINT((ndo, " %u", EXTRACT_32BITS(&rh->rh_ssrc))); in rtcp_print()
[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/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/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;
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
Dtest_connection.py75 rh = {'response-content-disposition': 'attachment; filename="foo.txt"'}
76 url = k.generate_url(60, response_headers=rh)
80 rh = {'response-content-disposition': 'attachment; filename="foo&z%20ar&ar&zar&bar.txt"'}
81 url = k.generate_url(60, response_headers=rh, force_http=True)

12345