Lines Matching defs:CreateDataProperty

915     return CreateDataProperty(thread, JSHandle<JSObject>(receiver), key, value);
983 // 5f. Else if Receiver does not currently have a property P, Return CreateDataProperty(Receiver, P, V).
1711 // 7.3.4 CreateDataProperty (O, P, V)
1712 bool JSObject::CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedValue> &key,
1730 bool JSObject::CreateDataProperty(JSThread *thread, const JSHandle<JSObject> &obj, uint32_t index,
1751 bool success = CreateDataProperty(thread, obj, key, value, sCheckMode);
1763 bool success = CreateDataProperty(thread, obj, index, value, sCheckMode);
2213 // 4. If Desc has a [[Value]] field, then Perform CreateDataProperty(obj, "value", Desc.[[Value]]).
2216 bool success = CreateDataProperty(thread, objHandle, valueStr, desc.GetValue());
2217 RASSERT_PRINT(success, "CreateDataProperty must be success");
2219 // 5. If Desc has a [[Writable]] field, then Perform CreateDataProperty(obj, "writable", Desc.[[Writable]]).
2223 [[maybe_unused]] bool success = CreateDataProperty(thread, objHandle, writableStr, writable);
2224 ASSERT_PRINT(success, "CreateDataProperty must be success");
2226 // 6. If Desc has a [[Get]] field, then Perform CreateDataProperty(obj, "get", Desc.[[Get]]).
2229 bool success = CreateDataProperty(thread, objHandle, getStr, desc.GetGetter());
2230 RASSERT_PRINT(success, "CreateDataProperty must be success");
2232 // 7. If Desc has a [[Set]] field, then Perform CreateDataProperty(obj, "set", Desc.[[Set]])
2235 bool success = CreateDataProperty(thread, objHandle, setStr, desc.GetSetter());
2236 RASSERT_PRINT(success, "CreateDataProperty must be success");
2238 // 8. If Desc has an [[Enumerable]] field, then Perform CreateDataProperty(obj, "enumerable",
2243 [[maybe_unused]] bool success = CreateDataProperty(thread, objHandle, enumerableStr, enumerable);
2244 ASSERT_PRINT(success, "CreateDataProperty must be success");
2246 // 9. If Desc has a [[Configurable]] field, then Perform CreateDataProperty(obj , "configurable",
2251 [[maybe_unused]] bool success = CreateDataProperty(thread, objHandle, configurableStr, configurable);
2252 ASSERT_PRINT(success, "CreateDataProperty must be success");