Home
last modified time | relevance | path

Searched full:int (Results 1 – 25 of 5710) sorted by relevance

12345678910>>...229

/arkcompiler/ets_frontend/es2panda/test/parser/ts/stack_overflow/
Dstack_overflow_as.ts18 a as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
19 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
20 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
21 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
22 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
23 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
24 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
25 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
26 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
27 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
[all …]
Dstack_overflow_as_normal.ts18 a as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
19 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
20 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
21 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
22 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
23 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
24 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
25 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
26 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
27 as Int as Int as Int as Int as Int as Int as Int as Int as Int as Int
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/
Dlist.std_core_int_instance.yaml16 object_type: Int,
17 init_object_data_type: "FixedArray<int>",
18 init_object_data: "[0 as int, 1 as int, Int.MIN_VALUE as int, Int.MAX_VALUE as int]",
21 method_return_type: int,
22 expected_data_item_type: int,
23 expected_data_type: "FixedArray<int>",
25 expected_test_data: "[0 as int, 1 as int, Int.MIN_VALUE as int, Int.MAX_VALUE as int]",
30 object_type: Int,
31 init_object_data_type: "FixedArray<int>",
32 init_object_data: "[0 as int, 1 as int, Byte.MIN_VALUE as int, Byte.MAX_VALUE as int]",
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/class_ops/
Dclass_find_method_test.ets19 function CreateTuple(a: int, b: long): [int, long] {
27 public int_method(a0: int, a1: int): int
32 public int_override_method(a0: int, a1: int): int
37 public overloadedBase(): int
42 public overloadedBase(i: int): int
47 public static staticOverloadedBase(): int
52 public static staticOverloadedBase(i: int): int
61 public override int_override_method(a0: int, a1: int): int
66 public overloaded(): int
71 public overloaded(i: int): int
[all …]
Dclass_call_static_method_by_name_int_test.ets17 static sum(a0: int, a1: int): int {
24 static funcA(a0: int, a1: int): int {
25 return a0 + a1 as int;
36 static funcA(a0: int, a1: int): int {
37 return a0 + a1 as int;
45 static funcA(a0: int, a1: int): int {
46 return a0 + a1 as int;
50 static funcA(a0: int, a1: int): int {
51 return a1 - a0 as int;
57 static funcA(a0: int, a1: int): int {
[all …]
Dcall_static_method_int_test.ets17 static sum(a0: int, a1: int): int {
23 static funcA(a0: int, a1: int): int {
24 return a0 + a1 as int;
31 static funcB(a0: int, a1: int): int {
37 static funcB(a0: int, a1: int): int {
38 return a1 - a0 as int;
46 static funcA(a0: int, a1: int): int {
47 return a1 - a0 as int;
52 static funcA(a0: int, a1: int): int {
58 static increment(a0: int, a1: int): void {
[all …]
Dclass_call_static_method_by_name_void_test.ets17 static voidMethod(a0: int, a1: int): void {
22 static getCount(): int {
26 static count: int = 0;
31 static funcA(a0: int, a1: int): void {
36 static getCount(): int {
44 static count: int = 0;
51 static funcA(a0: int, a1: int): void {
56 static getCount(): int {
60 static count: int = 0;
67 static funcA(a0: int, a1: int): void {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/object_ops/
Dobject_call_method_by_name_int_test.ets21 intByNameMethod(a0: int, a1: int): int {
22 return a0 + a1 as int;
27 jf(value: int): int;
31 constructor(data: int) {
35 data: int;
37 public intMethod(value1: int, value2: int): int {
41 return value1 + value2 as int;
45 public intMethod(value: int): int {
53 protected protectedMethod(value: int): int {
54 return this.data + value as int;
[all …]
Dcall_object_method_int_test.ets22 public intMethod(a0: int, a1: int): int
27 public intMethodVoidParam(): int
29 return 5 as int;
32 public intMethodMultipleParam(a0: int, a1: boolean, a2:float, a3:short, a4:double): int
43 public nestedMethod(data1: int, data2: int): int
45 let method = (value1: int, value2: int): int => {
52 public recursionMethod(a0: int): int
64 public subIntMethodVoidParam(): int
66 return 8 as int;
71 public abstract func(a: int, b: int): int;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/function_ops/
Dfunction_call_int_test.ets17 function sum(a0: int, a1: int): int {
18 return a0 + a1 as int;
22 function moduleFunction(value1: int, value2: int): int {
23 return value1 + value2 as int;
26 function moduleFunction(value1: int, value2: int, value3: int): int {
27 return value1 + value2 + value3 as int;
31 function intFunctionA(value1: int, value2: int): int {
32 return value1 + value2 as int;
35 function intFunctionA(value1: int, value2: int, value3: int): int {
36 return value1 + value2 + value3 as int;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/24.relational_expressions/01.numerical_comparison_operators/
Dinteger_comparison.params.yaml18 …- {xtype: int, xboxed: Int, xvalue: 0, ytype: int, yboxed: Int, yvalue: 1, op: ">", result: "fal…
19 …- {xtype: int, xboxed: Int, xvalue: 1, ytype: int, yboxed: Int, yvalue: 0, op: ">", result: "tru…
20 …- {xtype: int, xboxed: Int, xvalue: -1, ytype: int, yboxed: Int, yvalue: 0, op: ">", result: "fal…
21 …- {xtype: int, xboxed: Int, xvalue: 0, ytype: int, yboxed: Int, yvalue: -1, op: ">", result: "tru…
32 …- {xtype: int, xboxed: Int, xvalue: 0, ytype: int, yboxed: Int, yvalue: 1, op: "<", result: "tru…
33 …- {xtype: int, xboxed: Int, xvalue: 1, ytype: int, yboxed: Int, yvalue: 0, op: "<", result: "fal…
34 …- {xtype: int, xboxed: Int, xvalue: -1, ytype: int, yboxed: Int, yvalue: 0, op: "<", result: "tru…
35 …- {xtype: int, xboxed: Int, xvalue: 0, ytype: int, yboxed: Int, yvalue: -1, op: "<", result: "fal…
46 …- {xtype: int, xboxed: Int, xvalue: 0, ytype: int, yboxed: Int, yvalue: 1, op: ">=", result: "fa…
47 …- {xtype: int, xboxed: Int, xvalue: 1, ytype: int, yboxed: Int, yvalue: 0, op: ">=", result: "tr…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/namespace_ops/
Dnamespace_find_class_test.ets18 x: int = 0;
19 public intMethod(a0: int, a1: int): int
28 x: int = 0;
29 public intMethod(a0: int, a1: int): int
36 x: int = 0;
37 public intMethod(a0: int, a1: int): int
44 public abstract Area(a0: int, a1: int) : int;
48 private x: int = 0;
50 public Area(a0: int, a1: int) : int
54 public methodA(a0: int, a1: int): int
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dynamic_with_lambda/
Ddynamic_with_lambda.ets18 function TestArgs0(): int {
20 let f: () => int = (): int => { return 25 as int; }
21 let res = a.bar(f) as int;
25 function TestArgs1(): int {
27 let f: (x: int) => int = (x: int): int => { return x * x; }
28 let res = a.bar(f, 5) as int;
32 function TestArgs2(): int {
34 let f: (x: int, y: int) => int = (x: int, y: int): int => { return x * x + y * y; }
35 let res = a.bar(f, 3, 4) as int;
39 function TestLambdaJSValue(): int {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DArrayBuffer.ets23 abstract getByteLength(): int
24 abstract at(i: int): byte
25 abstract set(i: int, b: byte)
26 …// NOTE (egor-porsev): should be slice(int, int) without an extra 'sliceInternal' method. This is …
27 abstract sliceInternal(begin: int, end: int): Buffer
57 public constructor(length: int, maxByteLength?: int)
84 this(length as int, (maxByteLength !== undefined) ? maxByteLength as int : undefined)
110 override sliceInternal(begin: int, end: int): Buffer {
139 if (end == undefined) return this.slice(begin as int)
140 else return this.slice(begin as int, end as int)
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DDefaultParam_4.ets24 assertEQ(boo.foo4(new Int(5)), 25)
26 assertEQ(boo.foo5(new Int(5)), 55)
27 assertEQ(boo.foo5(new Int(5),new Int(10)), 45)
35 assertEQ(boo.foo9(new Int(5)), -1)
37 assertEQ(boo.foo10(new Int(5)), 0)
38 assertEQ(boo.foo10(new Int(5),new Int(10)), -1)
43 assertEQ(boo.foo13(new Int(10)), 15)
44 assertEQ(boo.foo14(new Int(10)), 25)
46 assertEQ(boo.foo15(new Int(10),new Int(5)), 20)
47 assertEQ(boo.foo16(new Int(10),new Int(5)), 30)
[all …]
DDefaultParam_2.ets22 assertEQ(foo4(new Int(5)), 25)
24 assertEQ(foo5(new Int(5)), 55)
25 assertEQ(foo5(new Int(5),new Int(10)), 45)
33 assertEQ(foo9(new Int(5)), -1)
35 assertEQ(foo10(new Int(5)), 0)
36 assertEQ(foo10(new Int(5),new Int(10)), -1)
41 assertEQ(foo13(new Int(10)), 15)
42 assertEQ(foo14(new Int(10)), 25)
44 assertEQ(foo15(new Int(10),new Int(5)), 20)
45 assertEQ(foo16(new Int(10),new Int(5)), 30)
[all …]
DDefaultParam_5.ets24 assertEQ(goo2((a0:int):int=>{return 25;}), 25)
36 function foo1(): int {
40 function foo2(a : int = foo1() ): int {
45 bar1(): int {
49 bar2(a : int = this.bar1() ): int {
54 function goo1(a : () => int = (): int => {return 15;}): int {
58 function goo2(a:(a0:int) => int = (a0:int):int=>{return 15;} ): int {
62 function boo1(a0:int = boo1(1,2,3),a1:int = boo1(1,2,3),a2:int = boo1(1,2,3)):int{
66 function boo2(a0:int,a1:int,a2:int = boo2(1,2,3)):int{
70 function doo1(a0:int = 5+3):int{
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Dsort_helper.h26 int base;
27 int len;
28 run(int b, int l) : base(b), len(l) { in run()
42 static const int MIN_MERGE = 32;
43 static const int MIN_GALLOP = 7;
44 static const int tempSize = 32;
45 int minGallop_; // default to MIN_GALLOP
50 int lo, int hi, int start, JSHandle<JSTaggedValue> fn);
51 … static int CountRunAndMakeAscending(JSThread *thread, JSHandle<TaggedArray> &array, int lo, int h,
53 static void ReverseRange(JSThread *thread, JSHandle<TaggedArray> &array, int from, int to);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/05.overloading_and_overriding_in_interfaces/
Dim_over.params.yaml47 meth(p: Byte): int
48 meth(p: Int): int
49 meth(p: long): int
50 meth(p: Long): int
51 meth(p: char): int
52 meth(p: Char): int
53 meth(p: boolean): int
54 meth(p: short): int
55 meth(p: double): int
56 meth(p: Object): int
[all …]
/arkcompiler/toolchain/tooling/dynamic/client/domain/
Ddebugger_client.h28 int lineNumber;
29 int columnNumber;
43 int BreakCommand();
44 int BacktrackCommand();
45 int DeleteCommand();
46 int DisableCommand();
47 int DisplayCommand();
48 int EnableCommand();
49 int FinishCommand();
50 int FrameCommand();
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/08.function_method_and_constructor_overloading/01.function_overloading/
Dfn_overloading.ets26 function foo(a: byte): int {
29 function foo(a: short): int {
32 function foo(a: char): int {
35 function foo(a: int): int {
38 function foo(a: long): int {
41 function foo(a: float): int {
44 function foo(a: double): int {
47 function foo(a: boolean): int {
50 function foo(a: Byte): int {
53 function foo(a: Short): int {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/
Dtyp.ets24 function foo(a: byte): int {
27 function foo(a: short): int {
30 function foo(a: char): int {
33 function foo(a: int): int {
36 function foo(a: long): int {
39 function foo(a: float): int {
42 function foo(a: double): int {
45 function foo(a: boolean): int {
48 function foo(a: Byte): int {
51 function foo(a: Short): int {
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/constructor/ts_to_sts/
Dconstructor.ets58 return TSClass._value as int == tsInt as int;
62 return createNamedClassFromTs()._value as int == tsInt as int;
66 return namedClassInstance._value as int == tsInt as int;
72 return TSClass._value as int == tsInt as int;
76 return createAnonymousClassFromTs()._value as int == tsInt as int;
80 return anonymousClassInstance._value as int == tsInt as int;
86 return TSClass._value as int == tsInt as int;
92 return TSClass._value as int == tsInt as int;
96 return functionConstructorInstance._value as int == tsInt as int;
102 return TSClass._value as int == tsInt as int;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/module_ops/
Dmodule_find_function_test.ets16 export function getInitialIntValue(): int {
21 function getIntValueOps(): int {
26 function getIntValue(i: int): int {
29 function getIntValue(i: String): int {
32 function getIntValue(): int {
40 function overloaded(i: int): int {
43 function overloaded(): int {
46 function getIntValueA(i: int): void {}
47 function getIntValueB(i: int): void {}
48 function getIntValueC(i: int): void {}
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dtagged_list.h29 static const int NUMBER_OF_NODE_INDEX = 0;
30 static const int NUMBER_OF_DELETED_NODES_INDEX = 1;
31 static const int HEAD_TABLE_INDEX = 2;
32 static const int TAIL_TABLE_INDEX = 3;
33 static const int ELEMENTS_START_INDEX = 4;
34 static const int DEFAULT_ARRAY_LENGHT = 10;
35 static const int NEXT_PTR_OFFSET = 1;
36 static const int PREV_PTR_OFFSET = 2;
38 … static JSHandle<Derived> Create(const JSThread *thread, int numberOfNodes = DEFAULT_ARRAY_LENGHT);
44 JSTaggedValue FindElementByIndex(const JSThread *thread, int index) const;
[all …]

12345678910>>...229