Searched refs:JSValue (Results 1 - 25 of 550) sorted by relevance

1234567891011>>

/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/
H A DJSCJSValueInlines.h36 ALWAYS_INLINE int32_t JSValue::toInt32(ExecState* exec) const
43 inline uint32_t JSValue::toUInt32(ExecState* exec) const
49 inline bool JSValue::isUInt32() const
54 inline uint32_t JSValue::asUInt32() const
60 inline double JSValue::asNumber() const
66 inline JSValue jsNaN()
68 return JSValue(QNaN);
71 inline JSValue::JSValue(char i) function in class:JSC::JSValue
73 *this = JSValue(static_cas
76 inline JSValue::JSValue(unsigned char i) function in class:JSC::JSValue
81 inline JSValue::JSValue(short i) function in class:JSC::JSValue
86 inline JSValue::JSValue(unsigned short i) function in class:JSC::JSValue
91 inline JSValue::JSValue(unsigned i) function in class:JSC::JSValue
100 inline JSValue::JSValue(long i) function in class:JSC::JSValue
109 inline JSValue::JSValue(unsigned long i) function in class:JSC::JSValue
118 inline JSValue::JSValue(long long i) function in class:JSC::JSValue
127 inline JSValue::JSValue(unsigned long long i) function in class:JSC::JSValue
136 inline JSValue::JSValue(double d) function in class:JSC::JSValue
159 inline JSValue::JSValue() function in class:JSC::JSValue
165 inline JSValue::JSValue(JSNullTag) function in class:JSC::JSValue
171 inline JSValue::JSValue(JSUndefinedTag) function in class:JSC::JSValue
177 inline JSValue::JSValue(JSTrueTag) function in class:JSC::JSValue
183 inline JSValue::JSValue(JSFalseTag) function in class:JSC::JSValue
189 inline JSValue::JSValue(HashTableDeletedValueTag) function in class:JSC::JSValue
195 inline JSValue::JSValue(JSCell* ptr) function in class:JSC::JSValue
204 inline JSValue::JSValue(const JSCell* ptr) function in class:JSC::JSValue
302 ALWAYS_INLINE JSValue::JSValue(EncodeAsDoubleTag, double d) function in class:JSC::JSValue
307 inline JSValue::JSValue(int i) function in class:JSC::JSValue
314 inline JSValue::JSValue(int32_t tag, int32_t payload) function in class:JSC::JSValue
340 inline JSValue::JSValue() function in class:JSC::JSValue
346 inline JSValue::JSValue(HashTableDeletedValueTag) function in class:JSC::JSValue
351 inline JSValue::JSValue(JSCell* ptr) function in class:JSC::JSValue
356 inline JSValue::JSValue(const JSCell* ptr) function in class:JSC::JSValue
418 inline JSValue::JSValue(JSNullTag) function in class:JSC::JSValue
423 inline JSValue::JSValue(JSUndefinedTag) function in class:JSC::JSValue
428 inline JSValue::JSValue(JSTrueTag) function in class:JSC::JSValue
433 inline JSValue::JSValue(JSFalseTag) function in class:JSC::JSValue
468 ALWAYS_INLINE JSValue::JSValue(EncodeAsDoubleTag, double d) function in class:JSC::JSValue
473 inline JSValue::JSValue(int i) function in class:JSC::JSValue
[all...]
H A DStringRecursionChecker.cpp29 JSValue StringRecursionChecker::throwStackOverflowError()
34 JSValue StringRecursionChecker::emptyString()
H A DJSCJSValue.h111 class JSValue { class in namespace:JSC
143 static EncodedJSValue encode(JSValue);
144 static JSValue decode(EncodedJSValue);
152 JSValue();
153 JSValue(JSNullTag);
154 JSValue(JSUndefinedTag);
155 JSValue(JSTrueTag);
156 JSValue(JSFalseTag);
157 JSValue(JSCell* ptr);
158 JSValue(cons
[all...]
H A DCompletion.h37 JS_EXPORT_PRIVATE bool checkSyntax(ExecState*, const SourceCode&, JSValue* exception = 0);
38 JS_EXPORT_PRIVATE JSValue evaluate(ExecState*, const SourceCode&, JSValue thisValue = JSValue(), JSValue* exception = 0);
H A DPropertyDescriptor.h35 bool sameValue(ExecState*, JSValue, JSValue);
51 JSValue value() const { return m_value; }
52 JS_EXPORT_PRIVATE JSValue getter() const;
53 JS_EXPORT_PRIVATE JSValue setter() const;
57 JS_EXPORT_PRIVATE void setDescriptor(JSValue value, unsigned attributes);
62 void setValue(JSValue value) { m_value = value; }
63 JS_EXPORT_PRIVATE void setSetter(JSValue);
64 JS_EXPORT_PRIVATE void setGetter(JSValue);
80 JSValue m_valu
[all...]
H A DRegExpConstructor.cpp32 static JSValue regExpConstructorInput(ExecState*, JSValue, PropertyName);
33 static JSValue regExpConstructorMultiline(ExecState*, JSValue, PropertyName);
34 static JSValue regExpConstructorLastMatch(ExecState*, JSValue, PropertyName);
35 static JSValue regExpConstructorLastParen(ExecState*, JSValue, PropertyName);
36 static JSValue regExpConstructorLeftContext(ExecState*, JSValue, PropertyNam
[all...]
H A DOperations.cpp34 bool JSValue::equalSlowCase(ExecState* exec, JSValue v1, JSValue v2)
39 bool JSValue::strictEqualSlowCase(ExecState* exec, JSValue v1, JSValue v2)
44 NEVER_INLINE JSValue jsAddSlowCase(CallFrame* callFrame, JSValue v1, JSValue v2)
47 JSValue p
[all...]
H A DPropertySlot.h57 explicit PropertySlot(const JSValue base)
65 typedef JSValue (*GetValueFunc)(ExecState*, JSValue slotBase, PropertyName);
66 typedef JSValue (*GetIndexValueFunc)(ExecState*, JSValue slotBase, unsigned);
68 JSValue getValue(ExecState* exec, PropertyName propertyName) const
79 JSValue getValue(ExecState* exec, unsigned propertyName) const
99 void setValue(JSValue slotBase, JSValue value)
108 void setValue(JSValue slotBas
[all...]
H A DCallData.cpp36 JSValue call(ExecState* exec, JSValue functionObject, CallType callType, const CallData& callData, JSValue thisValue, const ArgList& args)
H A DNumberConstructor.cpp32 static JSValue numberConstructorNaNValue(ExecState*, JSValue, PropertyName);
33 static JSValue numberConstructorNegInfinity(ExecState*, JSValue, PropertyName);
34 static JSValue numberConstructorPosInfinity(ExecState*, JSValue, PropertyName);
35 static JSValue numberConstructorMaxValue(ExecState*, JSValue, PropertyName);
36 static JSValue numberConstructorMinValue(ExecState*, JSValue, PropertyNam
[all...]
H A DJSAPIValueWrapper.h34 friend JSValue jsAPIValueWrapper(ExecState*, JSValue);
38 JSValue value() const { return m_value.get(); }
40 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
47 static JSAPIValueWrapper* create(ExecState* exec, JSValue value)
55 void finishCreation(ExecState* exec, JSValue value)
71 inline JSValue jsAPIValueWrapper(ExecState* exec, JSValue value)
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/
H A DJSExceptionBase.h31 class JSValue;
39 ExceptionBase* toExceptionBase(JSC::JSValue);
H A DJSWorkerCustom.cpp43 JSC::JSValue JSWorker::postMessage(JSC::ExecState* exec)
57 return JSValue::encode(JSValue());
66 return JSValue::encode(JSValue());
69 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), worker.release())));
H A DJSHTMLLinkElementCustom.cpp39 JSValue JSHTMLLinkElement::sizes(ExecState* exec) const
42 JSValue result = toJS(exec, globalObject(), WTF::getPtr(output->sizes()));
46 void JSHTMLLinkElement::setSizes(ExecState* exec, JSValue value)
H A DJSDedicatedWorkerContextCustom.cpp45 JSC::JSValue JSDedicatedWorkerContext::postMessage(JSC::ExecState* exec)
H A DJSHTMLSelectElementCustom.h36 void selectIndexSetter(HTMLSelectElement*, JSC::ExecState*, unsigned index, JSC::JSValue);
H A DJSJavaScriptCallFrameCustom.cpp40 JSValue JSJavaScriptCallFrame::evaluate(ExecState* exec)
42 JSValue exception;
43 JSValue result = impl()->evaluate(exec->argument(0).toString(exec)->value(exec), exception);
51 JSValue JSJavaScriptCallFrame::restart(ExecState*)
54 return JSValue(JSValue::JSFalse);
57 JSValue JSJavaScriptCallFrame::thisObject(ExecState*) const
59 return impl()->thisObject() ? JSValue(impl()->thisObject()) : jsNull();
62 JSValue JSJavaScriptCallFrame::type(ExecState* exec) const
75 JSValue JSJavaScriptCallFram
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/
H A DJSManagedValue.h33 @class JSValue;
36 // JSManagedValue represents a "conditionally retained" JSValue.
43 // corresponding JSValue will be released and set to nil.
46 // from the Objective-C heap. It is incorrect to store a JSValue into an
53 + (JSManagedValue *)managedValueWithValue:(JSValue *)value;
56 - (id)initWithValue:(JSValue *)value;
58 // Get the JSValue to which this JSManagedValue refers. If the JavaScript value has been collected,
60 - (JSValue *)value;
H A DJSContext.h33 @class JSVirtualMachine, JSValue; variable in typeref:class:
38 // JavaScript virtual machine. Every instance of JSValue is associated with a
39 // JSContext via a strong reference. The JSValue will keep the JSContext it
40 // references alive so long as the JSValue remains alive. When all of the JSValues
53 - (JSValue *)evaluateScript:(NSString *)script;
58 - (JSValue *)globalObject;
67 + (JSValue *)currentThis;
70 // in the returned array are instances of JSValue. Outside of a callback from
83 // If a JSValue originating from a different JSVirtualMachine than this context
85 @property(retain) JSValue *exceptio
[all...]
H A DJSValue.h33 // A JSValue is a reference to a value within the JavaScript object space of a
34 // JSVirtualMachine. All instances of JSValue originate from a JSContext and
37 // Where an instance method is invoked upon a JSValue, and this returns another
38 // JSValue, the returned JSValue will originate from the same JSContext as the
39 // JSValue on which the method was invoked.
45 // property). An instance of JSValue may only be passed as an argument to
46 // methods on instances of JSValue and JSContext that belong to the same
47 // JSVirtualMachine - passing a JSValue to a method on an object originating
91 @interface JSValue
[all...]
/macosx-10.9.5/WebCore-7537.78.1/bindings/scripts/test/JS/
H A DJSTestObj.h45 static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
50 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
55 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
62 JSC::JSValue customAttr(JSC::ExecState*) const;
63 void setCustomAttr(JSC::ExecState*, JSC::JSValue);
66 JSC::JSValue customMethod(JSC::ExecState*);
67 JSC::JSValue customMethodWithArgs(JSC::ExecState*);
68 static JSC::JSValue classMethod2(JSC::ExecState*);
105 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestObj*);
106 TestObj* toTestObj(JSC::JSValue);
[all...]
/macosx-10.9.5/WebCore-7537.78.1/bridge/objc/
H A Dobjc_instance.h47 virtual JSValue valueOf(ExecState*) const;
48 virtual JSValue defaultValue(ExecState*, PreferredPrimitiveType) const;
50 virtual JSValue getMethod(ExecState*, PropertyName);
51 JSValue invokeObjcMethod(ExecState*, ObjcMethod* method);
52 virtual JSValue invokeMethod(ExecState*, RuntimeMethod* method);
54 virtual JSValue invokeDefaultMethod(ExecState*);
56 JSValue getValueOfUndefinedField(ExecState*, PropertyName) const;
57 virtual bool setValueOfUndefinedField(ExecState*, PropertyName, JSValue);
61 JSValue stringValue(ExecState*) const;
62 JSValue numberValu
[all...]
/macosx-10.9.5/WebCore-7537.78.1/bridge/c/
H A Dc_instance.h58 virtual JSValue valueOf(ExecState*) const;
59 virtual JSValue defaultValue(ExecState*, PreferredPrimitiveType) const;
61 virtual JSValue getMethod(ExecState*, PropertyName);
62 virtual JSValue invokeMethod(ExecState*, RuntimeMethod* method);
64 virtual JSValue invokeDefaultMethod(ExecState*);
67 virtual JSValue invokeConstruct(ExecState*, const ArgList&);
71 JSValue stringValue(ExecState*) const;
72 JSValue numberValue(ExecState*) const;
73 JSValue booleanValue() const;
81 bool toJSPrimitive(ExecState*, const char*, JSValue
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/heap/
H A DHandleTypes.h34 typedef JSValue* HandleSlot;
39 static JSValue toJSValue(T* cell) { return reinterpret_cast<JSCell*>(cell); }
44 typedef JSValue ExternalType;
45 static ExternalType getFromSlot(HandleSlot slot) { return slot ? *slot : JSValue(); }
46 static JSValue toJSValue(const JSValue& v) { return v; }
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/
H A DJITExceptions.h47 ExceptionHandler genericThrow(VM*, ExecState*, JSValue exceptionValue, unsigned vPCIndex);
49 ExceptionHandler jitThrow(VM*, ExecState*, JSValue exceptionValue, ReturnAddressPtr faultLocation);

Completed in 318 milliseconds

1234567891011>>