Lines Matching refs:propertyName
60 bool JSByteArray::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot)
63 unsigned index = propertyName.toUInt32(&ok, false);
68 return JSObject::getOwnPropertySlot(exec, propertyName, slot);
71 bool JSByteArray::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)
74 unsigned index = propertyName.toUInt32(&ok, false);
79 return JSObject::getOwnPropertyDescriptor(exec, propertyName, descriptor);
82 bool JSByteArray::getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot)
84 if (canAccessIndex(propertyName)) {
85 slot.setValue(getIndex(exec, propertyName));
88 return JSObject::getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot);
91 void JSByteArray::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
94 unsigned index = propertyName.toUInt32(&ok, false);
99 JSObject::put(exec, propertyName, value, slot);
102 void JSByteArray::put(ExecState* exec, unsigned propertyName, JSValue value)
104 setIndex(exec, propertyName, value);