/external/v8/test/mjsunit/ |
D | str-to-num.js | 28 function toNumber(val) { function 47 assertEquals(123, toNumber(" 123")); 48 assertEquals(123, toNumber("\n123")); 49 assertEquals(123, toNumber("\r123")); 50 assertEquals(123, toNumber("\t123")); 51 assertEquals(123, toNumber("\f123")); 53 assertEquals(123, toNumber("123 ")); 54 assertEquals(123, toNumber("123\n")); 55 assertEquals(123, toNumber("123\r")); 56 assertEquals(123, toNumber("123\t")); [all …]
|
/external/chromium_org/v8/test/mjsunit/ |
D | str-to-num.js | 28 function toNumber(val) { function 47 assertEquals(123, toNumber(" 123")); 48 assertEquals(123, toNumber("\n123")); 49 assertEquals(123, toNumber("\r123")); 50 assertEquals(123, toNumber("\t123")); 51 assertEquals(123, toNumber("\f123")); 53 assertEquals(123, toNumber("123 ")); 54 assertEquals(123, toNumber("123\n")); 55 assertEquals(123, toNumber("123\r")); 56 assertEquals(123, toNumber("123\t")); [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
D | XPathPredicate.cpp | 62 return -p.toNumber(); in evaluate() 77 double leftVal = lhs.toNumber(); in evaluate() 78 double rightVal = rhs.toNumber(); in evaluate() 123 if (compare(Value(stringValue(lhsSet[lindex])).toNumber(), rhs)) in compare() 148 if (compare(lhs, Value(stringValue(rhsSet[rindex])).toNumber())) in compare() 171 equal = lhs.toNumber() == rhs.toNumber(); in compare() 179 return lhs.toNumber() > rhs.toNumber(); in compare() 181 return lhs.toNumber() >= rhs.toNumber(); in compare() 183 return lhs.toNumber() < rhs.toNumber(); in compare() 185 return lhs.toNumber() <= rhs.toNumber(); in compare() [all …]
|
D | XPathFunctions.cpp | 502 double doublePos = arg(1)->evaluate().toNumber(); in evaluate() 509 double doubleLen = arg(2)->evaluate().toNumber(); in evaluate() 626 return Value(Expression::evaluationContext().node.get()).toNumber(); in evaluate() 627 return arg(0)->evaluate().toNumber(); in evaluate() 642 sum += Value(stringValue(nodes[i])).toNumber(); in evaluate() 649 return floor(arg(0)->evaluate().toNumber()); in evaluate() 654 return ceil(arg(0)->evaluate().toNumber()); in evaluate() 670 return round(arg(0)->evaluate().toNumber()); in evaluate()
|
D | XPathValue.cpp | 84 double Value::toNumber() const in toNumber() function in WebCore::XPath::Value 88 return Value(toString()).toNumber(); in toNumber()
|
D | XPathResult.cpp | 77 m_value = m_value.toNumber(); in convertTo() 127 return m_value.toNumber(); in numberValue()
|
D | XPathValue.h | 82 double toNumber() const;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGAnimatedNumber.cpp | 91 float toNumber = to->number(); in calculateAnimatedValue() local 97 …loat>(parseNumberFromString, m_animationElement->toPropertyValueType(), toNumber, m_contextElement… in calculateAnimatedValue() 99 …m_animationElement->animateAdditiveNumber(percentage, repeatCount, fromNumber, toNumber, toAtEndOf… in calculateAnimatedValue()
|
D | SVGAnimationElement.h | 147 …eNumber(float percentage, unsigned repeatCount, float fromNumber, float toNumber, float toAtEndOfD… in animateAdditiveNumber() argument 151 number = percentage < 0.5 ? fromNumber : toNumber; in animateAdditiveNumber() 153 number = (toNumber - fromNumber) * percentage + fromNumber; in animateAdditiveNumber()
|
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
D | ExpressionContext.java | 60 public double toNumber(Node n); in toNumber() method
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
D | XPathContext.java | 1129 public double toNumber(org.w3c.dom.Node n) in toNumber() method in XPathContext.XPathExpressionContext
|
/external/chromium_org/chrome/third_party/chromevox/ |
D | chromeVoxChromePageScript.js | 45 goog.string.toNumber=function(a){var b=Number(a);return 0==b&&goog.string.isEmpty(a)?NaN:b};goog.st… function
|
D | chromeVoxChromeOptionsScript.js | 106 goog.string.toNumber=function(a){var b=Number(a);return 0==b&&goog.string.isEmpty(a)?NaN:b};goog.st… function
|
D | chromeVoxChromeBackgroundScript.js | 45 goog.string.toNumber=function(a){var b=Number(a);return 0==b&&goog.string.isEmpty(a)?NaN:b};goog.st… function
|