/arkcompiler/ets_frontend/arkguard/scripts/ |
H A D | grammar_test.py | 97 for one in file_name_list: 99 one.endswith(EXTENTION_JS) 100 or one.endswith(EXTENTION_TS) 101 or one.endswith(EXTENTION_DETS) 122 for one in NO_NEED_RUN_WITH_NODE_FILES: 123 if file_path.endswith(one): 171 for one in files: 172 abs_path = os.path.join(directory, one) 282 for one in self.all_file_list: 283 if should_run_with_node(one) [all...] |
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | dtoa_helper.cpp | 100 const DiyFp one(uint64_t(1) << -Mp.e, Mp.e); in DigitGen() 102 uint32_t p1 = static_cast<uint32_t>(Mp.f >> -one.e); in DigitGen() 103 ASSERT(one.f > 0); in DigitGen() 104 uint64_t p2 = Mp.f & (one.f - 1); in DigitGen() 152 uint64_t tmp = (static_cast<uint64_t>(p1) << -one.e) + p2; in DigitGen() 155 GrisuRound(buffer, localLen, delta, tmp, POW10[kappa] << -one.e, distance.f); in DigitGen() 165 char d = static_cast<char>(p2 >> -one.e); in DigitGen() 169 ASSERT(one.f > 0); in DigitGen() 170 p2 &= one.f - 1; in DigitGen() 176 GrisuRound(buffer, localLen, delta, p2, one in DigitGen() [all...] |
/arkcompiler/ets_runtime/test/moduletest/multiargs/ |
H A D | multiargs.js | 31 function one(x) 58 one(123456789)
|
/arkcompiler/runtime_core/isa/ |
H A D | asserts.rb | 35 assert('Non-prefixed instruction opcodes and prefixes should fit one byte') do 47 assert('All instructions for a prefix should fit one byte') do 109 insns.map { |insn| insn.operands.map(&:name) }.uniq.one? 157 assert('Operand type should be one of none, ref, u1, u2, i8, u8, i16, u16, i32, u32, b32, i64, u64, b64, f64, top, any') do 164 assert('Instruction should have not more than one destination') do 171 assert('Instruction should have not more than one ID operand') do 182 registers.empty? || registers.map(&:width).uniq.one?
|
/arkcompiler/runtime_core/static_core/isa/ |
H A D | asserts.rb | 35 assert('Non-prefixed instruction opcodes and prefixes should fit one byte') do 47 assert('All instructions for a prefix should fit one byte') do 109 insns.map { |insn| insn.operands.map(&:name) }.uniq.one? 157 assert('Operand type should be one of none, ref, u1, u2, i8, u8, i16, u16, i32, u32, b32, i64, u64, b64, f64, top, any') do 164 assert('Instruction should have not more than one destination') do 171 assert('Instruction should have not more than one ID operand') do 182 registers.empty? || registers.map(&:width).uniq.one?
|
/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
H A D | instruction_combine_test.cpp | 808 auto one = b.Int32(1); in HWTEST_F_L0() local 820 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(x, one)), zero); in HWTEST_F_L0() 990 auto one = b.Int64(1); in HWTEST_F_L0() local 994 EXPECT_EQ(instcombie.VisitGate(b.Int64And(Icmp, one)), Icmp); // CMP & 1 => CMP in HWTEST_F_L0() 995 EXPECT_EQ(instcombie.VisitGate(b.Int64And(two, one)), zero); // K & K => K in HWTEST_F_L0() 998 auto result = instcombie.VisitGate(b.Int64And(b.Int64And(x, one), two)); in HWTEST_F_L0() 1011 auto one = b.Int32(1); in HWTEST_F_L0() local 1015 EXPECT_EQ(instcombie.VisitGate(b.Int32And(Icmp, one)), Icmp); // CMP & 1 => CMP in HWTEST_F_L0() 1016 EXPECT_EQ(instcombie.VisitGate(b.Int32And(two, one)), zero); // K & K => K in HWTEST_F_L0() 1019 auto result = instcombie.VisitGate(b.Int32And(b.Int32And(x, one), tw in HWTEST_F_L0() 1044 auto one = b.Int64(1); HWTEST_F_L0() local 1065 auto one = b.Int32(1); HWTEST_F_L0() local 1098 auto one = b.Int64(1); HWTEST_F_L0() local 1112 auto one = b.Int32(1); HWTEST_F_L0() local [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_composite_types/ |
H A D | test_composite_types.js | 57 one: 1,
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_peep.cpp | 2135 * if all define points of used opnd in insn has only one valid bit,return true. 2241 ImmOperand &one = static_cast<AArch64CGFunc *>(&cgFunc)->CreateImmOperand(1, k8BitSize, false); in Run() local 2242 Insn &newInsn = cgFunc.GetInsnBuilder()->BuildInsn(mopCode, csetFirstOpnd, cmpFirstOpnd, one); in Run()
|
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
H A D | llvm_ir_constructor.cpp | 1730 auto one = llvm::ConstantInt::get(type, 1); in CreateIsInf() local 1732 auto shiftedInput = builder_.CreateShl(castedInput, one); in CreateIsInf() 1850 auto one = is64 ? builder_.getInt64(1) : builder_.getInt32(1); in CreateRoundArm64() local 1851 auto add = builder_.CreateBinOp(llvm::Instruction::Add, round, one); in CreateRoundArm64() 5016 // It means we have one of the following cases: in CheckGraph()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/ |
H A D | llvm_ir_builder.cpp | 2132 constexpr double one = 1.0; in VisitExp() local 2133 if (acc_.IsConstant(e1) && acc_.GetFloat64FromConstant(e1) == std::exp(one)) { in VisitExp()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | typed_native_inline_lowering.cpp | 613 constexpr double one = 1.0; in LowerMathExp() local 614 GateRef base = builder_.Double(std::exp(one)); in LowerMathExp() 655 // The absolute value of a negative number can be found by inverting it by adding one.
|