Home
last modified time | relevance | path

Searched refs:mayThrow (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_proxy.h57 const JSHandle<JSTaggedValue> &value, bool mayThrow = false)
59 … return SetProperty(thread, proxy, key, value, JSHandle<JSTaggedValue>::Cast(proxy), mayThrow);
63 bool mayThrow = false);
Daccessor_data.h58 bool mayThrow = false) const
63 return setFunc(thread, obj, value, mayThrow);
Djs_typed_array.h69 bool mayThrow = false)
71 return SetProperty(thread, typedarray, key, value, typedarray, mayThrow);
75 const JSHandle<JSTaggedValue> &receiver, bool mayThrow = false);
Djs_tagged_value.cpp610 … const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty() argument
621 success = JSProxy::SetProperty(thread, JSHandle<JSProxy>(obj), key, value, mayThrow); in SetProperty()
623 success = JSTypedArray::SetProperty(thread, obj, key, value, mayThrow); in SetProperty()
625 success = ModuleNamespace::SetProperty(thread, mayThrow); in SetProperty()
629 success = JSObject::SetProperty(thread, obj, key, value, mayThrow); in SetProperty()
639 const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty() argument
649 success = JSProxy::SetProperty(thread, JSHandle<JSProxy>(obj), keyHandle, value, mayThrow); in SetProperty()
652 success = JSTypedArray::SetProperty(thread, obj, keyHandle, value, mayThrow); in SetProperty()
654 success = ModuleNamespace::SetProperty(thread, mayThrow); in SetProperty()
659 success = JSObject::SetProperty(thread, obj, key, value, mayThrow); in SetProperty()
[all …]
Djs_object.h480 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
483 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
487 bool mayThrow = false);
490 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
493 const JSHandle<JSTaggedValue> &value, bool mayThrow);
525 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
660 … static bool SetProperty(ObjectOperator *op, const JSHandle<JSTaggedValue> &value, bool mayThrow);
Djs_object.cpp600 const JSHandle<JSTaggedValue> &value, bool mayThrow) in GlobalSetProperty() argument
609 return SetProperty(&op, value, mayThrow); in GlobalSetProperty()
637 … const JSHandle<JSTaggedValue> &value, const JSHandle<JSTaggedValue> &receiver, bool mayThrow) in SetProperty() argument
644 return SetProperty(&op, value, mayThrow); in SetProperty()
648 const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty() argument
654 return SetProperty(&op, value, mayThrow); in SetProperty()
658 const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty() argument
665 return SetProperty(&op, value, mayThrow); in SetProperty()
669 const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty() argument
674 return SetProperty(&op, value, mayThrow); in SetProperty()
[all …]
Djs_array.h79 bool mayThrow = false);
Djs_array.cpp33 bool mayThrow) in LengthSetter() argument
36 if (!JSTaggedValue::ToArrayLength(thread, value, &newLen) && mayThrow) { in LengthSetter()
41 if (mayThrow) { in LengthSetter()
Djs_tagged_value.h472 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
475 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
479 bool mayThrow = false);
Djs_function.h115 bool mayThrow);
118 bool mayThrow);
Dobject_operator.h263 bool isInternalAccessor, bool mayThrow = false);
Djs_typed_array.cpp232 const JSHandle<JSTaggedValue> &receiver, bool mayThrow) in SetProperty() argument
250 return JSObject::SetProperty(thread, typedarray, key, value, receiver, mayThrow); in SetProperty()
Dobject_operator.cpp477 bool isInternalAccessor, bool mayThrow) in UpdateDataValue() argument
514 … bool res = accessor->CallInternalSet(thread_, JSHandle<JSObject>(receiver), value, mayThrow); in UpdateDataValue()
Djs_proxy.cpp610 … const JSHandle<JSTaggedValue> &value, const JSHandle<JSTaggedValue> &receiver, bool mayThrow) in SetProperty() argument
637 return JSTaggedValue::SetProperty(thread, targetHandle, key, value, receiver, mayThrow); in SetProperty()
Djs_function.cpp121 [[maybe_unused]] bool mayThrow) in PrototypeSetter() argument
722 [[maybe_unused]] bool mayThrow) in NameSetter() argument
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_namespace.h50 static bool SetProperty(JSThread *thread, bool mayThrow);
Djs_module_namespace.cpp262 bool ModuleNamespace::SetProperty(JSThread *thread, bool mayThrow) in SetProperty() argument
264 if (mayThrow) { in SetProperty()