/arkcompiler/ets_runtime/test/moduletest/ecmastringtable/ |
D | ecmastringtable.js | 84 let res1 = obj[key1]; variable 86 print("res:", res1 === res2) 93 let res1 = obj[key1]; 95 print("res:", res1 === res2) 102 let res1 = obj[key1]; 104 print("res:", res1 !== res2) 111 let res1 = obj[key1]; 113 print("res:", res1 === res2) 120 let res1 = obj[key1]; 122 print("res:", res1 !== res2)
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | expected_test.cpp | 106 auto res1 = helper(0); in TEST() local 109 EXPECT_FALSE(res1); in TEST() 112 EXPECT_EQ(res1.Error(), ErrorCode::First); in TEST() 119 auto res1 = helper(0).ValueOr(1); in TEST() local 120 auto res2 = helper(res1).ValueOr(res1); in TEST() 122 EXPECT_EQ(res1, 1); in TEST()
|
/arkcompiler/toolchain/tooling/test/utils/ |
D | test_util.h | 256 auto res1 = (lhs); \ 257 decltype(res1) res2 = (rhs); \ 258 if (res1 != res2) { \ 259 ASSERT_FAIL_(res1, res2, #lhs, #rhs, "equal to"); \ 265 auto res1 = (lhs); \ 266 decltype(res1) res2 = (rhs); \ 267 if (res1 == res2) { \ 268 ASSERT_FAIL_(res1, res2, #lhs, #rhs, "not equal to"); \ 274 auto res1 = (lhs); \ 275 decltype(res1) res2 = (rhs); \ [all …]
|
/arkcompiler/ets_runtime/test/moduletest/builtins/ |
D | builtinsregexp.js | 54 var res1 = testStr.match(pattern); variable 55 print(res1[0]); 56 res1[0] = "BB";
|
/arkcompiler/ets_runtime/test/aottest/createregexpwithliteral/ |
D | createregexpwithliteral.ts | 20 var res1 = re.test(str1); 22 print(res1);
|
/arkcompiler/ets_runtime/ecmascript/module/tests/ |
D | ecma_module_test.cpp | 426 CString res1 = "node_modules/0/moduleTest/index"; in HWTEST_F_L0() local 447 EXPECT_EQ(res1, normalName1); in HWTEST_F_L0() 461 CString res1 = "com.bundleName.test/moduleName/ets/pages/index"; in HWTEST_F_L0() local 464 EXPECT_EQ(entryPoint, res1); in HWTEST_F_L0() 470 EXPECT_EQ(entryPoint, res1); in HWTEST_F_L0() 521 std::pair<bool, ModuleTypes> res1 = SourceTextModule::CheckNativeModule(requestName1); in HWTEST_F_L0() local 522 EXPECT_EQ(res1.first, false); in HWTEST_F_L0() 523 EXPECT_EQ(res1.second, ModuleTypes::UNKNOWN); in HWTEST_F_L0() 556 JSHandle<EcmaString> res1 = objectFactory->NewFromUtf8(resName1); in HWTEST_F_L0() local 558 EXPECT_EQ(outFileName, res1); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/controlFlow/ |
D | test-ts-ternary-operator-1.ts | 18 const res1 = a < b ? (a < c ? a : c) : (b < c ? b : c); constant 19 print(res1);
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | inferenceAndSelfReferentialConstraint.ts | 34 const res1 = test({ constant 35 AssertType(res1, "{ foo: true; bar(): void; }");
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | excluded_keys_test.cpp | 130 auto res1 = parser1.Parse(expected); variable 131 auto &program1 = res1.Value();
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
D | jsnapi_tests.cpp | 833 …OperationResult res1 = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), propert… in HWTEST_F_L0() local 834 bool same5 = JSTaggedValue::SameValue(func, res1.GetValue()); in HWTEST_F_L0() 915 …OperationResult res1 = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(son1Handle), proper… in HWTEST_F_L0() local 916 EXPECT_EQ(JSTaggedValue::SameValue(func, res1.GetValue()), true); in HWTEST_F_L0() 979 …OperationResult res1 = JSObject::GetProperty(thread_, JSHandle<JSObject>::Cast(sonHandle), addStri… in HWTEST_F_L0() local 980 EXPECT_EQ(JSTaggedValue::SameValue(defaultString, res1.GetValue()), true); in HWTEST_F_L0() 1238 Local<NumberRef> res1 = NumberRef::New(vm_, input1); in HWTEST_F_L0() local 1240 ASSERT_TRUE(res1->IsNumber()); in HWTEST_F_L0() 1274 void *res1 = object->GetNativePointerField(33); in HWTEST_F_L0() local 1275 std::string *sp2 = static_cast<std::string*>(res1); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | accessor_data_test.cpp | 202 …bool res1 = accObject1->CallInternalSet(thread, JSHandle<JSObject>::Cast(funcTagVal1), undefProtot… in HWTEST_F_L0() local 203 EXPECT_TRUE(res1); in HWTEST_F_L0()
|
D | js_bigint_test.cpp | 841 JSHandle<BigInt> res1 = BigInt::SignedRightShift(thread, bigint1, shift1); in HWTEST_F_L0() local 845 EXPECT_TRUE(BigInt::Equal(res1.GetTaggedValue(), expectRes1.GetTaggedValue())); in HWTEST_F_L0() 897 JSHandle<BigInt> res1 = BigInt::LeftShift(thread, bigint1, shift1); in HWTEST_F_L0() local 902 EXPECT_TRUE(BigInt::Equal(res1.GetTaggedValue(), expectRes1.GetTaggedValue())); in HWTEST_F_L0()
|
D | js_serializer_test.cpp | 185 OperationResult res1 = JSObject::GetProperty(thread, objValue1, key1); in NativeBindingObjectTest2() local 186 JSHandle<JSTaggedValue> resValue1 = res1.GetRawValue(); in NativeBindingObjectTest2() 211 OperationResult res1 = JSObject::GetProperty(thread, objValue2, key1); in NativeBindingObjectTest3() local 212 JSHandle<JSTaggedValue> resValue1 = res1.GetRawValue(); in NativeBindingObjectTest3() 756 JSHandle<JSTaggedValue> res1 = deserialzier.Deserialize(); in BigIntTest() local 770 EXPECT_TRUE(!res1.IsEmpty() && !res14.IsEmpty()) << "[Empty] Deserialize BigInt fail"; in BigIntTest() 791 … EXPECT_TRUE(BigInt::Equal(res1.GetTaggedValue(), bigInt1.GetTaggedValue())) << "Not Same BigInt"; in BigIntTest()
|
/arkcompiler/runtime_core/assembler/tests/ |
D | assembler_emitter_test.cpp | 856 auto res1 = p1.Parse(source1); variable 863 progs.push_back(&res1.Value()); 1177 auto res1 = p1.Parse(source1); variable 1184 progs.push_back(&res1.Value());
|