/arkcompiler/ets_runtime/test/moduletest/forin/ |
H A D | forin.js | 27 writable:true 38 writable:true 46 writable:true 54 writable:true 62 writable:true 76 writable:true
|
/arkcompiler/ets_runtime/test/moduletest/regressdefineproperty/ |
H A D | regressdefineproperty.js | 16 Object.defineProperty(a, "length", {writable: false}); 37 Object.defineProperty(array, 'length', {writable: false}); 45 Object.defineProperty(object, 'length', {writable: false}); 76 writable: true
|
/arkcompiler/ets_runtime/test/moduletest/object/ |
H A D | object.js | 94 writable: false, 144 writable: true, 157 writable: true, 170 writable: false,
|
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/ |
H A D | property_descriptor.h | 104 void SetWritable(bool writable) in SetWritable() argument 107 writable_ = writable; in SetWritable() 123 jsonBuilder.AddProperty("writable", writable_); in ToJson()
|
/arkcompiler/ets_runtime/test/moduletest/forin_enum_cache/ |
H A D | forin_enum_cache.js | 58 writable:true
|
/arkcompiler/ets_runtime/test/moduletest/arraymap/ |
H A D | arraymap.js | 60 Object.defineProperty(Array.prototype, '8',{value: 42, writable :false });
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | builtins_base.h | 57 constexpr BuiltinsPropertyConfig(std::string_view name, bool isAccessor, bool writable, in BuiltinsPropertyConfig() argument 59 : name_(name), isAccessor_(isAccessor), writable_(writable), in BuiltinsPropertyConfig()
|
/arkcompiler/ets_runtime/test/moduletest/objecthasownproperty/ |
H A D | objecthasownproperty.js | 54 writable:false,
|
/arkcompiler/ets_runtime/test/moduletest/builtins/ |
H A D | builtinsreflect.js | 74 { writable: false, configurable: true, value: 44 });
|
/arkcompiler/ets_runtime/test/moduletest/objectentries/ |
H A D | objectentries.js | 129 writable: false,
|
/arkcompiler/ets_runtime/test/moduletest/objectkeys/ |
H A D | objectkeys.js | 92 writable:false,
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | circuit.h | 188 uint32_t pcOffset, uint32_t bcIndex, bool writable, bool hasFrameState) in JSBytecode() 190 GateFlags writableFlags = writable ? GateFlags::NONE_FLAG : GateFlags::NO_WRITE; in JSBytecode() 187 JSBytecode(size_t valuesIn, uint32_t methodId, EcmaOpcode opcode, uint32_t pcOffset, uint32_t bcIndex, bool writable, bool hasFrameState) JSBytecode() argument
|
H A D | bytecode_circuit_builder.cpp | 836 bool writable = !bytecodeInfo.NoSideEffects(); in NewJSGate() local 841 numValueInputs, methodOffset, bytecodeInfo.GetOpcode(), pcOffset, iterator.Index(), writable, hasFrameState); in NewJSGate()
|
/arkcompiler/ets_runtime/test/moduletest/arraysort/ |
H A D | arraysort.js | 223 writable:false,
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | 187 writable: !0, 408 writable: !0, 704 writable: !0, 711 writable: !0, 718 writable: !0, 725 writable: !0, 732 writable: !0, 739 writable: !0, 746 writable: !0, 753 writable [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_reflect_test.cpp | 162 // attributes writable in HWTEST_F_L0() 164 JSHandle<JSTaggedValue> writable(thread, JSTaggedValue::True()); in HWTEST_F_L0() 165 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), writableKey, writable); in HWTEST_F_L0() 282 // test writable in HWTEST_F_L0()
|
H A D | builtins_object_test.cpp | 281 JSHandle<JSTaggedValue> writable(thread, JSTaggedValue(desc.IsWritable())); in HWTEST_F_L0() 282 JSObject::CreateDataProperty(thread, attHandle, writableStr, writable); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/test/moduletest/string/ |
H A D | string.js | 145 writable:false,
|
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/ |
H A D | stubbuilder.js | 1052 writable : true,
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_function.cpp | 401 const JSHandle<JSTaggedValue> &proto, bool writable) in MakeConstructor() 419 PropertyDescriptor constructorDesc(thread, JSHandle<JSTaggedValue>::Cast(func), writable, false, true); in MakeConstructor() 422 PropertyDescriptor constructorDesc(thread, JSHandle<JSTaggedValue>::Cast(func), writable, false, true); in MakeConstructor() 400 MakeConstructor(JSThread *thread, const JSHandle<JSFunction> &func, const JSHandle<JSTaggedValue> &proto, bool writable) MakeConstructor() argument
|
H A D | js_function.h | 188 const JSHandle<JSTaggedValue> &proto, bool writable = true);
|
H A D | js_object.cpp | 2219 // 5. If Desc has a [[Writable]] field, then Perform CreateDataProperty(obj, "writable", Desc.[[Writable]]). in FromPropertyDescriptor() 2222 JSHandle<JSTaggedValue> writable(thread, JSTaggedValue(desc.IsWritable())); in FromPropertyDescriptor() 2223 [[maybe_unused]] bool success = CreateDataProperty(thread, objHandle, writableStr, writable); in FromPropertyDescriptor() 2295 bool writable = value.ToBoolean(); in ToPropertyDescriptorFast() local 2296 desc.SetWritable(writable); in ToPropertyDescriptorFast() 2360 // 13. Let hasWritable be HasProperty(Obj, "writable"). in ToPropertyDescriptor() 2365 bool writable = value->IsException() ? false : value->ToBoolean(); in ToPropertyDescriptor() local 2366 desc.SetWritable(writable); in ToPropertyDescriptor()
|
/arkcompiler/toolchain/tooling/test/ |
H A D | debugger_types_test.cpp | 729 // abnormal params of params.sub-key=["name":"name8","configurable":true,"enumerable":true,"writable":98] 731 "name":"name85","configurable":true,"enumerable":true,"writable":98}})"; 735 // abnormal params of params.sub-key=["name":"name8","configurable":true,"enumerable":true,"writable":[true]] 737 "name":"name85","configurable":true,"enumerable":true,"writable":[true]}})"; 741 // normal params of params.sub-key=["name":"name8","configurable":true,"enumerable":true,"writable":true] 743 "name":"name85","configurable":true,"enumerable":true,"writable":true}})"; 883 "writable":true,"get":{"type":")" + 906 ret = objJson->GetBool("writable", &tmpBool);
|
/arkcompiler/toolchain/tooling/base/ |
H A D | pt_types.h | 932 PropertyDescriptor &SetWritable(bool writable) in SetWritable() argument 934 writable_ = writable; in SetWritable()
|
H A D | pt_types.cpp | 1400 bool writable = false; in Create() local 1401 ret = params.GetBool("writable", &writable); in Create() 1403 propertyDescriptor->writable_ = writable; in Create() 1405 error += "Wrong type of 'writable';"; in Create() 1497 result->Add("writable", writable_.value()); in ToJson()
|