Home | History | Annotate | Download | only in runtime

Lines Matching refs:JSValue

42     inline JSCell* getJSFunction(JSGlobalData& globalData, JSValue value)
86 JSValue prototype() const;
87 void setPrototype(JSValue prototype);
94 JSValue get(ExecState*, const Identifier& propertyName) const;
95 JSValue get(ExecState*, unsigned propertyName) const;
105 virtual void put(ExecState*, const Identifier& propertyName, JSValue value, PutPropertySlot&);
106 virtual void put(ExecState*, unsigned propertyName, JSValue value);
108 virtual void putWithAttributes(ExecState*, const Identifier& propertyName, JSValue value, unsigned attributes, bool checkReadOnly, PutPropertySlot& slot);
109 virtual void putWithAttributes(ExecState*, const Identifier& propertyName, JSValue value, unsigned attributes);
110 virtual void putWithAttributes(ExecState*, unsigned propertyName, JSValue value, unsigned attributes);
121 virtual JSValue defaultValue(ExecState*, PreferredPrimitiveType) const;
123 virtual bool hasInstance(ExecState*, JSValue, JSValue prototypeProperty);
128 virtual JSValue toPrimitive(ExecState*, PreferredPrimitiveType = NoPreference) const;
129 virtual bool getPrimitiveNumber(ExecState*, double& number, JSValue& value);
141 JSValue getDirect(const Identifier& propertyName) const
144 return offset != WTF::notFound ? getDirectOffset(offset) : JSValue();
147 JSValue* getDirectLocation(const Identifier& propertyName)
153 JSValue* getDirectLocation(const Identifier& propertyName, unsigned& attributes)
160 size_t offsetForLocation(JSValue* location) const
162 return location - reinterpret_cast<const JSValue*>(propertyStorage());
171 void putDirect(const Identifier& propertyName, JSValue value, unsigned attr, bool checkReadOnly, PutPropertySlot& slot);
172 void putDirect(const Identifier& propertyName, JSValue value, unsigned attr = 0);
178 void putDirectWithoutTransition(const Identifier& propertyName, JSValue value, unsigned attr = 0);
183 JSValue getDirectOffset(size_t offset) const { return JSValue::decode(propertyStorage()[offset]); }
184 void putDirectOffset(size_t offset, JSValue value) { propertyStorage()[offset] = JSValue::encode(value); }
186 void fillGetterPropertySlot(PropertySlot&, JSValue* location);
190 virtual JSValue lookupGetter(ExecState*, const Identifier& propertyName);
191 virtual JSValue lookupSetter(ExecState*, const Identifier& propertyName);
207 static PassRefPtr<Structure> createStructure(JSValue prototype)
220 void putAnonymousValue(unsigned index, JSValue value)
225 JSValue getAnonymousValue(unsigned index) const
247 const JSValue* locationForOffset(size_t offset) const
249 return reinterpret_cast<const JSValue*>(&propertyStorage()[offset]);
252 JSValue* locationForOffset(size_t offset)
254 return reinterpret_cast<JSValue*>(&propertyStorage()[offset]);
257 void putDirectInternal(const Identifier& propertyName, JSValue value, unsigned attr, bool checkReadOnly, PutPropertySlot& slot, JSCell*);
258 void putDirectInternal(JSGlobalData&, const Identifier& propertyName, JSValue value, unsigned attr, bool checkReadOnly, PutPropertySlot& slot);
259 void putDirectInternal(JSGlobalData&, const Identifier& propertyName, JSValue value, unsigned attr = 0);
280 inline JSObject* asObject(JSValue value)
304 inline JSValue JSObject::prototype() const
309 inline void JSObject::setPrototype(JSValue prototype)
344 inline bool JSValue::inherits(const ClassInfo* classInfo) const
351 if (JSValue* location = getDirectLocation(propertyName)) {
391 JSValue prototype = object->prototype();
404 JSValue
411 inline JSValue JSObject::get(ExecState* exec, const Identifier& propertyName) const
420 inline JSValue JSObject::get(ExecState* exec, unsigned propertyName) const
429 inline void JSObject::putDirectInternal(const Identifier& propertyName, JSValue value, unsigned attributes, bool checkReadOnly, PutPropertySlot& slot, JSCell* specificFunction)
518 inline void JSObject::putDirectInternal(JSGlobalData& globalData, const Identifier& propertyName, JSValue value, unsigned attributes, bool checkReadOnly, PutPropertySlot& slot)
526 inline void JSObject::putDirectInternal(JSGlobalData& globalData, const Identifier& propertyName, JSValue value, unsigned attributes)
532 inline void JSObject::putDirect(const Identifier& propertyName, JSValue value, unsigned attributes, bool checkReadOnly, PutPropertySlot& slot)
540 inline void JSObject::putDirect(const Identifier& propertyName, JSValue value, unsigned attributes)
557 inline void JSObject::putDirectWithoutTransition(const Identifier& propertyName, JSValue value, unsigned attributes)
582 inline JSValue JSObject::toPrimitive(ExecState* exec, PreferredPrimitiveType preferredType) const
587 inline JSValue JSValue::get(ExecState* exec, const Identifier& propertyName) const
593 inline JSValue JSValue::get(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) const
607 JSValue prototype = asObject(cell)->prototype();
614 inline JSValue JSValue::get(ExecState* exec, unsigned propertyName) const
620 inline JSValue JSValue::get(ExecState* exec, unsigned propertyName, PropertySlot& slot) const
632 JSValue prototype = asObject(cell)->prototype();
639 inline void JSValue::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
648 inline void JSValue::put(ExecState* exec, unsigned propertyName, JSValue value)
685 markStack.appendValues(reinterpret_cast<JSValue*>(storage), storageSize);