Searched defs:fraction (Results 1 - 19 of 19) sorted by relevance

/external/quake/quake/src/WinQuake/
H A Dworld.h33 float fraction; // time completed, 1.0 = didn't hit anything member in struct:__anon9472
/external/webkit/Source/WebCore/platform/chromium/
H A DDragImageChromiumSkia.cpp71 DragImageRef dissolveDragImageToFraction(DragImageRef image, float fraction) argument
82 *pixel = SkPreMultiplyARGB(SkColorGetA(*pixel) * fraction,
/external/webkit/Source/WebCore/platform/gtk/
H A DDragImageGtk.cpp64 DragImageRef dissolveDragImageToFraction(DragImageRef image, float fraction) argument
71 cairo_set_source_rgba(context.get(), 0, 0, 0, fraction);
/external/quake/quake/src/QW/server/
H A Dworld.h33 float fraction; // time completed, 1.0 = didn't hit anything member in struct:__anon9149
/external/webkit/Source/WebCore/rendering/
H A DRenderSlider.cpp115 double fraction = sliderPosition(static_cast<HTMLInputElement*>(node())); local
119 thumbRect.setY(contentRect.y() + static_cast<int>(nextafter((contentRect.height() - thumbRect.height()) + 1, 0) * (1 - fraction)));
121 thumbRect.setX(contentRect.x() + static_cast<int>(nextafter((contentRect.width() - thumbRect.width()) + 1, 0) * fraction));
/external/tcpdump/
H A Dntp.h32 u_int32_t fraction; member in struct:l_fixedpt
37 u_int16_t fraction; member in struct:s_fixedpt
/external/webkit/Source/WebCore/html/shadow/
H A DSliderThumbElement.cpp140 double fraction = static_cast<double>(position) / trackSize; local
142 fraction = 1 - fraction;
143 double value = range.clampValue(range.valueFromProportion(fraction));
/external/webkit/Source/WebCore/rendering/mathml/
H A DRenderMathMLFraction.cpp49 RenderMathMLFraction::RenderMathMLFraction(Element* fraction) argument
50 : RenderMathMLBlock(fraction)
62 Element* fraction = static_cast<Element*>(node());
65 String nalign = fraction->getAttribute(MathMLNames::numalignAttr);
77 String dalign = fraction->getAttribute(MathMLNames::denomalignAttr);
86 String thickness = fraction->getAttribute(MathMLNames::linethicknessAttr);
126 // Adjust the fraction line thickness for the zoom
/external/llvm/lib/Analysis/
H A DProfileEstimatorPass.cpp218 double fraction = floor(incoming/Edges.size()); local
223 w = fraction;
224 incoming -= fraction;
289 double fraction = floor(BBWeight/Edges.size()); local
295 EdgeInformation[BB->getParent()][*ei] += fraction;
296 BBWeight -= fraction;
/external/quake/quake/src/QW/client/
H A Dpmove.h32 float fraction; // time completed, 1.0 = didn't hit anything member in struct:__anon8974
/external/skia/src/animator/
H A DSkDrawColor.cpp79 //SkScalar fraction = SkScalarMod(hue, 60 * SK_Scalar1);
81 SkScalar fraction = hue / 60 - SkIntToScalar(sextant); local
83 SkScalar q = SkScalarMul(value, SK_Scalar1 - SkScalarMul(saturation, fraction));
85 SkScalarMul(saturation, SK_Scalar1 - fraction));
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_chorus.c127 //convert depth from steps of .05 ms, to samples, with 16 bit whole part, discard fraction
151 //16 bit whole part, 16 bit fraction
189 * indexDesired: the fractional index we are looking up (16 bits index + 16 bits fraction)
200 EAS_I16 fraction; local
208 fraction = (EAS_I16)((indexDesired>>1) & 0x07FFF); //just use 15 bits of fractional part
231 //compute linear interpolation as (val1 + ((val2-val1)*fraction))
232 return(val1 + (EAS_I16)MULT_EG1_EG1(val2-val1,fraction));
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_chorus.c127 //convert depth from steps of .05 ms, to samples, with 16 bit whole part, discard fraction
151 //16 bit whole part, 16 bit fraction
189 * indexDesired: the fractional index we are looking up (16 bits index + 16 bits fraction)
200 EAS_I16 fraction; local
208 fraction = (EAS_I16)((indexDesired>>1) & 0x07FFF); //just use 15 bits of fractional part
231 //compute linear interpolation as (val1 + ((val2-val1)*fraction))
232 return(val1 + (EAS_I16)MULT_EG1_EG1(val2-val1,fraction));
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_chorus.c127 //convert depth from steps of .05 ms, to samples, with 16 bit whole part, discard fraction
151 //16 bit whole part, 16 bit fraction
189 * indexDesired: the fractional index we are looking up (16 bits index + 16 bits fraction)
200 EAS_I16 fraction; local
208 fraction = (EAS_I16)((indexDesired>>1) & 0x07FFF); //just use 15 bits of fractional part
231 //compute linear interpolation as (val1 + ((val2-val1)*fraction))
232 return(val1 + (EAS_I16)MULT_EG1_EG1(val2-val1,fraction));
/external/qemu/
H A Dcutils.c331 double val, mul, integral, fraction; local
338 fraction = modf(val, &integral);
339 if (fraction != 0) {
/external/skia/src/utils/
H A DSkInterpolator.cpp89 SkScalar fraction = SkScalarFraction(fRepeat); local
90 offsetTime = fraction == 0 && fRepeat > 0 ? totalTime :
91 SkScalarMulFloor(fraction, totalTime);
/external/v8/test/cctest/
H A Dtest-macro-assembler-x64.cc1148 bool fraction = !division_by_zero && !overflow && (x % y != 0); local
1151 if (!fraction && !overflow && !negative_zero && !division_by_zero) {
1262 bool fraction = !division_by_zero && !division_overflow && ((x % y) != 0); local
1263 bool negative_zero = (!fraction && x < 0);
/external/webkit/Source/WebCore/css/
H A DCSSParser.cpp4218 double fraction = 0; local
4222 fraction = fraction * 10 + string[position++] - '0';
4226 value = localValue + fraction / scale;
4263 // the fraction part of the percentage value.
/external/libxml2/
H A Dxpath.c2710 LOWER_DOUBLE_EXP is max number of leading zeroes in fraction
9979 double fraction = 0; local
9987 fraction = fraction * 10 + v;
9991 fraction /= my_pow10[frac];
9992 ret = ret + fraction;

Completed in 347 milliseconds