/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_imm_valid.cpp | 36 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 D | aarch64_cgfunc.cpp | 1032 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 D | dyn_chunk_test.cpp | 65 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 D | dyn_buffer_test.cpp | 65 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 D | string_test.cpp | 423 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 D | index.js | 35 function isEq(val1, val2) { 36 if (val1 === val2) {
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | futex_test.cpp | 126 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 D | macro_assembler_aarch64.cpp | 240 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 D | math_helpers.h | 167 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 D | test_util.h | 231 #define ASSERT_FAIL_IMPL(val1, val2, strval1, strval2, msg) \ 235 std::cerr << "\t" strval2 ": " << (val2) << std::endl; \
|
/arkcompiler/toolchain/tooling/test/utils/ |
H A D | test_util.h | 229 #define ASSERT_FAIL_(val1, val2, strval1, strval2, msg) \ 234 std::cerr << "\t" strval2 ": " << (val2) << std::endl; \
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | inst_test.cpp | 260 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 D | compiler_inst_test.cpp | 544 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 D | inst_test.cpp | 266 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 D | inst_generator.cpp | 244 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 D | bounds_analysis.cpp | 89 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 D | jsnapi_sample.cpp | 2288 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 D | elf_builder.h | 53 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 D | builtins_string_test.cpp | 291 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 D | js_object_test.cpp | 132 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 D | typed_native_inline_lowering.cpp | 628 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()
|