/external/mesa3d/src/gallium/tests/unit/ |
u_half_test.c | 18 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/libvncserver/libvncclient/ |
zlib.c | 36 HandleZlibBPP (rfbClient* client, int rx, int ry, int rw, int rh) 49 if ( client->raw_buffer_size < (( rw * rh ) * ( BPP / 8 ))) { 57 client->raw_buffer_size = (( rw * rh ) * ( BPP / 8 )); 145 CopyRectangle(client, (uint8_t *)client->raw_buffer, rx, ry, rw, rh); local
|
ultra.c | 35 HandleUltraBPP (rfbClient* client, int rx, int ry, int rw, int rh) 40 lzo_uint uncompressedBytes = (( rw * rh ) * ( BPP / 8 )); 50 rfbClientLog("ultra error: rectangle has 0 uncomressed bytes ((%dw * %dh) * (%d / 8))\n", rw, rh, BPP); 95 if ((rw * rh * (BPP / 8)) != uncompressedBytes) 96 rfbClientLog("Ultra decompressed too little (%d < %d)", (rw * rh * (BPP / 8)), uncompressedBytes); 101 CopyRectangle(client, (unsigned char *)client->raw_buffer, rx, ry, rw, rh); local 115 HandleUltraZipBPP (rfbClient* client, int rx, int ry, int rw, int rh)
|
/frameworks/base/core/java/android/os/ |
RegistrantList.java | 112 Handler rh; local 114 rh = r.getHandler(); 119 if (rh == null || rh == h) {
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
DfpDec.java | 257 int rh = lsbthreshold; local 259 final int r = mant[i] + rh; 260 rh = r / RADIX; 264 if (rh != 0) { 266 mant[mant.length-1]=rh;
|
Dfp.java | 1149 int rh = extra \/ RADIX; local 1255 int rh = 0; \/* acts as a carry *\/ local 1369 int rh = 1; local 1462 int rh = 0; \/\/ acts as a carry local 1548 int rh = 0; local 1677 int rh = 0; local 1830 final int rh = r \/ divisor; local 1839 final int rh = r \/ divisor; local [all...] |
/packages/apps/Gallery2/jni/filters/ |
hsv.c | 45 short rv,rs,rh; local 67 rh = 0; 70 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); 71 if (rh >= k2) rh -= k2; 73 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 75 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma)); 79 hsv[hsvOff+2] = rh;
|
/external/boringssl/src/crypto/ec/ |
simple.c | 899 BIGNUM *rh, *tmp, *Z4, *Z6; local 918 rh = BN_CTX_get(ctx); 933 * To test this, we add up the right-hand side in 'rh'. 936 /* rh := X^2 */ 937 if (!field_sqr(group, rh, &point->X, ctx)) { 948 /* rh := (rh + a*Z^4)*X */ 952 !BN_mod_sub_quick(rh, rh, tmp, p) || 953 !field_mul(group, rh, rh, &point->X, ctx)) [all...] |
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/ |
AbbreviatorTest.java | 37 RandomHelper rh = new RandomHelper(FS); field in class:AbbreviatorTest 101 int fixedLen = rh.nextInt(MAX_RANDOM_FIXED_LEN); 103 int averageLen = rh.nextInt(MAX_RANDOM_AVG_LEN) + 3; 106 int maxLen = rh.nextInt(MAX_RANDOM_MAX_LEN) + fixedLen; 111 int targetLen = (maxLen / 2) + rh.nextInt(maxLen / 2) + 1; 116 String filename = rh.buildRandomFileName(averageLen, maxLen);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
FaceView.java | 156 int rw, rh; local 158 rh = (int) mPreviewArea.height(); 160 if (((rh > rw) && ((mDisplayOrientation == 0) || (mDisplayOrientation == 180))) 161 || ((rw > rh) && ((mDisplayOrientation == 90) || (mDisplayOrientation == 270)))) { 163 rw = rh; 164 rh = temp; 166 CameraUtil.prepareMatrix(mMatrix, mMirror, mDisplayOrientation, rw, rh);
|
/external/speex/libspeex/ |
sb_celp.c | 556 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+.01) [all...] |
/external/tcpdump/ |
print-udp.c | 199 struct rtcphdr *rh = (struct rtcphdr *)hdr; local 204 if ((u_char *)(rh + 1) > ep) { 208 len = (EXTRACT_16BITS(&rh->rh_len) + 1) * 4; 209 flags = EXTRACT_16BITS(&rh->rh_flags); 213 sr = (struct rtcp_sr *)(rh + 1); 215 if (len != cnt * sizeof(*rr) + sizeof(*sr) + sizeof(*rh)) 218 ND_PRINT((ndo, " %u", EXTRACT_32BITS(&rh->rh_ssrc))); 232 if (len != cnt * sizeof(*rr) + sizeof(*rh)) 234 rr = (struct rtcp_rr *)(rh + 1); 236 ND_PRINT((ndo, " %u", EXTRACT_32BITS(&rh->rh_ssrc))) [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
results_holder.c | 58 static struct results_t rh; variable in typeref:struct:results_t 67 rh.status |= INV_6_AXIS_QUAT_SET; 68 memcpy(&rh.gam_quat, quat, sizeof(rh.gam_quat)); 69 rh.gam_timestamp = timestamp; 79 // rh.status |= INV_6_AXIS_QUAT_SET; 80 memcpy(&rh.accel_quat, quat, sizeof(rh.accel_quat)); 81 rh.geomag_timestamp = timestamp; 90 rh.status |= INV_COMPASS_CORRECTION_SET [all...] |
/packages/services/Car/vehicle_network_service/ |
VehicleNetworkService.h | 240 sp<HalClient>& rh = * (sp<HalClient> * )(rhs); local 241 return compare_type(lh.get(), rh.get());
|
/system/core/libpixelflinger/include/pixelflinger/ |
format.h | 111 uint8_t rh; // red high bit position + 1 member in struct:__anon73240::__anon73242::__anon73243
|
/external/javassist/src/main/javassist/compiler/ |
CodeGen.java | 656 ReturnHook rh = new ReturnHook(this) { local 672 rh.doit(bc, 0); // the 2nd arg is ignored. 680 rh.doit(bc, 0); // the 2nd arg is ignored. 688 rh.remove(this); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fStencilTexturingTests.cpp | 102 const int rh = rects[rectNdx].w(); local 107 const float y1 = float((ry+rh)*2)/h - 1.0f; [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
results_holder.c | 59 static struct results_t rh;
variable in typeref:struct:results_t 69 rh.status |= INV_6_AXIS_QUAT_SET;
70 memcpy(&rh.gam_quat, quat, sizeof(rh.gam_quat));
71 rh.gam_timestamp = timestamp;
81 memcpy(&rh.nav_quat, quat, sizeof(rh.nav_quat));
82 rh.nav_timestamp = timestamp;
92 memcpy(&rh.geomag_quat, quat, sizeof(rh.geomag_quat)); [all...] |
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
ReentrantReadWriteLock.java | 394 HoldCounter rh = cachedHoldCounter; local 395 if (rh == null || rh.tid != getThreadId(current)) 396 rh = readHolds.get(); 397 int count = rh.count; 403 --rh.count; 452 HoldCounter rh = cachedHoldCounter; local 453 if (rh == null || rh.tid != getThreadId(current)) 454 cachedHoldCounter = rh = readHolds.get() 475 HoldCounter rh = null; local 566 HoldCounter rh = cachedHoldCounter; local [all...] |
/ndk/tests/build/b9193874-neon/jni/ |
b9193874-neon.c | 269 int32x4_t rh = vaddl_s16(vget_high_s16(yy), vget_high_s16(vr)); local 275 rh = vmulq_lane_s32(rh, cf32, 0); 280 y = vqmovun_s16(vcombine_s16(vrshrn_n_s32(rl, 16), vrshrn_n_s32(rh, 16))); 317 int32x4_t rh = vaddl_s16(vget_high_s16(yy), vget_high_s16(vr)); local 323 rh = vmulq_lane_s32(rh, cf32, 0); 328 y = vqmovun_s16(vcombine_s16(vrshrn_n_s32(rl, 16), vrshrn_n_s32(rh, 16)));
|
/external/libvncserver/libvncserver/ |
tight.c | 620 int rw, rh; local 653 rh = (dy + subrectMaxHeight < h) ? subrectMaxHeight : h - dy; 654 if (!SendSubrect(cl, x + dx, y + dy, rw, rh)) [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
path.c | 578 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 [all...] |
/external/pdfium/third_party/lcms2-2.6/src/ |
cmspcs.c | 491 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/pdfium/third_party/libopenjpeg20/ |
dwt.c | 402 OPJ_INT32 rh; /* height of the resolution level computed */ local 432 rh = l_cur_res->y1 - l_cur_res->y0; 440 dn = rh - rh1; 443 for (k = 0; k < rh; ++k) { 455 for (j = 0; j < rh; j++) { 574 OPJ_UINT32 rh = (OPJ_UINT32)(tr->y1 - tr->y0); /* height of the resolution level computed */ local 594 v.sn = (OPJ_INT32)rh; 597 rh = (OPJ_UINT32)(tr->y1 - tr->y0); 602 for(j = 0; j < rh; ++j) { 608 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn) 849 OPJ_UINT32 rh = (OPJ_UINT32)(res->y1 - res->y0); \/* height of the resolution level computed *\/ local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageStraighten.java | 194 double rh = outRect.height(); local 195 double h1 = rh * rh / (rw * sina + rh * cosa); 196 double h2 = rh * rw / (rw * cosa + rh * sina); 198 double ww = hh * rw / rh; 200 float top = (float) ((rh - hh) * 0.5f);
|