Home
last modified time | relevance | path

Searched refs:NumberValue (Results 1 – 25 of 43) sorted by relevance

12

/external/jsilver/src/com/google/clearsilver/jsilver/values/
DValue.java56 ZERO_PART_ESCAPED.put(EscapeMode.ESCAPE_NONE, new NumberValue(0, EscapeMode.ESCAPE_NONE, true)); in ZERO_PART_ESCAPED.put()
57 ZERO_PART_ESCAPED.put(EscapeMode.ESCAPE_IS_CONSTANT, new NumberValue(0, in ZERO_PART_ESCAPED.put()
61 ZERO_UNESCAPED.put(EscapeMode.ESCAPE_NONE, new NumberValue(0, EscapeMode.ESCAPE_NONE, false)); in ZERO_UNESCAPED.put()
62 ZERO_UNESCAPED.put(EscapeMode.ESCAPE_IS_CONSTANT, new NumberValue(0, in ZERO_UNESCAPED.put()
66 ONE_PART_ESCAPED.put(EscapeMode.ESCAPE_NONE, new NumberValue(1, EscapeMode.ESCAPE_NONE, true)); in ONE_PART_ESCAPED.put()
67 ONE_PART_ESCAPED.put(EscapeMode.ESCAPE_IS_CONSTANT, new NumberValue(1, in ONE_PART_ESCAPED.put()
71 ONE_UNESCAPED.put(EscapeMode.ESCAPE_NONE, new NumberValue(1, EscapeMode.ESCAPE_NONE, false)); in ONE_UNESCAPED.put()
72 ONE_UNESCAPED.put(EscapeMode.ESCAPE_IS_CONSTANT, new NumberValue(1, in ONE_UNESCAPED.put()
152 return new NumberValue(num, mode, partiallyEscaped); in getIntValue()
DNumberValue.java26 class NumberValue extends Value { class
30 public NumberValue(int value, EscapeMode escapeMode, boolean partiallyEscaped) { in NumberValue() method in NumberValue
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8DeviceMotionEventCustom.cpp49 double x = xValue->NumberValue(); in readAccelerationArgument()
55 double y = yValue->NumberValue(); in readAccelerationArgument()
61 double z = zValue->NumberValue(); in readAccelerationArgument()
81 double alpha = alphaValue->NumberValue(); in readRotationRateArgument()
87 double beta = betaValue->NumberValue(); in readRotationRateArgument()
93 double gamma = gammaValue->NumberValue(); in readRotationRateArgument()
114 double interval = info[6]->NumberValue(); in initDeviceMotionEventMethodCustom()
DV8DeviceOrientationEventCustom.cpp44 double alpha = info[3]->NumberValue(); in initDeviceOrientationEventMethodCustom()
46 double beta = info[4]->NumberValue(); in initDeviceOrientationEventMethodCustom()
48 double gamma = info[5]->NumberValue(); in initDeviceOrientationEventMethodCustom()
DV8TextTrackCueCustom.cpp56 V8TRYCATCH_VOID(double, startTime, static_cast<double>(info[0]->NumberValue())); in constructorCustom()
57 V8TRYCATCH_VOID(double, endTime, static_cast<double>(info[1]->NumberValue())); in constructorCustom()
DV8SQLResultSetRowListCustom.cpp73 case SQLValue::NumberValue: in itemMethodCustom()
DV8SQLTransactionSyncCustom.cpp80 V8TRYCATCH_VOID(double, sqlValue, value->NumberValue()); in executeSqlMethodCustom()
DV8SVGLengthCustom.cpp71 imp.setValue(static_cast<float>(value->NumberValue()), lengthContext, exceptionState); in valueAttributeSetterCustom()
DV8HTMLOptionsCollectionCustom.cpp101 double v = value->NumberValue(); in lengthAttributeSetterCustom()
DV8SQLTransactionCustom.cpp80 V8TRYCATCH_VOID(double, sqlValue, value->NumberValue()); in executeSqlMethodCustom()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathValue.h55 enum Type { NodeSetValue, BooleanValue, NumberValue, StringValue }; enumerator
57 Value(unsigned value) : m_type(NumberValue), m_bool(false), m_number(value) {} in Value()
58 Value(unsigned long value) : m_type(NumberValue), m_bool(false), m_number(value) {} in Value()
59 Value(double value) : m_type(NumberValue), m_bool(false), m_number(value) {} in Value()
76 bool isNumber() const { return m_type == NumberValue; } in isNumber()
DXPathPredicate.h42 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
60 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
71 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
113 …onst { return m_expr->isContextPositionSensitive() || m_expr->resultType() == Value::NumberValue; } in isContextPositionSensitive()
DXPathValue.cpp75 case NumberValue: in toBoolean()
89 case NumberValue: in toNumber()
124 case NumberValue: in toString()
DXPathFunctions.cpp76 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
83 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
90 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
158 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
204 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
211 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
216 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
221 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
226 virtual Value::Type resultType() const { return Value::NumberValue; } in resultType()
DXPathVariableReference.h41 … virtual Value::Type resultType() const { ASSERT_NOT_REACHED(); return Value::NumberValue; } in resultType()
DXPathResult.cpp49 case Value::NumberValue: in XPathResult()
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/
DSQLValue.h38 enum Type { NullValue, NumberValue, StringValue }; enumerator
41 SQLValue(double number) : m_type(NumberValue), m_number(number) { } in SQLValue()
DSQLValue.cpp51 ASSERT(m_type == NumberValue); in number()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DIDBBindingUtilities.cpp158 if (value->IsNumber() && !std::isnan(value->NumberValue())) in createIDBKeyFromValue()
159 return IDBKey::createNumber(value->NumberValue()); in createIDBKeyFromValue()
162 if (value->IsDate() && !std::isnan(value->NumberValue())) in createIDBKeyFromValue()
163 return IDBKey::createDate(value->NumberValue()); in createIDBKeyFromValue()
DScriptValue.cpp83 return JSONBasicValue::create(value->NumberValue()); in v8ToJSONValue()
DV8Binding.h381 return static_cast<float>(value->NumberValue());
412 return static_cast<float>(value->NumberValue());
420 return static_cast<double>(value->NumberValue());
599 return object->NumberValue();
DV8NPUtils.cpp58 DOUBLE_TO_NPVARIANT(object->NumberValue(), *result); in convertV8ObjectToNPVariant()
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
DV8TestTypedefs.cpp297 V8TRYCATCH_VOID(float, width, static_cast<float>(info[0]->NumberValue())); in setShadowMethod()
298 V8TRYCATCH_VOID(float, height, static_cast<float>(info[1]->NumberValue())); in setShadowMethod()
299 V8TRYCATCH_VOID(float, blur, static_cast<float>(info[2]->NumberValue())); in setShadowMethod()
309 V8TRYCATCH_VOID(float, alpha, static_cast<float>(info[4]->NumberValue())); in setShadowMethod()
/external/v8/test/cctest/
Dtest-lockers.cc76 CHECK_EQ(30, static_cast<int>(v->NumberValue())); in Run()
85 CHECK_EQ(30, static_cast<int>(v->NumberValue())); in Run()
121 CHECK_EQ(55, static_cast<int>(v->NumberValue())); in CalcFibAndCheck()
/external/chromium_org/chrome/renderer/translate/
Dtranslate_script_browsertest.cc124 return result->NumberValue(); in ExecuteScriptAndGetNumberResult()

12