Searched defs:Decimal (Results 1 - 6 of 6) sorted by relevance
/external/chromium_org/third_party/simplejson/ |
H A D | __init__.py | 71 >>> from decimal import Decimal 72 >>> json.loads('1.1', parse_float=Decimal) == Decimal('1.1') 109 from decimal import Decimal namespace 189 If *use_decimal* is true (default: ``True``) then decimal.Decimal 286 If *use_decimal* is true (default: ``True``) then decimal.Decimal 372 for JSON floats (e.g. :class:`decimal.Decimal`). 385 parse_float=decimal.Decimal for parity with ``dump``. 428 for JSON floats (e.g. :class:`decimal.Decimal`). 441 parse_float=decimal.Decimal fo [all...] |
H A D | encoder.py | 4 from decimal import Decimal namespace 155 If use_decimal is true (not the default), ``decimal.Decimal`` will 157 with ``parse_float=decimal.Decimal``. 301 Decimal) 309 Decimal=Decimal) 352 Decimal=Decimal, 405 elif _use_decimal and isinstance(value, Decimal): 498 elif _use_decimal and isinstance(value, Decimal) [all...] |
H A D | _speedups.c | 85 PyObject *Decimal; member in struct:_PyEncoderObject 2061 s->Decimal = NULL; 2070 static char *kwlist[] = {"markers", "default", "encoder", "indent", "key_separator", "item_separator", "sort_keys", "skipkeys", "allow_nan", "key_memo", "use_decimal", "namedtuple_as_object", "tuple_as_array", "bigint_as_string", "item_sort_key", "Decimal", NULL}; 2076 PyObject *bigint_as_string, *item_sort_key, *Decimal; local 2085 &item_sort_key, &Decimal)) 2104 s->Decimal = Decimal; 2116 Py_INCREF(s->Decimal); 2269 else if (s->use_decimal && PyObject_TypeCheck(obj, s->Decimal)) { 2663 Py_CLEAR(s->Decimal); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
H A D | HTMLEntityParser.cpp | 168 Decimal, enumerator in enum:WebCore::EntityState 203 entityState = Decimal; 241 case Decimal: {
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | Decimal.h | 50 class PLATFORM_EXPORT Decimal { class in namespace:WebCore 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&); 102 Decimal& operator+=(const Decimal [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
H A D | InputType.cpp | 223 setValueAsDecimal(Decimal::fromDouble(doubleValue), eventBehavior, exceptionState); 226 void InputType::setValueAsDecimal(const Decimal&, TextFieldEventBehavior, ExceptionState& exceptionState) const argument 272 const Decimal numericValue = parseToNumberOrNaN(value); 284 const Decimal numericValue = parseToNumberOrNaN(value); 291 Decimal InputType::defaultValueForStepUp() const 311 const Decimal numericValue = parseToNumberOrNaN(value); 324 const Decimal numericValue = parseToNumberOrNaN(value); 337 const Decimal numericValue = parseToNumberOrNaN(value); 350 String InputType::rangeOverflowText(const Decimal&) const 356 String InputType::rangeUnderflowText(const Decimal 776 findClosestTickMarkValue(const Decimal&) argument [all...] |
Completed in 666 milliseconds