| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Method.sts | 27 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
|
| D | Parameter.sts | 24 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
|
| D | Field.sts | 26 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
|
| D | TypeCreator.sts | 19 internal static readonly FIELD = Attributes.STATIC | Attributes.INHERITED | Attributes.READONLY 20 …Attributes.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/ |
| D | asm_metadata.rb | 55 def attributes method 56 @data.attributes.map do |op| 95 … attributes = 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| 150 …attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &… 154 attributes.each do |a| 183 …attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &… 187 attributes.each do |a| 232 … attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool } [all …]
|
| /arkcompiler/runtime_core/static_core/assembler/ |
| D | asm_metadata.rb | 55 def attributes method 56 @data.attributes.map do |op| 95 … attributes = 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| 150 …attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &… 154 attributes.each do |a| 183 …attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &… 187 attributes.each do |a| 232 … attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool } [all …]
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | shared_builtins.cpp | 423 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/ |
| D | ProcessTest.sts | 222 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/ |
| D | meta.proto | 24 message Attributes { message 28 repeated Attributes attributes = 2; field
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | class_info_extractor.cpp | 216 … 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 | .pylintrc | 24 # R0902: Too many instance attributes (too-many-instance-attributes) 32 too-many-instance-attributes,
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | jsnapi_sendable.cpp | 99 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()
|
| D | object_factory.cpp | 857 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/ |
| D | global_dictionary_test.cpp | 107 …* @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 …]
|
| D | js_collator_test.cpp | 71 …* @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/ |
| D | TypeMethodTest.sts | 127 … 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") +
|
| D | TypeFieldTest.sts | 61 test(xf.getAttributes() == Attributes.INHERITED, " no attributes") + 68 test(sf.getAttributes() == 0, " no attributes") +
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/transforms/ |
| D | pipeline_irtoc.cfg | 34 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
|
| D | pipeline.cfg | 31 # 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/ |
| D | mapped_types.sts | 25 // Removes 'readonly' attributes from a type's properties 35 // Removes 'optional' attributes from a type's properties
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_reflect_test.cpp | 144 // 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/ |
| D | CMakeLists.txt | 79 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/ |
| D | clang.h | 21 // 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/ |
| D | clang.h | 21 // 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 | .pylintrc | 19 too-many-instance-attributes,
|