Home
last modified time | relevance | path

Searched refs:val2 (Results 1 - 21 of 21) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_imm_valid.cpp36 uint64 val2 = val; in IsBitmaskImmediate() local
38 val2 = (val2 << k32BitSize) | (val2 & ((1ULL << k32BitSize) - 1)); in IsBitmaskImmediate()
40 bool expectedOutcome = (ValidBitmaskImmSet.find(val2) != ValidBitmaskImmSet.end()); in IsBitmaskImmediate()
H A Daarch64_cgfunc.cpp1032 uint32 val2 = is64Bits ? (val >> 54) & 0xff : (val >> 25) & 0x1f; in HandleFmovImm() local
1033 bool isSame = is64Bits ? ((val2 == 0) || (val2 == 0xff)) : ((val2 == 0) || (val2 == 0x1f)); in HandleFmovImm()
2792 uint32 val2 = is64Bits ? (val >> 54) & 0xff : (val >> 25) & 0x1f;
2793 bool isSame = is64Bits ? ((val2 == 0) || (val2 == 0xff)) : ((val2 == 0) || (val2
[all...]
/arkcompiler/ets_runtime/ecmascript/regexp/tests/
H A Ddyn_chunk_test.cpp65 uint32_t val2 = dynChunk.GetU16(2); in HWTEST_F_L0() local
68 ASSERT_EQ(val2, 66U); in HWTEST_F_L0()
81 uint32_t val2 = dynChunk.GetU8(1); in HWTEST_F_L0() local
83 ASSERT_EQ(val2, 65U); in HWTEST_F_L0()
94 uint32_t val2 = dynChunk.GetU8(1); in HWTEST_F_L0() local
98 ASSERT_EQ(val2, 98U); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Ddyn_buffer_test.cpp65 uint32_t val2 = dynChunk.GetU16(2U); in TEST_F() local
68 ASSERT_EQ(val2, 66U); in TEST_F()
82 uint32_t val2 = dynChunk.GetU8(1); in TEST_F() local
84 ASSERT_EQ(val2, 65U); in TEST_F()
95 uint32_t val2 = dynChunk.GetU8(1U); in TEST_F() local
99 ASSERT_EQ(val2, 98U); in TEST_F()
H A Dstring_test.cpp423 uint8_t val2 = rand(); in TEST_F() local
424 val2 = val2 >> 1U; in TEST_F()
425 if (val2 == 0) { in TEST_F()
426 val2++; in TEST_F()
432 sString[i] = val2; in TEST_F()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dynamic_enum/
H A Dindex.js35 function isEq(val1, val2) {
36 if (val1 === val2) {
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dfutex_test.cpp126 int val2 = g_global; in TEST() local
129 ASSERT_EQ(val1, val2); in TEST()
186 int val2 = g_global; in TEST() local
190 ASSERT_EQ(val1, val2); in TEST()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
H A Dmacro_assembler_aarch64.cpp240 uint64_t val2 = val; in IsBitmaskImmediate() local
242 val2 = (val2 << k32BitSize) | (val2 & ((1ULL << k32BitSize) - 1)); in IsBitmaskImmediate()
244 bool expectedOutcome = (ValidBitmaskImmSet.find(val2) != ValidBitmaskImmSet.end()); in IsBitmaskImmediate()
/arkcompiler/runtime_core/static_core/runtime/interpreter/
H A Dmath_helpers.h167 auto val2 = static_cast<UnsignedT>(b); in SafeMath() local
168 return static_cast<T>(Op<UnsignedT>()(val1, val2)); in SafeMath()
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
H A Dtest_util.h231 #define ASSERT_FAIL_IMPL(val1, val2, strval1, strval2, msg) \
235 std::cerr << "\t" strval2 ": " << (val2) << std::endl; \
/arkcompiler/toolchain/tooling/test/utils/
H A Dtest_util.h229 #define ASSERT_FAIL_(val1, val2, strval1, strval2, msg) \
234 std::cerr << "\t" strval2 ": " << (val2) << std::endl; \
/arkcompiler/runtime_core/compiler/tests/
H A Dinst_test.cpp260 int32_t val2 = int32_const[i]; in TEST_F() local
261 auto const3 = graph->FindOrCreateConstant(val2); in TEST_F()
263 ASSERT_EQ(const1->GetInt32Value(), val2); in TEST_F()
H A Dcompiler_inst_test.cpp544 int32_t val2 = int32_const[i]; in HWTEST_F()
545 auto const3 = graph->FindOrCreateConstant(val2); in HWTEST_F()
547 EXPECT_EQ(const1->GetInt32Value(), val2); in HWTEST_F()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dinst_test.cpp266 int32_t val2 = int32Const[i]; in TEST_F() local
267 auto const3 = graph->FindOrCreateConstant(val2); in TEST_F()
269 ASSERT_EQ(const1->GetInt32Value(), val2); in TEST_F()
H A Dinst_generator.cpp244 auto val2 = CreateParamInst(graph, inst->GetType(), stackSlot++); in PopulateStoreArrayPair() local
251 inst->SetInput(idx++, val2); in PopulateStoreArrayPair()
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dbounds_analysis.cpp89 auto val2 = right_ == MIN_RANGE_VALUE ? MAX_RANGE_VALUE : std::abs(right_); in Abs() local
90 auto right = std::max(val1, val2); in Abs()
94 left = std::min(val1, val2); in Abs()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_sample.cpp2288 Local<JSValueRef> val2 = map->Get(vm, StringRef::NewFromUtf8(vm, "key2")); in MapGetValue() local
2289 bool val2IsNumber = val2->IsNumber(); in MapGetValue()
2290 GTEST_LOG_(INFO) << "key2 : IsNumber:" << val2IsNumber << " val:" << val2->Int32Value(vm); in MapGetValue()
2481 int val2 = jsVal2->Int32Value(vm); in JsonObjGetValue() local
2482 GTEST_LOG_(INFO) << "str2 : is number : " << jsVal2IsNumber << " value : " << val2; in JsonObjGetValue() local
2777 * ["val1",222,true,{"key1": "val1","key2": "val2"}]
2784 // json 数组: ["val1",222,true,{"key1": "val1","key2": "val2"}] in HWTEST_F_L0()
2803 Local<ObjectRef> val2 = obj->Get(vm_, StringRef::NewFromUtf8(vm_, "key2")); in HWTEST_F_L0() local
2805 GTEST_LOG_(INFO) << "arr5 index : " << i << " key2 : " << val2->ToString(vm_)->ToString(vm_); in HWTEST_F_L0()
2814 * ["val0","val1","val2","val
[all...]
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/
H A Delf_builder.h53 void AddFdeInst(Dwarf_Small op, Dwarf_Unsigned val1, Dwarf_Unsigned val2) in AddFdeInst() argument
55 fde_.emplace_back(op, val1, val2); in AddFdeInst()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_string_test.cpp291 JSHandle<EcmaString> val2 = factory->NewFromASCII("c"); in HWTEST_F_L0() local
294 std::vector<JSTaggedValue> args{val1.GetTaggedValue(), val2.GetTaggedValue(), val3.GetTaggedValue()}; in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_object_test.cpp132 JSTaggedValue val2 = JSObject::GetProperty(thread, global, printTestKey).GetValue().GetTaggedValue(); in HWTEST_F_L0() local
133 EXPECT_EQ(val2, value.GetTaggedValue()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dtyped_native_inline_lowering.cpp628 GateRef val2 = acc_.GetValueIn(gate, 1); in LowerMathImul() local
629 ASSERT(acc_.GetGateType(val1).IsNJSValueType() && acc_.GetGateType(val2).IsNJSValueType()); in LowerMathImul()
631 GateRef result = builder_.Int32Mul(val1, val2); in LowerMathImul()

Completed in 46 milliseconds