Home
last modified time | relevance | path

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

123456

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DMethod.sts27 private attributes: int
50 return (this.attributes & Attributes.INHERITED) != 0
54 return (this.attributes & Attributes.STATIC) != 0
59 return (this.attributes & Attributes.FINAL) != 0
63 return (this.attributes & Attributes.ABSTRACT) != 0
67 return (this.attributes & Attributes.CONSTRUCTOR) != 0
71 return (this.attributes & Attributes.GETTER) != 0
75 return (this.attributes & Attributes.SETTER) != 0
107 return this.attributes
119 this.attributes == (oth as Method).attributes
DParameter.sts24 private attributes: int
37 return this.attributes
41 return (this.attributes & Attributes.REST) != 0
45 return (this.attributes & Attributes.OPTIONAL) != 0
56 this.attributes == (oth as Parameter).attributes
DField.sts26 private attributes: int
49 return this.attributes
74 return (this.attributes & Attributes.INHERITED) != 0
78 return (this.attributes & Attributes.STATIC) != 0
83 return (this.attributes & Attributes.READONLY) != 0
95 this.attributes == (oth as Field).attributes
DTypeCreator.sts19 internal static readonly FIELD = Attributes.STATIC | Attributes.INHERITED | Attributes.READONLY
20Attributes.STATIC | Attributes.INHERITED | Attributes.FINAL | Attributes.ABSTRACT | Attributes.CON…
21 internal static readonly LAMBDA = Attributes.THROWING | Attributes.ASYNC
22 internal static readonly CLASS = Attributes.FINAL
23 internal static readonly PARAMETER = Attributes.REST | Attributes.OPTIONAL
460 * Sets all provided attributes to `true`
474 this.attrs.add(Attributes.FINAL, true)
534 if (!fld.attrs.has(Attributes.READONLY)) {
547 if ((mc.attrs.has(Attributes.STATIC))) {
651 * Sets all provided attributes to `true`
[all …]
/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 …]
/arkcompiler/runtime_core/static_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 …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dshared_builtins.cpp423 PropertyAttributes attributes = PropertyAttributes::Default(false, false, false); in CreateSObjectFunctionHClass() local
424 attributes.SetIsInlinedProps(true); in CreateSObjectFunctionHClass()
425 attributes.SetRepresentation(Representation::TAGGED); in CreateSObjectFunctionHClass()
430 attributes.SetOffset(index); in CreateSObjectFunctionHClass()
431 attributes.SetIsAccessor(each.second); in CreateSObjectFunctionHClass()
433 layout->AddKey(thread_, index++, keyString.GetTaggedValue(), attributes); in CreateSObjectFunctionHClass()
449 PropertyAttributes attributes = PropertyAttributes::Default(false, false, false); in CreateSObjectPrototypeHClass() local
450 attributes.SetIsInlinedProps(true); in CreateSObjectPrototypeHClass()
451 attributes.SetRepresentation(Representation::TAGGED); in CreateSObjectPrototypeHClass()
456 attributes.SetOffset(index); in CreateSObjectPrototypeHClass()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DProcessTest.sts222 function testGetPid(attributes: Map<String, number> ): int {
223 return process.pid == attributes.get("pid") ? 0 : 1;
226 function testGetTid(attributes: Map<String, number>): int {
227 return process.tid == attributes.get("tid") ? 0 : 1;
230 function testGetPpid(attributes: Map<String, number>): int {
231 return process.ppid == attributes.get("ppid") ? 0 : 1;
234 function testGetUid(attributes: Map<String, number>): int {
235 return process.uid == attributes.get("uid") ? 0 : 1;
238 function testGetEuid(attributes: Map<String, number>): int {
239 return process.euid == attributes.get("euid") ? 0 : 1;
[all …]
/arkcompiler/ets_frontend/merge_abc/protos/
Dmeta.proto24 message Attributes { message
28 repeated Attributes attributes = 2; field
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp216 … PropertyAttributes attributes = PropertyAttributes::Default(true, false, true); // non-enumerable in CreatePrototypeHClass() local
219 attributes.SetIsAccessor(true); in CreatePrototypeHClass()
222 attributes.SetIsInlinedProps(true); in CreatePrototypeHClass()
223 attributes.SetRepresentation(Representation::TAGGED); in CreatePrototypeHClass()
224 attributes.SetOffset(index); in CreatePrototypeHClass()
225 layout->AddKey(thread, index, key.GetTaggedValue(), attributes); in CreatePrototypeHClass()
266 PropertyAttributes attributes; in CreateConstructorHClass() local
269 attributes = PropertyAttributes::Default(false, false, true); in CreateConstructorHClass()
273 attributes = PropertyAttributes::Default(false, false, true); in CreateConstructorHClass()
276 attributes = PropertyAttributes::Default(true, false, true); in CreateConstructorHClass()
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/
D.pylintrc24 # R0902: Too many instance attributes (too-many-instance-attributes)
32 too-many-instance-attributes,
/arkcompiler/ets_runtime/ecmascript/
Djsnapi_sendable.cpp99 info.attributes[i].IsWritable(), in InitWithPropertiesInfo()
100 info.attributes[i].IsEnumerable(), in InitWithPropertiesInfo()
101 info.attributes[i].IsConfigurable()); in InitWithPropertiesInfo()
103 auto type = GetSharedFieldType(thread, info.types[i], info.attributes[i].GetValue(vm)); in InitWithPropertiesInfo()
105 desc.SetValue(JSNApiHelper::ToJSHandle(info.attributes[i].GetValue(vm))); in InitWithPropertiesInfo()
Dobject_factory.cpp857 PropertyAttributes attributes = PropertyAttributes::Default(true, false, false); in CreateJSRegExpInstanceClass() local
858 attributes.SetIsInlinedProps(true); in CreateJSRegExpInstanceClass()
859 attributes.SetRepresentation(Representation::TAGGED); in CreateJSRegExpInstanceClass()
860 attributes.SetOffset(fieldOrder++); in CreateJSRegExpInstanceClass()
861 layoutInfoHandle->AddKey(thread_, 0, globalConst->GetLastIndexString(), attributes); in CreateJSRegExpInstanceClass()
881 PropertyAttributes attributes = PropertyAttributes::DefaultAccessor(true, false, false); in CreateJSArrayInstanceClass() local
882 attributes.SetIsInlinedProps(true); in CreateJSArrayInstanceClass()
883 attributes.SetRepresentation(Representation::TAGGED); in CreateJSArrayInstanceClass()
884 attributes.SetOffset(fieldOrder++); in CreateJSArrayInstanceClass()
885 layoutInfoHandle->AddKey(thread_, 0, globalConst->GetLengthString(), attributes); in CreateJSArrayInstanceClass()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Dglobal_dictionary_test.cpp107 …* @tc.desc: Check whether the Attributes Get through calling SetAttributes function is within expe…
117 // set attributes call SetAttributes function in HWTEST_F_L0()
126 * @tc.desc: Create dictionary and set entry calling SetEntry function,Check whether Attributes is
127 * the same as Attributes after calling the ClearEntry function.
144 // check attributes in three in HWTEST_F_L0()
152 * @tc.desc: Update value and Attributes through calling UpdateValueAndAttributes function.
171 // check attributes in five in HWTEST_F_L0()
174 // Update value and attributes in HWTEST_F_L0()
181 // check attributes in five in HWTEST_F_L0()
188 * @tc.desc: Get all Attributes from dictionary and store it in the TaggedArray.
[all …]
Djs_collator_test.cpp71 …* @tc.desc: Call "InitializeCollator" function initialize the attributes of Collator,then check wh…
72 * attributes is expected.
88 // check attributes in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DTypeMethodTest.sts127 … test(cMethod.getAttributes() == Attributes.CONSTRUCTOR, " constructor attrib") +
135 … test(getterMethod.getAttributes() == Attributes.GETTER, " getter attrib") +
143 … test(setterMethod.getAttributes() == Attributes.SETTER, " setter attrib") +
151 … test(createFileExtMethod.getAttributes() == Attributes.STATIC, " static attrib") +
159 … test(abstractWriteMethod.getAttributes() == Attributes.ABSTRACT, " abstract attrib") +
167 … test(closeMethod.getAttributes() == Attributes.INHERITED, " inherited attrib") +
DTypeFieldTest.sts61 test(xf.getAttributes() == Attributes.INHERITED, " no attributes") +
68 test(sf.getAttributes() == 0, " no attributes") +
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/
Dpipeline_irtoc.cfg34 forceattrs, # Force set function attributes
36 inferattrs, # Infer set function attributes
56 function-attrs, # Deduce function attributes
113 rpo-function-attrs, # Deduce function attributes in RPO
Dpipeline.cfg31 # forceattrs, # Force set function attributes
33 inferattrs, # Infer set function attributes
52 function-attrs, # Deduce function attributes
112 # rpo-function-attrs, # Deduce function attributes in RPO
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dmapped_types.sts25 // Removes 'readonly' attributes from a type's properties
35 // Removes 'optional' attributes from a type's properties
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_reflect_test.cpp144 // Reflect.defineProperty (target, propertyKey, attributes)
154 // attributes in HWTEST_F_L0()
155 JSHandle<JSObject> attributes = in HWTEST_F_L0() local
157 // attributes value in HWTEST_F_L0()
161 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), valueKey, value); in HWTEST_F_L0()
162 // attributes writable in HWTEST_F_L0()
165 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), writableKey, writable); in HWTEST_F_L0()
166 // attributes enumerable in HWTEST_F_L0()
169 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(attributes), enumerableKey, enumerable); in HWTEST_F_L0()
170 // attributes configurable in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/static_core/verification/
DCMakeLists.txt79 panda_target_compile_options(arkverification_tests PUBLIC "-Wno-ignored-attributes")
100 …a_target_compile_options(pandaverification_rapidcheck_gtest_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/static_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/static_core/tests/vm-benchmarks/
D.pylintrc19 too-many-instance-attributes,

123456