| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | Enum6.sts | 16 enum Access { 29 test_access_enum_bitwise(Access.WRITE); 30 assert (Access.WRITE & Access.READWRITE) == 2; 37 function test_access_enum_bitwise(enum_val: Access): void { 38 assert (enum_val & Access.READ) == 0 39 assert (enum_val & Access.WRITE) == 2 40 assert (enum_val | Access.READ) == 3 41 assert (enum_val | Access.READWRITE) == 3 42 assert (enum_val & Access.READWRITE) == 2
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/extended_features/ |
| D | indexable_collections_array.ets.json | 24 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 54 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 64 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 74 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 84 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 94 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 104 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 114 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| D | small_vector.h | 213 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 221 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 234 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 241 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 243 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 245 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 249 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 257 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 259 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 261 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() [all …]
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | small_vector.h | 210 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 218 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 231 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 238 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 240 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 242 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 246 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 254 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 256 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() 258 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in SmallVector() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/11.local_classes_and_interfaces/ |
| D | local_class_out_of_visibility_area.params.yaml | 17 // Access to local class field from outside 33 // Access to local interface field from outside 45 // Access to local class method from outside 63 // Access to local interface method from outside 95 // Access to function variable by local class from if clause 107 // Access to function variable by local interface from if clause 120 // Access to function argument by local class outside of visibility area 129 // Access to function argument by local interface outside of visibility area 140 // Access to superclass field from local class, declared in a method 153 // Access to superclass method from local class, declared in different method
|
| D | access_parent_data.params.yaml | 17 // Local class has access to class scope it is stored at. Field check. 37 // Local class has access to class scope it is stored at. Const field check. 57 // Local class has access to class scope it is stored at. Readonly field check. 77 // Local class has access to class scope it is stored at. Static field check. 97 // Local class has access to class scope it is stored at. Protected method check. 121 // Local class has access to class scope it is stored at. Private method check. 145 // Access to function variable by local class from if clause 165 // Access to function variable by local class from switch 190 // Access to function variable by local class from for loop 210 // Access to function variable by local class from try-catch clause [all …]
|
| /arkcompiler/runtime_core/docs/bc_verification/ |
| D | absint_checks.md | 10 ### Access checks 12 Checks for private/protected/public access rights. 14 These checks prevent unintended/unexpected access from one method to another. 15 Or access to wrong fields of object. 21 These checks eliminate calls of methods with incorrect `this`, wrong access to arrays, etc. 45 These checks help in some cases detect out-of-bounds access type of errors in static.
|
| /arkcompiler/runtime_core/static_core/docs/bc_verification/ |
| D | absint_checks.md | 10 ### Access checks 12 Checks for private/protected/public access rights. 14 These checks prevent unintended/unexpected access from one method to another. 15 Or access to wrong fields of object. 21 These checks eliminate calls of methods with incorrect `this`, wrong access to arrays, etc. 45 These checks help in some cases detect out-of-bounds access type of errors in static.
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | property_access_by_index.ts.arkts2.json | 24 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 54 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 94 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 104 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 114 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 124 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
|
| D | indexable_type_element_access.ts.json | 24 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 34 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 44 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 54 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 64 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)", 74 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)",
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe29.md | 1 # Indexed access is not supported for fields 7 ArkTS does not support dynamic field declaration and access. Declare all 8 object fields immediately in the class. Access only those class fields 12 To access a field, use ``obj.field`` syntax, indexed access (``obj["field"]``) 16 support access to their elements through ``container[index]`` syntax.
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/indexed_signature/ |
| D | indexed_signature.cpp | 23 // NOTE: (alexanderpolenov)issue(18238) access by string index 28 // NOTE: (alexanderpolenov)issue(18238) access by string index 33 // // NOTE: (alexanderpolenov)issue(18238) access by string index 38 // // NOTE: (alexanderpolenov)issue(18238) access by string index 43 // // NOTE: (alexanderpolenov)issue(18239) access by number index 48 // // NOTE: (alexanderpolenov)issue(18238) access by string index
|
| D | indexed_signature.sts | 26 // NOTE: (alexanderpolenov) issue(18238) access by string index 33 // NOTE: (alexanderpolenov) issue(18238) access by string index 42 // NOTE: (alexanderpolenov) issue(18238) access by string index 51 // NOTE: (alexanderpolenov) issue(18238) access by string index 62 // NOTE: (alexanderpolenov) issue(18239) access by number index 70 // NOTE: (alexanderpolenov) issue(18238) access by string index
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dot_operator/ts_to_sts/optional_operator/ |
| D | optional_operator.cpp | 32 // NOTE: (alexanderpolenov) issue(18238) access by string index 37 // NOTE: (alexanderpolenov) issue(18238) access by string index 52 // NOTE: (alexanderpolenov) issue(18238) access by string index 57 // NOTE: (alexanderpolenov) issue(18238) access by string index 72 // NOTE: (alexanderpolenov) issue(18238) access by string index 77 // NOTE: (alexanderpolenov) issue(18238) access by string index
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | call.polymorphic.short.yaml | 39 .record W <panda.access = public> {} 40 .record R <panda.access = public, panda.extends = W> { 41 u1 f_boolean <panda.access = public> 42 i8 f_byte <panda.access = public> 43 u16 f_char <panda.access = public> 44 i16 f_short <panda.access = public> 45 i32 f_int <panda.access = public> 46 i64 f_long <panda.access = public> 47 f32 f_float <panda.access = protected> 48 f64 f_double <panda.access = private> [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/requirements_in_overriding_and_hiding/ |
| D | overriding_methods_with_different_access_modifiers.sts | 19 desc: overriting method with different access method. 20 …access modifier of an overriding or hiding method must provide at least as much access as the over…
|
| D | hiding_methods_with_different_access_modifiers_n.sts | 19 desc: Hiding method with different access method. 20 …access modifier of an overriding or hiding method must provide at least as much access as the over…
|
| D | hiding_methods_with_different_access_modifiers.sts | 19 desc: Hiding method with different access method. 20 …access modifier of an overriding or hiding method must provide at least as much access as the over…
|
| /arkcompiler/runtime_core/static_core/tests/verifier-tests/ |
| D | access_field_nomodifier_core.pa | 14 # access to non-public field of a foreign class: 22 # // Expected VerificationError: Access to the package protected object field is prohibited. 32 # Java access rules: 52 ldstatic pckg.Test2.value # access to non-public field of a foreign class
|
| /arkcompiler/runtime_core/tests/verifier-tests/ |
| D | access_field_nomodifier_core.pa | 14 # access to non-public field of a foreign class: 22 # // Expected VerificationError: Access to the package protected object field is prohibited. 32 # Java access rules: 52 ldstatic pckg.Test2.value # access to non-public field of a foreign class
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/09.field_access_expressions/ |
| D | safe_field_access_0.sts | 17 desc: Safe access to field 18 assert: A field access in which objectReference contains ‘?.’ is called safe field access because i…
|
| D | access.sts | 17 desc: Access to field 18 assert: A field access expression may access a field of an object which is referred to by the value…
|
| D | safe_field_access_2.sts | 17 desc: Safe access to field 18 assert: A field access in which objectReference contains ‘?.’ is called safe field access because i…
|
| /arkcompiler/runtime_core/static_core/verification/ |
| D | verification.yaml | 19 private_field: Access to private object field is prohibited. 20 protected_field: Access to protected object field is prohibited. 21 package_field: Access to package protected object field is prohibited. 24 protected_class: Access to package-private class is prohibited. 45 access: 75 - access 90 - access
|
| /arkcompiler/runtime_core/libabckit/include/cpp/headers/core/ |
| D | import_descriptor.h | 31 /// @brief to access private constructor 33 /// @brief to access private constructor 35 /// @brief to access private constructor 37 /// @brief to access private constructor 39 /// @brief to access private constructor 41 /// @brief to access private constructor
|