Home
last modified time | relevance | path

Searched refs:res2 (Results 1 - 25 of 29) sorted by relevance

12

/arkcompiler/ets_runtime/test/moduletest/ecmastringtable/
H A Decmastringtable.js132 let res2 = obj[key2]
133 print("res:", res1 === res2)
141 let res2 = obj[key2]
142 print("res:", res1 === res2)
150 let res2 = obj[key2]
151 print("res:", res1 !== res2)
159 let res2 = obj[key2]
160 print("res:", res1 === res2)
168 let res2 = obj[key2]
169 print("res:", res1 !== res2)
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
H A Darray_native_test.cpp88 std::vector<ets_boolean> res2(src.size()); in TEST_F()
89 env_->GetBooleanArrayRegion(array, 0, src.size(), res2.data()); in TEST_F()
90 ASSERT_EQ(res2, src); in TEST_F()
127 std::vector<ets_byte> res2(src.size()); in TEST_F()
128 env_->GetByteArrayRegion(array, 0, src.size(), res2.data()); in TEST_F()
129 ASSERT_EQ(res2, src); in TEST_F()
166 std::vector<ets_char> res2(src.size()); in TEST_F()
167 env_->GetCharArrayRegion(array, 0, src.size(), res2.data()); in TEST_F()
168 ASSERT_EQ(res2, src); in TEST_F()
205 std::vector<ets_short> res2(sr in TEST_F()
[all...]
H A Dstack_reference_check_test.cpp102 bool res2 = env->GetObjectRefType(static_cast<ets_object>(ets_str2)) == ETS_LOCAL_REF_TYPE; in MultiStrCheck() local
105 return (res1 && res2 && res3 && res4) ? ETS_TRUE : ETS_FALSE; in MultiStrCheck()
/arkcompiler/ets_runtime/test/moduletest/builtins/
H A Dbuiltinsregexp.js57 var res2 = testStr.match(pattern); variable
58 print(res2[0]);
59 res2[0] = "C";
/arkcompiler/runtime_core/libpandabase/tests/
H A Dexpected_test.cpp107 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()
H A Dutf_test.cpp230 const std::vector<uint16_t> res2 {0xdc37}; in HWTEST()
232 std::vector<uint16_t> out2(res2.size()); in HWTEST()
236 ConvertRegionMUtf8ToUtf16(in.data(), out2.data(), in_len1, res2.size() * sizeof(uint16_t), in_len1 - in_len2); in HWTEST()
238 EXPECT_EQ(out2, res2); in HWTEST()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dexpected_test.cpp109 auto res2 = Helper(1U); in TEST() local
112 EXPECT_TRUE(res2); in TEST()
115 EXPECT_EQ(*res2, 42U); in TEST()
122 auto res2 = Helper(res1).ValueOr(res1); in TEST() local
125 EXPECT_EQ(res2, 42U); in TEST()
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
H A Dtest_util.h257 decltype(res1) res2 = (rhs); \
258 if (res1 != res2) { \
259 ASSERT_FAIL_IMPL(res1, res2, #lhs, #rhs, "equal to"); \
266 decltype(res1) res2 = (rhs); \
267 if (res1 == res2) { \
268 ASSERT_FAIL_IMPL(res1, res2, #lhs, #rhs, "not equal to"); \
275 decltype(res1) res2 = (rhs); \
276 if (::strcmp(res1, res2) != 0) { \
277 ASSERT_FAIL_IMPL(res1, res2, #lhs, #rhs, "equal to"); \
/arkcompiler/toolchain/tooling/test/utils/
H A Dtest_util.h257 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_runtime/test/moduletest/stringsplit/
H A Dstringsplit.js35 let res2 = shortString.split('');
37 print(res1.length == res2.length);
38 print(res1[0] == res2[0]);
/arkcompiler/ets_runtime/ecmascript/tests/
H A Decma_context_test.cpp53 JSHandle<JSTaggedValue> res2 = context->GetRegExpCache(); in HWTEST_F_L0() local
54 EXPECT_EQ(res2.GetTaggedValue(), value2.GetTaggedValue()); in HWTEST_F_L0()
H A Djs_proxy_test.cpp490 JSHandle<TaggedArray> res2 = JSProxy::OwnPropertyKeys(thread, proxyHandle2); in HWTEST_F_L0() local
491 EXPECT_TRUE(res2->GetLength() == 0U || !JSTaggedValue::SameValue(res2->Get(0), key.GetTaggedValue())); in HWTEST_F_L0()
537 JSTaggedValue res2 = JSProxy::CallInternal(runtimeInfo); in HWTEST_F_L0() local
538 EXPECT_TRUE(JSTaggedValue::SameValue(res2, JSTaggedValue::False())); in HWTEST_F_L0()
599 JSTaggedValue res2 = JSProxy::ConstructInternal(runtimeInfo); in HWTEST_F_L0() local
600 JSHandle<JSTaggedValue> taggedRes2(thread, res2); in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/moduletest/stringreplace/
H A Dstringreplace.js42 var res2 = lineString1.replace(re2, "X"); variable
49 print(res2)
/arkcompiler/ets_runtime/test/moduletest/jsonparser/
H A Djsonparser.js46 let res2 = JSON.parse(strData2);
47 print(res2);
/arkcompiler/ets_runtime/ecmascript/module/tests/
H A Decma_module_test.cpp597 JSHandle<JSTaggedValue> res2 = moduleManager->HostResolveImportedModule(jsPandaFile.get(), baseFileName); in HWTEST_F_L0() local
598 EXPECT_NE(res2.GetTaggedValue(), JSTaggedValue::Undefined()); in HWTEST_F_L0()
622 JSTaggedValue res2 = moduleManager->GetModuleValueOutter(0, moduleRecord); in HWTEST_F_L0() local
623 EXPECT_TRUE(res2.IsInt()); in HWTEST_F_L0()
658 JSTaggedValue res2 = moduleManager->GetModuleNamespaceInternal(localNameHandle.GetTaggedValue(), in HWTEST_F_L0() local
660 EXPECT_EQ(res2, thread->GlobalConstants()->GetUndefined()); in HWTEST_F_L0()
676 int res2 = moduleManager->GetExportObjectIndex(thread->GetEcmaVM(), module, key); in HWTEST_F_L0() local
677 EXPECT_EQ(res2, 0); in HWTEST_F_L0()
688 JSHandle<JSTaggedValue> res2 = moduleManager->GetModuleNameSpaceFromFile(thread, recordName2, baseFileName); in HWTEST_F_L0() local
689 EXPECT_NE(res2, threa in HWTEST_F_L0()
709 JSHandle<JSTaggedValue> res2 = moduleManager->TryGetImportedModule(moduleName); HWTEST_F_L0() local
881 CString res2 = "node_modules/0/moduleTest/index"; HWTEST_F_L0() local
928 CString res2 = "com.bundleName.test/moduleName1/ets/pages/index"; HWTEST_F_L0() local
1005 std::pair<bool, ModuleTypes> res2 = SourceTextModule::CheckNativeModule(requestName2); HWTEST_F_L0() local
1056 CString res2 = "moduleName"; HWTEST_F_L0() local
1092 bool res2 = ModulePathHelper::IsNativeModuleRequest(inputFileName); HWTEST_F_L0() local
1113 bool res2 = ModulePathHelper::IsImportFile(inputFileName); HWTEST_F_L0() local
1152 CString res2 = ""; HWTEST_F_L0() local
1165 CString res2 = ""; HWTEST_F_L0() local
1598 std::string res2 = arguments[1]->ToString(thread->GetEcmaVM())->ToString(thread->GetEcmaVM()); HWTEST_F_L0() local
1613 std::string res2 = arguments[1]->ToString(thread->GetEcmaVM())->ToString(thread->GetEcmaVM()); HWTEST_F_L0() local
1652 CString res2 = ModulePathHelper::ParseNormalizedOhmUrl(thread, baseFileName, recordName, requestName); HWTEST_F_L0() local
1890 bool res2 = module2->GetLoadingTypes() != LoadingTypes::DYNAMITC_MODULE; HWTEST_F_L0() local
1912 JSTaggedValue res2 = manager2->GetSendableModuleValueImpl( HWTEST_F_L0() local
2000 JSTaggedValue res2 = ModuleTools::ProcessModuleNameSpaceLoadInfo(thread, module1, module2); HWTEST_F_L0() local
2062 JSTaggedValue res2 = ModuleTools::ProcessModuleLoadInfo(thread, module1, resolution.GetTaggedValue(), 0); HWTEST_F_L0() local
2106 JSTaggedValue res2 = ModuleTools::ProcessModuleNameSpaceLoadInfo(thread, module1, module2); HWTEST_F_L0() local
2152 JSTaggedValue res2 = ModuleTools::ProcessModuleLoadInfo(thread, module1, nameBinding.GetTaggedValue(), 0); HWTEST_F_L0() local
2342 JSHandle<JSTaggedValue> res2 = HWTEST_F_L0() local
2383 JSHandle<JSTaggedValue> res2 = SourceTextModule::ResolveExportObject( HWTEST_F_L0() local
2414 JSHandle<JSTaggedValue> res2 = SourceTextModule::ResolveNativeStarExport(thread, module, val); HWTEST_F_L0() local
2794 JSHandle<JSTaggedValue> res2 = moduleManager->ExecuteNativeModuleMayThrowError( HWTEST_F_L0() local
3213 bool res2 = SourceTextModule::IsCircular(referenceList, moduleName); HWTEST_F_L0() local
[all...]
/arkcompiler/ets_runtime/test/moduletest/loadicbyname/
H A Dloadicbyname.js28 let res2 = numObj2.toPrecision(4);
/arkcompiler/runtime_core/assembler/tests/
H A Dassembler_emitter_test.cpp857 auto res2 = p2.Parse(source2); in HWTEST_F() local
862 progs.push_back(&res2.Value()); in HWTEST_F()
1178 auto res2 = p2.Parse(source2); in HWTEST_F() local
1183 progs.push_back(&res2.Value()); in HWTEST_F()
1401 auto res2 = p2.Parse(source2); in HWTEST_F() local
1406 progs.push_back(&res2.Value()); in HWTEST_F()
1435 auto res2 = p2.Parse(source2); in HWTEST_F() local
1440 progs.push_back(&res2.Value()); in HWTEST_F()
1470 auto res2 = p2.Parse(source2); in HWTEST_F() local
1475 progs.push_back(&res2 in HWTEST_F()
[all...]
/arkcompiler/ets_runtime/test/moduletest/typearray/
H A Dtypearray.js569 let res2 = arr2.reduceRight(fun1, 1, 1);
570 print(res2);
597 res2 = arr2.reduce(fun1, 1, 1);
598 print(res2);
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_second_tests.cpp343 Local<JSValueRef> res2 = mapIterator2->GetKind(vm_); in HWTEST_F_L0() local
344 EXPECT_EQ(valuesResult, res2->ToString(vm_)->ToString(vm_)); in HWTEST_F_L0()
403 Local<JSValueRef> res2 = mapIterator2->GetKind(vm_); in HWTEST_F_L0() local
404 EXPECT_EQ(valuesResult, res2->ToString(vm_)->ToString(vm_)); in HWTEST_F_L0()
848 Local<JSValueRef> res2 = set->GetValue(vm_, 0); in HWTEST_F_L0() local
849 ASSERT_EQ(res2->ToString(vm_)->ToString(vm_), "value"); in HWTEST_F_L0()
1078 Local<JSValueRef> res2 = set->GetValue(vm_, 1); in HWTEST_F_L0() local
1079 ASSERT_EQ(res2->ToString(vm_)->ToString(vm_), "vlue2"); in HWTEST_F_L0()
H A Djsnapi_third_tests.cpp860 Local<JSValueRef> res2 = map->GetValue(vm_, 0); in HWTEST_F_L0() local
861 ASSERT_EQ(res2->ToString(vm_)->ToString(vm_), "value"); in HWTEST_F_L0()
1235 Local<JSValueRef> res2 = JSNApi::NapiGetProperty(vm_, reinterpret_cast<uintptr_t>(*object), in HWTEST_F_L0() local
1237 ASSERT_TRUE(value->IsStrictEquals(vm_, res2)); in HWTEST_F_L0()
1350 ecmascript::ModuleExecuteMode res2 = moduleManager->GetExecuteMode(); in HWTEST_F_L0() local
1351 EXPECT_EQ(res2, ecmascript::ModuleExecuteMode::ExecuteBufferMode); in HWTEST_F_L0()
/arkcompiler/runtime_core/libpandafile/tests/
H A Dfile_test.cpp383 bool res2 = CheckSecureMem(value2, 1000); in HWTEST() local
384 EXPECT_TRUE(res2); in HWTEST()
/arkcompiler/ets_runtime/test/moduletest/regexp/
H A Dregexp.js708 const res2 = /abc/i;
709 res2.lastIndex = -1;
710 print(res2.flags);
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_number_test.cpp226 JSHandle<EcmaString> res2(thread, reinterpret_cast<EcmaString *>(result2.GetRawData())); in HWTEST_F_L0()
228 ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*res2, *correctResult2)); in HWTEST_F_L0()
285 JSHandle<EcmaString> res2(thread, reinterpret_cast<EcmaString *>(result2.GetRawData())); in HWTEST_F_L0()
287 ASSERT_TRUE(EcmaStringAccessor::StringsAreEqual(*res2, *correctResult2)); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dbounds_analysis_test.cpp59 BoundsRange res2 = r2.Neg(); in TEST_F() local
60 EXPECT_EQ(res2.GetLeft(), -5L); in TEST_F()
61 EXPECT_EQ(res2.GetRight(), -1L); in TEST_F()
77 BoundsRange res2 = r2.Abs(); in TEST_F() local
78 EXPECT_EQ(res2.GetLeft(), 1U); in TEST_F()
79 EXPECT_EQ(res2.GetRight(), 5U); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/tests/
H A Djs_stackinfo_test.cpp324 auto res2 = parser2.Parse(pfdata2); in HWTEST_F_L0() local
326 auto file2 = pandasm::AsmEmitter::Emit(res2.Value()); in HWTEST_F_L0()

Completed in 29 milliseconds

12