/external/webkit/Source/WebKit/mac/ForwardingHeaders/runtime/ |
JSValue.h | 1 #import <JavaScriptCore/JSValue.h>
|
/external/webkit/Source/WebCore/ForwardingHeaders/runtime/ |
JSValue.h | 3 #include <JavaScriptCore/JSValue.h>
|
/external/webkit/Source/JavaScriptCore/runtime/ |
JSValueInlineMethods.h | 29 #include "JSValue.h" 33 ALWAYS_INLINE int32_t JSValue::toInt32(ExecState* exec) const 40 inline uint32_t JSValue::toUInt32(ExecState* exec) const 46 inline bool JSValue::isUInt32() const 51 inline uint32_t JSValue::asUInt32() const 57 inline double JSValue::uncheckedGetNumber() const 63 ALWAYS_INLINE JSValue JSValue::toJSNumber(ExecState* exec) const 68 inline JSValue jsNaN() 70 return JSValue(nonInlineNaN()) [all...] |
JSValue.h | 99 class JSValue { 108 static EncodedJSValue encode(JSValue); 109 static JSValue decode(EncodedJSValue); 117 JSValue(); 118 JSValue(JSNullTag); 119 JSValue(JSUndefinedTag); 120 JSValue(JSTrueTag); 121 JSValue(JSFalseTag); 122 JSValue(JSCell* ptr); 123 JSValue(const JSCell* ptr) [all...] |
RegExpConstructor.cpp | 43 static JSValue regExpConstructorInput(ExecState*, JSValue, const Identifier&); 44 static JSValue regExpConstructorMultiline(ExecState*, JSValue, const Identifier&); 45 static JSValue regExpConstructorLastMatch(ExecState*, JSValue, const Identifier&); 46 static JSValue regExpConstructorLastParen(ExecState*, JSValue, const Identifier&); 47 static JSValue regExpConstructorLeftContext(ExecState*, JSValue, const Identifier&) [all...] |
PropertySlot.h | 25 #include "JSValue.h" 56 explicit PropertySlot(const JSValue base) 64 typedef JSValue (*GetValueFunc)(ExecState*, JSValue slotBase, const Identifier&); 65 typedef JSValue (*GetIndexValueFunc)(ExecState*, JSValue slotBase, unsigned); 67 JSValue getValue(ExecState* exec, const Identifier& propertyName) const 78 JSValue getValue(ExecState* exec, unsigned propertyName) const 98 void setValue(JSValue slotBase, JSValue value [all...] |
NumberConstructor.cpp | 33 static JSValue numberConstructorNaNValue(ExecState*, JSValue, const Identifier&); 34 static JSValue numberConstructorNegInfinity(ExecState*, JSValue, const Identifier&); 35 static JSValue numberConstructorPosInfinity(ExecState*, JSValue, const Identifier&); 36 static JSValue numberConstructorMaxValue(ExecState*, JSValue, const Identifier&); 37 static JSValue numberConstructorMinValue(ExecState*, JSValue, const Identifier&) [all...] |
PropertyDescriptor.h | 29 #include "JSValue.h" 46 JSValue value() const { return m_value; } 47 JSValue getter() const; 48 JSValue setter() const; 50 void setDescriptor(JSValue value, unsigned attributes); 51 void setAccessorDescriptor(JSValue getter, JSValue setter, unsigned attributes); 55 void setValue(JSValue value) { m_value = value; } 56 void setSetter(JSValue); 57 void setGetter(JSValue); [all...] |
RegExpObject.cpp | 37 static JSValue regExpObjectGlobal(ExecState*, JSValue, const Identifier&); 38 static JSValue regExpObjectIgnoreCase(ExecState*, JSValue, const Identifier&); 39 static JSValue regExpObjectMultiline(ExecState*, JSValue, const Identifier&); 40 static JSValue regExpObjectSource(ExecState*, JSValue, const Identifier&); 41 static JSValue regExpObjectLastIndex(ExecState*, JSValue, const Identifier&) [all...] |
StringPrototype.cpp | 251 static ALWAYS_INLINE JSValue jsSpliceSubstringsWithSeparators(ExecState* exec, JSString* sourceVal, const UString& source, const StringRange* substringRanges, int rangeCount, const UString* separators, int separatorCount) 299 JSValue thisValue = exec->hostThisValue(); 301 JSValue pattern = exec->argument(0); 302 JSValue replacement = exec->argument(1); 314 return JSValue::encode(JSValue()); 333 return JSValue::encode(jsNull()); 360 JSValue result = cachedCall.call(); 434 return JSValue::encode(sourceVal); 439 return JSValue::encode(jsSpliceSubstringsWithSeparators(exec, sourceVal, source, sourceRanges.data(), sourceRange (…) [all...] |
ArrayPrototype.cpp | 137 static JSValue getProperty(ExecState* exec, JSObject* obj, unsigned index) 141 return JSValue(); 145 static void putProperty(ExecState* exec, JSObject* obj, const Identifier& propertyName, JSValue value) 153 JSValue value = exec->argument(argument); 167 JSValue thisValue = exec->hostThisValue(); 176 return JSValue::encode(jsUndefined()); 192 JSValue element; 213 return JSValue::encode(jsEmptyString(exec)); 217 return JSValue::encode(throwOutOfMemoryError(exec)); 226 return JSValue::encode(jsString(exec, UString::adopt(buffer))) [all...] |
Completion.h | 26 #include "JSValue.h" 42 Completion(ComplType type = Normal, JSValue value = JSValue()) 49 JSValue value() const { return m_value; } 50 void setValue(JSValue v) { m_value = v; } 55 JSValue m_value; 59 Completion evaluate(ExecState*, ScopeChainNode*, const SourceCode&, JSValue thisValue = JSValue());
|
ObjectPrototype.cpp | 61 void ObjectPrototype::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 85 JSValue thisValue = exec->hostThisValue(); 86 return JSValue::encode(thisValue.toThisObject(exec)); 91 JSValue thisValue = exec->hostThisValue(); 92 return JSValue::encode(jsBoolean(thisValue.toThisObject(exec)->hasOwnProperty(exec, Identifier(exec, exec->argument(0).toString(exec))))); 97 JSValue thisValue = exec->hostThisValue(); 101 return JSValue::encode(jsBoolean(false)); 103 JSValue v = asObject(exec->argument(0))->prototype(); 107 return JSValue::encode(jsBoolean(false)); 109 return JSValue::encode(jsBoolean(true)) [all...] |
Operations.cpp | 34 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 p1 = v1.toPrimitive(callFrame) [all...] |
Operations.h | 32 NEVER_INLINE JSValue jsAddSlowCase(CallFrame*, JSValue, JSValue); 33 JSValue jsTypeStringForValue(CallFrame*, JSValue); 34 bool jsIsObjectType(JSValue); 35 bool jsIsFunctionType(JSValue); 37 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, JSString* s2) 62 ALWAYS_INLINE JSValue jsString(ExecState* exec, const UString& u1, JSString* s2) 87 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, const UString& u2 [all...] |
DatePrototype.cpp | 456 JSValue thisValue = exec->hostThisValue(); 464 return JSValue::encode(jsNontrivialString(exec, "Invalid Date")); 469 return JSValue::encode(jsMakeNontrivialString(exec, date, " ", time)); 474 JSValue thisValue = exec->hostThisValue(); 482 return JSValue::encode(jsNontrivialString(exec, "Invalid Date")); 487 return JSValue::encode(jsMakeNontrivialString(exec, date, " ", time)); 492 JSValue thisValue = exec->hostThisValue(); 500 return JSValue::encode(jsNontrivialString(exec, "Invalid Date")); 506 return JSValue::encode(jsNontrivialString(exec, buffer)); 511 JSValue thisValue = exec->hostThisValue() [all...] |
JSAPIValueWrapper.h | 33 friend JSValue jsAPIValueWrapper(ExecState*, JSValue); 35 JSValue value() const { return m_value.get(); } 39 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 46 JSAPIValueWrapper(ExecState* exec, JSValue value) 56 inline JSValue jsAPIValueWrapper(ExecState* exec, JSValue value)
|
/external/webkit/Source/WebCore/bindings/scripts/test/JS/ |
JSTestObj.h | 40 virtual void put(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&); 43 static PassRefPtr<JSC::Structure> createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype) 48 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*); 51 JSC::JSValue customAttr(JSC::ExecState*) const; 52 void setCustomAttr(JSC::ExecState*, JSC::JSValue); 55 JSC::JSValue customMethod(JSC::ExecState*); 56 JSC::JSValue customMethodWithArgs(JSC::ExecState*); 65 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestObj*); 66 TestObj* toTestObj(JSC::JSValue); 75 static PassRefPtr<JSC::Structure> createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype [all...] |
JSTestObj.cpp | 152 static PassRefPtr<JSC::Structure> createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype) 281 JSValue jsTestObjReadOnlyIntAttr(ExecState* exec, JSValue slotBase, const Identifier&) 286 JSValue result = jsNumber(imp->readOnlyIntAttr()); 290 JSValue jsTestObjReadOnlyStringAttr(ExecState* exec, JSValue slotBase, const Identifier&) 295 JSValue result = jsString(exec, imp->readOnlyStringAttr()); 299 JSValue jsTestObjReadOnlyTestObjAttr(ExecState* exec, JSValue slotBase, const Identifier&) 304 JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->readOnlyTestObjAttr())) [all...] |
/external/webkit/Source/JavaScriptCore/API/ |
JSValueRef.cpp | 40 #include <runtime/JSValue.h> 54 JSValue jsValue = toJS(exec, value); 56 if (jsValue.isUndefined()) 58 if (jsValue.isNull()) 60 if (jsValue.isBoolean()) 62 if (jsValue.isNumber()) 64 if (jsValue.isString()) 66 ASSERT(jsValue.isObject()); 75 JSValue jsValue = toJS(exec, value) [all...] |
/external/webkit/Source/JavaScriptCore/dfg/ |
DFGOperations.cpp | 41 return JSValue::encode(JSValue::decode(encodedOp).toThisObject(exec)); 46 JSValue op1 = JSValue::decode(encodedOp1); 47 JSValue op2 = JSValue::decode(encodedOp2); 53 return JSValue::encode(jsNumber(result32)); 54 return JSValue::encode(jsNumber((double)result64)); 60 return JSValue::encode(jsNumber(number1 + number2)); 62 return JSValue::encode(jsAddSlowCase(exec, op1, op2)) [all...] |
/external/webkit/Source/WebCore/bridge/objc/ |
objc_instance.h | 47 virtual JSValue valueOf(ExecState*) const; 48 virtual JSValue defaultValue(ExecState*, PreferredPrimitiveType) const; 50 virtual JSValue getMethod(ExecState* exec, const Identifier& propertyName); 51 JSValue invokeObjcMethod(ExecState*, ObjcMethod* method); 52 virtual JSValue invokeMethod(ExecState*, RuntimeMethod* method); 54 virtual JSValue invokeDefaultMethod(ExecState*); 56 JSValue getValueOfUndefinedField(ExecState*, const Identifier&) const; 57 virtual bool setValueOfUndefinedField(ExecState*, const Identifier&, JSValue); 61 JSValue stringValue(ExecState*) const; 62 JSValue numberValue(ExecState*) const [all...] |
/external/webkit/Source/JavaScriptCore/jit/ |
JITStubs.cpp | 319 /* code (r4), RegisterFile* (r5), CallFrame* (r6), JSValue* exception (r7), Profiler**(sp), JSGlobalData (sp)*/ 662 __asm EncodedJSValue ctiTrampoline(void*, RegisterFile*, CallFrame*, JSValue*, Profiler**, JSGlobalData*) 806 NEVER_INLINE void JITThunks::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const PutPropertySlot& slot, StructureStubInfo* stubInfo, bool direct) 856 NEVER_INLINE void JITThunks::tryCacheGetByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const Identifier& propertyName, const PropertySlot& slot, StructureStubInfo* stubInfo) [all...] |
/external/webkit/Source/JavaScriptCore/interpreter/ |
Register.h | 32 #include "JSValue.h" 54 Register(const JSValue&); 55 Register& operator=(const JSValue&); 56 JSValue jsValue() const; 93 *this = JSValue(); 97 ALWAYS_INLINE Register::Register(const JSValue& v) 102 u.value = JSValue::encode(v); 105 ALWAYS_INLINE Register& Register::operator=(const JSValue& v) 110 u.value = JSValue::encode(v) [all...] |
/external/webkit/Source/WebCore/bridge/jsc/ |
BridgeJSC.h | 57 virtual JSValue valueFromInstance(ExecState*, const Instance*) const = 0; 58 virtual void setValueToInstance(ExecState*, const Instance*, JSValue) const = 0; 69 virtual JSValue fallbackObject(ExecState*, Instance*, const Identifier&) { return jsUndefined(); } 94 virtual bool setValueOfUndefinedField(ExecState*, const Identifier&, JSValue) { return false; } 96 virtual JSValue getMethod(ExecState* exec, const Identifier& propertyName) = 0; 97 virtual JSValue invokeMethod(ExecState*, RuntimeMethod* method) = 0; 100 virtual JSValue invokeDefaultMethod(ExecState*) { return jsUndefined(); } 103 virtual JSValue invokeConstruct(ExecState*, const ArgList&) { return JSValue(); } 107 virtual JSValue defaultValue(ExecState*, PreferredPrimitiveType) const = 0 [all...] |