/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | SliderThumbElement.cpp | 288 const Decimal ratio = Decimal::fromDouble(static_cast<double>(position) / trackSize); local 289 const Decimal fraction = isVertical || !isLeftToRightDirection ? Decimal(1) - ratio : ratio;
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
H A D | localvideosource.cc | 188 // The aspect ratio in |constraint.value| has been converted to a string and 193 // ratio but small enough to avoid matching wrong aspect ratios. 194 double ratio = static_cast<double>(format_in.width) / format_in.height; local 195 return (value <= ratio + kRoundingTruncation); 198 double ratio = static_cast<double>(format_in.width) / format_in.height; local 201 return (value >= ratio - kRoundingTruncation);
|
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkPathOpsQuad.cpp | 300 static int valid_unit_divide(double numer, double denom, double* ratio) argument 313 *ratio = r;
|
/external/chromium_org/third_party/sqlite/src/src/ |
H A D | backup.c | 437 int ratio = pgszDest/pgszSrc; local 438 nDestTruncate = (nSrcPage+ratio-1)/ratio;
|
/external/chromium_org/third_party/zlib/contrib/minizip/ |
H A D | miniunz.c | 237 uLong ratio=0; local 247 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size); 278 ratio, 314 uLong ratio=0; local
|
/external/chromium_org/ui/views/controls/scrollbar/ |
H A D | base_scroll_bar.cc | 399 // The height of the thumb is the ratio of the Viewport height to the 401 double ratio = static_cast<double>(viewport_size) / contents_size_; local 402 int thumb_size = static_cast<int>(ratio * GetTrackSize());
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
H A D | HybridNonLinearSolver.h | 108 Scalar ratio; member in class:Eigen::HybridNonLinearSolver 264 /* compute the ratio of the actual to the predicted reduction. */ 265 ratio = 0.; 267 ratio = actred / prered; 270 if (ratio < Scalar(.1)) { 277 if (ratio >= Scalar(.5) || ncsuc > 1) 279 if (internal::abs(ratio - 1.) <= Scalar(.1)) { 285 if (ratio >= Scalar(1e-4)) { 326 if (ratio >= Scalar(1e-4)) 504 /* compute the ratio o [all...] |
H A D | LevenbergMarquardt.h | 120 Scalar ratio; member in class:Eigen::LevenbergMarquardt 295 /* compute the ratio of the actual to the predicted */ 297 ratio = 0.; 299 ratio = actred / prered; 302 if (ratio <= Scalar(.25)) { 312 } else if (!(par != 0. && ratio < Scalar(.75))) { 318 if (ratio >= Scalar(1e-4)) { 329 if (internal::abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm) 331 if (internal::abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.) 339 if (internal::abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio < [all...] |
/external/oprofile/pp/ |
H A D | opreport.cpp | 228 double ratio = op_ratio(count, total_count); local 229 cout << format_percent(ratio * 100, percent_int_width,
|
/external/ppp/pppd/include/net/ |
H A D | ppp_defs.h | 169 unsigned int ratio; /* recent compression ratio << 8 */ member in struct:compstat
|
/external/skia/src/pathops/ |
H A D | SkPathOpsQuad.cpp | 300 static int valid_unit_divide(double numer, double denom, double* ratio) argument 313 *ratio = r;
|
/external/speex/libspeex/ |
H A D | sb_celp.c | 428 float ratio; local 449 ratio = 2*log((1.f+e_high)/(1.f+e_low)); 452 if (ratio<-4) 453 ratio=-4; 454 if (ratio>2) 455 ratio=2; 456 /*if (ratio>-2)*/ 461 st->relative_quality+=1.0*(ratio+2); 499 /*fprintf (stderr, "%f %f\n", ratio, low_qual);*/ 1007 /* Calculate reponse ratio betwee [all...] |
/external/valgrind/main/drd/tests/ |
H A D | matinv.c | 319 double ratio; local 351 ratio = error / (eps * matrix_size); 355 error, eps, ratio); 357 if (isfinite(ratio) && ratio < 100)
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
H A D | pitch_estimator.c | 132 double ratio, log_lag, gain_bias; local 188 ratio = log((double) (k + (PITCH_MIN_LAG/2-2))) - log_lag; 189 bias = 1.0 + gain_bias * exp(-5.0 * ratio * ratio); 221 ratio = ((double) (ind1 + 12)) / ((double) (ind2 + 12)); 222 adj = 0.2 * ratio * (2.0 - ratio); /* adjustment factor; inverse parabola as a function of ratio */ 242 ratio = ((double) (ind1 + 12)) / ((double) (ind2 + 12)); 243 adj = 0.9 * ratio * (2. [all...] |
/external/zlib/src/contrib/minizip/ |
H A D | miniunz.c | 250 uLong ratio=0; local 260 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size); 291 ratio, 327 uLong ratio=0; local
|
/external/chromium_org/content/browser/gamepad/ |
H A D | xbox_data_fetcher_mac.cc | 107 float ratio = (magnitude / (32767 - deadzone)) / real_magnitude; local 111 *x_out = x_val * ratio; 112 *y_out = -y_val * ratio;
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | Frame.cpp | 263 float ratio = originalSize.height() / originalSize.width(); local 265 resultSize.setHeight(floorf(resultSize.width() * ratio)); 268 float ratio = originalSize.width() / originalSize.height(); local 270 resultSize.setWidth(floorf(resultSize.height() * ratio));
|
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/ |
H A D | DynamicsCompressorKernel.cpp | 112 // Full compression curve with constant ratio after knee. 120 // Constant ratio after knee. 131 // This slope is equal to the inverse of the compression "ratio". 132 // In other words, a compression ratio of 20 would be a slope of 1/20. 180 float DynamicsCompressorKernel::updateStaticCurveParameters(float dbThreshold, float dbKnee, float ratio) argument 182 if (dbThreshold != m_dbThreshold || dbKnee != m_dbKnee || ratio != m_ratio) { 189 m_ratio = ratio; 211 float ratio, 231 float k = updateStaticCurveParameters(dbThreshold, dbKnee, ratio); 392 // This is linear up to the threshold, then enters a "knee" portion followed by the "ratio" portio 204 process(float* sourceChannels[], float* destinationChannels[], unsigned numberOfChannels, unsigned framesToProcess, float dbThreshold, float dbKnee, float ratio, float attackTime, float releaseTime, float preDelayTime, float dbPostGain, float effectBlend, float releaseZone1, float releaseZone2, float releaseZone3, float releaseZone4 ) argument [all...] |
/external/chromium_org/third_party/cld/encodings/compact_lang_det/ |
H A D | cldutil.cc | 785 // ratio = max(top/mainstream, mainstream/top) 786 // ratio > 4.0 is 0% reliable, <= 2.0 is 100% reliable 794 double ratio; local 797 ratio = (1.0 * top_kb) / mean_score; 800 ratio = (1.0 * mean_score) / top_kb; 803 if (ratio <= ratio_cutoff - 2.0) {return 100;} 804 if (ratio > ratio_cutoff) {return 0;} 806 int iratio = static_cast<int>(100 * (ratio_cutoff - ratio) / 2.0); 810 // Calculate ratio of score per 1KB vs. expected score per 1KB 831 double ratio local [all...] |
/external/chromium_org/third_party/freetype/src/truetype/ |
H A D | ttobjs.h | 224 /* - When performing a read or write in the CVT, a ratio factor is used */ 236 /* We compute the current ratio like: */ 239 /* ratio = x_ratio = 1.0 */ 242 /* ratio = y_ratio */ 245 /* ratio = sqrt( (proj.x * x_ratio) ^ 2 + (proj.y * y_ratio) ^ 2 ) */ 248 /* ratio * cvt[index] */ 251 /* cvt[index] / ratio */ 254 /* ratio * ppem */ 270 FT_Long ratio; /* current ratio */ member in struct:TT_Size_Metrics_ [all...] |
/external/chromium_org/third_party/icu/source/tools/makeconv/ |
H A D | gencnvex.c | 332 int32_t u16Length, ratio; local 375 ratio=(u16Length+(m->bLen-1))/m->bLen; 376 if(ratio>extData->maxUCharsPerByte) { 377 extData->maxUCharsPerByte=ratio; 638 int32_t u16Length, ratio; local 691 ratio=(m->bLen+(u16Length-1))/u16Length; 692 if(ratio>extData->maxBytesPerUChar) { 693 extData->maxBytesPerUChar=ratio;
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkGeometry.cpp | 105 static int valid_unit_divide(SkScalar numer, SkScalar denom, SkScalar* ratio) argument 107 SkASSERT(ratio); 125 *ratio = r;
|
/external/freetype/src/truetype/ |
H A D | ttobjs.h | 227 /* - When performing a read or write in the CVT, a ratio factor is used */ 239 /* We compute the current ratio like: */ 242 /* ratio = x_ratio = 1.0 */ 245 /* ratio = y_ratio */ 248 /* ratio = sqrt( (proj.x * x_ratio) ^ 2 + (proj.y * y_ratio) ^ 2 ) */ 251 /* ratio * cvt[index] */ 254 /* cvt[index] / ratio */ 257 /* ratio * ppem */ 273 FT_Long ratio; /* current ratio */ member in struct:TT_Size_Metrics_ [all...] |
/external/icu4c/tools/makeconv/ |
H A D | gencnvex.c | 333 int32_t u16Length, ratio; local 376 ratio=(u16Length+(m->bLen-1))/m->bLen; 377 if(ratio>extData->maxUCharsPerByte) { 378 extData->maxUCharsPerByte=ratio; 639 int32_t u16Length, ratio; local 694 ratio=(m->bLen+(u16Length-1))/u16Length; 695 if(ratio>extData->maxBytesPerUChar) { 696 extData->maxBytesPerUChar=ratio;
|
/external/kernel-headers/original/linux/ |
H A D | ppp_defs.h | 158 /* the compression ratio is defined as in_count / bytes_out */ 162 double ratio; /* not computed in kernel. */ member in struct:compstat
|