/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | SliderThumbElement.cpp | 149 const Decimal ratio = Decimal::fromDouble(static_cast<double>(position) / trackSize); local 150 const Decimal fraction = isVertical || !isLeftToRightDirection ? Decimal(1) - ratio : ratio;
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | PeriodicWave.cpp | 106 float ratio = fundamentalFrequency > 0 ? fundamentalFrequency / m_lowestFundamentalFrequency : 0.5; local 107 float centsAboveLowestFrequency = log2f(ratio) * 1200;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FETurbulence.cpp | 302 float ratio = 1; local 305 turbulenceFunctionResult += noise2D(channel, paintingData, stitchData, noiseVector) / ratio; 307 turbulenceFunctionResult += fabsf(noise2D(channel, paintingData, stitchData, noiseVector)) / ratio; 310 ratio *= 2;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | thread_cache.cc | 480 double ratio = space / max<double>(1, per_thread_cache_size_); local 485 if (ratio < 1.0) { 486 h->max_size_ = static_cast<size_t>(h->max_size_ * ratio);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | thread_cache.cc | 469 double ratio = space / max<double>(1, per_thread_cache_size_); local 474 if (ratio < 1.0) { 475 h->max_size_ = static_cast<size_t>(h->max_size_ * ratio);
|
/external/deqp/modules/glshared/ |
H A D | glsShaderPerformanceCase.cpp | 77 float ratio = (float)numFrag / (float)numVert; local 79 if (de::abs(ratio - fragmentsPerVertices) < eps) 81 else if (ratio < fragmentsPerVertices) 110 m_testCtx.getLog() << TestLog::Message << "Requested fragment/vertex-ratio: " << de::floatToString(fragmentsPerVertices, 2) << "\n" 111 << "Computed fragment/vertex-ratio: " << de::floatToString(finalRatio, 2)
|
/external/oprofile/libpp/ |
H A D | profile_container.cpp | 45 // ratio of samples which belongs to this filename. 222 double const ratio = op_ratio(counts[0], total_count[0]); local 223 filename_by_samples const f(*it, ratio);
|
/external/valgrind/main/drd/tests/ |
H A D | omp_matinv.c | 295 double ratio; local 331 ratio = error / (eps * matrix_size); 335 error, eps, ratio); 337 if (isfinite(ratio) && ratio < 100)
|
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/chromium_org/content/browser/loader/ |
H A D | async_resource_handler.cc | 63 double ratio = static_cast<double>(bytes_read) / buffer_size; local 64 return static_cast<int>(ratio * 100.0 + 0.5); // Round to nearest integer.
|
/external/chromium_org/pdf/ |
H A D | draw_utils.cc | 39 inline uint8 GradientChannel(uint8 start, uint8 end, double ratio) { argument 40 double new_channel = start - (static_cast<double>(start) - end) * ratio; 103 double ratio = static_cast<double>(i) / colors.size(); local 105 GradientChannel(GetRed(start_color), GetRed(end_color), ratio), 106 GradientChannel(GetGreen(start_color), GetGreen(end_color), ratio), 107 GradientChannel(GetBlue(start_color), GetBlue(end_color), ratio), 108 GradientChannel(GetAlpha(start_color), GetAlpha(end_color), ratio));
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
H A D | videosource.cc | 168 // The aspect ratio in |constraint.value| has been converted to a string and 173 // ratio but small enough to avoid matching wrong aspect ratios. 174 double ratio = static_cast<double>(format_in.width) / format_in.height; local 175 return (value <= ratio + kRoundingTruncation); 178 double ratio = static_cast<double>(format_in.width) / format_in.height; local 181 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/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/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/webrtc/modules/audio_coding/codecs/isac/main/source/ |
H A D | pitch_estimator.c | 133 double ratio, log_lag, gain_bias; local 189 ratio = log((double) (k + (PITCH_MIN_LAG/2-2))) - log_lag; 190 bias = 1.0 + gain_bias * exp(-5.0 * ratio * ratio); 222 ratio = ((double) (ind1 + 12)) / ((double) (ind2 + 12)); 223 adj = 0.2 * ratio * (2.0 - ratio); /* adjustment factor; inverse parabola as a function of ratio */ 243 ratio = ((double) (ind1 + 12)) / ((double) (ind2 + 12)); 244 adj = 0.9 * ratio * (2. [all...] |
/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 | 414 // The height of the thumb is the ratio of the Viewport height to the 416 double ratio = static_cast<double>(viewport_size) / contents_size_; local 417 int thumb_size = static_cast<int>(ratio * GetTrackSize());
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | gen_bitmap64.c | 762 int n, ratio; local 780 ratio = 1 << fs->cluster_ratio_bits; 784 i += ratio - n; 789 if (n >= ratio)
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
H A D | HybridNonLinearSolver.h | 108 Scalar ratio; member in class:Eigen::HybridNonLinearSolver 266 /* compute the ratio of the actual to the predicted reduction. */ 267 ratio = 0.; 269 ratio = actred / prered; 272 if (ratio < Scalar(.1)) { 279 if (ratio >= Scalar(.5) || ncsuc > 1) 281 if (abs(ratio - 1.) <= Scalar(.1)) { 287 if (ratio >= Scalar(1e-4)) { 328 if (ratio >= Scalar(1e-4)) 509 /* compute the ratio o [all...] |
H A D | LevenbergMarquardt.h | 120 Scalar ratio; member in class:Eigen::LevenbergMarquardt 298 /* compute the ratio of the actual to the predicted */ 300 ratio = 0.; 302 ratio = actred / prered; 305 if (ratio <= Scalar(.25)) { 315 } else if (!(par != 0. && ratio < Scalar(.75))) { 321 if (ratio >= Scalar(1e-4)) { 332 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm) 334 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.) 342 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio < [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | ppp_defs.h | 124 /* the compression ratio is defined as in_count / bytes_out */ 128 double ratio; /* not computed in kernel. */ member in struct:compstat
|
/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/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...] |