/external/quake/quake/src/QW/client/ |
r_aclipa.s | 76 fdivp %st(0),%st(1) // scale 79 fildl fv_v+0(%esi) // fv0v0 | scale 80 fildl fv_v+0(%edi) // fv1v0 | fv0v0 | scale 81 fildl fv_v+4(%esi) // fv0v1 | fv1v0 | fv0v0 | scale 82 fildl fv_v+4(%edi) // fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale 83 fildl fv_v+8(%esi) // fv0v2 | fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale 85 // scale 87 // scale 89 // fv1v2 | scale 91 // fv1v2 | scale [all...] |
r_aclip.c | 49 float scale; local 57 scale = (ALIAS_Z_CLIP_PLANE - pav0->fv[2]) / 60 avout.fv[0] = pav0->fv[0] + (pav1->fv[0] - pav0->fv[0]) * scale; 61 avout.fv[1] = pav0->fv[1] + (pav1->fv[1] - pav0->fv[1]) * scale; 64 out->v[2] = pfv0->v[2] + (pfv1->v[2] - pfv0->v[2]) * scale; 65 out->v[3] = pfv0->v[3] + (pfv1->v[3] - pfv0->v[3]) * scale; 66 out->v[4] = pfv0->v[4] + (pfv1->v[4] - pfv0->v[4]) * scale; 70 scale = (ALIAS_Z_CLIP_PLANE - pav1->fv[2]) / 73 avout.fv[0] = pav1->fv[0] + (pav0->fv[0] - pav1->fv[0]) * scale; 74 avout.fv[1] = pav1->fv[1] + (pav0->fv[1] - pav1->fv[1]) * scale; 99 float scale; local 122 float scale; local 144 float scale; local 167 float scale; local [all...] |
/external/quake/quake/src/WinQuake/ |
r_aclipa.s | 76 fdivp %st(0),%st(1) // scale 79 fildl fv_v+0(%esi) // fv0v0 | scale 80 fildl fv_v+0(%edi) // fv1v0 | fv0v0 | scale 81 fildl fv_v+4(%esi) // fv0v1 | fv1v0 | fv0v0 | scale 82 fildl fv_v+4(%edi) // fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale 83 fildl fv_v+8(%esi) // fv0v2 | fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale 85 // scale 87 // scale 89 // fv1v2 | scale 91 // fv1v2 | scale [all...] |
r_aclip.cpp | 49 float scale;
local 57 scale = (ALIAS_Z_CLIP_PLANE - pav0->fv[2]) /
60 avout.fv[0] = pav0->fv[0] + (pav1->fv[0] - pav0->fv[0]) * scale;
61 avout.fv[1] = pav0->fv[1] + (pav1->fv[1] - pav0->fv[1]) * scale;
64 out->v[2] = pfv0->v[2] + (pfv1->v[2] - pfv0->v[2]) * scale;
65 out->v[3] = pfv0->v[3] + (pfv1->v[3] - pfv0->v[3]) * scale;
66 out->v[4] = pfv0->v[4] + (pfv1->v[4] - pfv0->v[4]) * scale;
70 scale = (ALIAS_Z_CLIP_PLANE - pav1->fv[2]) /
73 avout.fv[0] = pav1->fv[0] + (pav0->fv[0] - pav1->fv[0]) * scale;
74 avout.fv[1] = pav1->fv[1] + (pav0->fv[1] - pav1->fv[1]) * scale;
99 float scale; local 122 float scale; local 144 float scale; local 167 float scale; local [all...] |
/external/skia/include/core/ |
SkUnPreMultiply.h | 27 typedef uint32_t Scale; 30 static const Scale* GetScaleTable() { 34 static Scale GetScale(U8CPU alpha) { 41 const Scale* table = SkUnPreMultiply::GetScaleTable(); 45 SkUnPreMultiply::Scale scale = table[a]; 47 red = SkUnPreMultiply::ApplyScale(scale, red); 52 static U8CPU ApplyScale(Scale scale, U8CPU component) { 54 return (scale * component + (1 << 23)) >> 24 [all...] |
/external/skia/gm/ |
filltypes.cpp | 24 SkScalar scale, const SkPaint& paint) { 34 canvas->scale(scale, scale); 40 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { 42 scale, paint); 44 scale, paint); 46 scale, paint); 48 scale, paint); 57 const SkScalar scale = SkIntToScalar(5)/4 local [all...] |
bitmapfilters.cpp | 51 const int scale = 32; local 55 canvas->drawText(name, strlen(name), x, SkIntToScalar(bm.height())*scale*5/8, 59 canvas->scale(SkIntToScalar(scale), SkIntToScalar(scale)); 65 return x * scale / 3;
|
/external/icu4c/test/cintltst/ |
utmstest.c | 100 static void roundTripTest(int64_t value, UDateTimeScale scale) 103 int64_t rt = utmscale_toInt64(utmscale_fromInt64(value, scale, &status), scale, &status); 106 log_err("Round-trip error: time scale = %d, value = %lld, round-trip = %lld.\n", scale, value, rt); 110 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale) 113 int64_t result = utmscale_toInt64(toLimit, scale, &status); 116 log_err("toLimit failure: scale = %d, toLimit = %lld , utmscale_toInt64(toLimit, scale, &status) = %lld, fromLimit = %lld.\n", 117 scale, toLimit, result, fromLimit) 154 int32_t scale; local 167 int32_t scale; local 181 int32_t scale; local 196 int32_t scale; local 256 int32_t scale; local 330 int32_t scale; local [all...] |
/external/qemu/android/skin/ |
scaler.c | 17 double scale; member in struct:SkinScaler 28 _scaler0.scale = 1.0; 35 /* change the scale of a given scaler. returns 0 on success, or -1 in case of 36 * problem (unsupported scale) */ 38 skin_scaler_set( SkinScaler* scaler, double scale, double xdisp, double ydisp ) 41 if (scale < 0.1) 42 scale = 0.1; 43 else if (scale > 6.0) 44 scale = 6.0; 46 scaler->scale = scale 71 double scale; member in struct:__anon4159 [all...] |
scaler.h | 19 /* create a new image scaler. by default, it uses a scale of 1.0 */ 22 /* change the scale of a given scaler. returns 0 on success, or -1 in case of 23 * problem (unsupported scale) */ 25 double scale,
|
/dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/ |
BigDecimalScaleOperationsTest.java | 37 * Methods: movePointLeft, movePointRight, scale, setScale, unscaledValue * 41 * Check the default scale 45 notes = "This is a complete subset of tests for scale method.", 46 method = "scale", 53 assertTrue("incorrect scale", aNumber.scale() == cScale); 57 * Check a negative scale 61 notes = "This is a complete subset of tests for scale method.", 62 method = "scale", 70 assertTrue("incorrect scale", aNumber.scale() == cScale) [all...] |
BigDecimalArithmeticTest.java | 58 assertEquals("incorrect scale", cScale, result.scale()); 82 assertEquals("incorrect scale", cScale, result.scale()); 105 assertEquals("incorrect scale", cScale, result.scale()); 129 assertEquals("incorrect scale", cScale, result.scale()); 152 assertEquals("incorrect scale", cScale, result.scale()); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorMatrixSample.java | 60 float scale = contrast + 1.f; local 61 float translate = (-.5f * scale + .5f) * 255.f; 63 scale, 0, 0, 0, translate, 64 0, scale, 0, 0, translate, 65 0, 0, scale, 0, translate, 70 float scale = contrast + 1.f; local 71 float translate = (-.5f * scale + .5f) * 255.f; 80 float scale = contrast + 1.f; local 81 float translate = (-.5f * scale + .5f) * 255.f; 83 scale, 0, 0, 0, 0 [all...] |
/external/skia/src/core/ |
SkBitmapProcState_filter.h | 71 SkPMColor *dst, uint16_t scale) { 93 "vdup.16 d3, %[scale] \n\t" // duplicate scale into d3 95 "vmul.i16 d4, d4, d3 \n\t" // multiply result by scale 99 : [x] "r" (x), [y] "r" (y), [a00] "r" (a00), [a01] "r" (a01), [a10] "r" (a10), [a11] "r" (a11), [dst] "r" (dst), [scale] "r" (scale) 116 int scale = 256 - 16*y - 16*x + xy; local 117 uint32_t lo = (a00 & mask) * scale; 118 uint32_t hi = ((a00 >> 8) & mask) * scale; 120 scale = 16*x - xy 146 int scale = 256 - 16*y - 16*x + xy; local [all...] |
/external/skia/src/effects/ |
SkTransparentShader.cpp | 54 unsigned scale = SkAlpha255To256(fAlpha); local 58 if (scale == 256) 64 span[i] = SkAlphaMulQ(src[i], scale); 70 if (scale == 256) 86 SkAlphaMul(r, scale), 87 SkAlphaMul(g, scale), 88 SkAlphaMul(b, scale)); 96 if (scale == 256) 103 unsigned scale16 = scale >> 4; 118 if (scale == 256 [all...] |
/packages/wallpapers/MusicVisualization/res/raw/ |
vu.rs | 35 float scale = 0.0041; 37 matrixScale(mat1, scale, scale, scale); 73 matrixLoadTranslate(mat1, 0.f, -57.0f * scale, 0.f); 75 matrixScale(mat1, scale, scale, scale); 91 matrixScale(mat1, scale, scale, scale) [all...] |
/packages/wallpapers/Basic/res/raw/ |
galaxy.rs | 59 void createParticle(struct Particles_s *part, int idx, float scale) { 86 d = mapf(-4.0f, State->galaxyRadius + 4.0f, 0.0f, scale, d); 90 gSpeed[idx] = randf2(0.0015f, 0.0025f) * (0.5f + (scale / d)) * 0.8f; 105 float scale = State->galaxyRadius / (State->width * 0.5f); 109 createParticle(part, i, scale); 128 float scale = 512.0f / width; 129 float x = -scale + xOffset - scale * 0.05f; 130 float y = -scale; 132 scale *= 2.0f [all...] |
/external/webkit/WebCore/svg/ |
SVGTransformDistance.cpp | 82 float scaleX = toSVGTransform.scale().width() - fromSVGTransform.scale().width(); 83 float scaleY = toSVGTransform.scale().height() - fromSVGTransform.scale().height(); 103 return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor, AffineTransform(m_transform).scale(scaleFactor)); 147 FloatSize scale = first.scale() + second.scale(); local 148 transform.setScale(scale.width(), scale.height()) 226 FloatSize scale = transform.scale(); local [all...] |
/dalvik/libcore/math/src/test/java/tests/api/java/math/ |
BigDecimalTest.java | 54 && big.scale() == 0); 70 && big.scale() == 5); 116 && big.scale() == 0); 129 big.scale() == 0); 145 && big.scale() == 14); 149 && big.scale() == 0); 153 && big.scale() == 0); 279 && sum.scale() == 3); 324 && divd3.scale() == divd1.scale()); [all...] |
/dalvik/libcore/math/src/main/java/java/math/ |
BigDecimal.java | 260 * The 32-bit integer scale in the internal representation of {@code BigDecimal}. 262 private int scale; field in class:BigDecimal 275 private BigDecimal(long smallValue, int scale){ 277 this.scale = scale; 281 private BigDecimal(int smallValue, int scale){ 283 this.scale = scale; 310 String scaleString = null; // buffer for scale 312 long newScale; // the new scale 572 setUnscaledValue(Multiplication.multiplyByFivePow(BigInteger.valueOf(mantisa), scale)); local 1880 public int scale() { method in class:BigDecimal [all...] |
/external/webkit/WebCore/platform/graphics/ |
Image.cpp | 120 FloatSize scale(scaledTileSize.width() / intrinsicTileSize.width(), 131 visibleSrcRect.setX((destRect.x() - oneTileRect.x()) / scale.width()); 132 visibleSrcRect.setY((destRect.y() - oneTileRect.y()) / scale.height()); 133 visibleSrcRect.setWidth(destRect.width() / scale.width()); 134 visibleSrcRect.setHeight(destRect.height() / scale.height()); 139 AffineTransform patternTransform = AffineTransform().scaleNonUniform(scale.width(), scale.height()); 160 FloatSize scale = calculatePatternScale(dstRect, srcRect, hRule, vRule); local 161 AffineTransform patternTransform = AffineTransform().scaleNonUniform(scale.width(), scale.height()) [all...] |
/external/icu4c/i18n/unicode/ |
utmscale.h | 17 * \brief C API: Universal Time Scale 164 * These functions implement a universal time scale which can be used as a 'pivot', 167 * and converted back to any other datetime time scale. 190 * This time scale is very fine grained, does not lose precision, and covers a range that 197 * <code>UDateTimeScale</code> values are used to specify the time scale used for 198 * conversion into or out if the universal time scale. 285 * The first unused time scale value. The limit of this enum 291 * <code>UTimeScaleValue</code> values are used to specify the time scale values 301 * for a time scale. 311 * for a time scale [all...] |
/external/iproute2/lib/ |
dnet_ntop.c | 18 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len, int *started) 20 u_int16_t tmp = *addr / scale; 25 if (((tmp) > 0) || *started || (scale == 1)) { 29 *addr -= (tmp * scale);
|
/external/iptables/include/linux/netfilter_ipv4/ |
ipt_limit.h | 10 u_int32_t avg; /* Average secs between packets * scale */
|
/external/iptables/include/linux/netfilter_ipv6/ |
ip6t_limit.h | 10 u_int32_t avg; /* Average secs between packets * scale */
|