Home
last modified time | relevance | path

Searched full:zero (Results 1 – 25 of 703) sorted by relevance

12345678910>>...29

/arkcompiler/ets_runtime/test/aottest/float64divzero/
Dfloat64divzero.ts20 var zero:number = 0.0
21 var inf1:number = num0 / zero
23 var nan1:number = zero / zero
25 print(inf1/zero)
26 print(nan1/zero)
/arkcompiler/ets_runtime/test/jittest/typed_array/
Dtyped_array.ts15 const zero = (buf) => { constant
24 zero(uint16array);
27 ArkTools.jitCompileAsync(zero);
28 let res = ArkTools.waitJitCompileFinish(zero);
31 zero(uint16array)
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp282 … thread, prototype, ContainersArrayList::ArrayListConstructor, "ArrayList", FuncLength::ZERO)); in InitializeArrayList()
294 SetFrozenFunction(thread, prototype, "clear", ContainersArrayList::Clear, FuncLength::ZERO); in InitializeArrayList()
295 SetFrozenFunction(thread, prototype, "clone", ContainersArrayList::Clone, FuncLength::ZERO); in InitializeArrayList()
297 …ozenFunction(thread, prototype, "getCapacity", ContainersArrayList::GetCapacity, FuncLength::ZERO); in InitializeArrayList()
301 ContainersArrayList::TrimToCurrentLength, FuncLength::ZERO); in InitializeArrayList()
303 SetFrozenFunction(thread, prototype, "isEmpty", ContainersArrayList::IsEmpty, FuncLength::ZERO); in InitializeArrayList()
312 …nction(thread, prototype, "convertToArray", ContainersArrayList::ConvertToArray, FuncLength::ZERO); in InitializeArrayList()
320 FuncLength::ZERO); in InitializeArrayList()
357 FuncLength::ZERO)); in InitializeLightWeightMap()
393 FuncLength::ZERO); in InitializeLightWeightMap()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DDataView.sts82 * @param byteOffset zero index to read
91 * @param byteOffset zero index to write (big endian)
99 * @param byteOffset zero index to read
108 * @param byteOffset zero index to write (big endian)
150 * @param byteOffset zero index to read
159 * @param byteOffset zero index to write (big endian)
167 * @param byteOffset zero index to read
176 * @param byteOffset zero index to write (big endian)
218 * @param byteOffset zero index to read
227 * @param byteOffset zero index to write (big endian)
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/test-lists/ets-func-tests/
Dets-func-tests-excluded-TSAN.txt5 spec/03.types/References_Types/Bigint/bigint-arithmetic-add-2-operands-zero-negative.sts
6 spec/03.types/References_Types/Bigint/bigint-arithmetic-add-2-operands-zero.sts
10 spec/03.types/References_Types/Bigint/bigint-arithmetic-add-equal-zero-negative-number.sts
11 spec/03.types/References_Types/Bigint/bigint-arithmetic-add-equal-zero.sts
39 spec/03.types/References_Types/Bigint/bigint-arithmetic-mul-2-operands-zero.sts
50 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands-zero-negative.sts
51 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands-zero.sts
54 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-equal-zero-negative.sts
55 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-equal-zero.sts
Dets-func-tests-excluded-JIT-REPEATS.txt4 spec/03.types/References_Types/Bigint/bigint-arithmetic-mul-2-operands-zero-negative-number.sts
7 spec/03.types/References_Types/Bigint/bigint-arithmetic-div-2-operands-zero-negative.sts
8 spec/03.types/References_Types/Bigint/bigint-arithmetic-div-equal-zero-negative-number.sts
74 spec/03.types/References_Types/Bigint/bigint-arithmetic-add-2-operands-zero.sts
75 spec/03.types/References_Types/Bigint/bigint-arithmetic-add-equal-zero.sts
76 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands-zero-negative.sts
77 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-2-operands-zero.sts
78 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-equal-zero-negative.sts
79 spec/03.types/References_Types/Bigint/bigint-arithmetic-sub-equal-zero.sts
83 spec/03.types/References_Types/Bigint/bigint-arithmetic-add-2-operands-zero-negative.sts
[all …]
Dets-func-tests-ignored-JIT-REPEATS.txt2 spec/03.types/References_Types/Bigint/bigint-arithmetic-div-equal-zero.sts
4 spec/03.types/References_Types/Bigint/bigint-arithmetic-div-2-operands-zero.sts
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat/
Descompat.sts44 assert (arr.at(0)! as FooClass).name == "zero";
48 assert (arr.at(idx)! as FooClass).name == "zero";
52 assert arr.toString() == "{Foo named zero},{Foo named one},{Foo named two}";
74 assert arr.at(1)!.toString() == "{Foo named zero}";
82 assert toSorted.at(1)!.toString() == "{Foo named zero}";
87 assert arr.at(1)!.toString() == "{Foo named zero}";
92 assert arr.toString() == "{Foo named zero},{Foo named one}"
143 assert shifted.toString() == "{Foo named zero}";
163 // assert arr.toString() == "{Foo named zero},{Foo named two}";
165 // assert arr.toString() == "{Foo named zero}";
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/enums/
Denums.ts16 const ZERO = 0; constant
41 assertEq(Letter.A, ZERO);
45 assertEq(Color.Red, ZERO);
48 assertEq(Color.White, ZERO);
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dinstruction_combine_test.cpp165 auto zero = builder.Int32(0); in HWTEST_F_L0() local
166 auto result = instcombie.VisitGate(builder.Int32Add(builder.Int32Sub(zero, x), y)); in HWTEST_F_L0()
176 auto zero = builder.Int32(0); in HWTEST_F_L0() local
177 auto result = instcombie.VisitGate(builder.Int32Add(y, builder.Int32Sub(zero, x))); in HWTEST_F_L0()
725 auto zero = b.Double(0); in HWTEST_F_L0() local
735 EXPECT_EQ(instcombie.VisitGate(b.DoubleMod(x, zero)), nan); in HWTEST_F_L0()
807 auto zero = b.Int32(0); in HWTEST_F_L0() local
818 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(x, zero)), zero); in HWTEST_F_L0()
819 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(zero, x)), zero); in HWTEST_F_L0()
820 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(x, one)), zero); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DTypeFieldTest.sts48 static ZERO: double = 0.0
56 let zf = pt.getFieldByName("ZERO")
72 test(zf.getName() == "ZERO", "FieldName: ZERO") +
77 test((zf.getStaticValue() as Double).unboxed() == Point3D.ZERO, " static value") +
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dfdiv2.yaml49 # Positive zero
54 # Negative zero
106 # Positive zero
111 # Negative zero
162 description: Division is infinity if any non zero value is divided by zero.
231 description: Division is infinity if any non zero value is divided by zero.
443 description: Division is infinity if any non zero value is divided by zero.
519 description: Division is infinity if any non zero value is divided by zero.
732 description: Division is NaN if zero is divided by zero.
739 # Div of zero by zero
Dfdiv2.64.yaml49 # Positive zero
54 # Negative zero
106 # Positive zero
111 # Negative zero
162 description: Division is infinity if any non zero value is divided by zero.
231 description: Division is infinity if any non zero value is divided by zero.
444 description: Division is infinity if any non zero value is divided by zero.
520 description: Division is infinity if any non zero value is divided by zero.
735 description: Division is NaN if zero is divided by zero.
742 # Div of zero by zero
Dfadd2.yaml50 # Positive zero
55 # Negative zero
107 # Positive zero
112 # Negative zero
337 The sum or the difference of zeros is zero.
338 … two negative zeros and the difference of negative and positive zero - the result is negative zero.
341 description: Check fadd2 with positive zero and various values (Inf, min, max, numbers).
396 The sum or the difference of zeros is zero.
397 … two negative zeros and the difference of negative and positive zero - the result is negative zero.
400 description: Check fadd2 with negative zero and various values (Inf, min, max, numbers).
[all …]
Dfadd2.64.yaml50 # Positive zero
55 # Negative zero
107 # Positive zero
112 # Negative zero
337 The sum or the difference of zeros is zero.
338 … two negative zeros and the difference of negative and positive zero - the result is negative zero.
341 description: Check fadd2.64 with positive zero and various values (Inf, min, max, numbers).
396 The sum or the difference of zeros is zero.
397 … two negative zeros and the difference of negative and positive zero - the result is negative zero.
400 description: Check fadd2.64 with negative zero and various values (Inf, min, max, numbers).
[all …]
Dmod2.64.yaml38 description: Check mod2.64 with zero and various values.
43 description: Division by zero causes to exception.
81 description: Division by zero causes to exception.
127 description: Division by zero causes to exception.
173 description: Division by zero causes to exception.
219 description: Division by zero causes to exception.
329 description: Check `mod2.64` throws ArithmeticException when divides by zero.
Dmodu2.64.yaml39 description: Check modu2.64 with zero and various values.
44 description: Division by zero causes to exception.
83 description: Division by zero causes to exception.
130 description: Division by zero causes to exception.
177 description: Division by zero causes to exception.
224 description: Division by zero causes to exception.
335 description: Check `modu2.64` throws ArithmeticException when divides by zero.
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dfdiv2.yaml49 # Positive zero
54 # Negative zero
106 # Positive zero
111 # Negative zero
162 description: Division is infinity if any non zero value is divided by zero.
231 description: Division is infinity if any non zero value is divided by zero.
443 description: Division is infinity if any non zero value is divided by zero.
519 description: Division is infinity if any non zero value is divided by zero.
733 description: Division is NaN if zero is divided by zero.
740 # Div of zero by zero
Dfdiv2.64.yaml49 # Positive zero
54 # Negative zero
106 # Positive zero
111 # Negative zero
162 description: Division is infinity if any non zero value is divided by zero.
231 description: Division is infinity if any non zero value is divided by zero.
443 description: Division is infinity if any non zero value is divided by zero.
519 description: Division is infinity if any non zero value is divided by zero.
733 description: Division is NaN if zero is divided by zero.
740 # Div of zero by zero
Dfadd2.yaml50 # Positive zero
55 # Negative zero
107 # Positive zero
112 # Negative zero
337 The sum or the difference of zeros is zero.
338 … two negative zeros and the difference of negative and positive zero - the result is negative zero.
341 description: Check fadd2 with positive zero and various values (Inf, min, max, numbers).
396 The sum or the difference of zeros is zero.
397 … two negative zeros and the difference of negative and positive zero - the result is negative zero.
400 description: Check fadd2 with negative zero and various values (Inf, min, max, numbers).
[all …]
Dfadd2.64.yaml50 # Positive zero
55 # Negative zero
107 # Positive zero
112 # Negative zero
337 The sum or the difference of zeros is zero.
338 … two negative zeros and the difference of negative and positive zero - the result is negative zero.
341 description: Check fadd2.64 with positive zero and various values (Inf, min, max, numbers).
396 The sum or the difference of zeros is zero.
397 … two negative zeros and the difference of negative and positive zero - the result is negative zero.
400 description: Check fadd2.64 with negative zero and various values (Inf, min, max, numbers).
[all …]
Ddivu2.64.yaml39 description: Check divu2.64 with zero and various values.
44 description: Division by zero causes to exception.
83 description: Division by zero causes to exception.
130 description: Division by zero causes to exception.
177 description: Division by zero causes to exception.
224 description: Division by zero causes to exception.
338 description: Check `divu2.64` throws ArithmeticException when divides by zero.
Dmod2.64.yaml38 description: Check mod2.64 with zero and various values.
43 description: Division by zero causes to exception.
81 description: Division by zero causes to exception.
127 description: Division by zero causes to exception.
173 description: Division by zero causes to exception.
219 description: Division by zero causes to exception.
332 description: Check `mod2.64` throws ArithmeticException when divides by zero.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/06.identifiers/
Didentifiers_n.params.yaml16 - '\u200Dabc' # Zero Width Joiner
17 - '\u200Cabc' # Zero Width Non-Joiner
/arkcompiler/toolchain/common/
Dlog_wrapper.h23 #pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"
25 #pragma GCC diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"
72 #pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"

12345678910>>...29