Home
last modified time | relevance | path

Searched refs:JSObjectRef (Results 1 – 25 of 123) sorted by relevance

12345

/external/webkit/Tools/DumpRenderTree/
DAccessibilityUIElement.cpp33 static inline AccessibilityUIElement* toAXElement(JSObjectRef object) in toAXElement()
39 static JSValueRef allAttributesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in allAttributesCallback()
45 … attributesOfLinkedUIElementsCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in attributesOfLinkedUIElementsCallback()
51 …Ref attributesOfDocumentLinksCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in attributesOfDocumentLinksCallback()
57 …ValueRef attributesOfChildrenCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in attributesOfChildrenCallback()
63 …f parameterizedAttributeNamesCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in parameterizedAttributeNamesCallback()
69 …Ref attributesOfColumnHeadersCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in attributesOfColumnHeadersCallback()
75 …lueRef attributesOfRowHeadersCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in attributesOfRowHeadersCallback()
81 …SValueRef attributesOfColumnsCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in attributesOfColumnsCallback()
87 static JSValueRef attributesOfRowsCallback(JSContextRef context, JSObjectRef function, JSObjectRef in attributesOfRowsCallback()
[all …]
DLayoutTestController.cpp101 …icationCacheDelegateCallbacksCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpApplicationCacheDelegateCallbacksCallback()
108 static JSValueRef dumpAsPDFCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObj… in dumpAsPDFCallback()
115 static JSValueRef dumpAsTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisOb… in dumpAsTextCallback()
126 …SValueRef dumpBackForwardListCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpBackForwardListCallback()
133 …alueRef dumpChildFramesAsTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpChildFramesAsTextCallback()
140 …dumpChildFrameScrollPositionsCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpChildFrameScrollPositionsCallback()
147 … dumpConfigurationForViewportCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpConfigurationForViewportCallback()
170 …alueRef dumpDatabaseCallbacksCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpDatabaseCallbacksCallback()
177 …SValueRef dumpDOMAsWebArchiveCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpDOMAsWebArchiveCallback()
184 …ValueRef dumpEditingCallbacksCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpEditingCallbacksCallback()
[all …]
DAccessibilityTextMarker.cpp36 AccessibilityTextMarker* toTextMarker(JSObjectRef object) in toTextMarker()
41 static JSValueRef isMarkerEqualCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in isMarkerEqualCallback()
46 JSObjectRef otherMarker = JSValueToObject(context, arguments[0], exception); in isMarkerEqualCallback()
52 static void markerFinalize(JSObjectRef thisObject) in markerFinalize()
59 JSObjectRef AccessibilityTextMarker::makeJSAccessibilityTextMarker(JSContextRef context, const Acce… in makeJSAccessibilityTextMarker()
88 AccessibilityTextMarkerRange* toTextMarkerRange(JSObjectRef object) in toTextMarkerRange()
93 …JSValueRef isMarkerRangeEqualCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in isMarkerRangeEqualCallback()
98 JSObjectRef otherMarker = JSValueToObject(context, arguments[0], exception); in isMarkerRangeEqualCallback()
104 static void markerRangeFinalize(JSObjectRef thisObject) in markerRangeFinalize()
111 JSObjectRef AccessibilityTextMarkerRange::makeJSAccessibilityTextMarkerRange(JSContextRef context, … in makeJSAccessibilityTextMarkerRange()
DAccessibilityController.cpp34 static JSValueRef getFocusedElementCallback(JSContextRef context, JSObjectRef thisObject, JSStringR… in getFocusedElementCallback()
40 static JSValueRef getRootElementCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef … in getRootElementCallback()
48 void AccessibilityController::makeWindowObject(JSContextRef context, JSObjectRef windowObject, JSVa… in makeWindowObject()
59 static JSValueRef logFocusEventsCallback(JSContextRef ctx, JSObjectRef, JSObjectRef thisObject, siz… in logFocusEventsCallback() argument
66 static JSValueRef logValueChangeEventsCallback(JSContextRef ctx, JSObjectRef, JSObjectRef thisObjec… in logValueChangeEventsCallback() argument
73 static JSValueRef logScrollingStartEventsCallback(JSContextRef ctx, JSObjectRef, JSObjectRef thisOb… in logScrollingStartEventsCallback() argument
80 static JSValueRef logAccessibilityEventsCallback(JSContextRef ctx, JSObjectRef, JSObjectRef thisObj… in logAccessibilityEventsCallback() argument
87 static JSValueRef getElementAtPointCallback(JSContextRef context, JSObjectRef function, JSObjectRef in getElementAtPointCallback()
DGCController.cpp45 static JSValueRef collectCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObjec… in collectCallback()
52 …eRef collectOnAlternateThreadCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in collectOnAlternateThreadCallback()
64 static JSValueRef getJSObjectCountCallback(JSContextRef context, JSObjectRef function, JSObjectRef in getJSObjectCountCallback()
74 void GCController::makeWindowObject(JSContextRef context, JSObjectRef windowObject, JSValueRef* exc… in makeWindowObject()
/external/webkit/Source/JavaScriptCore/API/
DJSObjectRef.h92 (*JSObjectInitializeCallback) (JSContextRef ctx, JSObjectRef object);
110 (*JSObjectFinalizeCallback) (JSObjectRef object);
130 (*JSObjectHasPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName);
147 (*JSObjectGetPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSV…
165 (*JSObjectSetPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSV…
182 (*JSObjectDeletePropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, …
199 (*JSObjectGetPropertyNamesCallback) (JSContextRef ctx, JSObjectRef object, JSPropertyNameAccumulato…
220 (*JSObjectCallAsFunctionCallback) (JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, …
239 typedef JSObjectRef
240 (*JSObjectCallAsConstructorCallback) (JSContextRef ctx, JSObjectRef constructor, size_t argumentCou…
[all …]
DJSObjectRef.cpp76 JSObjectRef JSObjectMake(JSContextRef ctx, JSClassRef jsClass, void* data) in JSObjectMake()
91 JSObjectRef JSObjectMakeFunctionWithCallback(JSContextRef ctx, JSStringRef name, JSObjectCallAsFunc… in JSObjectMakeFunctionWithCallback()
101 JSObjectRef JSObjectMakeConstructor(JSContextRef ctx, JSClassRef jsClass, JSObjectCallAsConstructor… in JSObjectMakeConstructor()
115 JSObjectRef JSObjectMakeFunction(JSContextRef ctx, JSStringRef name, unsigned parameterCount, const… in JSObjectMakeFunction()
137 JSObjectRef JSObjectMakeArray(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[],… in JSObjectMakeArray()
162 JSObjectRef JSObjectMakeDate(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], … in JSObjectMakeDate()
182 JSObjectRef JSObjectMakeError(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[],… in JSObjectMakeError()
201 JSObjectRef JSObjectMakeRegExp(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[]… in JSObjectMakeRegExp()
221 JSValueRef JSObjectGetPrototype(JSContextRef ctx, JSObjectRef object) in JSObjectGetPrototype()
230 void JSObjectSetPrototype(JSContextRef ctx, JSObjectRef object, JSValueRef value) in JSObjectSetPrototype()
[all …]
DAPICast.h47 typedef struct OpaqueJSValue* JSObjectRef; typedef
93 inline JSC::JSObject* toJS(JSObjectRef o) in toJS()
122 inline JSObjectRef toRef(JSC::JSObject* o) in toRef()
124 return reinterpret_cast<JSObjectRef>(o); in toRef()
127 inline JSObjectRef toRef(const JSC::JSObject* o) in toRef()
129 return reinterpret_cast<JSObjectRef>(const_cast<JSC::JSObject*>(o)); in toRef()
DJSWeakObjectMapRefPrivate.cpp53 void JSWeakObjectMapSet(JSContextRef ctx, JSWeakObjectMapRef map, void* key, JSObjectRef object) in JSWeakObjectMapSet()
64 JSObjectRef JSWeakObjectMapGet(JSContextRef ctx, JSWeakObjectMapRef map, void* key) in JSWeakObjectMapGet()
72 JS_EXPORT bool JSWeakObjectMapClear(JSContextRef, JSWeakObjectMapRef, void*, JSObjectRef);
73 bool JSWeakObjectMapClear(JSContextRef, JSWeakObjectMapRef, void*, JSObjectRef) in JSWeakObjectMapClear() argument
/external/webkit/Source/JavaScriptGlue/
DJavaScriptGlue.h52 typedef JSTypeRef JSObjectRef DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
58 typedef JSObjectRef (*JSObjectCopyPropertyProcPtr)(void *data, CFStringRef propertyName) DEPRECATED…
59 typedef void (*JSObjectSetPropertyProcPtr)(void *data, CFStringRef propertyName, JSObjectRef jsValu…
60 typedef JSObjectRef (*JSObjectCallFunctionProcPtr)(void *data, JSObjectRef thisObj, CFArrayRef args…
86 JSObjectRef JSObjectCreate(void *data, JSObjectCallBacksPtr callBacks) DEPRECATED_IN_MAC_OS_X_VERSI…
87 JSObjectRef JSObjectCreateWithCFType(CFTypeRef inRef) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
88 CFTypeRef JSObjectCopyCFValue(JSObjectRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
89 void *JSObjectGetData(JSObjectRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
91 CFArrayRef JSObjectCopyPropertyNames(JSObjectRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
92 JSObjectRef JSObjectCopyProperty(JSObjectRef ref, CFStringRef propertyName) DEPRECATED_IN_MAC_OS_X_…
[all …]
DJavaScriptGlue.cpp41 static JSObjectRef CFJSObjectCopyProperty(void *data, CFStringRef propertyName);
42 static void CFJSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue);
150 JSObjectRef JSObjectCreate(void *data, JSObjectCallBacksPtr callBacks) in JSObjectCreate()
152 JSObjectRef result = JSObjectCreateInternal(data, callBacks, 0, kJSUserObjectDataTypeUnknown); in JSObjectCreate()
159 JSObjectRef JSObjectCreateInternal(void *data, JSObjectCallBacksPtr callBacks, JSObjectMarkProcPtr … in JSObjectCreateInternal()
161 JSObjectRef result = 0; in JSObjectCreateInternal()
163 result = (JSObjectRef)ptr; in JSObjectCreateInternal()
170 CFTypeRef JSObjectCopyCFValue(JSObjectRef ref) in JSObjectCopyCFValue()
184 void *JSObjectGetData(JSObjectRef ref) in JSObjectGetData()
199 JSObjectRef JSObjectCopyProperty(JSObjectRef ref, CFStringRef propertyName) in JSObjectCopyProperty()
[all …]
DJSValueWrapper.h51 static JSObjectRef JSObjectCopyProperty(void *data, CFStringRef propertyName);
52 static void JSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue);
53 static JSObjectRef JSObjectCallFunction(void *data, JSObjectRef thisObj, CFArrayRef args);
DJSValueWrapper.cpp103 JSObjectRef JSValueWrapper::JSObjectCopyProperty(void *data, CFStringRef propertyName) in JSObjectCopyProperty()
107 JSObjectRef result = 0; in JSObjectCopyProperty()
127 void JSValueWrapper::JSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue) in JSObjectSetProperty()
142 JSObjectRef JSValueWrapper::JSObjectCallFunction(void *data, JSObjectRef thisObj, CFArrayRef args) in JSObjectCallFunction()
146 JSObjectRef result = 0; in JSObjectCallFunction()
160 JSObjectRef jsArg = (JSObjectRef)CFArrayGetValueAtIndex(args, i); in JSObjectCallFunction()
/external/webkit/Source/JavaScriptCore/qt/api/
Dqscriptoriginalglobalobject_p.h43 inline bool objectHasOwnProperty(JSObjectRef object, JSStringRef property) const;
44 inline QVector<JSStringRef> objectGetOwnPropertyNames(JSObjectRef object) const;
52 inline bool isType(JSValueRef value, JSObjectRef constructor, JSValueRef prototype) const;
53 …inline void initializeMember(JSObjectRef globalObject, JSStringRef prototypeName, const char* type…
59 JSObjectRef m_arrayConstructor;
61 JSObjectRef m_errorConstructor;
63 JSObjectRef m_functionConstructor;
65 JSObjectRef m_dateConstructor;
69 JSObjectRef m_hasOwnPropertyFunction;
70 JSObjectRef m_getOwnPropertyNamesFunction;
[all …]
Dqscriptfunction.cpp27 static void qt_NativeFunction_finalize(JSObjectRef object) in qt_NativeFunction_finalize()
33 …ueRef qt_NativeFunction_callAsFunction(JSContextRef context, JSObjectRef object, JSObjectRef thisO… in qt_NativeFunction_callAsFunction()
87 static void qt_NativeFunctionWithArg_finalize(JSObjectRef object) in qt_NativeFunctionWithArg_finalize()
93 …t_NativeFunctionWithArg_callAsFunction(JSContextRef context, JSObjectRef object, JSObjectRef thisO… in qt_NativeFunctionWithArg_callAsFunction()
Dqscriptengine_p.cpp61 return new QScriptSyntaxCheckResultPrivate(this, const_cast<JSObjectRef>(exception)); in checkSyntax()
98JSObjectRef funJS = JSObjectMake(m_context, m_nativeFunctionClass, reinterpret_cast<void*>(data)); in newFunction()
107JSObjectRef funJS = JSObjectMake(m_context, m_nativeFunctionWithArgClass, reinterpret_cast<void*>(… in newFunction()
112 QScriptValuePrivate* QScriptEnginePrivate::newFunction(JSObjectRef funJS, QScriptValuePrivate* prot… in newFunction()
133JSObjectRef array = JSObjectMakeArray(m_context, /* argumentCount */ 0, /* arguments */ 0, &except… in newArray()
153 JSObjectRef result = JSObjectMakeDate(m_context, /* argumentCount */ 1, &argument, &exception); in newDate()
165 JSObjectRef globalObject = JSContextGetGlobalObject(m_context); in globalObject()
/external/webkit/Source/JavaScriptCore/API/tests/
DJSNode.c36 static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisOb… in JSNode_appendChild()
59 static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRef function, JSObjectRef thisOb… in JSNode_removeChild()
78 static JSValueRef JSNode_replaceChild(JSContextRef context, JSObjectRef function, JSObjectRef thisO… in JSNode_replaceChild()
106 static JSValueRef JSNode_getNodeType(JSContextRef context, JSObjectRef object, JSStringRef property… in JSNode_getNodeType()
122 static JSValueRef JSNode_getChildNodes(JSContextRef context, JSObjectRef thisObject, JSStringRef pr… in JSNode_getChildNodes()
132 static JSValueRef JSNode_getFirstChild(JSContextRef context, JSObjectRef object, JSStringRef proper… in JSNode_getFirstChild()
148 static void JSNode_initialize(JSContextRef context, JSObjectRef object) in JSNode_initialize()
158 static void JSNode_finalize(JSObjectRef object) in JSNode_finalize()
183 JSObjectRef JSNode_new(JSContextRef context, Node* node) in JSNode_new()
188 JSObjectRef JSNode_construct(JSContextRef context, JSObjectRef object, size_t argumentCount, const … in JSNode_construct()
Dtestapi.c141 static bool MyObject_hasProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName) in MyObject_hasProperty()
158 static JSValueRef MyObject_getProperty(JSContextRef context, JSObjectRef object, JSStringRef proper… in MyObject_getProperty()
191 static bool MyObject_setProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName… in MyObject_setProperty()
208 static bool MyObject_deleteProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyN… in MyObject_deleteProperty()
224 static void MyObject_getPropertyNames(JSContextRef context, JSObjectRef object, JSPropertyNameAccum… in MyObject_getPropertyNames()
240 static JSValueRef MyObject_callAsFunction(JSContextRef context, JSObjectRef object, JSObjectRef thi… in MyObject_callAsFunction()
258 static JSObjectRef MyObject_callAsConstructor(JSContextRef context, JSObjectRef object, size_t argu… in MyObject_callAsConstructor()
274 static bool MyObject_hasInstance(JSContextRef context, JSObjectRef constructor, JSValueRef possible… in MyObject_hasInstance()
285JSObjectRef numberConstructor = JSValueToObject(context, JSObjectGetProperty(context, JSContextGet… in MyObject_hasInstance()
291 static JSValueRef MyObject_convertToType(JSContextRef context, JSObjectRef object, JSType type, JSV… in MyObject_convertToType()
[all …]
DJSNodeList.c33 static JSValueRef JSNodeList_item(JSContextRef context, JSObjectRef object, JSObjectRef thisObject,… in JSNodeList_item()
53 static JSValueRef JSNodeList_length(JSContextRef context, JSObjectRef thisObject, JSStringRef prope… in JSNodeList_length()
68 static JSValueRef JSNodeList_getProperty(JSContextRef context, JSObjectRef thisObject, JSStringRef … in JSNodeList_getProperty()
83 static void JSNodeList_initialize(JSContextRef context, JSObjectRef thisObject) in JSNodeList_initialize()
93 static void JSNodeList_finalize(JSObjectRef thisObject) in JSNodeList_finalize()
120 JSObjectRef JSNodeList_new(JSContextRef context, NodeList* nodeList) in JSNodeList_new()
DJSNode.h33 extern JSObjectRef JSNode_new(JSContextRef context, Node* node);
35 extern JSObjectRef JSNode_construct(JSContextRef context, JSObjectRef object, size_t argumentCount,…
/external/webkit/Tools/DumpRenderTree/gtk/
DTextInputController.cpp41 static JSValueRef setMarkedTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in setMarkedTextCallback()
69 static JSValueRef insertTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisOb… in insertTextCallback()
91 static JSValueRef unmarkTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisOb… in unmarkTextCallback()
101 …ef firstRectForCharacterRangeCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in firstRectForCharacterRangeCallback()
125 JSObjectRef arrayObject = JSObjectMakeArray(context, 4, arrayValues, exception); in firstRectForCharacterRangeCallback()
131 static JSValueRef selectedRangeCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in selectedRangeCallback()
144 JSObjectRef arrayObject = JSObjectMakeArray(context, 2, arrayValues, exception); in selectedRangeCallback()
175 JSObjectRef makeTextInputController(JSContextRef context) in makeTextInputController()
DEventSender.cpp93 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propert… in getDragModeCallback()
98 static bool setDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName,… in setDragModeCallback()
104 static JSValueRef leapForwardCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisO… in leapForwardCallback()
150 static JSValueRef getMenuItemTitleCallback(JSContextRef context, JSObjectRef object, JSStringRef pr… in getMenuItemTitleCallback()
162 static bool setMenuItemTitleCallback(JSContextRef context, JSObjectRef object, JSStringRef property… in setMenuItemTitleCallback()
167 static JSValueRef menuItemClickCallback(JSContextRef context, JSObjectRef function, JSObjectRef thi… in menuItemClickCallback()
202 static JSValueRef contextClickCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in contextClickCallback()
249 …Ref scheduleAsynchronousClickCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in scheduleAsynchronousClickCallback()
294 JSObjectRef modifiersArray = JSValueToObject(context, modifiers, 0); in gdkModifersFromJSValue()
305 static JSValueRef mouseDownCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObj… in mouseDownCallback()
[all …]
/external/webkit/Tools/DumpRenderTree/win/
DEventSender.cpp63 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propert… in getDragModeCallback()
68 static bool setDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName,… in setDragModeCallback()
74 static JSValueRef getConstantCallback(JSContextRef context, JSObjectRef object, JSStringRef propert… in getConstantCallback()
96 static JSValueRef leapForwardCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisO… in leapForwardCallback()
131 static JSValueRef contextClickCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in contextClickCallback()
149 JSObjectRef modifiersArray = JSValueToObject(context, modifiers, 0); in buildModifierFlags()
171 static JSValueRef mouseDownCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObj… in mouseDownCallback()
262 static JSValueRef mouseUpCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObjec… in mouseUpCallback()
329 static JSValueRef mouseMoveToCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisO… in mouseMoveToCallback()
433 static JSValueRef keyDownCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObjec… in keyDownCallback()
[all …]
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/
DLayoutTestController.cpp53 static JSValueRef propertyValue(JSContextRef context, JSObjectRef object, const char* propertyName) in propertyValue()
62 static JSObjectRef propertyObject(JSContextRef context, JSObjectRef object, const char* propertyNam… in propertyObject()
67 return const_cast<JSObjectRef>(value); in propertyObject()
70 static JSObjectRef getElementById(WKBundleFrameRef frame, JSStringRef elementId) in getElementById()
73 JSObjectRef document = propertyObject(context, JSContextGetGlobalObject(context), "document"); in getElementById()
81 …JSValueRef element = JSObjectCallAsFunction(context, const_cast<JSObjectRef>(getElementById), docu… in getElementById()
84 return const_cast<JSObjectRef>(element); in getElementById()
222 …e = WKBundleFrameGetComputedStyleIncludingVisitedInfo(mainFrame, const_cast<JSObjectRef>(element)); in computedStyleIncludingVisitedInfo()
231 JSObjectRef element = getElementById(mainFrame, elementId); in counterValueForElementById()
234 …ingRef> value(AdoptWK, WKBundleFrameCopyCounterValue(mainFrame, const_cast<JSObjectRef>(element))); in counterValueForElementById()
[all …]
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/Bindings/
DJSWrapper.cpp42 JSObjectRef wrapperObject = JSObjectMake(context, objectClass, object); in wrap()
57 static JSWrappable* unwrapObject(JSObjectRef object) in unwrapObject()
64 void JSWrapper::initialize(JSContextRef ctx, JSObjectRef object) in initialize()
72 void JSWrapper::finalize(JSObjectRef object) in finalize()

12345