Home
last modified time | relevance | path

Searched full:when (Results 1 – 25 of 1591) sorted by relevance

12345678910>>...64

/arkcompiler/runtime_core/static_core/plugins/ets/irtoc_scripts/
Dinterpreter_main_loop.irt15 when "ETS_LDNULLVALUE_PREF_NONE"
17 when "ETS_MOVNULLVALUE_PREF_V8"
19 when "ETS_ISNULLVALUE_PREF_NONE"
22 when "ETS_LDOBJ_NAME_PREF_V8_ID32"
24 when "ETS_LDOBJ_NAME_64_PREF_V8_ID32"
26 when "ETS_LDOBJ_NAME_OBJ_PREF_V8_ID32"
28 when "ETS_STOBJ_NAME_PREF_V8_ID32"
30 when "ETS_STOBJ_NAME_64_PREF_V8_ID32"
32 when "ETS_STOBJ_NAME_OBJ_PREF_V8_ID32"
35 when "ETS_EQUALS_PREF_V4_V4"
[all …]
Dtyped_arrays.irt181 when "Uint8"
183 when "Uint16"
185 when "Uint32"
187 when "BigUint64"
193 when "Int8"
195 when "Int16"
197 when "Int32"
199 when "BigInt64"
201 when "Float32"
203 when "Float64"
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/
DLRUCacheExceptionTest.ets44 assertEQ(err.code, 401, "LRUCache should throw an exception when capacity is not int")
47 assertTrue(false, "LRUCache should throw an exception when capacity is not int");
55 assertEQ(err.code, 401, "LRUCache should throw an exception when capacity is not int")
58 assertTrue(false, "LRUCache should throw an exception when capacity is not int");
66 assertEQ(err.code, 401, "LRUCache should throw an exception when capacity is not int")
69 assertTrue(false, "LRUCache should throw an exception when capacity is not int");
77 assertEQ(err.code, 401, "LRUCache should throw an exception when capacity is negative")
80 assertTrue(false, "LRUCache should throw an exception when capacity is negative");
87 assertEQ(err.code, 401, "LRUCache should throw an exception when capacity is not int")
90 assertTrue(false, "LRUCache should throw an exception when capacity is not int");
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ir_builder/
Dets_inst_templates.yaml17 % when "LDOBJ"
23 % when "STOBJ"
29 % when "CALL"
32 % when "LDNULLVALUE"
34 % when "MOVNULLVALUE"
36 % when "ISNULLVALUE"
38 % when "STRICTEQUALS"
40 % when "EQUALS"
42 % when "TYPEOF"
44 % when "ISTRUE"
/arkcompiler/runtime_core/static_core/irtoc/scripts/
Dinterpreter.irt199 when 4
201 when 8
203 when 16
214 when 16
216 when 32
227 when 4
229 when 8
231 when 16
233 when 32
239 when 64
[all …]
/arkcompiler/runtime_core/libabckit/scripts/
Ddyn_inst_constructors_gen.rb80 # case when first inst param is imm number of ic_slot
87 when "v"
90 when "method_id"
92 when "literalarray_id"
94 when "string_id"
96 when "imm"
98 when "Getmodulenamespace", "WideGetmodulenamespace"
100 when "Ldexternalmodulevar", "WideLdexternalmodulevar"
102 when "Ldlocalmodulevar", "WideLdlocalmodulevar", "Stmodulevar", "WideStmodulevar"
144 # case when first inst param is imm number of ic_slot
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/interop/
Dreflect_built_in.ets.arkts2.json24 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
34 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
44 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
54 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
64 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
74 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
114 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
124 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
134 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
144 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
[all …]
Dreflect_built_in.ets.json24 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
34 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
44 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
54 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
94 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
104 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
114 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
124 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
134 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
144 …"rule": "Reflect API usage is not allowed in interop calls when an \"Object\" parameter receives a…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DErrors.ets19 * @class Represents an error that occurs when assertion fails.
29 * @class Represents an error that occurs when division by zero is performed.
38 * @class Represents an error that occurs when null pointer is dereferenced.
47 * @class Represents an error that occurs when exception is thrown and not caught
56 * @class Represents an error that occurs when trying to interpret syntactically invalid code
69 * @class Represents an error that occurs when JSONValue can not be assigned to a type
78 * @class Represents an error that occurs when provided collection index is out of range
91 * @class Represents an error that occurs when array is oging to be indexed out of its bounds
100 …* @class Represents exception that is thrown when illegal arithmetic operation is occured (e.g. di…
109 * @class Represents an error that occurs when memory allocation fails
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/LinkedList/
DLinkedListGetFirstLastTest.ets21 …suite.addTest("LinkedList getFirst when the container is non-empty", testGetFirstNonEmptyContainer…
22 suite.addTest("LinkedList getFirst when the container is empty", testGetFirstEmptyContainer);
23 suite.addTest("LinkedList getFirst when the first element is undefined", testGetFirstUndefined);
24 … suite.addTest("LinkedList getLast when the container is non-empty", testGetLastNonEmptyContainer);
25 suite.addTest("LinkedList getLast when the container is empty", testGetLastEmptyContainer);
26 suite.addTest("LinkedList getLast when the last element is undefined", testGetLastUndefined);
55 assertTrue(e instanceof RangeError, "Throw error when out of range");
58 assertFalse(false, "Throw error when out of range");
79 assertTrue(e instanceof RangeError, "Throw error when out of range");
82 assertFalse(false, "Throw error when out of range");
/arkcompiler/runtime_core/docs/
Druntime-debug-api.md11 …Debugger functionality is provided via shared library, that runtime loads when works in debugger m…
17 …llers) they are work in the same process. Debugger is loaded as shared library when it's necessary.
23 The loaded agent starts a debug session when necessary (see `Runtime::StartDebugSession()`). When s…
26 * `LoadModule` - occurs when panda file is loaded by the runtime
27 * `BytecodePcChanged` - occurs when bytecode pc is changed during interpretation (only if runtime w…
/arkcompiler/runtime_core/static_core/docs/
Druntime-debug-api.md11 …Debugger functionality is provided via shared library, that runtime loads when works in debugger m…
17 …llers) they are work in the same process. Debugger is loaded as shared library when it's necessary.
23 The loaded agent starts a debug session when necessary (see `Runtime::StartDebugSession()`). When s…
26 * `LoadModule` - occurs when panda file is loaded by the runtime
27 * `BytecodePcChanged` - occurs when bytecode pc is changed during interpretation (only if runtime w…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/generic_declarations/generic_functions/
Dfunction_generic.params.yaml16 …- desc: Tests that when the generic is of type string, the method converts the string to uppercase…
28 - desc: Tests that when the generic is int of string type, supporting + operation.
40 - desc: Tests that when the generic is int of number type.
49 - desc: Tests that when the generic is float of number type.
58 - desc: Tests that when the generic is double of number type.
67 - desc: Tests that when the generic is of type float.
77 - desc: Tests that when the generic is of type double.
87 - desc: Tests that when the generic is of type Date.
Dfunction_generic_n.params.yaml16 - desc: Tests that when the generic is int of number type, not supporting + operation.
24 - desc: Tests that when the generic is int of number type, not supporting - operation.
33 - desc: Tests that when the generic is int of number type, not supporting * operation.
42 - desc: Tests that when the generic is int of number type, not supporting / operation.
51 - desc: Tests that when the generic is int of number type, not supporting % operation.
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/
Dtsconfig.main.json8 …": true, /* Disable preferring source files instead of declaration files when referencing composi…
9 …g": true, /* Opt a project out of multi-project reference checking when editing. */
17 … /* Specify the JSX factory function used when targeting React JSX…
18 … /* Specify the JSX Fragment reference used for fragments when targeting React JSX…
19 … /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-j…
20 … /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' J…
30 … /* Allow multiple folders to be treated as one when resolving modules. …
34 …: [], /* List of file name suffixes to search when resolving a module.…
36 …sonExports": true, /* Use the package.json 'exports' field when resolving package i…
37 …sonImports": true, /* Use the package.json 'imports' field when resolving imports. …
[all …]
/arkcompiler/ets_frontend/ets2panda/util/diagnostic/
Disolated_declgen.yaml16 message: Variable must have an explicit type annotation when using isolated declaration.
20 message: Parameter must have an explicit type annotation when using isolated declaration.
24 message: Property must have an explicit type annotation when using isolated declaration.
44 message: Function must have an explicit return type annotation when using isolated declaration.
48 message: Method must have an explicit return type annotation when using isolated declaration.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/standalone_function/ets_to_js/
Dopt_arg_type.cpp43 // NOTE #18602 (nikitayegorov) enable when numeric type casting is fixed for JS-calls-Ark interoper…
49 // NOTE #18602 (nikitayegorov) enable when numeric type casting is fixed for JS-calls-Ark interoper…
55 // NOTE #18602 (nikitayegorov) enable when numeric type casting is fixed for JS-calls-Ark interoper…
61 // NOTE #18602 (nikitayegorov) enable when numeric type casting is fixed for JS-calls-Ark interoper…
67 // NOTE #18602 (nikitayegorov) enable when numeric type casting is fixed for JS-calls-Ark interoper…
73 // NOTE #19091 (nikitayegorov) enable when casting to Ark char type is fixed
109 // NOTE #19086 (nikitayegorov) enable when tuple handling is fixed
115 // NOTE #19087 (nikitayegorov) enable when passing callables in fixed
/arkcompiler/ets_frontend/arkguard/test/ut/utils/
DNodeUtils.spec.ts32 it('should return ture when node.parent is PropertyAssignment', function () {
38 it('should return ture when node.parent is ComputedPropertyName', function () {
44 it('should return ture when node.parent is BindingElement', function () {
50 it('should return ture when node.parent is PropertySignature', function () {
56 it('should return ture when node.parent is MethodSignature', function () {
62 it('should return ture when node.parent is EnumMember', function () {
68 it('should return ture when node.parent is PropertyDeclaration', function () {
74 it('should return ture when node.parent is MethodDeclaration', function () {
80 it('should return ture when node.parent is SetAccessorDeclaration', function () {
86 it('should return ture when node.parent is GetAccessorDeclaration', function () {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DErrors.ets19 * @class Represents an error that occurs when global eval() function fails
32 …lass Represents an error that occurs when an operation could not be performed, typically (but not …
45 …* @class Represents an error that occurs when a variable that doesn't exist (or hasn't yet been in…
58 …* @class Represents an error that occurs when a global URI handling function was used in a wrong w…
71 * The AggregateError object represents an error when several errors
87 * error. When catching and re-throwing an error with a
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/generic_declarations/generic_interfaces/
Dgeneric_interface_function.params.yaml16 …- desc: Test that when the generic is of type number, the method internally multiplies the number …
31 …- desc: Test that when the generic type is boolean, the method inverts the boolean value and retur…
46 - desc: When the generic is null, the method returns the original value directly.
61 - desc: When the generic is undefined, the method returns the original value directly.
76 …- desc: Test that when the generic is of type number, the method internally multiplies the number …
91 …- desc: Test that when the generic is of type number, the method internally multiplies the number …
106 …- desc: When the generic type is number, the method internally subtracts 2 from the number and ret…
121 - desc: When the generic type is number, the method divides the number by 2 and returns the value.
136 - desc: When the generic type is number, the method returns the number modulo.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/List/
DListGetFirstLastEmptyIteratorTests.ets21 suite.addTest("List getFirst when the container is non-empty", testGetFirstNonEmptyContainer);
22 suite.addTest("List getFirst when the container is empty", testGetFirstEmptyContainer);
23 suite.addTest("List getFirst when the first element is undefined", testGetFirstUndefined);
24 suite.addTest("List getLast when the container is non-empty", testGetLastNonEmptyContainer);
25 suite.addTest("List getLast when the container is empty", testGetLastEmptyContainer);
26 suite.addTest("List getLast when the last element is undefined", testGetLastUndefined);
56 … assertEQ(list.getFirst(), undefined, "First element should be undefined when container is empty");
74 assertEQ(list.getLast(), undefined, "Last element should be undefined when container is empty");
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dsendable_function_2.ets.json24 …"rule": "When declaring \"@Sendable\" overloaded function, needs to add \"@Sendable\" decorator on…
34 …"rule": "When declaring \"@Sendable\" overloaded function, needs to add \"@Sendable\" decorator on…
44 …"rule": "When declaring \"@Sendable\" overloaded function, needs to add \"@Sendable\" decorator on…
54 …"rule": "When declaring \"@Sendable\" overloaded function, needs to add \"@Sendable\" decorator on…
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/slices/
Dcode.test.ts36 it('should update isRunLoading state when setRunLoading is called', () => {
42 it('should update isCompileLoading state when setCompileLoading is called', () => {
48 it('should update code state when setCode is called', () => {
54 it('should update compileRes state when setCompileRes is called', () => {
65 it('should update runRes state when setRunRes is called', () => {
Dlogs.test.ts36 it('should update isRunLoading state when setRunLoading is called', () => {
42 it('should update isCompileLoading state when setCompileLoading is called', () => {
48 it('should update code state when setCode is called', () => {
54 it('should update compileRes state when setCompileRes is called', () => {
65 it('should update runRes state when setRunRes is called', () => {
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/src/
Dvalue_dumper.rb36 when "str"
39 when "num"
41 when "bigint"
73 when :array, :iterable
82 when :tuple
91 when :trivial

12345678910>>...64