Home | History | Annotate | Download | only in runtime

Lines Matching refs:offset

143             size_t offset = m_structure->get(propertyName);
144 return offset != WTF::notFound ? getDirectOffset(offset) : JSValue();
149 size_t offset = m_structure->get(propertyName);
150 return offset != WTF::notFound ? locationForOffset(offset) : 0;
156 size_t offset = m_structure->get(propertyName, attributes, specificFunction);
157 return offset != WTF::notFound ? locationForOffset(offset) : 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); }
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]);
437 size_t offset = m_structure->get(propertyName, currentAttributes, currentSpecificFunction);
438 if (offset != WTF::notFound) {
443 putDirectOffset(offset, value);
445 slot.setExistingProperty(this, offset);
450 offset = m_structure->addPropertyWithoutTransition(propertyName, attributes, specificFunction);
454 ASSERT(offset < m_structure->propertyStorageCapacity());
455 putDirectOffset(offset, value);
458 slot.setNewProperty(this, offset);
462 size_t offset;
464 if (RefPtr<Structure> structure = Structure::addPropertyTransitionToExistingStructure(m_structure, propertyName, attributes, specificFunction, offset)) {
468 ASSERT(offset < structure->propertyStorageCapacity());
470 putDirectOffset(offset, value);
473 slot.setNewProperty(this, offset);
479 offset = m_structure->get(propertyName, currentAttributes, currentSpecificFunction);
480 if (offset != WTF::notFound) {
486 putDirectOffset(offset, value);
490 putDirectOffset(offset, value);
491 slot.setExistingProperty(this, offset);
505 RefPtr<Structure> structure = Structure::addPropertyTransition(m_structure, propertyName, attributes, specificFunction, offset);
510 ASSERT(offset < structure->propertyStorageCapacity());
512 putDirectOffset(offset, value);
515 slot.setNewProperty(this, offset);
560 size_t offset = m_structure->addPropertyWithoutTransition(propertyName, attributes, 0);
563 putDirectOffset(offset, value);
569 size_t offset = m_structure->addPropertyWithoutTransition(propertyName, attributes, value);
572 putDirectOffset(offset, value);