Home
last modified time | relevance | path

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

12345678910>>...28

/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/runtime_core/static_core/plugins/ets/tests/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 …]
/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/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/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/plugins/ets/tests/ets-templates/07.expressions/05.object_literal/03.object_literal_of_record_type/
Dre.params.yaml27 0: "Zero",
31 assert(a[0] == "Zero")
47 0: foo("Zero"),
63 "Zero": 0b0,
68 assert(a["Zero"] == 0)
74 assert(a["Zero"] == undefined)
81 let a: Record<"Zero" | "One" | "Two", number> = {
82 "Zero": 0b0,
86 assert(a["Zero"] == 0)
92 let a: Record<string | "Zero" | "One" | "Two", number> = {
[all …]
/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/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 …]
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.
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp280 … thread, prototype, ContainersArrayList::ArrayListConstructor, "ArrayList", FuncLength::ZERO)); in InitializeArrayList()
299 FuncLength::ZERO); in InitializeArrayList()
336 FuncLength::ZERO)); in InitializeLightWeightMap()
352 FuncLength::ZERO); in InitializeLightWeightMap()
391 "LightWeightSet", FuncLength::ZERO)); in InitializeLightWeightSet()
406 CreateGetter(thread, ContainersLightWeightSet::GetSize, "length", FuncLength::ZERO); in InitializeLightWeightSet()
445 … thread, mapFuncPrototype, ContainersTreeMap::TreeMapConstructor, "TreeMap", FuncLength::ZERO)); in InitializeTreeMap()
473 CreateGetter(thread, ContainersTreeMap::GetLength, "length", FuncLength::ZERO); in InitializeTreeMap()
492 …FrozenFunction(thread, mapIteratorPrototype, "next", JSAPITreeMapIterator::Next, FuncLength::ZERO); in InitializeTreeMapIterator()
510 … thread, setFuncPrototype, ContainersTreeSet::TreeSetConstructor, "TreeSet", FuncLength::ZERO)); in InitializeTreeSet()
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/ir_core/loops/
Dloops.cpp45 AbckitInst *zero = g_implG->gFindOrCreateConstantU64(graph, 0x0); in CreateLoopDynamic() local
49 g_implG->bbAddInstBack(startBB, zero); in CreateLoopDynamic()
56 AbckitInst *phi = g_implG->bbCreatePhi(forBB, 1, zero); in CreateLoopDynamic()
93 AbckitInst *zero = g_implG->gFindOrCreateConstantU64(graph, 0x0); in CreateLoopStatic() local
97 g_implG->bbAddInstBack(startBB, zero); in CreateLoopStatic()
105 AbckitInst *phi = g_implG->bbCreatePhi(forBB, 1, zero); in CreateLoopStatic()
/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"
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DFunctionOverload.sts18 return "zero";
35 assert Overload.func() == "zero";

12345678910>>...28