/arkcompiler/ets_runtime/test/moduletest/ecmastringtable/ |
D | ecmastringtable.js | 85 let res2 = obj[key2] variable 86 print("res:", res1 === res2) 94 let res2 = obj[key2] 95 print("res:", res1 === res2) 103 let res2 = obj[key2] 104 print("res:", res1 !== res2) 112 let res2 = obj[key2] 113 print("res:", res1 === res2) 121 let res2 = obj[key2] 122 print("res:", res1 !== res2)
|
/arkcompiler/ets_runtime/test/moduletest/builtins/ |
D | builtinsregexp.js | 57 var res2 = testStr.match(pattern); variable 58 print(res2[0]); 59 res2[0] = "C";
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | expected_test.cpp | 107 auto res2 = helper(1); in TEST() local 110 EXPECT_TRUE(res2); in TEST() 113 EXPECT_EQ(*res2, 42); in TEST() 120 auto res2 = helper(res1).ValueOr(res1); in TEST() local 123 EXPECT_EQ(res2, 42); in TEST()
|
/arkcompiler/ets_runtime/test/aottest/createregexpwithliteral/ |
D | createregexpwithliteral.ts | 21 var res2 = re.test(str2); 23 print(res2);
|
/arkcompiler/toolchain/tooling/test/utils/ |
D | test_util.h | 257 decltype(res1) res2 = (rhs); \ 258 if (res1 != res2) { \ 259 ASSERT_FAIL_(res1, res2, #lhs, #rhs, "equal to"); \ 266 decltype(res1) res2 = (rhs); \ 267 if (res1 == res2) { \ 268 ASSERT_FAIL_(res1, res2, #lhs, #rhs, "not equal to"); \ 275 decltype(res1) res2 = (rhs); \ 276 if (::strcmp(res1, res2) != 0) { \ 277 ASSERT_FAIL_(res1, res2, #lhs, #rhs, "equal to"); \
|
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/controlFlow/ |
D | test-ts-ternary-operator-1.ts | 21 const res2 = (a > b) ? ((a << 16)) : ((b << 16)); constant 22 print(res2);
|
/arkcompiler/ets_runtime/test/moduletest/jsonparser/ |
D | jsonparser.js | 46 let res2 = JSON.parse(strData2); variable 47 print(res2);
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | inferenceAndSelfReferentialConstraint.ts | 49 const res2 = test({ constant 50 AssertType(res2, "{ foo: true; bar: () => void; }");
|
/arkcompiler/ets_runtime/ecmascript/module/tests/ |
D | ecma_module_test.cpp | 429 CString res2 = "node_modules/0/moduleTest/index"; in HWTEST_F_L0() local 448 EXPECT_EQ(res2, normalName2); in HWTEST_F_L0() 476 CString res2 = "com.bundleName.test/moduleName1/ets/pages/index"; in HWTEST_F_L0() local 478 EXPECT_EQ(entryPoint, res2); in HWTEST_F_L0() 525 std::pair<bool, ModuleTypes> res2 = SourceTextModule::CheckNativeModule(requestName2); in HWTEST_F_L0() local 526 EXPECT_EQ(res2.first, true); in HWTEST_F_L0() 527 EXPECT_EQ(res2.second, ModuleTypes::OHOS_MODULE); in HWTEST_F_L0() 562 JSHandle<EcmaString> res2 = objectFactory->NewFromUtf8(resName2); in HWTEST_F_L0() local 564 EXPECT_EQ(outFileName, res2); in HWTEST_F_L0() 581 CString res2 = "moduleName"; in HWTEST_F_L0() local [all …]
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | ecma_context_test.cpp | 74 JSHandle<JSTaggedValue> res2 = context->GetRegExpCache(); in HWTEST_F_L0() local 75 EXPECT_EQ(res2.GetTaggedValue(), value2.GetTaggedValue()); in HWTEST_F_L0()
|
D | js_proxy_test.cpp | 534 JSHandle<TaggedArray> res2 = JSProxy::OwnPropertyKeys(thread, proxyHandle2); in HWTEST_F_L0() local 535 …EXPECT_TRUE(res2->GetLength() == 0U || !JSTaggedValue::SameValue(res2->Get(0), key.GetTaggedValue(… in HWTEST_F_L0() 581 JSTaggedValue res2 = JSProxy::CallInternal(runtimeInfo); in HWTEST_F_L0() local 582 EXPECT_TRUE(JSTaggedValue::SameValue(res2, JSTaggedValue::False())); in HWTEST_F_L0() 643 JSTaggedValue res2 = JSProxy::ConstructInternal(runtimeInfo); in HWTEST_F_L0() local 644 JSHandle<JSTaggedValue> taggedRes2(thread, res2); in HWTEST_F_L0()
|
D | js_bigint_test.cpp | 848 JSHandle<BigInt> res2 = BigInt::SignedRightShift(thread, bigint1, shift2); in HWTEST_F_L0() local 849 EXPECT_TRUE(BigInt::Equal(res2.GetTaggedValue(), bigint1.GetTaggedValue())); in HWTEST_F_L0() 905 JSHandle<BigInt> res2 = BigInt::LeftShift(thread, bigint1, shift2); in HWTEST_F_L0() local 906 EXPECT_TRUE(BigInt::Equal(res2.GetTaggedValue(), bigint1.GetTaggedValue())); in HWTEST_F_L0()
|
D | js_serializer_test.cpp | 188 OperationResult res2 = JSObject::GetProperty(thread, objValue1, key2); in NativeBindingObjectTest2() local 189 JSHandle<JSTaggedValue> resValue2 = res2.GetRawValue(); in NativeBindingObjectTest2() 214 OperationResult res2 = JSObject::GetProperty(thread, objValue2, key2); in NativeBindingObjectTest3() local 215 JSHandle<JSTaggedValue> resValue2 = res2.GetRawValue(); in NativeBindingObjectTest3() 757 JSHandle<JSTaggedValue> res2 = deserialzier.Deserialize(); in BigIntTest() local 792 … EXPECT_TRUE(BigInt::Equal(res2.GetTaggedValue(), bigInt2.GetTaggedValue())) << "Not Same BigInt"; in BigIntTest()
|
/arkcompiler/runtime_core/assembler/tests/ |
D | assembler_emitter_test.cpp | 859 auto res2 = p2.Parse(source2); variable 864 progs.push_back(&res2.Value()); 1181 auto res2 = p2.Parse(source2); variable 1186 progs.push_back(&res2.Value());
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
D | jsnapi_tests.cpp | 1432 Local<JSValueRef> res2 = map->GetValue(vm_, 0); in HWTEST_F_L0() local 1433 ASSERT_EQ(res2->ToString(vm_)->ToString(), value->ToString(vm_)->ToString()); in HWTEST_F_L0() 1489 bool res2 = object->Delete(vm_, num); in HWTEST_F_L0() local 1490 ASSERT_TRUE(res2); in HWTEST_F_L0()
|