Searched refs:JSValue (Results 26 - 50 of 550) sorted by relevance

1234567891011>>

/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/
H A DJSBoundFunction.h40 static JSBoundFunction* create(ExecState*, JSGlobalObject*, JSObject* targetFunction, JSValue boundThis, JSValue boundArgs, int, const String&);
44 static bool customHasInstance(JSObject*, ExecState*, JSValue);
47 JSValue boundThis() { return m_boundThis.get(); }
48 JSValue boundArgs() { return m_boundArgs.get(); }
50 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
64 JSBoundFunction(ExecState*, JSGlobalObject*, Structure*, JSObject* targetFunction, JSValue boundThis, JSValue boundArgs);
H A DStringRecursionChecker.h36 JSValue earlyReturnValue() const; // 0 if everything is OK, value to return for failure cases
39 JSValue throwStackOverflowError();
40 JSValue emptyString();
41 JSValue performCheck();
45 JSValue m_earlyReturnValue;
50 inline JSValue StringRecursionChecker::performCheck()
58 return JSValue(); // Indicate success.
68 inline JSValue StringRecursionChecker::earlyReturnValue() const
H A DExceptionHelpers.h38 JS_EXPORT_PRIVATE bool isTerminatedExecutionException(JSValue);
44 JSObject* createNotAnObjectError(ExecState*, JSValue);
45 JSObject* createInvalidParamError(ExecState*, const char* op, JSValue);
46 JSObject* createNotAConstructorError(ExecState*, JSValue);
47 JSObject* createNotAFunctionError(ExecState*, JSValue);
62 static JSValue defaultValue(const JSObject*, ExecState*, PreferredPrimitiveType);
74 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
H A DCallData.h60 JS_EXPORT_PRIVATE JSValue call(ExecState*, JSValue functionObject, CallType, const CallData&, JSValue thisValue, const ArgList&);
H A DErrorPrototype.cpp80 JSValue thisValue = exec->hostThisValue();
89 if (JSValue earlyReturnValue = checker.earlyReturnValue())
90 return JSValue::encode(earlyReturnValue);
93 JSValue name = thisObj->get(exec, exec->propertyNames().name);
95 return JSValue::encode(jsUndefined());
104 return JSValue::encode(jsUndefined());
108 JSValue message = thisObj->get(exec, exec->propertyNames().message);
110 return JSValue::encode(jsUndefined());
121 return JSValue::encode(jsUndefined());
126 return JSValue
[all...]
H A DArrayPrototype.cpp152 static JSValue getProperty(ExecState* exec, JSObject* obj, unsigned index)
156 return JSValue();
160 static void putProperty(ExecState* exec, JSObject* obj, PropertyName propertyName, JSValue value)
168 JSValue value = exec->argument(argument);
215 JSValue value = slot.getValue(exec, from);
259 JSValue value = slot.getValue(exec, from);
274 JSValue thisValue = exec->hostThisValue();
279 return JSValue::encode(jsUndefined());
282 JSValue function = JSValue(thisObjec
[all...]
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/
H A DJSTrackCustom.h38 TrackBase* toTrack(JSC::JSValue);
39 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TrackBase*);
H A DJSDictionary.cpp63 JSDictionary::GetPropertyResult JSDictionary::tryGetProperty(const char* propertyName, JSValue& finalResult) const
82 void JSDictionary::convertValue(ExecState* exec, JSValue value, bool& result)
87 void JSDictionary::convertValue(ExecState* exec, JSValue value, int& result)
92 void JSDictionary::convertValue(ExecState* exec, JSValue value, unsigned& result)
97 void JSDictionary::convertValue(ExecState* exec, JSValue value, unsigned short& result)
102 void JSDictionary::convertValue(ExecState* exec, JSValue value, unsigned long& result)
107 void JSDictionary::convertValue(ExecState* exec, JSValue value, unsigned long long& result)
113 void JSDictionary::convertValue(ExecState* exec, JSValue value, double& result)
118 void JSDictionary::convertValue(JSC::ExecState* exec, JSC::JSValue value, Dictionary& result)
123 void JSDictionary::convertValue(ExecState* exec, JSValue valu
[all...]
H A DJSDictionary.h98 GetPropertyResult tryGetProperty(const char* propertyName, JSC::JSValue&) const;
100 static void convertValue(JSC::ExecState*, JSC::JSValue, bool& result);
101 static void convertValue(JSC::ExecState*, JSC::JSValue, int& result);
102 static void convertValue(JSC::ExecState*, JSC::JSValue, unsigned& result);
103 static void convertValue(JSC::ExecState*, JSC::JSValue, unsigned short& result);
104 static void convertValue(JSC::ExecState*, JSC::JSValue, unsigned long& result);
105 static void convertValue(JSC::ExecState*, JSC::JSValue, unsigned long long& result);
106 static void convertValue(JSC::ExecState*, JSC::JSValue, double& result);
107 static void convertValue(JSC::ExecState*, JSC::JSValue, Dictionary& result);
108 static void convertValue(JSC::ExecState*, JSC::JSValue, Strin
[all...]
H A DJSCallbackData.cpp45 JSValue JSCallbackData::invokeCallback(MarkedArgumentBuffer& args, bool* raisedException)
51 JSValue JSCallbackData::invokeCallback(JSValue thisValue, MarkedArgumentBuffer& args, bool* raisedException)
57 JSValue function = callback();
65 return JSValue();
71 return JSValue();
76 JSValue result = contextIsDocument
H A DJSCDATASectionCustom.cpp35 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, CDATASection* section)
H A DJSHTMLMediaElementCustom.cpp37 void JSHTMLMediaElement::setController(ExecState*, JSValue value)
H A DJSTextCustom.cpp35 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Text* text)
H A DJSTouchCustom.cpp38 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Touch* touch)
/macosx-10.9.5/WebCore-7537.78.1/bridge/jsc/
H A DBridgeJSC.h54 virtual JSValue valueFromInstance(ExecState*, const Instance*) const = 0;
55 virtual void setValueToInstance(ExecState*, const Instance*, JSValue) const = 0;
66 virtual JSValue fallbackObject(ExecState*, Instance*, PropertyName) { return jsUndefined(); }
86 virtual bool setValueOfUndefinedField(ExecState*, PropertyName, JSValue) { return false; }
88 virtual JSValue getMethod(ExecState*, PropertyName) = 0;
89 virtual JSValue invokeMethod(ExecState*, RuntimeMethod* method) = 0;
92 virtual JSValue invokeDefaultMethod(ExecState*) { return jsUndefined(); }
95 virtual JSValue invokeConstruct(ExecState*, const ArgList&) { return JSValue(); }
99 virtual JSValue defaultValu
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/debugger/
H A DDebuggerCallFrame.h45 DebuggerCallFrame(CallFrame* callFrame, JSValue exception)
58 JS_EXPORT_PRIVATE JSValue evaluate(const String&, JSValue& exception) const;
59 JSValue exception() const { return m_exception; }
63 JSValue m_exception;
H A DDebuggerCallFrame.cpp81 JSValue thisValue = m_callFrame->uncheckedR(codeBlock->thisRegister()).jsValue();
88 JSValue DebuggerCallFrame::evaluate(const String& script, JSValue& exception) const
91 return JSValue();
97 vm.exception = JSValue();
100 JSValue result = vm.interpreter->execute(eval, m_callFrame, thisObject(), m_callFrame->scope());
103 vm.exception = JSValue();
/macosx-10.9.5/JavaScriptCore-7537.78.1/heap/
H A DWeakImpl.h49 WeakImpl(JSValue, WeakHandleOwner*, void* context);
54 const JSValue& jsValue();
58 static WeakImpl* asWeakImpl(JSValue*);
61 const JSValue m_jsValue;
73 inline WeakImpl::WeakImpl(JSValue jsValue, WeakHandleOwner* weakHandleOwner, void* context)
93 inline const JSValue& WeakImpl::jsValue()
108 inline WeakImpl* WeakImpl::asWeakImpl(JSValue* slot)
H A DHeapRootVisitor.h43 void visit(JSValue*);
44 void visit(JSValue*, size_t);
59 inline void HeapRootVisitor::visit(JSValue* slot)
64 inline void HeapRootVisitor::visit(JSValue* slot, size_t count)
/macosx-10.9.5/WebCore-7537.78.1/bridge/
H A Druntime_object.h50 static void put(JSCell*, ExecState*, PropertyName, JSValue, PutPropertySlot&);
52 static JSValue defaultValue(const JSObject*, ExecState*, PreferredPrimitiveType);
71 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
82 static JSValue fallbackObjectGetter(ExecState*, JSValue, PropertyName);
83 static JSValue fieldGetter(ExecState*, JSValue, PropertyName);
84 static JSValue methodGetter(ExecState*, JSValue, PropertyName);
/macosx-10.9.5/WebKit-7537.78.2/mac/Plugins/Hosted/
H A DProxyInstance.h52 JSC::JSValue fieldValue(JSC::ExecState*, const JSC::Bindings::Field*) const;
53 void setFieldValue(JSC::ExecState*, const JSC::Bindings::Field*, JSC::JSValue) const;
69 virtual JSC::JSValue getMethod(JSC::ExecState*, JSC::PropertyName);
70 virtual JSC::JSValue invokeMethod(JSC::ExecState*, JSC::RuntimeMethod*);
73 virtual JSC::JSValue invokeDefaultMethod(JSC::ExecState*);
76 virtual JSC::JSValue invokeConstruct(JSC::ExecState*, const JSC::ArgList&);
78 virtual JSC::JSValue defaultValue(JSC::ExecState*, JSC::PreferredPrimitiveType) const;
79 virtual JSC::JSValue valueOf(JSC::ExecState*) const;
83 JSC::JSValue stringValue(JSC::ExecState*) const;
84 JSC::JSValue numberValu
[all...]
/macosx-10.9.5/WebCore-7537.78.1/bindings/scripts/test/JS/
H A DJSTestInterface.h47 static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
48 static void putByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::JSValue, bool shouldThrow);
49 bool putDelegate(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
54 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
59 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
63 JSC::JSValue supplementalStr3(JSC::ExecState*) const;
66 void setSupplementalStr3(JSC::ExecState*, JSC::JSValue);
71 JSC::JSValue supplementalMethod3(JSC::ExecState*);
109 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestInterface*);
110 TestInterface* toTestInterface(JSC::JSValue);
[all...]
H A DJSTestObj.cpp221 return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
406 JSValue jsTestObjReadOnlyLongAttr(ExecState* exec, JSValue slotBase, PropertyName)
411 JSValue result = jsNumber(impl->readOnlyLongAttr());
416 JSValue jsTestObjReadOnlyStringAttr(ExecState* exec, JSValue slotBase, PropertyName)
421 JSValue result = jsStringWithCache(exec, impl->readOnlyStringAttr());
426 JSValue jsTestObjReadOnlyTestObjAttr(ExecState* exec, JSValue slotBase, PropertyName)
431 JSValue resul
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/
H A DJSValueInternal.h30 #import <JavaScriptCore/JSValue.h>
34 @interface JSValue(Internal)
36 JSValueRef valueInternalValue(JSValue *);
38 - (JSValue *)initWithValue:(JSValueRef)value inContext:(JSContext *)context;
H A DJSWrapperMap.h36 - (JSValue *)jsWrapperForObject:(id)object;
38 - (JSValue *)objcWrapperForJSValueRef:(JSValueRef)value;

Completed in 397 milliseconds

1234567891011>>