Home
last modified time | relevance | path

Searched refs:writable (Results 1 - 25 of 27) sorted by relevance

12

/arkcompiler/ets_runtime/test/moduletest/forin/
H A Dforin.js27 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 Dregressdefineproperty.js16 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 Dobject.js94 writable: false,
144 writable: true,
157 writable: true,
170 writable: false,
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
H A Dproperty_descriptor.h104 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 Dforin_enum_cache.js58 writable:true
/arkcompiler/ets_runtime/test/moduletest/arraymap/
H A Darraymap.js60 Object.defineProperty(Array.prototype, '8',{value: 42, writable :false });
/arkcompiler/ets_runtime/ecmascript/base/
H A Dbuiltins_base.h57 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 Dobjecthasownproperty.js54 writable:false,
/arkcompiler/ets_runtime/test/moduletest/builtins/
H A Dbuiltinsreflect.js74 { writable: false, configurable: true, value: 44 });
/arkcompiler/ets_runtime/test/moduletest/objectentries/
H A Dobjectentries.js129 writable: false,
/arkcompiler/ets_runtime/test/moduletest/objectkeys/
H A Dobjectkeys.js92 writable:false,
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dcircuit.h188 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 Dbytecode_circuit_builder.cpp836 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 Darraysort.js223 writable:false,
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js187 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 Dbuiltins_reflect_test.cpp162 // 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 Dbuiltins_object_test.cpp281 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 Dstring.js145 writable:false,
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/
H A Dstubbuilder.js1052 writable : true,
/arkcompiler/ets_runtime/ecmascript/
H A Djs_function.cpp401 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 Djs_function.h188 const JSHandle<JSTaggedValue> &proto, bool writable = true);
H A Djs_object.cpp2219 // 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 Ddebugger_types_test.cpp729 // 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 Dpt_types.h932 PropertyDescriptor &SetWritable(bool writable) in SetWritable() argument
934 writable_ = writable; in SetWritable()
H A Dpt_types.cpp1400 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()

Completed in 38 milliseconds

12