Searched refs:JSObjectRef (Results 1 - 25 of 86) sorted by relevance

1234

/macosx-10.9.5/JavaScriptCore-7537.78.1/ForwardingHeaders/JavaScriptCore/
H A DJSObjectRef.h1 #include <JavaScriptCore/API/JSObjectRef.h>
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/tests/
H A DJSNodeList.h32 extern JSObjectRef JSNodeList_new(JSContextRef, NodeList*);
H A DJSNode.h33 extern JSObjectRef JSNode_new(JSContextRef context, Node* node);
35 extern JSObjectRef JSNode_construct(JSContextRef context, JSObjectRef object, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
H A DJSNodeList.c28 #include "JSObjectRef.h"
32 static JSValueRef JSNodeList_item(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
52 static JSValueRef JSNodeList_length(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception)
67 static JSValueRef JSNodeList_getProperty(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception)
82 static void JSNodeList_initialize(JSContextRef context, JSObjectRef thisObject)
92 static void JSNodeList_finalize(JSObjectRef thisObject)
119 JSObjectRef JSNodeList_new(JSContextRef context, NodeList* nodeList)
H A DJSNode.c28 #include "JSObjectRef.h"
35 static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
58 static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
77 static JSValueRef JSNode_replaceChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
105 static JSValueRef JSNode_getNodeType(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
121 static JSValueRef JSNode_getChildNodes(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception)
131 static JSValueRef JSNode_getFirstChild(JSContextRef context, JSObjectRef objec
[all...]
H A Dminidom.c29 #include "JSObjectRef.h"
36 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
46 JSObjectRef globalObject = JSContextGetGlobalObject(context);
81 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
/macosx-10.9.5/WebKit-7537.78.2/mac/WebView/
H A DWebJSPDFDoc.h30 JSObjectRef makeJSPDFDoc(JSContextRef, WebDataSource *);
H A DWebJSPDFDoc.mm32 #import <JavaScriptCore/JSObjectRef.h>
34 static void jsPDFDocInitialize(JSContextRef ctx, JSObjectRef object)
40 static void jsPDFDocFinalize(JSObjectRef object)
46 static JSValueRef jsPDFDocPrint(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
71 JSObjectRef makeJSPDFDoc(JSContextRef ctx, WebDataSource *dataSource)
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/
H A DJSObjectRefPrivate.h29 #include <JavaScriptCore/JSObjectRef.h>
47 JS_EXPORT bool JSObjectSetPrivateProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef value);
57 JS_EXPORT JSValueRef JSObjectGetPrivateProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName);
68 JS_EXPORT bool JSObjectDeletePrivateProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName);
H A DJSObjectRef.h86 void Initialize(JSContextRef ctx, JSObjectRef object);
92 (*JSObjectInitializeCallback) (JSContextRef ctx, JSObjectRef object);
100 void Finalize(JSObjectRef object);
110 (*JSObjectFinalizeCallback) (JSObjectRef object);
121 bool HasProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName);
130 (*JSObjectHasPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName);
142 JSValueRef GetProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception);
147 (*JSObjectGetPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception);
160 bool SetProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception);
165 (*JSObjectSetPropertyCallback) (JSContextRef ctx, JSObjectRef objec
[all...]
H A DJavaScript.h33 #include <JavaScriptCore/JSObjectRef.h>
H A DJSWeakObjectMapRefPrivate.h61 @abstract Associates a JSObjectRef with the given key in a JSWeakObjectMap.
67 JS_EXPORT void JSWeakObjectMapSet(JSContextRef ctx, JSWeakObjectMapRef map, void* key, JSObjectRef);
71 @abstract Retrieves the JSObjectRef associated with a key.
77 JS_EXPORT JSObjectRef JSWeakObjectMapGet(JSContextRef ctx, JSWeakObjectMapRef map, void* key);
H A DJSWeakObjectMapRefPrivate.cpp55 void JSWeakObjectMapSet(JSContextRef ctx, JSWeakObjectMapRef map, void* key, JSObjectRef object)
70 JSObjectRef JSWeakObjectMapGet(JSContextRef ctx, JSWeakObjectMapRef map, void* key)
93 JS_EXPORT bool JSWeakObjectMapClear(JSContextRef, JSWeakObjectMapRef, void*, JSObjectRef);
94 bool JSWeakObjectMapClear(JSContextRef, JSWeakObjectMapRef, void*, JSObjectRef)
H A DJSContextRef.h29 #include <JavaScriptCore/JSObjectRef.h>
118 JS_EXPORT JSObjectRef JSContextGetGlobalObject(JSContextRef ctx);
H A DObjCCallbackFunction.h35 JSObjectRef objCCallbackFunctionForMethod(JSContext *, Class, Protocol *, BOOL isInstanceMethod, SEL, const char* types);
36 JSObjectRef objCCallbackFunctionForBlock(JSContext *, id);
38 id tryUnwrapBlock(JSObjectRef);
H A DAPICast.h46 typedef struct OpaqueJSValue* JSObjectRef; typedef in typeref:struct:OpaqueJSValue
101 inline JSC::JSObject* uncheckedToJS(JSObjectRef o)
106 inline JSC::JSObject* toJS(JSObjectRef o)
138 inline JSObjectRef toRef(JSC::JSObject* o)
140 return reinterpret_cast<JSObjectRef>(o);
143 inline JSObjectRef toRef(const JSC::JSObject* o)
145 return reinterpret_cast<JSObjectRef>(const_cast<JSC::JSObject*>(o));
/macosx-10.9.5/WebCore-7537.78.1/bridge/qt/
H A Dqt_pixmapruntime.h33 static JSObjectRef toJS(JSContextRef, const QVariant&, JSValueRef* exception);
34 static QVariant toQt(JSContextRef, JSObjectRef, QMetaType::Type hint, JSValueRef* exception);
H A Dqt_runtime.h90 static JSValueRef call(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
91 static JSValueRef connect(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
92 static JSValueRef disconnect(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
94 JSObjectRef jsObjectRef(JSContextRef, JSValueRef* exception);
99 static QtRuntimeMethod* toRuntimeMethod(JSContextRef, JSObjectRef);
101 static JSValueRef connectOrDisconnect(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObjec
[all...]
H A Dqt_pixmapruntime.cpp110 static JSValueRef getPixmapWidth(JSContextRef context, JSObjectRef object, JSStringRef, JSValueRef*)
116 static JSValueRef getPixmapHeight(JSContextRef context, JSObjectRef object, JSStringRef, JSValueRef*)
122 static JSValueRef assignToHTMLImageElement(JSContextRef context, JSObjectRef function, JSObjectRef object, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
127 JSObjectRef objectArg = JSValueToObject(context, arguments[0], exception);
145 static JSValueRef pixmapToImageData(JSContextRef context, JSObjectRef function, JSObjectRef object, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
159 static JSValueRef pixmapToDataUrl(JSContextRef context, JSObjectRef function, JSObjectRef object, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
172 static JSValueRef pixmapToString(JSContextRef context, JSObjectRef functio
[all...]
/macosx-10.9.5/WebKit-7537.78.2/win/Interfaces/
H A DJavaScriptCoreAPITypes.idl33 typedef void* JSObjectRef;
37 cpp_quote("typedef struct OpaqueJSValue* JSObjectRef;")
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/InjectedBundle/API/c/
H A DWKBundleRangeHandlePrivate.h36 WK_EXPORT WKBundleRangeHandleRef WKBundleRangeHandleCreate(JSContextRef context, JSObjectRef object);
H A DWKBundleRangeHandle.cpp41 WKBundleRangeHandleRef WKBundleRangeHandleCreate(JSContextRef contextRef, JSObjectRef objectRef)
/macosx-10.9.5/WebKit-7537.78.2/blackberry/WebKitSupport/
H A DPagePopup.h27 typedef struct OpaqueJSValue* JSObjectRef; typedef in typeref:struct:OpaqueJSValue
58 static JSValueRef setValueAndClosePopupCallback(JSContextRef, JSObjectRef, JSObjectRef, size_t argumentCount, const JSValueRef arguments[], JSValueRef*);
H A DPagePopup.cpp35 #include <JavaScriptCore/JSObjectRef.h>
86 JSValueRef PagePopup::setValueAndClosePopupCallback(JSContextRef context, JSObjectRef, JSObjectRef, size_t argumentCount, const JSValueRef arguments[], JSValueRef*)
97 JSObjectRef popUpObject = JSValueToObject(context, arguments[argumentCount - 1], 0);
104 static void popUpExtensionInitialize(JSContextRef context, JSObjectRef object)
111 static void popUpExtensionFinalize(JSObjectRef object)
138 JSObjectRef globalObject = JSContextGetGlobalObject(context);
140 JSObjectRef function = JSObjectMakeFunctionWithCallback(context, functionName, setValueAndClosePopupCallback);
151 JSObjectRef clientClassObject = JSObjectMake(context, clientClass, this);
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/qt/
H A DQtBuiltinBundlePage.cpp103 static JSValueRef qt_postMessageCallback(JSContextRef context, JSObjectRef, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef*)
139 static JSObjectRef createWrappedMessage(JSGlobalContextRef context, WKStringRef data)
144 JSObjectRef wrappedMessage = JSObjectMake(context, 0, 0);
163 JSObjectRef onmessageFunction = JSValueToObject(context, onmessageValue, 0);
167 JSObjectRef wrappedMessage = createWrappedMessage(context, contents);
190 JSObjectRef postMessage = JSObjectMakeFunctionWithCallback(context, postMessageName, qt_postMessageCallback);
196 JSObjectRef navigatorObject = JSValueToObject(context, navigatorValue, 0);

Completed in 192 milliseconds

1234