/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
StepRange.h | 24 #include "platform/Decimal.h" 65 Decimal defaultValue() const 73 StepRange(const Decimal& stepBase, const Decimal& minimum, const Decimal& maximum, const Decimal& step, const StepDescription&); 74 Decimal acceptableError() const; 75 Decimal alignValueForStep(const Decimal& currentValue, const Decimal& newValue) const [all...] |
StepRange.cpp | 55 StepRange::StepRange(const Decimal& stepBase, const Decimal& minimum, const Decimal& maximum, const Decimal& step, const StepDescription& stepDescription) 69 Decimal StepRange::acceptableError() const 72 DEFINE_STATIC_LOCAL(const Decimal, twoPowerOfFloatMantissaBits, (Decimal::Positive, 0, UINT64_C(1) << FLT_MANT_DIG)); 73 return m_stepDescription.stepValueShouldBe == StepValueShouldBeReal ? m_step / twoPowerOfFloatMantissaBits : Decimal(0); 76 Decimal StepRange::alignValueForStep(const Decimal& currentValue, const Decimal& newValue) cons [all...] |
RangeInputType.cpp | 72 static Decimal ensureMaximum(const Decimal& proposedValue, const Decimal& minimum, const Decimal& fallbackValue) 108 void RangeInputType::setValueAsDecimal(const Decimal& newValue, TextFieldEventBehavior eventBehavior, ExceptionState&) const 127 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), rangeDefaultMinimum); 128 const Decimal maximum = ensureMaximum(parseToNumber(element().fastGetAttribute(maxAttr), rangeDefaultMaximum), minimum, rangeDefaultMaximum); 132 const Decimal step = equalIgnoringCase(precisionValue, "float") ? Decimal::nan() : 1; 136 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr) (…) [all...] |
BaseDateAndTimeInputType.h | 45 virtual Decimal parseToNumber(const String&, const Decimal&) const OVERRIDE; 48 virtual String serialize(const Decimal&) const OVERRIDE; 58 virtual void setValueAsDecimal(const Decimal&, TextFieldEventBehavior, ExceptionState&) const OVERRIDE; 62 virtual String rangeOverflowText(const Decimal& maximum) const OVERRIDE; 63 virtual String rangeUnderflowText(const Decimal& minimum) const OVERRIDE; 64 virtual Decimal defaultValueForStepUp() const OVERRIDE;
|
RangeInputType.h | 51 virtual void setValueAsDecimal(const Decimal&, TextFieldEventBehavior, ExceptionState&) const OVERRIDE; 62 virtual Decimal parseToNumber(const String&, const Decimal&) const OVERRIDE; 63 virtual String serialize(const Decimal&) const OVERRIDE; 75 virtual Decimal findClosestTickMarkValue(const Decimal&) OVERRIDE; 78 Vector<Decimal> m_tickMarkValues;
|
InputType.h | 122 virtual void setValueAsDecimal(const Decimal&, TextFieldEventBehavior, ExceptionState&) const; 140 virtual Decimal defaultValueForStepUp() const; 144 virtual bool getAllowedValueStep(Decimal*) const; 149 virtual String rangeOverflowText(const Decimal& maximum) const; 150 virtual String rangeUnderflowText(const Decimal& minimum) const; 196 virtual Decimal findClosestTickMarkValue(const Decimal&); 200 // the Decimal value for the parsing result if the parsing 203 virtual Decimal parseToNumber(const String&, const Decimal& defaultValue) const [all...] |
BaseDateAndTimeInputType.cpp | 63 const Decimal value = parseToNumber(element().value(), Decimal::nan()); 67 void BaseDateAndTimeInputType::setValueAsDecimal(const Decimal& newValue, TextFieldEventBehavior eventBehavior, ExceptionState&) const 82 String BaseDateAndTimeInputType::rangeOverflowText(const Decimal& maximum) const 87 String BaseDateAndTimeInputType::rangeUnderflowText(const Decimal& minimum) const 92 Decimal BaseDateAndTimeInputType::defaultValueForStepUp() const 98 return Decimal::fromDouble(ms + (offset * msPerMinute)); 106 Decimal BaseDateAndTimeInputType::parseToNumber(const String& source, const Decimal& defaultValue) const 113 return Decimal::fromDouble(msec) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
DecimalTest.cpp | 32 #include "platform/Decimal.h" 41 std::ostream& operator<<(std::ostream& os, const Decimal& decimal) 43 Decimal::EncodedData data = decimal.value(); 47 << ", " << (data.sign() == Decimal::Negative ? "Negative" : "Positive") 48 << ")=" << decimal.toString().ascii().data(); 58 Decimal maximum; 59 Decimal minimum; 60 Decimal step [all...] |
Decimal.h | 45 // This class represents decimal base floating point number. 47 // FIXME: Once all C++ compiler support decimal type, we should replace this 48 // class to compiler supported one. See below URI for current status of decimal 50 class PLATFORM_EXPORT Decimal { 61 friend class Decimal; 97 Decimal(int32_t = 0); 98 Decimal(Sign, int exponent, uint64_t coefficient); 99 Decimal(const Decimal&); 101 Decimal& operator=(const Decimal&) [all...] |
Decimal.cpp | 32 #include "platform/Decimal.h" 51 // This class handles Decimal special values. 63 SpecialValueHandler(const Decimal& lhs, const Decimal& rhs); 65 Decimal value() const; 74 const Decimal& m_lhs; 75 const Decimal& m_rhs; 79 SpecialValueHandler::SpecialValueHandler(const Decimal& lhs, const Decimal& rhs) 89 const Decimal::EncodedData::FormatClass lhsClass = m_lhs.value().formatClass() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_decimal.py | 11 These are the test cases for the Decimal module. 14 the Decimal arithmetic using the tests provided by Mike Cowlishaw. The latter 19 www2.hursley.ibm.com/decimal/dectest.zip 32 from decimal import * 90 # Decimal behaves differently from decNumber for these testcases so these 148 # Name adapter to be able to change the Decimal and Context 189 # The following functions return True/False rather than a Decimal instance 206 """Class which tests the Decimal class against the test cases. 338 v = Decimal(v, self.context) 412 # The following classes test the behaviour of Decimal according to PEP 32 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_decimal.py | 11 These are the test cases for the Decimal module. 14 the Decimal arithmetic using the tests provided by Mike Cowlishaw. The latter 19 www2.hursley.ibm.com/decimal/dectest.zip 32 from decimal import * 90 # Decimal behaves differently from decNumber for these testcases so these 148 # Name adapter to be able to change the Decimal and Context 189 # The following functions return True/False rather than a Decimal instance 206 """Class which tests the Decimal class against the test cases. 338 v = Decimal(v, self.context) 412 # The following classes test the behaviour of Decimal according to PEP 32 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
decimal.py | 21 This is a Py2.3 implementation of decimal floating point arithmetic based on 22 the General Decimal Arithmetic Specification: 24 http://speleotrove.com/decimal/decarith.html 30 Decimal floating point has finite precision with arbitrarily large bounds. 38 of the expected Decimal('0.00') returned by decimal floating point). 40 Here are some examples of using the decimal module: 42 >>> from decimal import * 44 >>> Decimal(0) 45 Decimal('0' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
decimal.py | 21 This is a Py2.3 implementation of decimal floating point arithmetic based on 22 the General Decimal Arithmetic Specification: 24 http://speleotrove.com/decimal/decarith.html 30 Decimal floating point has finite precision with arbitrarily large bounds. 38 of the expected Decimal('0.00') returned by decimal floating point). 40 Here are some examples of using the decimal module: 42 >>> from decimal import * 44 >>> Decimal(0) 45 Decimal('0' [all...] |
/external/llvm/test/YAMLParser/ |
construct-int.data | 4 decimal: +685_230
|
spec-02-19.data | 4 decimal: +12,345
|
/cts/apps/CtsVerifier/res/xml/ |
camera_fov_calibration_preferences.xml | 10 android:numeric="decimal" 16 android:numeric="decimal"
|
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
README | 3 This project (double-conversion) provides binary-decimal and decimal-binary
|
/frameworks/base/core/java/android/text/method/ |
DigitsKeyListener.java | 39 private static final int DECIMAL = 2; 77 * plus the minus sign (only at the beginning) and/or decimal point 80 public DigitsKeyListener(boolean sign, boolean decimal) { 82 mDecimal = decimal; 84 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0); 97 * plus the minus sign (only at the beginning) and/or decimal point 100 public static DigitsKeyListener getInstance(boolean sign, boolean decimal) { 101 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0) 153 int decimal = -1; local [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
DecimalFormatProperties.java | 28 * Implement xsl:decimal-format. 30 * <!ELEMENT xsl:decimal-format EMPTY> 31 * <!ATTLIST xsl:decimal-format 33 * decimal-separator %char; "." 73 * Return the decimal format Symbols for this element. 74 * <p>The xsl:decimal-format element declares a decimal-format, 77 * the element declares a named decimal-format; otherwise, it 78 * declares the default decimal-format. The value of the name 80 * It is an error to declare either the default decimal-format or [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_decode.py | 1 import decimal namespace 9 rval = self.loads('1.1', parse_float=decimal.Decimal) 10 self.assertTrue(isinstance(rval, decimal.Decimal)) 11 self.assertEqual(rval, decimal.Decimal('1.1'))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_decode.py | 1 import decimal namespace 9 rval = self.loads('1.1', parse_float=decimal.Decimal) 10 self.assertTrue(isinstance(rval, decimal.Decimal)) 11 self.assertEqual(rval, decimal.Decimal('1.1'))
|
/external/icu4c/i18n/ |
decfmtst.h | 10 * parsing of decimal and group separators. 38 static const UnicodeSet *getSimilarDecimals(UChar32 decimal, UBool strictParse);
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
NumUtil.java | 9 * conversion, decimal degree to radians etc) 20 * @param Rpl number of decimal places
|
/external/iptables/extensions/ |
libxt_DSCP.man | 6 Set the DSCP field to a numerical value (can be decimal or hex)
|