Home
last modified time | relevance | path

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

123

/external/webkit/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.cpp75 JSObjectRef JSObjectMake(JSContextRef ctx, JSClassRef jsClass, void* data) in JSObjectMake()
91 JSObjectRef JSObjectMakeFunctionWithCallback(JSContextRef ctx, JSStringRef name, JSObjectCallAsFunc… in JSObjectMakeFunctionWithCallback()
102 JSObjectRef JSObjectMakeConstructor(JSContextRef ctx, JSClassRef jsClass, JSObjectCallAsConstructor… in JSObjectMakeConstructor()
117 JSObjectRef JSObjectMakeFunction(JSContextRef ctx, JSStringRef name, unsigned parameterCount, const… in JSObjectMakeFunction()
140 JSObjectRef JSObjectMakeArray(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[],… in JSObjectMakeArray()
166 JSObjectRef JSObjectMakeDate(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], … in JSObjectMakeDate()
187 JSObjectRef JSObjectMakeError(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[],… in JSObjectMakeError()
208 JSObjectRef JSObjectMakeRegExp(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[]… in JSObjectMakeRegExp()
229 JSValueRef JSObjectGetPrototype(JSContextRef ctx, JSObjectRef object) in JSObjectGetPrototype()
239 void JSObjectSetPrototype(JSContextRef ctx, JSObjectRef object, JSValueRef value) in JSObjectSetPrototype()
[all …]
DAPICast.h47 typedef struct OpaqueJSValue* JSObjectRef; typedef
75 inline JSC::JSObject* toJS(JSObjectRef o) in toJS()
104 inline JSObjectRef toRef(JSC::JSObject* o) in toRef()
106 return reinterpret_cast<JSObjectRef>(o); in toRef()
109 inline JSObjectRef toRef(const JSC::JSObject* o) in toRef()
111 return reinterpret_cast<JSObjectRef>(const_cast<JSC::JSObject*>(o)); in toRef()
DJSCallbackObjectFunctions.h91 JSObjectRef thisRef = toRef(this); in ~JSCallbackObject()
112 JSObjectRef thisRef = toRef(this); in getOwnPropertySlot()
173 JSObjectRef thisRef = toRef(this); in put()
230 JSObjectRef thisRef = toRef(this); in deleteProperty()
290 JSObjectRef constructorRef = toRef(constructor); in construct()
317 JSObjectRef thisRef = toRef(this); in hasInstance()
351 JSObjectRef functionRef = toRef(functionObject); in call()
352 JSObjectRef thisObjRef = toRef(thisValue.toThisObject(exec)); in call()
379 JSObjectRef thisRef = toRef(this); in getPropertyNames()
422 JSObjectRef thisRef = toRef(this); in toNumber()
[all …]
DJSBase.h63 typedef struct OpaqueJSValue* JSObjectRef; typedef
111 JS_EXPORT JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject,…
DJSCallbackFunction.cpp52 JSObjectRef functionRef = toRef(functionObject); in call()
53 JSObjectRef thisObjRef = toRef(thisValue.toThisObject(exec)); in call()
DJSCallbackConstructor.cpp57 JSObjectRef constructorRef = toRef(constructor); in constructJSCallback()
67 JSObjectRef result; in constructJSCallback()
/external/webkit/WebKitTools/DumpRenderTree/
DLayoutTestController.cpp74 static JSValueRef dumpAsTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisOb… in dumpAsTextCallback()
81 static JSValueRef dumpAsPDFCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObj… in dumpAsPDFCallback()
88 …SValueRef dumpBackForwardListCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpBackForwardListCallback()
95 …alueRef dumpChildFramesAsTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpChildFramesAsTextCallback()
102 …dumpChildFrameScrollPositionsCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpChildFrameScrollPositionsCallback()
109 …alueRef dumpDatabaseCallbacksCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpDatabaseCallbacksCallback()
116 …SValueRef dumpDOMAsWebArchiveCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpDOMAsWebArchiveCallback()
123 …ValueRef dumpEditingCallbacksCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpEditingCallbacksCallback()
130 …Ref dumpResourceLoadCallbacksCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpResourceLoadCallbacksCallback()
137 …dumpResourceResponseMIMETypesCallback(JSContextRef context, JSObjectRef function, JSObjectRef this… in dumpResourceResponseMIMETypesCallback()
[all …]
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 …]
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()
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()
/external/webkit/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.cpp102 JSObjectRef JSValueWrapper::JSObjectCopyProperty(void *data, CFStringRef propertyName) in JSObjectCopyProperty()
106 JSObjectRef result = 0; in JSObjectCopyProperty()
126 void JSValueWrapper::JSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue) in JSObjectSetProperty()
141 JSObjectRef JSValueWrapper::JSObjectCallFunction(void *data, JSObjectRef thisObj, CFArrayRef args) in JSObjectCallFunction()
145 JSObjectRef result = 0; in JSObjectCallFunction()
159 JSObjectRef jsArg = (JSObjectRef)CFArrayGetValueAtIndex(args, i); in JSObjectCallFunction()
DJSValueWrapper.h50 static JSObjectRef JSObjectCopyProperty(void *data, CFStringRef propertyName);
51 static void JSObjectSetProperty(void *data, CFStringRef propertyName, JSObjectRef jsValue);
52 static JSObjectRef JSObjectCallFunction(void *data, JSObjectRef thisObj, CFArrayRef args);
Dtestjsglue.cpp47 JSObjectRef globalObject = JSRunCopyGlobalObject(jsRun); in main()
49 JSObjectRef getX = JSObjectCopyProperty(globalObject, CFSTR("getX")); in main()
50 JSObjectRef jsResult = JSObjectCallFunction(getX, globalObject, 0); in main()
/external/webkit/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.c135 static bool MyObject_hasProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName) in MyObject_hasProperty()
152 static JSValueRef MyObject_getProperty(JSContextRef context, JSObjectRef object, JSStringRef proper… in MyObject_getProperty()
181 static bool MyObject_setProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName… in MyObject_setProperty()
198 static bool MyObject_deleteProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyN… in MyObject_deleteProperty()
214 static void MyObject_getPropertyNames(JSContextRef context, JSObjectRef object, JSPropertyNameAccum… in MyObject_getPropertyNames()
230 static JSValueRef MyObject_callAsFunction(JSContextRef context, JSObjectRef object, JSObjectRef thi… in MyObject_callAsFunction()
248 static JSObjectRef MyObject_callAsConstructor(JSContextRef context, JSObjectRef object, size_t argu… in MyObject_callAsConstructor()
264 static bool MyObject_hasInstance(JSContextRef context, JSObjectRef constructor, JSValueRef possible… in MyObject_hasInstance()
275JSObjectRef numberConstructor = JSValueToObject(context, JSObjectGetProperty(context, JSContextGet… in MyObject_hasInstance()
281 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()
Dminidom.c37 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t ar…
47 JSObjectRef globalObject = JSContextGetGlobalObject(context); in main()
82 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t ar… in print()
DJSNode.h33 extern JSObjectRef JSNode_new(JSContextRef context, Node* node);
35 extern JSObjectRef JSNode_construct(JSContextRef context, JSObjectRef object, size_t argumentCount,…
/external/webkit/WebCore/inspector/
DJavaScriptProfile.cpp59 static JSValueRef getTitleCallback(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRe… in getTitleCallback()
68 static JSValueRef getHeadCallback(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRef… in getHeadCallback()
78 static JSValueRef getUniqueIdCallback(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValu… in getUniqueIdCallback()
89 static JSValueRef focus(JSContextRef ctx, JSObjectRef /*function*/, JSObjectRef thisObject, size_t … in focus() argument
101 …profile->focus(static_cast<ProfileNode*>(JSObjectGetPrivate(const_cast<JSObjectRef>(arguments[0]))… in focus()
106 static JSValueRef exclude(JSContextRef ctx, JSObjectRef /*function*/, JSObjectRef thisObject, size_… in exclude() argument
118 …profile->exclude(static_cast<ProfileNode*>(JSObjectGetPrivate(const_cast<JSObjectRef>(arguments[0]… in exclude()
123 static JSValueRef restoreAll(JSContextRef ctx, JSObjectRef /*function*/, JSObjectRef thisObject, si… in restoreAll() argument
134 static void finalize(JSObjectRef object) in finalize()
DJavaScriptProfileNode.cpp56 static JSValueRef getFunctionName(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRef… in getFunctionName()
66 static JSValueRef getURL(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRef*) in getURL()
76 static JSValueRef getLineNumber(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRef*) in getLineNumber()
85 static JSValueRef getTotalTime(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRef*) in getTotalTime()
96 static JSValueRef getSelfTime(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRef*) in getSelfTime()
107 static JSValueRef getTotalPercent(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRef… in getTotalPercent()
118 static JSValueRef getSelfPercent(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRef*) in getSelfPercent()
129 static JSValueRef getNumberOfCalls(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRe… in getNumberOfCalls()
140 static JSValueRef getChildren(JSContextRef ctx, JSObjectRef thisObject, JSStringRef, JSValueRef* ex… in getChildren()
150 JSObjectRef global = JSContextGetGlobalObject(ctx); in getChildren()
[all …]
/external/webkit/WebKitTools/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()
147 static JSValueRef mouseDownCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObj… in mouseDownCallback()
208 static JSValueRef mouseUpCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObjec… in mouseUpCallback()
248 static JSValueRef mouseMoveToCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisO… in mouseMoveToCallback()
344 static JSValueRef keyDownCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObjec… in keyDownCallback()
402 JSObjectRef modifiersArray = JSValueToObject(context, arguments[1], 0); in keyDownCallback()
[all …]
DEventSender.h35 typedef struct OpaqueJSValue* JSObjectRef; typedef
37 JSObjectRef makeEventSender(JSContextRef context);

123