Home
last modified time | relevance | path

Searched full:access (Results 1 – 25 of 540) sorted by relevance

12345678910>>...22

/arkcompiler/ets_frontend/ets2panda/linter/test_extended_features/
Dindexable_collections_array.ets.json22 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
29 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
36 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
43 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
50 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
57 "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)"
71 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
78 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
85 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DEnum6.sts16 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/runtime_core/static_core/libpandabase/utils/
Dsmall_vector.h213 // 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/
Dsmall_vector.h210 // 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/docs/bc_verification/
Dabsint_checks.md10 ### 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/
Dabsint_checks.md10 ### 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/docs/rules/
Drecipe29.md1 # 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/tests/cts-generator/cts-template/
Dcall.polymorphic.short.yaml39 .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/11.local_classes_and_interfaces/
Daccess_parent_data.params.yaml17 // 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
Dlocal_class_out_of_visibility_area.params.yaml17 // Access to local class field from outside
33 // Access to function variable by local class from if clause
45 // Access to superclass field from local class, declared in a method
63 // Access to superclass method from local class, declared in different method
/arkcompiler/ets_runtime/test/sharedtest/sharedarray/
Dexpect_output.txt52 add element by index access failed. err: TypeError: Cannot add property in prevent extensions, code…
53 add element by index access failed. err: TypeError: Cannot add property in prevent extensions, code…
54 add element by index access failed. err: BusinessError: The value of index is out of range., code: …
58 add element by index access failed. err: BusinessError: The value of index is out of range., code: …
170 Index access read out of range success.
171 Index access write out of range failed. err: BusinessError: The value of index is out of range., co…
176 String Index access read out of range success.
177 String Index access write out of range failed. err: BusinessError: The value of index is out of ran…
180 [IC] Index access read in range success. array: 3
181 [IC] Index access write in range success.
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/requirements_in_overriding_and_hiding/
Dhiding_methods_with_different_access_modifiers_n.sts19 desc: Hiding method with different access method.
20access modifier of an overriding or hiding method must provide at least as much access as the over…
Doverriding_methods_with_different_access_modifiers.sts19 desc: overriting method with different access method.
20access modifier of an overriding or hiding method must provide at least as much access as the over…
Dhiding_methods_with_different_access_modifiers.sts19 desc: Hiding method with different access method.
20access modifier of an overriding or hiding method must provide at least as much access as the over…
/arkcompiler/runtime_core/tests/verifier-tests/
Daccess_field_nomodifier_core.pa14 # 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/ets_frontend/ets2panda/linter/test/
Dproperty_access_by_index.ts.json22 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
29 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
36 "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)"
Dproperty_access_by_index.ts.autofix.json23 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
31 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
39 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
71 "rule": "Indexed access is not supported for fields (arkts-no-props-by-index)"
/arkcompiler/runtime_core/static_core/tests/verifier-tests/
Daccess_field_nomodifier_core.pa14 # 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/verification/
Dverification.yaml19 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/static_core/plugins/ets/tests/ets-templates/07.expressions/09.field_access_expressions/
Daccess.sts17 desc: Access to field
18 assert: A field access expression may access a field of an object which is referred to by the value…
Dsafe_field_access_0.sts17 desc: Safe access to field
18 assert: A field access in which objectReference contains ‘?.’ is called safe field access because i…
Dsafe_field_access_2.sts17 desc: Safe access to field
18 assert: A field access in which objectReference contains ‘?.’ is called safe field access because i…
Daccess_by_super.sts17 desc: Access to field by keyword super.
18 assert: A field access expression may access a field of an object which is referenced by the value …
Dsafe_field_access_1.sts17 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/plugins/ets/runtime/interop_js/
Dets_type_visitor-inl.h254 u_.dataPtr = dataPtr; // NOLINT(cppcoreguidelines-pro-type-union-access) in EtsConvertorRef()
258 u_.field.obj = obj; // NOLINT(cppcoreguidelines-pro-type-union-access) in EtsConvertorRef()
259 u_.field.offs = offs; // NOLINT(cppcoreguidelines-pro-type-union-access) in EtsConvertorRef()
266 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in LoadPrimitive()
269 …n std::get<ark::Value>(*u_.dataPtr).GetAs<T>(); // NOLINT(cppcoreguidelines-pro-type-union-access) in LoadPrimitive()
275 …(*u_.field.obj)->GetFieldObject(u_.field.offs); // NOLINT(cppcoreguidelines-pro-type-union-access) in LoadReference()
277 return *std::get<ObjRoot>(*u_.dataPtr); // NOLINT(cppcoreguidelines-pro-type-union-access) in LoadReference()
284 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-union-access) in StorePrimitive()
287 *u_.dataPtr = ark::Value(val); // NOLINT(cppcoreguidelines-pro-type-union-access) in StorePrimitive()
294 …ield.obj)->SetFieldObject(u_.field.offs, *val); // NOLINT(cppcoreguidelines-pro-type-union-access) in StoreReference()
[all …]

12345678910>>...22