Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DBorderImageLength.h58 bool isNumber() const { return m_type == NumberType; } in isNumber() function
64 double number() const { ASSERT(isNumber()); return m_number; } in number()
73 return (isLength() && m_length.isZero()) || (isNumber() && m_number); in isZero()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathPredicate.cpp118 if (rhs.isNumber()) { in compare()
146 if (lhs.isNumber()) { in compare()
170 else if (lhs.isNumber() || rhs.isNumber()) in compare()
267 if (result.isNumber()) in evaluate()
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DTestRunner.cpp831 if (arguments.size() > 0 && arguments[0].isNumber()) in queueBackNavigation()
838 if (arguments.size() > 0 && arguments[0].isNumber()) in queueForwardNavigation()
1190 if (arguments.size() >= 2 && arguments[0].isNumber() && arguments[1].isString()) { in evaluateScriptInIsolatedWorldAndReturnValue()
1218 if (arguments.size() >= 2 && arguments[0].isNumber() && arguments[1].isString()) { in evaluateScriptInIsolatedWorld()
1231 …if (arguments.size() != 2 || !arguments[0].isNumber() || !(arguments[1].isString() || arguments[1]… in setIsolatedWorldSecurityOrigin()
1244 if (arguments.size() != 2 || !arguments[0].isNumber() || !arguments[1].isString()) in setIsolatedWorldContentSecurityPolicy()
1443 …| !arguments[0].isObject() || !arguments[1].isNumber() || !arguments[2].isNumber() || !arguments[3… in textSurroundingNode()
1512 || !arguments[0].isBool() || !arguments[1].isNumber() // acceleration.x in setMockDeviceMotion()
1513 || !arguments[2].isBool() || !arguments[3].isNumber() // acceleration.y in setMockDeviceMotion()
1514 || !arguments[4].isBool() || !arguments[5].isNumber() // acceleration.z in setMockDeviceMotion()
[all …]
DWebAXObjectProxy.cpp814 if (!arguments.size() || !arguments[0].isNumber()) { in lineForIndexCallback()
834 if (arguments.size() != 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in boundsForRangeCallback()
864 if (!arguments.size() || !arguments[0].isNumber()) { in childAtIndexCallback()
882 if (arguments.size() != 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in elementAtPointCallback()
927 if (arguments.size() != 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in cellForColumnAndRowCallback()
955 if (arguments.size() != 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in setSelectedTextRangeCallback()
1073 || !arguments[0].isNumber() in scrollToMakeVisibleWithSubFocusCallback()
1074 || !arguments[1].isNumber() in scrollToMakeVisibleWithSubFocusCallback()
1075 || !arguments[2].isNumber() in scrollToMakeVisibleWithSubFocusCallback()
1076 || !arguments[3].isNumber()) in scrollToMakeVisibleWithSubFocusCallback()
[all …]
DTextInputController.cpp89 || !arguments[1].isNumber() || !arguments[2].isNumber()) in setMarkedText()
181 if (arguments.size() < 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in firstRectForCharacterRange()
DEventSender.cpp404 if (arguments.size() > 0 && arguments[0].isNumber()) in getButtonNumberFromSingleArg()
512 if (arguments.size() < 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in mouseMoveTo()
664 if (arguments.size() >= 3 && arguments[2].isNumber()) { in keyDown()
743 if (arguments.size() < 1 || !arguments[0].isNumber()) in leapForward()
795 …if (arguments.size() < 3 || !arguments[0].isNumber() || !arguments[1].isNumber() || !arguments[2]. in setPageScaleFactor()
1154 if (arguments.size() < 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in initMouseWheelEvent()
1284 if (arguments.size() < 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in gestureScrollFirstPoint()
1293 if (arguments.size() < 2 || !arguments[0].isNumber() || !arguments[1].isNumber()) in gestureEvent()
1424 if (!arguments[i].isNumber()) in gestureFlingStart()
DCppVariant.h108 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()
Dcpp_variant.h84 bool isNumber() const { return (isInt32() || isDouble()); } in isNumber() function
/external/chromium_org/webkit/renderer/
Dcpp_variant_unittest.cc376 EXPECT_FALSE(cpp.isNumber()); in TEST_F()
386 EXPECT_FALSE(cpp.isNumber()); in TEST_F()
397 EXPECT_TRUE(cpp.isNumber()); in TEST_F()
408 EXPECT_TRUE(cpp.isNumber()); in TEST_F()
419 EXPECT_FALSE(cpp.isNumber()); in TEST_F()
430 EXPECT_FALSE(cpp.isNumber()); in TEST_F()
442 EXPECT_FALSE(cpp.isNumber()); in TEST_F()
/external/chromium_org/content/test/
Dcpp_binding_example.cc108 if (!arg1.isNumber() || !arg2.isNumber()) { in plus()
/external/chromium_org/content/renderer/
Ddom_automation_controller.cc146 if (!args[0].isNumber() || args[1].type != NPVariantType_String) { in SendWithId()
165 if (!args[0].isNumber()) { in SetAutomationId()
/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/srec/portable/src/
Dptypes.c22 PINLINE ESR_BOOL isNumber(const LCHAR* str) in isNumber() function
/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/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/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
Dbackground.js221 function isNumber(n) { function
225 if (!isNumber(localStorage.popupLastOpened)) {
264 if (isNumber(request.openWhenComplete)) {
/external/v8/test/mjsunit/
Dmirror-number.js43 assertTrue(mirror.isNumber());
/external/chromium_org/v8/test/mjsunit/
Dmirror-number.js43 assertTrue(mirror.isNumber());
/external/chromium_org/v8/test/webkit/
Dtypeof-constant-string-expected.txt39 PASS isNumber(1) is true
40 PASS isNumber(undefined) is false
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleBuilderConverter.cpp109 ASSERT(primitiveValue->isNumber() || primitiveValue->isPercentage()); in convertNumberOrPercentage()
110 if (primitiveValue->isNumber()) in convertNumberOrPercentage()

123