Searched defs:percent (Results 51 - 75 of 97) sorted by relevance

1234

/external/chromium_org/third_party/libwebp/enc/
H A Diterator.c89 const int percent = (it->count_down0_ <= 0) local
92 return WebPReportProgress(enc->pic_, percent, &enc->percent_);
/external/chromium_org/tools/imagediff/
H A Dimage_diff.cc271 float percent = HistogramPercentageDifferent(actual_image, baseline_image); local
272 const char* passed = percent > 0.0 ? "failed" : "passed";
273 printf("histogram diff: %01.2f%% %s\n", percent, passed);
277 float percent = PercentageDifferent(actual_image, baseline_image); local
278 const char* passed = percent > 0.0 ? "failed" : "passed";
279 printf("%s: %01.2f%% %s\n", diff_name, percent, passed);
280 if (percent > 0.0) {
317 float percent = PercentageDifferent(actual_image, baseline_image);
318 if (percent > 0.0) {
321 printf("diff: %01.2f%% failed\n", percent);
[all...]
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
H A Dthumbnail_loader.js416 function percent(fraction) {
420 img.style.width = percent(fractionX);
421 img.style.height = percent(fractionY);
422 img.style.left = percent((1 - fractionX) / 2);
423 img.style.top = percent((1 - fractionY) / 2);
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/
H A Dbrowser.c18 double percent, bool current)
22 if (percent >= MIN_RED)
24 if (percent >= MIN_GREEN)
38 double percent, bool current)
40 int color = ui_browser__percent_color(browser, percent, current);
17 ui_browser__percent_color(struct ui_browser *browser, double percent, bool current) argument
37 ui_browser__set_percent_color(struct ui_browser *browser, double percent, bool current) argument
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
H A Dhists.c11 static int __percent_color_snprintf(char *buf, size_t size, double percent) argument
16 markup = perf_gtk__get_percent_color(percent);
20 ret += scnprintf(buf + ret, size - ret, " %6.2f%%", percent);
33 double percent = 0.0; local
38 percent = 100.0 * get_field(he) / hists->stats.total_period;
40 ret = __percent_color_snprintf(hpp->buf, hpp->size, percent);
66 percent = 100.0 * period / total;
69 percent);
146 double percent; local
152 percent
283 float percent = h->stat.period * 100.0 / local
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/stdio/
H A Dhist.c52 double percent; local
54 percent = hits * 100.0 / total_samples;
55 ret += percent_color_fprintf(fp, "--%2.2f%%-- ", percent);
252 double percent; local
255 percent = chain->hit * 100.0 / total_samples;
257 ret = percent_color_fprintf(fp, " %6.2f%%\n", percent);
492 float percent = h->stat.period * 100.0 / local
498 if (percent < min_pcnt)
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestblitspeed.c18 static int percent(int val, int total) function
399 printf("Non-blitting crap accounted for %d percent of this run.\n",
400 percent(testms - elasped, testms));
/external/webp/src/enc/
H A Diterator.c89 const int percent = (it->count_down0_ <= 0) local
92 return WebPReportProgress(enc->pic_, percent, &enc->percent_);
/external/chromium_org/chrome/browser/extensions/
H A Dwebstore_installer.cc648 int percent = download_item_->PercentComplete(); local
649 // Only report progress if percent is more than 0 or we have finished
652 if (finished_modules > 0 && percent < 0)
653 percent = 0;
654 if (percent >= 0) {
655 percent = (percent + (finished_modules * 100)) / total_modules_;
658 tracker->OnDownloadProgress(id_, percent);
/external/chromium_org/chromeos/dbus/
H A Dpower_manager_client.cc111 virtual void SetScreenBrightnessPercent(double percent,
117 writer.AppendDouble(percent);
440 double percent = 0.0; local
441 if (!reader.PopDouble(&percent))
444 callback.Run(percent);
786 virtual void SetScreenBrightnessPercent(double percent,
788 VLOG(1) << "Requested to set screen brightness to " << percent << "% "
790 SetBrightness(percent, false);
904 void SetBrightness(double percent, bool user_initiated) { argument
905 brightness_ = std::min(std::max(0.0, percent), 100.
[all...]
/external/chromium_org/content/renderer/media/android/
H A Drenderer_media_player_manager.cc149 int percent) {
152 player->OnBufferingUpdate(percent);
148 OnMediaBufferingUpdate(int player_id, int percent) argument
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSCalculationValue.cpp220 value.percent += m_value->getDoubleValue() * multiplier;
743 PassRefPtrWillBeRawPtr<CSSCalcExpressionNode> CSSCalcValue::createExpressionNode(double pixels, double percent) argument
747 createExpressionNode(CSSPrimitiveValue::create(percent, CSSPrimitiveValue::CSS_PERCENTAGE), percent == trunc(percent)),
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DAutoTableLayout.cpp223 // We substitute 0 percent by (epsilon / percentScaleFactor) percent in two places below to avoid division by zero.
233 float percent = std::min(static_cast<float>(m_layoutStruct[i].effectiveLogicalWidth.percent()), remainingPercent); local
234 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / std::max(percent, epsilon);
236 remainingPercent -= percent;
317 totalPercent += columnLayout.logicalWidth.percent();
344 totalPercent += columnLayout.effectiveLogicalWidth.percent();
359 if (totalPercent > cellLogicalWidth.percent() || allColsArePercent) {
363 maxLogicalWidth = std::max(maxLogicalWidth, static_cast<int>(std::max(spanMaxLogicalWidth, cellMaxLogicalWidth) * 100 / cellLogicalWidth.percent()));
375 float percent = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) / totalWidth; local
403 float percent = m_layoutStruct[pos].logicalWidth.isPercent() ? m_layoutStruct[pos].logicalWidth.percent() : m_layoutStruct[pos].effectiveLogicalWidth.percent(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGAnimationElement.cpp402 unsigned SVGAnimationElement::calculateKeyTimesIndex(float percent) const
407 // cases we don't need to consider the last value, since |percent| is never
412 if (m_keyTimes[index] > percent)
418 float SVGAnimationElement::calculatePercentForSpline(float percent, unsigned splineIndex) const argument
426 return narrowPrecisionToFloat(bezier.solve(percent, solveEpsilon(duration.value())));
429 float SVGAnimationElement::calculatePercentFromKeyPoints(float percent) const
436 if (percent == 1)
439 unsigned index = calculateKeyTimesIndex(percent);
449 float keyPointPercent = (percent - fromPercent) / (toPercent - fromPercent);
458 float SVGAnimationElement::calculatePercentForFromTo(float percent) cons
466 currentValuesFromKeyPoints(float percent, float& effectivePercent, String& from, String& to) const argument
477 currentValuesForValuesAnimation(float percent, float& effectivePercent, String& from, String& to) argument
597 updateAnimation(float percent, unsigned repeatCount, SVGSMILElement* resultElement) argument
[all...]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dpseudotcp_unittest.cc90 void SetLoss(int percent) { argument
91 loss_ = percent;
/external/jmdns/src/javax/jmdns/impl/
H A DDNSRecord.java122 long getExpirationTime(int percent) { argument
124 return _created + (percent * _ttl * 10L);
/external/chromium_org/chrome/browser/ui/omnibox/
H A Domnibox_edit_model.cc126 int percent = 0; local
133 percent = static_cast<float>(matching_characters) / avg_length * 100;
140 UMA_HISTOGRAM_PERCENTAGE(histogram_name, percent);
143 UMA_HISTOGRAM_PERCENTAGE(histogram_name, percent);
148 UMA_HISTOGRAM_PERCENTAGE(histogram_name, percent);
151 UMA_HISTOGRAM_PERCENTAGE(histogram_name, percent);
169 counter->Add(percent);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DContentVideoView.java293 protected void onBufferingUpdate(int percent) { argument
/external/chromium_org/third_party/webrtc/base/
H A Dsslstreamadapter_unittest.cc322 // Randomly drop loss_ percent of packets
361 void SetLoss(int percent) { argument
362 loss_ = percent;
/external/e2fsprogs/e2fsck/
H A Dunix.c478 float percent; local
484 percent = ((float) curr) / ((float) max);
485 return ((percent * (tbl->table[pass] - tbl->table[pass-1]))
500 int e2fsck_simple_progress(e2fsck_t ctx, const char *label, float percent, argument
518 fixed_percent = (int) ((10 * percent) + 0.5);
547 i = ((percent * dpywidth) + 50) / 100;
555 printf(" %4.1f%% ", percent);
573 float percent; local
583 percent = calc_percent(&e2fsck_tbl, pass, cur, max);
585 percent,
[all...]
/external/e2fsprogs/misc/
H A Dbadblocks.c198 float percent = 0.0; local
200 return percent;
202 percent = 100.0;
204 percent=(100.0*(float)current/(float)total);
206 return percent;
/external/e2fsprogs/resize/
H A Dresize2fs.c326 double percent; local
393 percent = (ext2fs_r_blocks_count(old_fs->super) * 100.0) /
396 (percent * ext2fs_blocks_count(fs->super) /
/external/fio/
H A Dparse.c183 int *percent)
229 *percent = 1;
242 int *percent)
248 return __get_mult_bytes(str, data, percent);
264 return __get_mult_bytes(p, data, percent);
182 __get_mult_bytes(const char *p, void *data, int *percent) argument
241 get_mult_bytes(const char *str, int len, void *data, int *percent) argument
/external/libpng/contrib/libtests/
H A Dtarith.c203 double percent = (precision >= DBL_DIG) ? max_error_abs : max_error; local
216 if (showall || allowp >= percent)
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-diff.c746 double percent = baseline_percent(he); local
752 pfmt, percent);
760 double percent = baseline_percent(he); local
765 ret = scnprintf(buf, size, fmt, percent);

Completed in 686 milliseconds

1234