Home
last modified time | relevance | path

Searched refs:mayThrow (Results 1 – 19 of 19) 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.cpp714 … const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty() argument
725 success = JSProxy::SetProperty(thread, JSHandle<JSProxy>(obj), key, value, mayThrow); in SetProperty()
727 success = JSTypedArray::SetProperty(thread, obj, key, value, mayThrow); in SetProperty()
729 success = ModuleNamespace::SetProperty(thread, mayThrow); in SetProperty()
733 success = JSObject::SetProperty(thread, obj, key, value, mayThrow); in SetProperty()
743 const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty() argument
753 success = JSProxy::SetProperty(thread, JSHandle<JSProxy>(obj), keyHandle, value, mayThrow); in SetProperty()
756 success = JSTypedArray::SetProperty(thread, obj, keyHandle, value, mayThrow); in SetProperty()
758 success = ModuleNamespace::SetProperty(thread, mayThrow); in SetProperty()
763 success = JSObject::SetProperty(thread, obj, key, value, mayThrow); in SetProperty()
[all …]
Djs_object.h531 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
534 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
538 bool mayThrow = false);
541 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
544 const JSHandle<JSTaggedValue> &value, bool mayThrow);
587 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
755 … static bool SetProperty(ObjectOperator *op, const JSHandle<JSTaggedValue> &value, bool mayThrow);
780 … JSHandle<JSTaggedValue> &receiver, bool mayThrow, bool isInternalAccessor);
Djs_object.cpp752 const JSHandle<JSTaggedValue> &value, bool mayThrow) in GlobalSetProperty() argument
761 return SetProperty(&op, value, mayThrow); in GlobalSetProperty()
789 … const JSHandle<JSTaggedValue> &value, const JSHandle<JSTaggedValue> &receiver, bool mayThrow) in SetProperty() argument
796 return SetProperty(&op, value, mayThrow); in SetProperty()
800 const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty() argument
806 return SetProperty(&op, value, mayThrow); in SetProperty()
810 const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty() argument
817 return SetProperty(&op, value, mayThrow); in SetProperty()
821 const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty() argument
826 return SetProperty(&op, value, mayThrow); in SetProperty()
[all …]
Djs_array.cpp36 bool mayThrow) in LengthSetter() argument
39 if (!JSTaggedValue::ToArrayLength(thread, value, &newLen) && mayThrow) { in LengthSetter()
49 if (mayThrow) { in LengthSetter()
58 if (mayThrow) { in LengthSetter()
Djs_tagged_value.h416 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
419 const JSHandle<JSTaggedValue> &value, bool mayThrow = false);
423 bool mayThrow = false);
Djs_array.h90 bool mayThrow = false);
Djs_function.h122 bool mayThrow);
126 bool mayThrow);
Dobject_operator.h291 bool isInternalAccessor, bool mayThrow = false);
Djs_proxy.cpp595 … const JSHandle<JSTaggedValue> &value, const JSHandle<JSTaggedValue> &receiver, bool mayThrow) in SetProperty() argument
612 return JSTaggedValue::SetProperty(thread, targetHandle, key, value, receiver, mayThrow); in SetProperty()
629 if (mayThrow) { in SetProperty()
Djs_typed_array.cpp240 const JSHandle<JSTaggedValue> &receiver, bool mayThrow) in SetProperty() argument
258 return JSObject::SetProperty(thread, typedarray, key, value, receiver, mayThrow); in SetProperty()
Dobject_operator.cpp643 bool isInternalAccessor, bool mayThrow) in UpdateDataValue() argument
692 … bool res = accessor->CallInternalSet(thread_, JSHandle<JSObject>(receiver), value, mayThrow); in UpdateDataValue()
Djs_function.cpp143 [[maybe_unused]] bool mayThrow) in PrototypeSetter() argument
840 [[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.cpp273 bool ModuleNamespace::SetProperty(JSThread *thread, bool mayThrow) in SetProperty() argument
275 if (mayThrow) { in SetProperty()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_regexp.h89 const JSHandle<JSTaggedValue> &value, bool mayThrow);
Dbuiltins_regexp.cpp2399 … [[maybe_unused]] bool mayThrow) \