stepRange 1831 Source/core/html/HTMLInputElement.cpp StepRange stepRange = createStepRange(RejectAny); stepRange 1832 Source/core/html/HTMLInputElement.cpp if (stepRange.hasStep()) { stepRange 1833 Source/core/html/HTMLInputElement.cpp parameters.step = stepRange.step().toDouble(); stepRange 1834 Source/core/html/HTMLInputElement.cpp parameters.stepBase = stepRange.stepBase().toDouble(); stepRange 505 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp setMillisecondToDateComponents(layoutParameters.stepRange.minimum().toDouble(), &date); stepRange 566 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp StepRange stepRange = createStepRange(AnyIsDefaultStep); stepRange 568 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp || !stepRange.minimum().remainder(static_cast<int>(msPerMinute)).isZero() stepRange 569 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp || !stepRange.step().remainder(static_cast<int>(msPerMinute)).isZero(); stepRange 310 Source/core/html/forms/InputType.cpp StepRange stepRange(createStepRange(RejectAny)); stepRange 311 Source/core/html/forms/InputType.cpp return numericValue >= stepRange.minimum() && numericValue <= stepRange.maximum(); stepRange 323 Source/core/html/forms/InputType.cpp StepRange stepRange(createStepRange(RejectAny)); stepRange 324 Source/core/html/forms/InputType.cpp return numericValue < stepRange.minimum() || numericValue > stepRange.maximum(); stepRange 395 Source/core/html/forms/InputType.cpp StepRange stepRange(createStepRange(RejectAny)); stepRange 397 Source/core/html/forms/InputType.cpp if (numericValue < stepRange.minimum()) stepRange 398 Source/core/html/forms/InputType.cpp return rangeUnderflowText(stepRange.minimum()); stepRange 400 Source/core/html/forms/InputType.cpp if (numericValue > stepRange.maximum()) stepRange 401 Source/core/html/forms/InputType.cpp return rangeOverflowText(stepRange.maximum()); stepRange 403 Source/core/html/forms/InputType.cpp if (stepRange.stepMismatch(numericValue)) { stepRange 404 Source/core/html/forms/InputType.cpp ASSERT(stepRange.hasStep()); stepRange 405 Source/core/html/forms/InputType.cpp Decimal candidate1 = stepRange.clampValue(numericValue); stepRange 407 Source/core/html/forms/InputType.cpp Decimal candidate2 = candidate1 < numericValue ? candidate1 + stepRange.step() : candidate1 - stepRange.step(); stepRange 408 Source/core/html/forms/InputType.cpp if (!candidate2.isFinite() || candidate2 < stepRange.minimum() || candidate2 > stepRange.maximum()) stepRange 798 Source/core/html/forms/InputType.cpp StepRange stepRange(createStepRange(anyStepHandling)); stepRange 799 Source/core/html/forms/InputType.cpp if (!stepRange.hasStep()) { stepRange 805 Source/core/html/forms/InputType.cpp const Decimal step = stepRange.step(); stepRange 808 Source/core/html/forms/InputType.cpp if (!equalIgnoringCase(stepString, "any") && stepRange.stepMismatch(current)) { stepRange 819 Source/core/html/forms/InputType.cpp const Decimal base = stepRange.stepBase(); stepRange 827 Source/core/html/forms/InputType.cpp if (newValue < stepRange.minimum()) stepRange 828 Source/core/html/forms/InputType.cpp newValue = stepRange.minimum(); stepRange 829 Source/core/html/forms/InputType.cpp if (newValue > stepRange.maximum()) stepRange 830 Source/core/html/forms/InputType.cpp newValue = stepRange.maximum(); stepRange 842 Source/core/html/forms/InputType.cpp Decimal newValue = current + stepRange.step() * count; stepRange 845 Source/core/html/forms/InputType.cpp newValue = stepRange.alignValueForStep(current, newValue); stepRange 847 Source/core/html/forms/InputType.cpp if (newValue > stepRange.maximum()) stepRange 848 Source/core/html/forms/InputType.cpp newValue = newValue - stepRange.step(); stepRange 849 Source/core/html/forms/InputType.cpp else if (newValue < stepRange.minimum()) stepRange 850 Source/core/html/forms/InputType.cpp newValue = newValue + stepRange.step(); stepRange 860 Source/core/html/forms/InputType.cpp StepRange stepRange(createStepRange(RejectAny)); stepRange 861 Source/core/html/forms/InputType.cpp *step = stepRange.step(); stepRange 862 Source/core/html/forms/InputType.cpp return stepRange.hasStep(); stepRange 918 Source/core/html/forms/InputType.cpp StepRange stepRange(createStepRange(AnyIsDefaultStep)); stepRange 922 Source/core/html/forms/InputType.cpp if (!stepRange.hasStep()) stepRange 926 Source/core/html/forms/InputType.cpp const Decimal step = stepRange.step(); stepRange 940 Source/core/html/forms/InputType.cpp if (current < stepRange.minimum() - nextDiff) stepRange 941 Source/core/html/forms/InputType.cpp current = stepRange.minimum() - nextDiff; stepRange 942 Source/core/html/forms/InputType.cpp if (current > stepRange.maximum() - nextDiff) stepRange 943 Source/core/html/forms/InputType.cpp current = stepRange.maximum() - nextDiff; stepRange 946 Source/core/html/forms/InputType.cpp if ((sign > 0 && current < stepRange.minimum()) || (sign < 0 && current > stepRange.maximum())) { stepRange 947 Source/core/html/forms/InputType.cpp setValueAsDecimal(sign > 0 ? stepRange.minimum() : stepRange.maximum(), DispatchInputAndChangeEvent, IGNORE_EXCEPTION); stepRange 195 Source/core/html/forms/RangeInputType.cpp StepRange stepRange(createStepRange(RejectAny)); stepRange 200 Source/core/html/forms/RangeInputType.cpp const Decimal step = equalIgnoringCase(element().fastGetAttribute(stepAttr), "any") ? (stepRange.maximum() - stepRange.minimum()) / 100 : stepRange.step(); stepRange 201 Source/core/html/forms/RangeInputType.cpp const Decimal bigStep = max((stepRange.maximum() - stepRange.minimum()) / 10, step); stepRange 223 Source/core/html/forms/RangeInputType.cpp newValue = isVertical ? stepRange.maximum() : stepRange.minimum(); stepRange 225 Source/core/html/forms/RangeInputType.cpp newValue = isVertical ? stepRange.minimum() : stepRange.maximum(); stepRange 229 Source/core/html/forms/RangeInputType.cpp newValue = stepRange.clampValue(newValue); stepRange 307 Source/core/html/forms/RangeInputType.cpp StepRange stepRange(createStepRange(RejectAny)); stepRange 308 Source/core/html/forms/RangeInputType.cpp const Decimal proposedNumericValue = parseToNumber(proposedValue, stepRange.defaultValue()); stepRange 309 Source/core/html/forms/RangeInputType.cpp return serializeForNumberType(stepRange.clampValue(proposedNumericValue)); stepRange 45 Source/core/html/forms/StepRange.cpp StepRange::StepRange(const StepRange& stepRange) stepRange 46 Source/core/html/forms/StepRange.cpp : m_maximum(stepRange.m_maximum) stepRange 47 Source/core/html/forms/StepRange.cpp , m_minimum(stepRange.m_minimum) stepRange 48 Source/core/html/forms/StepRange.cpp , m_step(stepRange.m_step) stepRange 49 Source/core/html/forms/StepRange.cpp , m_stepBase(stepRange.m_stepBase) stepRange 50 Source/core/html/forms/StepRange.cpp , m_stepDescription(stepRange.m_stepDescription) stepRange 51 Source/core/html/forms/StepRange.cpp , m_hasStep(stepRange.m_hasStep) stepRange 67 Source/core/html/shadow/DateTimeEditElement.cpp inline const StepRange& stepRange() const { return m_parameters.stepRange; } stepRange 137 Source/core/html/shadow/DateTimeEditElement.cpp || !stepRange().minimum().remainder(static_cast<int>(msPerSecond)).isZero() stepRange 138 Source/core/html/shadow/DateTimeEditElement.cpp || !stepRange().step().remainder(static_cast<int>(msPerSecond)).isZero(); stepRange 359 Source/core/html/shadow/DateTimeEditElement.cpp Decimal hourPartOfMinimum = (stepRange().minimum().abs().remainder(decimalMsPerDay) / static_cast<int>(msPerHour)).floor(); stepRange 360 Source/core/html/shadow/DateTimeEditElement.cpp return hourPartOfMinimum == m_dateValue.hour() && stepRange().step().remainder(decimalMsPerDay).isZero(); stepRange 369 Source/core/html/shadow/DateTimeEditElement.cpp return stepRange().minimum().abs().remainder(decimalMsPerSecond) == m_dateValue.millisecond() && stepRange().step().remainder(decimalMsPerSecond).isZero(); stepRange 378 Source/core/html/shadow/DateTimeEditElement.cpp Decimal minutePartOfMinimum = (stepRange().minimum().abs().remainder(decimalMsPerHour) / static_cast<int>(msPerMinute)).floor(); stepRange 379 Source/core/html/shadow/DateTimeEditElement.cpp return minutePartOfMinimum == m_dateValue.minute() && stepRange().step().remainder(decimalMsPerHour).isZero(); stepRange 388 Source/core/html/shadow/DateTimeEditElement.cpp Decimal secondPartOfMinimum = (stepRange().minimum().abs().remainder(decimalMsPerMinute) / static_cast<int>(msPerSecond)).floor(); stepRange 389 Source/core/html/shadow/DateTimeEditElement.cpp return secondPartOfMinimum == m_dateValue.second() && stepRange().step().remainder(decimalMsPerMinute).isZero(); stepRange 419 Source/core/html/shadow/DateTimeEditElement.cpp Decimal stepMilliseconds = stepRange().step(); stepRange 431 Source/core/html/shadow/DateTimeEditElement.cpp step.stepBase = static_cast<int>((stepRange().stepBase() / msPerFieldUnitDecimal).floor().remainder(msPerFieldSizeDecimal / msPerFieldUnitDecimal).toDouble()); stepRange 68 Source/core/html/shadow/DateTimeEditElement.h const StepRange stepRange; stepRange 75 Source/core/html/shadow/DateTimeEditElement.h LayoutParameters(Locale& locale, const StepRange& stepRange) stepRange 77 Source/core/html/shadow/DateTimeEditElement.h , stepRange(stepRange) stepRange 57 Source/core/html/shadow/SliderThumbElement.cpp const StepRange stepRange(element->createStepRange(RejectAny)); stepRange 58 Source/core/html/shadow/SliderThumbElement.cpp const Decimal oldValue = parseToDecimalForNumberType(element->value(), stepRange.defaultValue()); stepRange 59 Source/core/html/shadow/SliderThumbElement.cpp return stepRange.proportionFromValue(stepRange.clampValue(oldValue)); stepRange 284 Source/core/html/shadow/SliderThumbElement.cpp StepRange stepRange(input->createStepRange(RejectAny)); stepRange 285 Source/core/html/shadow/SliderThumbElement.cpp Decimal value = stepRange.clampValue(stepRange.valueFromProportion(fraction)); stepRange 289 Source/core/html/shadow/SliderThumbElement.cpp double closestFraction = stepRange.proportionFromValue(closest).toDouble(); stepRange 95 Source/platform/DecimalTest.cpp DecimalStepRange stepRange(fromString(minimum), fromString(maximum), fromString(step)); stepRange 98 Source/platform/DecimalTest.cpp value -= stepRange.step; stepRange 99 Source/platform/DecimalTest.cpp value = stepRange.clampValue(value); stepRange 106 Source/platform/DecimalTest.cpp DecimalStepRange stepRange(fromString(minimum), fromString(maximum), fromString(step)); stepRange 109 Source/platform/DecimalTest.cpp value += stepRange.step; stepRange 110 Source/platform/DecimalTest.cpp value = stepRange.clampValue(value);