Home
last modified time | relevance | path

Searched refs:res1 (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/ets_runtime/test/moduletest/ecmastringtable/
Decmastringtable.js84 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/
Dexpected_test.cpp106 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/
Dtest_util.h256 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/
Dbuiltinsregexp.js54 var res1 = testStr.match(pattern); variable
55 print(res1[0]);
56 res1[0] = "BB";
/arkcompiler/ets_runtime/test/aottest/createregexpwithliteral/
Dcreateregexpwithliteral.ts20 var res1 = re.test(str1);
22 print(res1);
/arkcompiler/ets_runtime/ecmascript/module/tests/
Decma_module_test.cpp426 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/
Dtest-ts-ternary-operator-1.ts18 const res1 = a < b ? (a < c ? a : c) : (b < c ? b : c); constant
19 print(res1);
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DinferenceAndSelfReferentialConstraint.ts34 const res1 = test({ constant
35 AssertType(res1, "{ foo: true; bar(): void; }");
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dexcluded_keys_test.cpp130 auto res1 = parser1.Parse(expected); variable
131 auto &program1 = res1.Value();
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp833 …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/
Daccessor_data_test.cpp202 …bool res1 = accObject1->CallInternalSet(thread, JSHandle<JSObject>::Cast(funcTagVal1), undefProtot… in HWTEST_F_L0() local
203 EXPECT_TRUE(res1); in HWTEST_F_L0()
Djs_bigint_test.cpp841 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()
Djs_serializer_test.cpp185 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/
Dassembler_emitter_test.cpp856 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());