| /arkcompiler/ets_runtime/test/aottest/float64divzero/ |
| D | float64divzero.ts | 20 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/ |
| D | typed_array.ts | 15 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/ |
| D | ets-func-tests-excluded-TSAN.txt | 5 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
|
| D | ets-func-tests-excluded-JIT-REPEATS.txt | 4 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/ |
| D | DataView.sts | 82 * @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/ |
| D | escompat.sts | 44 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/ |
| D | enums.ts | 16 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/ |
| D | TypeFieldTest.sts | 48 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/ |
| D | re.params.yaml | 27 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/ |
| D | instruction_combine_test.cpp | 165 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/ |
| D | fdiv2.yaml | 49 # 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
|
| D | fdiv2.64.yaml | 49 # 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
|
| D | fadd2.yaml | 50 # 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 …]
|
| D | fadd2.64.yaml | 50 # 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 …]
|
| D | modu2.64.yaml | 39 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/ |
| D | fdiv2.yaml | 49 # 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
|
| D | fdiv2.64.yaml | 49 # 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
|
| D | fadd2.yaml | 50 # 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 …]
|
| D | fadd2.64.yaml | 50 # 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 …]
|
| D | divu2.64.yaml | 39 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/ |
| D | containers_private.cpp | 280 … 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/ |
| D | loops.cpp | 45 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/ |
| D | identifiers_n.params.yaml | 16 - '\u200Dabc' # Zero Width Joiner 17 - '\u200Cabc' # Zero Width Non-Joiner
|
| /arkcompiler/toolchain/common/ |
| D | log_wrapper.h | 23 #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/ |
| D | FunctionOverload.sts | 18 return "zero"; 35 assert Overload.func() == "zero";
|