Home
last modified time | relevance | path

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

12

/ark/runtime_core/assembler/
Dasm_metadata.rb54 def attributes method
55 @data.attributes.map do |op|
94attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool }
98 attributes.each do |a|
128 … Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? != is_bool }.each do |a|
149attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &…
153 attributes.each do |a|
182attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &…
186 attributes.each do |a|
231attributes = 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")
/ark/js_runtime/ecmascript/
Dclass_info_extractor.cpp186 … PropertyAttributes attributes = PropertyAttributes::Default(true, false, true); // non-enumerable in CreatePrototypeHClass() local
189 attributes.SetIsAccessor(true); in CreatePrototypeHClass()
192 attributes.SetIsInlinedProps(true); in CreatePrototypeHClass()
193 attributes.SetRepresentation(Representation::MIXED); in CreatePrototypeHClass()
194 attributes.SetOffset(index); in CreatePrototypeHClass()
195 layout->AddKey(thread, index, key.GetTaggedValue(), attributes); in CreatePrototypeHClass()
227 PropertyAttributes attributes; in CreateConstructorHClass() local
230 attributes = PropertyAttributes::Default(false, false, true); in CreateConstructorHClass()
234 attributes = PropertyAttributes::Default(false, false, true); in CreateConstructorHClass()
237 attributes = PropertyAttributes::Default(true, false, true); in CreateConstructorHClass()
[all …]
Dobject_factory.cpp513 PropertyAttributes attributes = PropertyAttributes::Default(true, false, false); in CreateJSRegExpInstanceClass() local
514 attributes.SetIsInlinedProps(true); in CreateJSRegExpInstanceClass()
515 attributes.SetRepresentation(Representation::MIXED); in CreateJSRegExpInstanceClass()
516 attributes.SetOffset(fieldOrder++); in CreateJSRegExpInstanceClass()
517 layoutInfoHandle->AddKey(thread_, 0, globalConst->GetLastIndexString(), attributes); in CreateJSRegExpInstanceClass()
537 PropertyAttributes attributes = PropertyAttributes::DefaultAccessor(true, false, false); in CreateJSArrayInstanceClass() local
538 attributes.SetIsInlinedProps(true); in CreateJSArrayInstanceClass()
539 attributes.SetRepresentation(Representation::MIXED); in CreateJSArrayInstanceClass()
540 attributes.SetOffset(fieldOrder++); in CreateJSArrayInstanceClass()
541 layoutInfoHandle->AddKey(thread_, 0, globalConst->GetLengthString(), attributes); in CreateJSArrayInstanceClass()
[all …]
Djs_hclass-inl.h33 const JSHandle<JSTaggedValue> &key, PropertyAttributes attributes) in AddTransitions() argument
52 auto attr = JSHandle<JSTaggedValue>(thread, JSTaggedValue(attributes.GetPropertyMetaData())); in AddTransitions()
91 …line JSHClass *JSHClass::FindTransitions(const JSTaggedValue &key, const JSTaggedValue &attributes) in FindTransitions() argument
104 if (attr == attributes.GetInt() && key == cachedKey) { in FindTransitions()
112 auto entry = dict->FindEntry(key, attributes); in FindTransitions()
Dglobal_dictionary-inl.h65 const PropertyAttributes &attributes) in SetEntry() argument
68 SetAttributes(thread, entry, attributes); in SetEntry()
69 UpdateValueAndAttributes(thread, entry, value, attributes); in SetEntry()
Dproperty_attributes.h64 using AttributesField = BitField<int, 0, 4>; // 4: attributes field occupies 4 bits
65 …using DefaultAttributesField = BitField<int, 0, 3>; // 3: default attributes field occupies 3 bits
Djs_object.cpp519 // When op is not found and is not set extra attributes in SetProperty()
929 …// [[Enumerable]] attributes and set the rest of the property’s attributes to their default values. in ValidateAndApplyPropertyDescriptor()
933 …// [[Enumerable]] attributes and set the rest of the property’s attributes to their default values. in ValidateAndApplyPropertyDescriptor()
Djs_api_arraylist.cpp379 THROW_TYPE_ERROR_AND_RETURN(thread, "Can not obtain attributes of no-number type", false); in GetOwnProperty()
/ark/js_runtime/ecmascript/ts_types/
Dts_type.cpp56 PropertyAttributes attributes = PropertyAttributes::Default(); in CreateHClassByProps() local
57 attributes.SetIsInlinedProps(true); in CreateHClassByProps()
58 attributes.SetRepresentation(Representation::MIXED); in CreateHClassByProps()
59 attributes.SetOffset(index); in CreateHClassByProps()
60 layout->AddKey(thread, index, key.GetTaggedValue(), attributes); in CreateHClassByProps()
/ark/js_runtime/ecmascript/builtins/tests/
Dbuiltins_reflect_test.cpp171 // Reflect.defineProperty (target, propertyKey, attributes)
181 // attributes in HWTEST_F_L0()
182 JSHandle<JSObject> attributes = in HWTEST_F_L0() local
184 // attributes value in HWTEST_F_L0()
188 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), valueKey, value); in HWTEST_F_L0()
189 // attributes writable in HWTEST_F_L0()
192 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), writableKey, writable); in HWTEST_F_L0()
193 // attributes enumerable in HWTEST_F_L0()
196 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), enumerableKey, enumerable); in HWTEST_F_L0()
197 // attributes configurable in HWTEST_F_L0()
[all …]
/ark/runtime_core/libpandabase/
Dclang.h21 // Enable thread safety attributes only with clang.
22 // The attributes can be safely erased when compiling with other compilers.
/ark/runtime_core/assembler/extensions/ecmascript/
Dmetadata.yaml16 attributes:
/ark/runtime_core/verification/tests/gtest/
DCMakeLists.txt33 target_compile_options(arkverification_tests PUBLIC "-Wno-ignored-attributes")
/ark/runtime_core/verification/tests/rapidcheck_gtest/
DCMakeLists.txt35 target_compile_options(arkverification_rapidcheck_gtest_tests PUBLIC "-Wno-ignored-attributes")
/ark/runtime_core/verification/tests/rapidcheck_catch2/
DCMakeLists.txt37 … target_compile_options(pandaverification_rapidcheck_catch2_tests PUBLIC "-Wno-ignored-attributes")
/ark/js_runtime/ecmascript/builtins/
Dbuiltins_reflect.cpp78 // ecma 26.1.3 Reflect.defineProperty (target, propertyKey, attributes)
93 // 3. Let desc be ? ToPropertyDescriptor(attributes). in ReflectDefineProperty()
94 JSHandle<JSTaggedValue> attributes = GetCallArg(argv, BuiltinsBase::ArgsPosition::THIRD); in ReflectDefineProperty() local
96 JSObject::ToPropertyDescriptor(thread, attributes, desc); in ReflectDefineProperty()
Dbuiltins_object.h41 // 19.1.2.4Object.defineProperty ( O, P, Attributes )
Dbuiltins_relative_time_format.cpp48 …// This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]… in RelativeTimeFormatConstructor()
/ark/runtime_core/runtime/
DCMakeLists.txt426 target_compile_options(${test_name} PUBLIC "-Wno-ignored-attributes")
449 target_compile_options(${test_name} PUBLIC "-Wno-ignored-attributes")
/ark/js_runtime/ecmascript/compiler/tests/
Dsatepoint_GC_0.ll96 attributes #0 = { "frame-pointer"="all"}
/ark/runtime_core/scripts/
Dmemusage.py91 # pylint: disable=too-many-instance-attributes
/ark/runtime_core/ldscripts/
Dpanda_test_asan.ld357 .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
/ark/runtime_core/disassembler/
Ddisassembler.cpp1267 auto attributes = meta.GetAttributes(); in Serialize() local
1269 if (bool_attributes.empty() && attributes.empty() && ann_list.empty()) { in Serialize()
1281 if (!attributes.empty() || !ann_list.empty() || idx < size) { in Serialize()
1286 size = attributes.size(); in Serialize()
1288 for (const auto &[key, values] : attributes) { in Serialize()

12