Home
last modified time | relevance | path

Searched full:attributes (Results 1 – 25 of 56) sorted by relevance

123

/arkcompiler/runtime_core/assembler/
Dasm_metadata.rb55 def attributes method
56 @data.attributes.map do |op|
95attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool }
99 attributes.each do |a|
129 … Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? != is_bool }.each do |a|
150attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &…
154 attributes.each do |a|
183attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &…
187 attributes.each do |a|
232attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool }
[all …]
Dmetadata.yaml14 attributes:
DCMakeLists.txt102 target_compile_options(assembler_tests PUBLIC "-Wno-ignored-attributes")
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp194 … PropertyAttributes attributes = PropertyAttributes::Default(true, false, true); // non-enumerable in CreatePrototypeHClass() local
197 attributes.SetIsAccessor(true); in CreatePrototypeHClass()
200 attributes.SetIsInlinedProps(true); in CreatePrototypeHClass()
201 attributes.SetRepresentation(Representation::MIXED); in CreatePrototypeHClass()
202 attributes.SetOffset(index); in CreatePrototypeHClass()
203 layout->AddKey(thread, index, key.GetTaggedValue(), attributes); in CreatePrototypeHClass()
241 PropertyAttributes attributes; in CreateConstructorHClass() local
244 attributes = PropertyAttributes::Default(false, false, true); in CreateConstructorHClass()
248 attributes = PropertyAttributes::Default(false, false, true); in CreateConstructorHClass()
251 attributes = PropertyAttributes::Default(true, false, true); in CreateConstructorHClass()
[all …]
/arkcompiler/ets_frontend/merge_abc/protos/
Dmeta.proto24 message Attributes { message
28 repeated Attributes attributes = 2; field
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type.cpp60 PropertyAttributes attributes = PropertyAttributes::Default(); in CreateHClassByProps() local
61 attributes.SetIsInlinedProps(true); in CreateHClassByProps()
62 attributes.SetRepresentation(Representation::MIXED); in CreateHClassByProps()
63 attributes.SetOffset(index); in CreateHClassByProps()
64 layout->AddKey(thread, index, key.GetTaggedValue(), attributes); in CreateHClassByProps()
124 PropertyAttributes attributes = PropertyAttributes::Default(true, false, true); in CreatePrototypeHClassByProps() local
126 attributes.SetIsAccessor(true); in CreatePrototypeHClassByProps()
128 attributes.SetIsInlinedProps(true); in CreatePrototypeHClassByProps()
129 attributes.SetRepresentation(Representation::MIXED); in CreatePrototypeHClassByProps()
130 attributes.SetOffset(index); in CreatePrototypeHClassByProps()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Dglobal_dictionary_test.cpp131 …* @tc.desc: Check whether the Attributes Get through calling SetAttributes function is within expe…
141 // set attributes call SetAttributes function in HWTEST_F_L0()
150 * @tc.desc: Create dictionary and set entry calling SetEntry function,Check whether Attributes is
151 * the same as Attributes after calling the ClearEntry function.
168 // check attributes in three in HWTEST_F_L0()
176 * @tc.desc: Update value and Attributes through calling UpdateValueAndAttributes function.
195 // check attributes in five in HWTEST_F_L0()
198 // Update value and attributes in HWTEST_F_L0()
205 // check attributes in five in HWTEST_F_L0()
212 * @tc.desc: Get all Attributes from dictionary and store it in the TaggedArray.
[all …]
Djs_collator_test.cpp105 …* @tc.desc: Call "InitializeCollator" function initialize the attributes of Collator,then check wh…
106 * attributes is expected.
122 // check attributes in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.cpp660 PropertyAttributes attributes = PropertyAttributes::Default(true, false, false); in CreateJSRegExpInstanceClass() local
661 attributes.SetIsInlinedProps(true); in CreateJSRegExpInstanceClass()
662 attributes.SetRepresentation(Representation::MIXED); in CreateJSRegExpInstanceClass()
663 attributes.SetOffset(fieldOrder++); in CreateJSRegExpInstanceClass()
664 layoutInfoHandle->AddKey(thread_, 0, globalConst->GetLastIndexString(), attributes); in CreateJSRegExpInstanceClass()
684 PropertyAttributes attributes = PropertyAttributes::DefaultAccessor(true, false, false); in CreateJSArrayInstanceClass() local
685 attributes.SetIsInlinedProps(true); in CreateJSArrayInstanceClass()
686 attributes.SetRepresentation(Representation::MIXED); in CreateJSArrayInstanceClass()
687 attributes.SetOffset(fieldOrder++); in CreateJSArrayInstanceClass()
688 layoutInfoHandle->AddKey(thread_, 0, globalConst->GetLengthString(), attributes); in CreateJSArrayInstanceClass()
[all …]
Djs_hclass-inl.h34 const JSHandle<JSTaggedValue> &key, PropertyAttributes attributes) in AddTransitions() argument
53 auto attr = JSHandle<JSTaggedValue>(thread, JSTaggedValue(attributes.GetPropertyMetaData())); in AddTransitions()
92 …line JSHClass *JSHClass::FindTransitions(const JSTaggedValue &key, const JSTaggedValue &attributes) in FindTransitions() argument
105 if (attr == attributes.GetInt() && key == cachedKey) { in FindTransitions()
113 auto entry = dict->FindEntry(key, attributes); in FindTransitions()
Dglobal_dictionary-inl.h66 const PropertyAttributes &attributes) in SetEntry() argument
69 SetAttributes(thread, entry, attributes); in SetEntry()
70 UpdateValueAndAttributes(thread, entry, value, attributes); in SetEntry()
Dproperty_attributes.h65 using AttributesField = BitField<int, 0, 4>; // 4: attributes field occupies 4 bits
66 …using DefaultAttributesField = BitField<int, 0, 3>; // 3: default attributes field occupies 3 bits
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_reflect_test.cpp173 // Reflect.defineProperty (target, propertyKey, attributes)
183 // attributes in HWTEST_F_L0()
184 JSHandle<JSObject> attributes = in HWTEST_F_L0() local
186 // attributes value in HWTEST_F_L0()
190 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), valueKey, value); in HWTEST_F_L0()
191 // attributes writable in HWTEST_F_L0()
194 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), writableKey, writable); in HWTEST_F_L0()
195 // attributes enumerable in HWTEST_F_L0()
198 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), enumerableKey, enumerable); in HWTEST_F_L0()
199 // attributes configurable in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/verification/
DCMakeLists.txt67 target_compile_options(arkverification_tests PUBLIC "-Wno-ignored-attributes")
89 … target_compile_options(pandaverification_rapidcheck_catch2_tests PUBLIC "-Wno-ignored-attributes")
/arkcompiler/runtime_core/libpandabase/
Dclang.h21 // Enable thread safety attributes only with clang.
22 // The attributes can be safely erased when compiling with other compilers.
/arkcompiler/runtime_core/plugins/ecmascript/assembler/extension/
Dmetadata.yaml16 attributes:
/arkcompiler/runtime_core/plugins/ecmascript/tests/assembler/
DCMakeLists.txt28 target_compile_options(assembler_tests_ecma PUBLIC "-Wno-ignored-attributes")
/arkcompiler/ets_frontend/es2panda/test/hotfix/hotfix-throwerror/modify-class-1/
Dbase_mod.js16 // Test scenario: add class attributes, which is before computed properties, es2abc can specify and…
/arkcompiler/ets_frontend/es2panda/test/hotreload/modify-class-1/
Dbase_mod.js16 // Test scenario: add class attributes, which is before computed properties, es2abc can specify and…
/arkcompiler/runtime_core/compiler/tools/aotdump/
DCMakeLists.txt34 target_compile_options(ark_aotdump PUBLIC "-Wno-attributes")
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_reflect.cpp86 // ecma 26.1.3 Reflect.defineProperty (target, propertyKey, attributes)
101 // 3. Let desc be ? ToPropertyDescriptor(attributes). in ReflectDefineProperty()
102 JSHandle<JSTaggedValue> attributes = GetCallArg(argv, BuiltinsBase::ArgsPosition::THIRD); in ReflectDefineProperty() local
104 JSObject::ToPropertyDescriptor(thread, attributes, desc); in ReflectDefineProperty()
Dbuiltins_object.h41 // 19.1.2.4Object.defineProperty ( O, P, Attributes )
/arkcompiler/runtime_core/runtime/asm_defines/
DCMakeLists.txt67 target_compile_options(asm_defines PUBLIC "-Wno-attributes")
/arkcompiler/toolchain/
DBUILD.gn43 "-Wno-ignored-attributes",
/arkcompiler/toolchain/build/third_party_gn/icu/icu4c/
DBUILD.gn40 "-Wno-ignored-attributes",
508 "-Wno-ignored-attributes",
544 "-Wno-ignored-attributes",
586 "-Wno-ignored-attributes",
637 "-Wno-ignored-attributes",

123