Home
last modified time | relevance | path

Searched refs:JSValueToNumber (Results 1 – 25 of 27) sorted by relevance

12

/external/webkit/Tools/DumpRenderTree/win/
DEventSender.cpp99 msgQueue[endOfQueue].delay = JSValueToNumber(context, arguments[0], exception); in leapForwardCallback()
154 …int modifiersCount = JSValueToNumber(context, JSObjectGetProperty(context, modifiersArray, JSStrin… in buildModifierFlags()
180 int mouseNumber = JSValueToNumber(context, arguments[0], exception); in mouseDownCallback()
266 int mouseNumber = JSValueToNumber(context, arguments[0], exception); in mouseUpCallback()
334 lastMousePosition.x = (int)JSValueToNumber(context, arguments[0], exception); in mouseMoveToCallback()
336 lastMousePosition.y = (int)JSValueToNumber(context, arguments[1], exception); in mouseMoveToCallback()
499 …int modifiersCount = JSValueToNumber(context, JSObjectGetProperty(context, modifiersArray, lengthP… in keyDownCallback()
552 msg.message = JSValueToNumber(context, arguments[0], exception); in dispatchMessageCallback()
554 msg.wParam = JSValueToNumber(context, arguments[1], exception); in dispatchMessageCallback()
556 msg.lParam = static_cast<ULONG_PTR>(JSValueToNumber(context, arguments[2], exception)); in dispatchMessageCallback()
[all …]
/external/webkit/Tools/DumpRenderTree/
DAccessibilityUIElement.cpp126 indexNumber = JSValueToNumber(context, arguments[0], exception); in lineForIndexCallback()
135 indexNumber = JSValueToNumber(context, arguments[0], exception); in rangeForLineCallback()
145 location = JSValueToNumber(context, arguments[0], exception); in boundsForRangeCallback()
146 length = JSValueToNumber(context, arguments[1], exception); in boundsForRangeCallback()
157 location = JSValueToNumber(context, arguments[0], exception); in stringForRangeCallback()
158 length = JSValueToNumber(context, arguments[1], exception); in stringForRangeCallback()
169 location = JSValueToNumber(context, arguments[0], exception); in attributedStringForRangeCallback()
170 length = JSValueToNumber(context, arguments[1], exception); in attributedStringForRangeCallback()
181 location = JSValueToNumber(context, arguments[0], exception); in attributedStringRangeIsMisspelledCallback()
182 length = JSValueToNumber(context, arguments[1], exception); in attributedStringRangeIsMisspelledCallback()
[all …]
DLayoutTestController.cpp153 double deviceDPI = JSValueToNumber(context, arguments[0], exception); in dumpConfigurationForViewportCallback()
155 double deviceWidth = JSValueToNumber(context, arguments[1], exception); in dumpConfigurationForViewportCallback()
157 double deviceHeight = JSValueToNumber(context, arguments[2], exception); in dumpConfigurationForViewportCallback()
159 double availableWidth = JSValueToNumber(context, arguments[3], exception); in dumpConfigurationForViewportCallback()
161 double availableHeight = JSValueToNumber(context, arguments[4], exception); in dumpConfigurationForViewportCallback()
454 unsigned numNotifications = JSValueToNumber(context, arguments[0], exception); in observeStorageTrackerNotificationsCallback()
701 int x = JSValueToNumber(context, arguments[1], NULL); in nodesFromRectCallback()
702 int y = JSValueToNumber(context, arguments[2], NULL); in nodesFromRectCallback()
703 int top = static_cast<unsigned>(JSValueToNumber(context, arguments[3], NULL)); in nodesFromRectCallback()
704 int right = static_cast<unsigned>(JSValueToNumber(context, arguments[4], NULL)); in nodesFromRectCallback()
[all …]
DAccessibilityController.cpp92 x = JSValueToNumber(context, arguments[0], exception); in getElementAtPointCallback()
93 y = JSValueToNumber(context, arguments[1], exception); in getElementAtPointCallback()
/external/webkit/Tools/DumpRenderTree/gtk/
DTextInputController.cpp58 int start = static_cast<int>(JSValueToNumber(context, arguments[1], exception)); in setMarkedTextCallback()
61 int end = static_cast<int>(JSValueToNumber(context, arguments[2], exception)); in setMarkedTextCallback()
110 int location = static_cast<int>(JSValueToNumber(context, arguments[0], exception)); in firstRectForCharacterRangeCallback()
113 int length = static_cast<int>(JSValueToNumber(context, arguments[1], exception)); in firstRectForCharacterRangeCallback()
DEventSender.cpp107 msgQueue[endOfQueue].delay = JSValueToNumber(context, arguments[0], exception); in leapForwardCallback()
299 …int modifiersCount = JSValueToNumber(context, JSObjectGetProperty(context, modifiersArray, JSStrin… in gdkModifersFromJSValue()
309 button = static_cast<int>(JSValueToNumber(context, arguments[0], exception)); in mouseDownCallback()
353 button = static_cast<int>(JSValueToNumber(context, arguments[0], exception)); in mouseUpCallback()
381 lastMousePositionX = (int)JSValueToNumber(context, arguments[0], exception); in mouseMoveToCallback()
383 lastMousePositionY = (int)JSValueToNumber(context, arguments[1], exception); in mouseMoveToCallback()
415 int horizontal = (int)JSValueToNumber(context, arguments[0], exception); in mouseScrollByCallback()
417 int vertical = (int)JSValueToNumber(context, arguments[1], exception); in mouseScrollByCallback()
487 …int filesArrayLength = JSValueToNumber(context, JSObjectGetProperty(context, filesArray, lengthPro… in beginDragWithFilesCallback()
617 location = (int)JSValueToNumber(context, arguments[2], exception); in keyDownCallback()
DLayoutTestControllerGtk.cpp580 size_t length = static_cast<size_t>(JSValueToNumber(context, lengthValue, 0)); in findString()
/external/webkit/Source/JavaScriptCore/API/tests/
DJSNodeList.c40 … Node* node = NodeList_item(nodeList, (unsigned)JSValueToNumber(context, arguments[0], exception)); in JSNodeList_item()
72 double index = JSValueToNumber(context, JSValueMakeString(context, propertyName), exception); in JSNodeList_getProperty()
Dtestapi.c62 double number = JSValueToNumber(context, value, NULL); in assertEqualsAsNumber()
979 if (JSValueToNumber(context, JSObjectGetProperty(context, aHeapRef, lengthStr, 0), 0) != 10) { in main()
1062 ASSERT(isnan((float)JSValueToNumber(context, jsObjectNoProto, &exception))); in main()
1077 ASSERT(1 == JSValueToNumber(context, exception, NULL)); in main()
1197 …ASSERT(1 == JSValueToNumber(context, JSObjectGetPropertyAtIndex(context, o, 0, &exception), &excep… in main()
/external/webkit/Source/JavaScriptCore/qt/api/
Dqscriptsyntaxcheckresult.cpp147 return JSValueToNumber(*m_engine, line, /* exceptions */0); in errorLineNumber()
Dqscriptengine_p.h154 int result = JSValueToNumber(m_context, lineNumber, &exception); in uncaughtExceptionLineNumber()
169 int lineNumber = JSValueToNumber(m_context, jsLineNumber, &exception); in uncaughtExceptionBacktrace()
Dqscriptoriginalglobalobject_p.h166 …int count = JSValueToNumber(m_context, JSObjectGetProperty(m_context, propertyNames, lengthName, &… in objectGetOwnPropertyNames()
Dqscriptvalue_p.h518 qsreal result = JSValueToNumber(*m_engine, *this, &exception); in toNumber()
688 qsreal t = JSValueToNumber(*m_engine, *this, &exception); in toDateTime()
/external/webkit/Source/JavaScriptCore/API/
DJSValueRef.h253 JS_EXPORT double JSValueToNumber(JSContextRef ctx, JSValueRef value, JSValueRef* exception);
DJSValueRef.cpp267 double JSValueToNumber(JSContextRef ctx, JSValueRef value, JSValueRef* exception) in JSValueToNumber() function
/external/webkit/Source/WebKit2/win/
DWebKit2.def103 JSValueToNumber
DWebKit2CFLite.def96 JSValueToNumber
/external/webkit/Source/WebKit/win/WebKit.vcproj/
DWebKit_Cairo_debug.def106 JSValueToNumber
DWebKit_Cairo.def106 JSValueToNumber
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/
DEventSendingController.cpp64 return static_cast<unsigned>(JSValueToNumber(context, lengthValue, 0)); in arrayLength()
DLayoutTestController.cpp267 size_t length = static_cast<size_t>(JSValueToNumber(context, lengthValue, 0)); in findString()
DInjectedBundlePage.cpp64 return JSValueToNumber(context, value, 0); in propertyValueDouble()
/external/webkit/Tools/DumpRenderTree/mac/
DLayoutTestControllerMac.mm680 size_t length = static_cast<size_t>(JSValueToNumber(context, lengthValue, 0));
/external/webkit/Source/JavaScriptCore/
DChangeLog-2009-06-165885 (JSValueToNumber):
5986 (JSValueToNumber):
6083 (JSValueToNumber):
12545 (JSValueToNumber):
14393 (JSValueToNumber):
31350 (JSValueToNumber): Ditto.
39325 (JSValueToNumber):
DChangeLog-2007-10-148568 (JSValueToNumber):
9798 (JSValueToNumber):
10332 (JSValueToNumber):

12