Home
last modified time | relevance | path

Searched refs:percentage (Results 1 – 25 of 153) sorted by relevance

1234567

/external/chromium_org/chrome/app/
Dimage_pre_reader_win.cc108 size_t percentage) { in GetPercentageOfSectionLength() argument
110 DCHECK_GT(percentage, 0u); in GetPercentageOfSectionLength()
111 DCHECK_LE(percentage, kOneHundredPercent); in GetPercentageOfSectionLength()
119 size_t length = (initialized_length * percentage) / kOneHundredPercent; in GetPercentageOfSectionLength()
130 size_t percentage, in ReadThroughSection() argument
135 DCHECK_LE(percentage, kOneHundredPercent); in ReadThroughSection()
139 size_t bytes_to_read = GetPercentageOfSectionLength(section, percentage); in ReadThroughSection()
192 size_t percentage, in PartialPreReadImageOnDisk() argument
200 if (percentage == 0) in PartialPreReadImageOnDisk()
203 if (percentage > kOneHundredPercent) in PartialPreReadImageOnDisk()
[all …]
Dimage_pre_reader_win.h56 size_t percentage,
63 size_t percentage,
70 size_t percentage);
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_host_metrics.cc57 int percentage = (100 * misspelled_word_count_) / spellchecked_word_count_; in RecordCheckedWordStats() local
58 UMA_HISTOGRAM_PERCENTAGE("SpellCheck.MisspellRatio", percentage); in RecordCheckedWordStats()
101 int percentage = (100 * replaced_word_count_) / misspelled_word_count_; in RecordReplacedWordStats() local
102 UMA_HISTOGRAM_PERCENTAGE("SpellCheck.ReplaceRatio", percentage); in RecordReplacedWordStats()
106 int percentage = (100 * replaced_word_count_) / suggestion_show_count_; in RecordReplacedWordStats() local
107 UMA_HISTOGRAM_PERCENTAGE("SpellCheck.SuggestionHitRatio", percentage); in RecordReplacedWordStats()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGAnimatedColor.cpp61 …y::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeat… in calculateAnimatedValue() argument
77 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.red(), toColor.red(), t… in calculateAnimatedValue()
80 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.green(), toColor.green(… in calculateAnimatedValue()
83 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.blue(), toColor.blue(),… in calculateAnimatedValue()
86 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromColor.alpha(), toColor.alpha(… in calculateAnimatedValue()
DSVGAnimationElement.h106 …void animateDiscreteType(float percentage, const AnimatedType& fromType, const AnimatedType& toTyp… in animateDiscreteType() argument
108 …if ((animationMode() == FromToAnimation && percentage > 0.5) || animationMode() == ToAnimation || in animateDiscreteType()
115 …void animateAdditiveNumber(float percentage, unsigned repeatCount, float fromNumber, float toNumbe… in animateAdditiveNumber() argument
119 number = percentage < 0.5 ? fromNumber : toNumber; in animateAdditiveNumber()
121 number = (toNumber - fromNumber) * percentage + fromNumber; in animateAdditiveNumber()
DSVGRect.cpp128 void SVGRect::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsig… in calculateAnimatedValue() argument
139 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromRect->x(), toRect->x(), toAtE… in calculateAnimatedValue()
140 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromRect->y(), toRect->y(), toAtE… in calculateAnimatedValue()
141 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromRect->width(), toRect->width(… in calculateAnimatedValue()
142 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromRect->height(), toRect->heigh… in calculateAnimatedValue()
DSVGAnimateElement.cpp65 void SVGAnimateElement::calculateAnimatedValue(float percentage, unsigned repeatCount, SVGSMILEleme… in calculateAnimatedValue() argument
72 ASSERT(percentage >= 0 && percentage <= 1); in calculateAnimatedValue()
85 percentage = 1; in calculateAnimatedValue()
88 percentage = percentage < 0.5 ? 0 : 1; in calculateAnimatedValue()
95 …m_animator->calculateAnimatedValue(percentage, repeatCount, m_fromProperty.get(), m_toProperty.get… in calculateAnimatedValue()
DSVGPointList.cpp132 void SVGPointList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, … in calculateAnimatedValue() argument
142 if (!adjustFromToListValues(fromList, toList, percentage, animationElement->animationMode())) in calculateAnimatedValue()
157 …animationElement->animateAdditiveNumber(percentage, repeatCount, effectiveFrom.x(), effectiveTo.x(… in calculateAnimatedValue()
158 …animationElement->animateAdditiveNumber(percentage, repeatCount, effectiveFrom.y(), effectiveTo.y(… in calculateAnimatedValue()
DSVGString.cpp32 void SVGString::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, uns… in calculateAnimatedValue() argument
39 animationElement->animateDiscreteType<String>(percentage, fromString, toString, m_value); in calculateAnimatedValue()
DSVGNumberOptionalNumber.cpp90 …r::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeat… in calculateAnimatedValue() argument
100 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromNumber->firstNumber()->value(… in calculateAnimatedValue()
101 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromNumber->secondNumber()->value… in calculateAnimatedValue()
DSVGIntegerOptionalInteger.cpp93 …r::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeat… in calculateAnimatedValue() argument
103 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromInteger->firstInteger()->valu… in calculateAnimatedValue()
104 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromInteger->secondInteger()->val… in calculateAnimatedValue()
DSVGBoolean.cpp63 void SVGBoolean::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, un… in calculateAnimatedValue() argument
69 animationElement->animateDiscreteType<bool>(percentage, fromBoolean, toBoolean, m_value); in calculateAnimatedValue()
DSVGLengthList.cpp137 void SVGLengthList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage,… in calculateAnimatedValue() argument
150 if (!adjustFromToListValues(fromList, toList, percentage, animationElement->animationMode())) in calculateAnimatedValue()
158 if (percentage < 0.5) in calculateAnimatedValue()
165 …animationElement->animateAdditiveNumber(percentage, repeatCount, effectiveFrom, effectiveTo, effec… in calculateAnimatedValue()
DSVGNumberList.cpp116 void SVGNumberList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage,… in calculateAnimatedValue() argument
126 if (!adjustFromToListValues(fromList, toList, percentage, animationElement->animationMode())) in calculateAnimatedValue()
135 …animationElement->animateAdditiveNumber(percentage, repeatCount, effectiveFrom, effectiveTo, effec… in calculateAnimatedValue()
DSVGInteger.cpp75 void SVGInteger::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, un… in calculateAnimatedValue() argument
84 …animationElement->animateAdditiveNumber(percentage, repeatCount, fromInteger->value(), toInteger->… in calculateAnimatedValue()
/external/chromium_org/third_party/WebKit/Source/core/animation/
DInterpolableValue.cpp59 …rpolableAnimatableValue::interpolate(const InterpolableValue &other, const double percentage) const in interpolate()
62 if (!percentage) in interpolate()
64 if (percentage == 1) in interpolate()
66 … return create(AnimatableValue::interpolate(m_value.get(), otherValue.m_value.get(), percentage)); in interpolate()
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dunity_service.cc137 void SetProgressFraction(float percentage) { in SetProgressFraction() argument
140 entry_set_progress(chrome_entry, percentage); in SetProgressFraction()
142 percentage > 0.0 && percentage < 1.0); in SetProgressFraction()
/external/fio/t/
Dgenzipf.c49 static double percentage; variable
105 percentage = atof(optarg); in parse_options()
267 if (percentage) { in main()
269 percentage * nranges / 100; in main()
285 printf("%.2f%% of hits satisfied in %.3f%cB of cache\n", percentage, cs, p); in main()
286 percentage = 0.0; in main()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DCrossfadeGeneratedImage.h39 …rossfadeGeneratedImage> create(Image* fromImage, Image* toImage, float percentage, IntSize crossfa… in create() argument
41 … return adoptRef(new CrossfadeGeneratedImage(fromImage, toImage, percentage, crossfadeSize, size)); in create()
58 …CrossfadeGeneratedImage(Image* fromImage, Image* toImage, float percentage, IntSize crossfadeSize,…
/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dcheck-dom-results93 my $percentage = (sprintf "%.1f", ($successCount * 100.0 / $count));
95 if ($percentage == 100) {
98 print "${name}: ${successCount} out of ${count} tests succeeded (${percentage}%)";
/external/clang/test/PCH/
Dobjc_property.h5 float percentage; variable
11 @property float percentage;
/external/chromium_org/extensions/browser/api/web_request/
Dweb_request_time_tracker.cc172 double percentage = in Analyze() local
176 static_cast<int>(100*percentage)); in Analyze()
179 log.request_duration.InMilliseconds() << " = " << percentage; in Analyze()
183 if (percentage > kThresholdExcessiveDelay) { in Analyze()
194 } else if (percentage > kThresholdModerateDelay) { in Analyze()
/external/fio/lib/
Drand.c94 unsigned int percentage, in fill_random_buf_percentage() argument
100 if (percentage == 100) { in fill_random_buf_percentage()
115 this_len = (segment * (100 - percentage)) / 100; in fill_random_buf_percentage()
/external/chromium_org/athena/resource_manager/delegate/
Dresource_manager_delegate.cc60 int percentage = ((total_memory - available_memory) * 100) / total_memory; in GetUsedMemoryInPercent() local
61 return percentage; in GetUsedMemoryInPercent()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSCrossfadeValue.cpp110 float percentage = m_percentageValue->getFloatValue(); in fixedSize() local
111 float inversePercentage = 1 - percentage; in fixedSize()
128 return IntSize(fromImageSize.width() * inversePercentage + toImageSize.width() * percentage, in fixedSize()
129 fromImageSize.height() * inversePercentage + toImageSize.height() * percentage); in fixedSize()

1234567