Searched refs:JSValueRef (Results 1 - 25 of 94) sorted by relevance

1234

/macosx-10.9.5/JavaScriptCore-7537.78.1/ForwardingHeaders/JavaScriptCore/
H A DJSValueRef.h1 #include <JavaScriptCore/API/JSValueRef.h>
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/
H A DJSValueInternal.h36 JSValueRef valueInternalValue(JSValue *);
38 - (JSValue *)initWithValue:(JSValueRef)value inContext:(JSContext *)context;
40 JSValueRef objectToValue(JSContext *, id);
41 id valueToObject(JSContext *, JSValueRef);
42 id valueToNumber(JSGlobalContextRef, JSValueRef, JSValueRef* exception);
43 id valueToString(JSGlobalContextRef, JSValueRef, JSValueRef* exception);
44 id valueToDate(JSGlobalContextRef, JSValueRef, JSValueRef* exceptio
[all...]
H A DJSValueRef.h44 @constant kJSTypeObject An object value (meaning that this JSValueRef is a JSObjectRef).
66 JS_EXPORT JSType JSValueGetType(JSContextRef ctx, JSValueRef);
75 JS_EXPORT bool JSValueIsUndefined(JSContextRef ctx, JSValueRef value);
84 JS_EXPORT bool JSValueIsNull(JSContextRef ctx, JSValueRef value);
93 JS_EXPORT bool JSValueIsBoolean(JSContextRef ctx, JSValueRef value);
102 JS_EXPORT bool JSValueIsNumber(JSContextRef ctx, JSValueRef value);
111 JS_EXPORT bool JSValueIsString(JSContextRef ctx, JSValueRef value);
120 JS_EXPORT bool JSValueIsObject(JSContextRef ctx, JSValueRef value);
130 JS_EXPORT bool JSValueIsObjectOfClass(JSContextRef ctx, JSValueRef value, JSClassRef jsClass);
140 @param exception A pointer to a JSValueRef i
[all...]
H A DJSObjectRef.h31 #include <JavaScriptCore/JSValueRef.h>
138 @param exception A pointer to a JSValueRef in which to return an exception, if any.
142 JSValueRef GetProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception);
146 typedef JSValueRef
147 (*JSObjectGetPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception);
156 @param exception A pointer to a JSValueRef in which to return an exception, if any.
160 bool SetProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception);
165 (*JSObjectSetPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef valu
[all...]
H A DJSContextInternal.h39 JSValueRef thisValue;
42 const JSValueRef *arguments;
64 - (void)notifyException:(JSValueRef)exception;
65 - (JSValue *)valueFromNotifyException:(JSValueRef)exception;
66 - (BOOL)boolFromNotifyException:(JSValueRef)exception;
68 - (void)beginCallbackWithData:(CallbackData *)callbackData thisValue:(JSValueRef)thisValue argumentCount:(size_t)argumentCount arguments:(const JSValueRef *)arguments;
72 - (JSValue *)wrapperForJSObject:(JSValueRef)value;
H A DJSScriptRefPrivate.h31 #include <JavaScriptCore/JSValueRef.h>
89 @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
92 JS_EXPORT JSValueRef JSScriptEvaluate(JSContextRef ctx, JSScriptRef script, JSValueRef thisValue, JSValueRef* exception);
H A DJSWrapperMap.h38 - (JSValue *)objcWrapperForJSValueRef:(JSValueRef)value;
42 id tryUnwrapObjcObject(JSGlobalContextRef, JSValueRef);
H A DJavaScript.h34 #include <JavaScriptCore/JSValueRef.h>
H A DJSObjectRefPrivate.h47 JS_EXPORT bool JSObjectSetPrivateProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef value);
57 JS_EXPORT JSValueRef JSObjectGetPrivateProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName);
H A DObjCCallbackFunction.mm48 virtual void set(NSInvocation *, NSInteger, JSContext *, JSValueRef, JSValueRef*) = 0;
58 virtual void set(NSInvocation *invocation, NSInteger argumentNumber, JSContext *context, JSValueRef argument, JSValueRef*) override
67 virtual void set(NSInvocation *invocation, NSInteger argumentNumber, JSContext *context, JSValueRef argument, JSValueRef* exception) override
76 virtual void set(NSInvocation *invocation, NSInteger argumentNumber, JSContext *context, JSValueRef argument, JSValueRef* exception) override
84 virtual void set(NSInvocation *invocation, NSInteger argumentNumber, JSContext *context, JSValueRef argument, JSValueRef*) overrid
[all...]
H A DJSValueRef.cpp27 #include "JSValueRef.h"
65 ::JSType JSValueGetType(JSContextRef ctx, JSValueRef value)
90 bool JSValueIsUndefined(JSContextRef ctx, JSValueRef value)
103 bool JSValueIsNull(JSContextRef ctx, JSValueRef value)
116 bool JSValueIsBoolean(JSContextRef ctx, JSValueRef value)
129 bool JSValueIsNumber(JSContextRef ctx, JSValueRef value)
142 bool JSValueIsString(JSContextRef ctx, JSValueRef value)
155 bool JSValueIsObject(JSContextRef ctx, JSValueRef value)
168 bool JSValueIsObjectOfClass(JSContextRef ctx, JSValueRef value, JSClassRef jsClass)
192 bool JSValueIsEqual(JSContextRef ctx, JSValueRef
[all...]
H A DJSBase.h63 /*! @typedef JSValueRef A JavaScript value. The base type for all JavaScript values, and polymorphic functions on them. */
64 typedef const struct OpaqueJSValue* JSValueRef; typedef in typeref:struct:OpaqueJSValue
106 @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
109 JS_EXPORT JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception);
118 @param exception A pointer to a JSValueRef in which to store a syntax error exception, if any. Pass NULL if you do not care to store a syntax error exception.
121 JS_EXPORT bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception);
/macosx-10.9.5/WebKit-7537.78.2/blackberry/Api/
H A DJavaScriptVariant_p.h25 #include <JSValueRef.h>
30 JavaScriptVariant JSValueRefToBlackBerryJavaScriptVariant(const JSGlobalContextRef&, const JSValueRef&);
31 JSValueRef BlackBerryJavaScriptVariantToJSValueRef(const JSGlobalContextRef&, const JavaScriptVariant&);
/macosx-10.9.5/WebKit-7537.78.2/mac/WebView/
H A DWebSerializedJSValue.h28 typedef const struct OpaqueJSValue* JSValueRef; typedef in typeref:struct:OpaqueJSValue
35 - (id)initWithValue:(JSValueRef)object context:(JSContextRef)sourceContext exception:(JSValueRef*)exception;
36 - (JSValueRef)deserialize:(JSContextRef)destinationContext;
/macosx-10.9.5/WebKit2-7537.78.2/Shared/API/c/
H A DWKSerializedScriptValue.h38 WK_EXPORT WKSerializedScriptValueRef WKSerializedScriptValueCreate(JSContextRef context, JSValueRef value, JSValueRef* exception);
39 WK_EXPORT JSValueRef WKSerializedScriptValueDeserialize(WKSerializedScriptValueRef scriptValue, JSContextRef context, JSValueRef* exception);
H A DWKSerializedScriptValue.cpp40 WKSerializedScriptValueRef WKSerializedScriptValueCreate(JSContextRef context, JSValueRef value, JSValueRef* exception)
52 JSValueRef WKSerializedScriptValueDeserialize(WKSerializedScriptValueRef scriptValueRef, JSContextRef contextRef, JSValueRef* exception)
/macosx-10.9.5/WebKit-7537.78.2/win/Interfaces/
H A DIWebSerializedJSValue.idl38 [local] HRESULT serialize([in] JSContextRef context, [in] JSValueRef value, [out, retval] JSValueRef* exception);
39 [local] HRESULT deserialize([in] JSContextRef context, [out, retval] JSValueRef* value);
H A DJavaScriptCoreAPITypes.idl34 typedef void* JSValueRef;
36 cpp_quote("typedef const struct OpaqueJSValue* JSValueRef;")
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/tests/
H A DJSNode.h35 extern JSObjectRef JSNode_construct(JSContextRef context, JSObjectRef object, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
H A DJSNode.c30 #include "JSValueRef.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* exceptio
[all...]
H A Dminidom.c36 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
58 JSValueRef exception;
59 JSValueRef result = JSEvaluateScript(context, script, NULL, NULL, 1, &exception);
81 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
/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* exceptio
[all...]
/macosx-10.9.5/WebKit-7537.78.2/blackberry/WebKitSupport/
H A DPagePopup.h28 typedef const struct OpaqueJSValue* JSValueRef; typedef in typeref:struct:OpaqueJSValue
58 static JSValueRef setValueAndClosePopupCallback(JSContextRef, JSObjectRef, JSObjectRef, size_t argumentCount, const JSValueRef arguments[], JSValueRef*);
/macosx-10.9.5/WebKit-7537.78.2/win/
H A DWebSerializedJSValue.h32 typedef const struct OpaqueJSValue* JSValueRef; typedef in typeref:struct:OpaqueJSValue
46 virtual HRESULT STDMETHODCALLTYPE serialize(JSContextRef, JSValueRef value, JSValueRef* exception);
47 virtual HRESULT STDMETHODCALLTYPE deserialize(JSContextRef, JSValueRef* result);

Completed in 208 milliseconds

1234