Home
last modified time | relevance | path

Searched refs:isNumber (Results 1 – 25 of 85) sorted by relevance

1234

/external/webkit/Source/WebCore/xml/
DXPathPredicate.cpp123 if (rhs.isNumber()) { in compare()
151 if (lhs.isNumber()) { in compare()
175 else if (lhs.isNumber() || rhs.isNumber()) in compare()
273 if (result.isNumber()) in evaluate()
/external/webkit/Source/JavaScriptCore/parser/
DASTBuilder.h669 if (n->isNumber()) { in makeNegateNode()
680 if (expr->isNumber()) in makeBitwiseNotNode()
690 if (expr1->isNumber() && expr2->isNumber()) in makeMultNode()
693 if (expr1->isNumber() && static_cast<NumberNode*>(expr1)->value() == 1) in makeMultNode()
696 if (expr2->isNumber() && static_cast<NumberNode*>(expr2)->value() == 1) in makeMultNode()
707 if (expr1->isNumber() && expr2->isNumber()) in makeDivNode()
717 if (expr1->isNumber() && expr2->isNumber()) in makeModNode()
724 if (expr1->isNumber() && expr2->isNumber()) in makeAddNode()
734 if (expr1->isNumber() && expr2->isNumber()) in makeSubNode()
741 if (expr1->isNumber() && expr2->isNumber()) in makeLeftShiftNode()
[all …]
/external/webkit/Tools/DumpRenderTree/chromium/
DTextInputController.cpp105 && arguments[1].isNumber() && arguments[2].isNumber()) { in setMarkedText()
188 if (arguments.size() < 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in firstRectForCharacterRange()
DLayoutTestController.cpp400 if (arguments.size() > 0 && arguments[0].isNumber()) in queueBackNavigation()
407 if (arguments.size() > 0 && arguments[0].isNumber()) in queueForwardNavigation()
994 …if (arguments.size() > 2 && arguments[0].isString() && arguments[1].isNumber() && arguments[2].isS… in pauseAnimationAtTimeOnElementWithId()
1005 …if (arguments.size() > 2 && arguments[0].isString() && arguments[1].isNumber() && arguments[2].isS… in pauseTransitionAtTimeOnElementWithId()
1217 if (arguments.size() >= 2 && arguments[0].isNumber() && arguments[1].isString()) { in evaluateScriptInIsolatedWorld()
1250 if (value.isNumber()) in cppVariantToBool()
1265 if (value.isNumber()) in cppVariantToInt32()
1418 if ((arguments.size() >= 1) && arguments[0].isNumber()) in setDatabaseQuota()
1455 if (!arguments[argOffset].isNumber() || !arguments[1 + argOffset].isNumber()) in parsePageSizeParameters()
1531 if (arguments.size() < 2 || !arguments[0].isNumber() || !arguments[1].isString()) in evaluateInWebInspector()
[all …]
DEventSender.cpp359 if (arguments.size() > 0 && arguments[0].isNumber()) in getButtonNumberFromSingleArg()
458 if (arguments.size() < 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in mouseMoveTo()
580 if (arguments.size() >= 3 && arguments[2].isNumber()) { in keyDown()
651 if (arguments.size() < 1 || !arguments[0].isNumber()) in leapForward()
943 if (arguments.size() < 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in handleMouseWheel()
DCppVariant.h107 bool isNumber() const { return (isInt32() || isDouble()); } in isNumber() function
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DCommonTokenStream.js145 } else if (org.antlr.lang.isNumber(types)) {
263 if (!org.antlr.lang.isNumber(marker)) {
295 if (!org.antlr.lang.isNumber(start) && !org.antlr.lang.isNumber(stop)) {
DTokenRewriteStream.js359 if (!org.antlr.lang.isNumber(start)) {
362 if (!org.antlr.lang.isNumber(end)) {
445 if (!org.antlr.lang.isNumber(start)) {
448 if (!org.antlr.lang.isNumber(end)) {
DBitSet.js25 } else if(org.antlr.lang.isNumber(bits)) {
116 if (org.antlr.lang.isNumber(el)) {
117 if (org.antlr.lang.isNumber(el2)) {
150 if (org.antlr.lang.isNumber(i)) {
/external/chromium/webkit/glue/
Dcpp_variant_unittest.cc355 EXPECT_FALSE(cpp.isNumber()); in TEST()
365 EXPECT_FALSE(cpp.isNumber()); in TEST()
376 EXPECT_TRUE(cpp.isNumber()); in TEST()
387 EXPECT_TRUE(cpp.isNumber()); in TEST()
398 EXPECT_FALSE(cpp.isNumber()); in TEST()
409 EXPECT_FALSE(cpp.isNumber()); in TEST()
421 EXPECT_FALSE(cpp.isNumber()); in TEST()
Dcpp_binding_example.cc95 if (!arg1.isNumber() || !arg2.isNumber()) { in plus()
/external/webkit/Source/JavaScriptCore/runtime/
DJSValueInlineMethods.h59 ASSERT(isNumber()); in uncheckedGetNumber()
65 return isNumber() ? asValue() : jsNumber(this->toNumber(exec)); in toJSNumber()
343 inline bool JSValue::isNumber() const in isNumber() function
449 return isNumber() && !isInt32(); in isDouble()
517 inline bool JSValue::isNumber() const in isNumber() function
DOperations.h250 if (v1.isNumber() && v2.isNumber()) in equalSlowCaseInline()
301 if (v2.isNumber()) in equalSlowCaseInline()
304 if (v1.isNumber()) in equalSlowCaseInline()
328 if (v1.isNumber() && v2.isNumber()) in strictEqual()
DJSValue.cpp86 if (isNumber()) in synthesizeObject()
99 if (isNumber()) in synthesizePrototype()
DWriteBarrier.h134 bool isNumber() const { return get().isNumber(); }
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/
Dtst_qscriptvalue.cpp67 QCOMPARE(v.isNumber(), true); in ctor()
74 QVERIFY(v.isNumber()); in ctor()
80 QCOMPARE(v.isNumber(), true); in ctor()
87 QVERIFY(v.isNumber()); in ctor()
93 QCOMPARE(v.isNumber(), true); in ctor()
100 QVERIFY(v.isNumber()); in ctor()
175 QCOMPARE(v.isNumber(), true); in ctor()
183 QCOMPARE(v.isNumber(), true); in ctor()
191 QCOMPARE(v.isNumber(), true); in ctor()
245 QVERIFY(QScriptValue(0, int(1)).isNumber()); in ctor()
[all …]
Dtst_qscriptvalue_generated_istype.cpp334 void tst_QScriptValue::isNumber() in isNumber() function in tst_QScriptValue
338 QCOMPARE(value.isNumber(), expected); in isNumber()
339 QCOMPARE(value.isNumber(), expected); in isNumber()
/external/webkit/Source/JavaScriptCore/qt/benchmarks/qscriptvalue/
Dtst_qscriptvalue.cpp57 void isNumber();
207 void tst_QScriptValue::isNumber() in isNumber() function in tst_QScriptValue
211 value.isNumber(); in isNumber()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/
Dantlr.js269 return l.isNumber(o.length) && l.isFunction(o.splice);
306 isNumber: function(o) {
482 return (l.isObject(o) || l.isString(o) || l.isNumber(o) || l.isBoolean(o));
/external/webkit/Source/WebCore/wml/
DWMLTableElement.cpp70 bool isNumber = false; in parseMappedAttribute() local
71 m_columns = attr->value().string().toUIntStrict(&isNumber); in parseMappedAttribute()
76 if (!m_columns || !isNumber) in parseMappedAttribute()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonTreeNodeStream.js250 if (!org.antlr.lang.isNumber(marker)) {
341 if ( !org.antlr.lang.isNumber(start) || !org.antlr.lang.isNumber(stop) ) {
/external/srec/portable/src/
Dptypes.c22 PINLINE ESR_BOOL isNumber(const LCHAR* str) in isNumber() function
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java566 Predicate<Object> isNumber = Predicates.instanceOf(Number.class); in testIsInstanceOf_subclass() local
568 assertTrue(isNumber.apply(1)); in testIsInstanceOf_subclass()
569 assertTrue(isNumber.apply(2.0f)); in testIsInstanceOf_subclass()
570 assertFalse(isNumber.apply("")); in testIsInstanceOf_subclass()
571 assertFalse(isNumber.apply(null)); in testIsInstanceOf_subclass()
615 Predicate<Class<?>> isNumber = Predicates.assignableFrom(Number.class); in testIsAssignableFrom_subclass() local
617 assertTrue(isNumber.apply(Integer.class)); in testIsAssignableFrom_subclass()
618 assertTrue(isNumber.apply(Float.class)); in testIsAssignableFrom_subclass()
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptengine/
Dtst_qscriptengine.cpp141 QCOMPARE(result.isNumber(), true); in newFunction()
174 QCOMPARE(result.isNumber(), true); in newFunction()
186 QCOMPARE(result.isNumber(), true); in newFunction()
338 QVERIFY(ret.isNumber()); in evaluateProgram()
345 QVERIFY(ret.isNumber()); in evaluateProgram()
722 QVERIFY(ret.isNumber()); in newDate()
/external/v8/test/mjsunit/
Dmirror-number.js43 assertTrue(mirror.isNumber());

1234