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

123

/macosx-10.10/JavaScriptCore-7600.1.17/ForwardingHeaders/JavaScriptCore/
H A DJSObjectRef.h1 #include <JavaScriptCore/API/JSObjectRef.h>
/macosx-10.10/JavaScriptCore-7600.1.17/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.c30 #include "JSObjectRef.h"
34 static JSValueRef JSNodeList_item(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
54 static JSValueRef JSNodeList_length(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception)
69 static JSValueRef JSNodeList_getProperty(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception)
84 static void JSNodeList_initialize(JSContextRef context, JSObjectRef thisObject)
94 static void JSNodeList_finalize(JSObjectRef thisObject)
121 JSObjectRef JSNodeList_new(JSContextRef context, NodeList* nodeList)
H A DJSNode.c30 #include "JSObjectRef.h"
37 static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
60 static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
79 static JSValueRef JSNode_replaceChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
107 static JSValueRef JSNode_getNodeType(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
123 static JSValueRef JSNode_getChildNodes(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception)
133 static JSValueRef JSNode_getFirstChild(JSContextRef context, JSObjectRef objec
[all...]
H A Dminidom.c31 #include "JSObjectRef.h"
38 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
48 JSObjectRef globalObject = JSContextGetGlobalObject(context);
83 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
H A DCurrentThisInsideBlockGetterTest.mm33 static JSObjectRef CallAsConstructor(JSContextRef ctx, JSObjectRef constructor, size_t, const JSValueRef[], JSValueRef*)
35 JSObjectRef newObjectRef = NULL;
51 static void ConstructorFinalize(JSObjectRef object)
85 JSObjectRef constructorRef = JSObjectMake(ctx, ConstructorClass(), (void *)CFBridgingRetain(privateProperties));
H A DCustomGlobalObjectClassTest.c35 static JSValueRef jsDoSomething(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject, size_t argc, const JSValueRef args[], JSValueRef* exception)
70 JSObjectRef globalObj = JSContextGetGlobalObject(globalContext);
H A Dtestapi.c148 static bool MyObject_hasProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName)
165 static JSValueRef MyObject_getProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
198 static bool MyObject_setProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception)
215 static bool MyObject_deleteProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
231 static void MyObject_getPropertyNames(JSContextRef context, JSObjectRef object, JSPropertyNameAccumulatorRef propertyNames)
247 static JSValueRef MyObject_callAsFunction(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
265 static JSObjectRef MyObject_callAsConstructor(JSContextRef context, JSObjectRef object, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
281 static bool MyObject_hasInstance(JSContextRef context, JSObjectRef constructo
[all...]
/macosx-10.10/WebKit-7600.1.25/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.10/JavaScriptCore-7600.1.17/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.cpp54 void JSWeakObjectMapSet(JSContextRef ctx, JSWeakObjectMapRef map, void* key, JSObjectRef object)
69 JSObjectRef JSWeakObjectMapGet(JSContextRef ctx, JSWeakObjectMapRef map, void* key)
92 JS_EXPORT bool JSWeakObjectMapClear(JSContextRef, JSWeakObjectMapRef, void*, JSObjectRef);
93 bool JSWeakObjectMapClear(JSContextRef, JSWeakObjectMapRef, void*, JSObjectRef)
H A DObjCCallbackFunction.h35 JSObjectRef objCCallbackFunctionForMethod(JSContext *, Class, Protocol *, BOOL isInstanceMethod, SEL, const char* types);
36 JSObjectRef objCCallbackFunctionForBlock(JSContext *, id);
37 JSObjectRef objCCallbackFunctionForInit(JSContext *, Class, Protocol *, SEL, const char* types);
39 id tryUnwrapConstructor(JSObjectRef);
H A DAPICast.h47 typedef struct OpaqueJSValue* JSObjectRef; typedef in typeref:struct:OpaqueJSValue
102 inline JSC::JSObject* uncheckedToJS(JSObjectRef o)
107 inline JSC::JSObject* toJS(JSObjectRef o)
140 inline JSObjectRef toRef(JSC::JSObject* o)
142 return reinterpret_cast<JSObjectRef>(o);
145 inline JSObjectRef toRef(const JSC::JSObject* o)
147 return reinterpret_cast<JSObjectRef>(const_cast<JSC::JSObject*>(o));
H A DAPICallbackFunction.h48 JSObjectRef functionRef = toRef(exec->callee());
49 JSObjectRef thisObjRef = toRef(jsCast<JSObject*>(exec->thisValue().toThis(exec, NotStrictMode)));
78 JSObjectRef constructorRef = toRef(constructor);
89 JSObjectRef result;
H A DJSBase.h66 /*! @typedef JSObjectRef A JavaScript object. A JSObject is a JSValue. */
67 typedef struct OpaqueJSValue* JSObjectRef; typedef in typeref:struct:OpaqueJSValue
109 JS_EXPORT JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception);
H A DJSContextRef.h29 #include <JavaScriptCore/JSObjectRef.h>
118 JS_EXPORT JSObjectRef JSContextGetGlobalObject(JSContextRef ctx);
H A DJSObjectRef.cpp28 #include "JSObjectRef.h"
85 JSObjectRef JSObjectMake(JSContextRef ctx, JSClassRef jsClass, void* data)
104 JSObjectRef JSObjectMakeFunctionWithCallback(JSContextRef ctx, JSStringRef name, JSObjectCallAsFunctionCallback callAsFunction)
115 JSObjectRef JSObjectMakeConstructor(JSContextRef ctx, JSClassRef jsClass, JSObjectCallAsConstructorCallback callAsConstructor)
133 JSObjectRef JSObjectMakeFunction(JSContextRef ctx, JSStringRef name, unsigned parameterCount, const JSStringRef parameterNames[], JSStringRef body, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception)
164 JSObjectRef JSObjectMakeArray(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
197 JSObjectRef JSObjectMakeDate(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
225 JSObjectRef JSObjectMakeError(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
252 JSObjectRef JSObjectMakeRegExp(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
280 JSValueRef JSObjectGetPrototype(JSContextRef ctx, JSObjectRef objec
[all...]
/macosx-10.10/WebKit-7600.1.25/win/Interfaces/
H A DJavaScriptCoreAPITypes.idl33 typedef void* JSObjectRef;
37 cpp_quote("typedef struct OpaqueJSValue* JSObjectRef;")
/macosx-10.10/WebKit2-7600.1.25/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)

Completed in 106 milliseconds

123