| /arkcompiler/ets_runtime/test/perform/number/ |
| D | number.js | 18 let res; variable 30 let res; variable 42 let res; variable 65 let res; variable 76 let res; variable 78 res = new Number(i); variable
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | logger_test.cpp | 68 std::string res = helpers::string::Format( variable 152 std::string res = helpers::string::Format("[TID %06x] E/compiler: c\n", tid); variable 171 std::string res = helpers::string::Format( variable 194 std::string res = helpers::string::Format("[TID %06x] E/common: c\n", tid); variable 239 std::string res = helpers::string::Format( variable 272 std::string res = helpers::string::Format( variable 304 std::string res = helpers::string::Format( variable 330 std::string res = helpers::string::Format("[TID %06x] I/common: a\n", tid); variable 352 std::string res = helpers::string::Format( variable
|
| D | utf_test.cpp | 32 const std::vector<uint16_t> res {0x0}; variable 41 const std::vector<uint16_t> res {0x7f}; variable 50 const std::vector<uint16_t> res {0xa7, 0x33}; variable 59 const std::vector<uint16_t> res {0xffc3, 0x33}; variable 71 const std::vector<uint16_t> res {0xd801, 0xdc37}; variable 79 const std::vector<uint16_t> res {0x5b, 0x61, 0x62, 0x63, 0xd8d2, 0x5d}; variable 87 const std::vector<uint16_t> res {0xD83D, 0xDC73}; variable 105 size_t res = MUtf8ToUtf16Size(in.data(), in.size()); variable 112 size_t res = MUtf8ToUtf16Size(in.data(), in.size()); variable 119 size_t res = MUtf8ToUtf16Size(in.data(), in.size()); variable [all …]
|
| D | mutex_test.cpp | 65 bool res = arg->rwlock->TryReadLock(); in TestThread3() local 83 bool res = arg->lock->TryLockWithSpinning(); in TestThread4() local 102 size_t res = 0; variable 130 size_t res = 0; variable 159 bool res = lock->TryLockWithSpinning(); variable 184 bool res = lock->TryLock(); variable
|
| /arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/inspect_api/literals/ |
| D | literals_test.cpp | 41 AbckitLiteral *res = g_implM->createLiteralBool(file, true); in TEST_F() local 57 AbckitLiteral *res = g_implM->createLiteralU8(file, 1); in TEST_F() local 73 AbckitLiteral *res = g_implM->createLiteralU16(file, 1); in TEST_F() local 89 AbckitLiteral *res = g_implM->createLiteralMethodAffiliate(file, 1); in TEST_F() local 105 AbckitLiteral *res = g_implM->createLiteralU32(file, 1); in TEST_F() local 121 AbckitLiteral *res = g_implM->createLiteralU64(file, 1); in TEST_F() local 137 AbckitLiteral *res = g_implM->createLiteralFloat(file, 1.0); in TEST_F() local 153 AbckitLiteral *res = g_implM->createLiteralDouble(file, 1.0); in TEST_F() local 174 AbckitLiteral *res = g_implM->createLiteralLiteralArray(file, litarr); in TEST_F() local 190 AbckitLiteral *res = g_implM->createLiteralString(file, "asdf", strlen("asdf")); in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/modify_api/literals/ |
| D | literals_test.cpp | 42 AbckitLiteral *res = g_implM->createLiteralBool(file, true); in TEST_F() local 57 AbckitLiteral *res = g_implM->createLiteralU8(file, 1); in TEST_F() local 72 AbckitLiteral *res = g_implM->createLiteralU16(file, 1); in TEST_F() local 87 AbckitLiteral *res = g_implM->createLiteralMethodAffiliate(file, 1); in TEST_F() local 102 AbckitLiteral *res = g_implM->createLiteralU32(file, 1); in TEST_F() local 117 AbckitLiteral *res = g_implM->createLiteralU64(file, 1); in TEST_F() local 132 AbckitLiteral *res = g_implM->createLiteralFloat(file, 1.0); in TEST_F() local 147 AbckitLiteral *res = g_implM->createLiteralDouble(file, 1.0); in TEST_F() local 167 AbckitLiteral *res = g_implM->createLiteralLiteralArray(file, litarr); in TEST_F() local 182 AbckitLiteral *res = g_implM->createLiteralString(file, "asdf", strlen("asdf")); in TEST_F() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/interpreter/ |
| D | interpreter-inl.cpp | 834 JSTaggedValue res = state->acc; in GeneratorReEnterInterpreter() local 868 …auto res = thread->GetCurrentEcmaContext()->ExecuteAot(method->GetNumArgs(), args.data(), prevFp, … in GeneratorReEnterAot() local 1492 JSTaggedValue res = SlowRuntimeStub::CallSpread(thread, func, obj, array); in RunInternal() local 1509 JSTaggedValue res = SlowRuntimeStub::CallSpread(thread, func, obj, array); in RunInternal() local 1658 JSTaggedValue res = SlowRuntimeStub::GetUnmapedArgs(thread, sp, actualNumArgs, startIdx); in RunInternal() local 1666 JSTaggedValue res = SlowRuntimeStub::AsyncFunctionEnter(thread); in RunInternal() local 1673 JSTaggedValue res = FastRuntimeStub::FastTypeOf(thread, GET_ACC()); in RunInternal() local 1679 JSTaggedValue res = FastRuntimeStub::FastTypeOf(thread, GET_ACC()); in RunInternal() local 1686 JSTaggedValue res = SlowRuntimeStub::GetPropIterator(thread, GET_ACC()); in RunInternal() local 1697 JSTaggedValue res = SlowRuntimeStub::CloseIterator(thread, iter); in RunInternal() local [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | aot_test.cpp | 85 …auto res = os::exec::Exec(GetAotdumpFile(), "--show-code=disasm", "--output-file", tmpfile.GetFile… in RunAotdump() local 118 auto res = parser.Parse(source); in TEST_F() local 126 …auto res = os::exec::Exec(GetPaocFile(), "--paoc-panda-files", pandaFname.GetFileName(), "--paoc-o… in TEST_F() local 154 auto res = parser.Parse(source); in TEST_F() local 161 …auto res = os::exec::Exec(GetPaocFile(), "--paoc-panda-files", pandaFname.GetFileName(), "--paoc-o… in TEST_F() local 170 …auto res = aotManager.AddFile(aotFname.GetFileName(), nullptr, static_cast<uint32_t>(mem::GCType::… in TEST_F() local 297 … auto res = aotManager.AddFile(tmpfilePn, nullptr, static_cast<uint32_t>(mem::GCType::STW_GC)); in TEST_F() local 318 auto res = FileManager::LoadAnFile(tmpfilePn); in TEST_F() local 367 auto res = parser.Parse(source); in PaocSpecifyMethodsEmit() local 389 auto res = in TEST_F() local [all …]
|
| D | class_hash_table_test.cpp | 106 auto res = parser.Parse(GetSourceCode()); in TEST_F() local 136 auto res = parser.Parse(source); in GetClassHashTableABC1() local 156 auto res = parser.Parse(source); in GetClassHashTableABC2() local 164 …auto res = os::exec::Exec(fnPaoc.c_str(), "--paoc-panda-files", fn2.c_str(), "--panda-files", fn1.… in GetClassHashTableAN() local 219 auto res = parser.Parse(GetSourceCode()); in TEST_F() local 225 …auto res = os::exec::Exec(GetPaocFile(), "--paoc-panda-files", pandaFname.GetFileName(), "--paoc-o… in TEST_F() local 233 auto res = os::exec::Exec(GetAotdumpFile(), "--show-code=disasm", filename.c_str()); in TEST_F() local 250 auto res = parser.Parse(GetSourceCode()); in TEST_F() local 258 …auto res = os::exec::Exec(GetPaocFile(), "--paoc-panda-files", pandaFname.GetFileName(), "--paoc-o… in TEST_F() local 288 auto res = parser.Parse(GetSourceCode()); in TEST_F() local [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/container/ |
| D | utility.js | 15 export function testCommon(proxy, res) { argument 44 export function testdProxySet(proxy, res, dProxy) { argument 57 export function testdProxyIterator(map, res) { argument 93 export function testdProxyArray1(proxy, res, testArray) { argument
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | aot_test.cpp | 70 …auto res = os::exec::Exec(aotdump_path_.c_str(), "--show-code=disasm", "--output-file", tmpfile.Ge… in RunAotdump() local 102 auto res = parser.Parse(source); in TEST_F() local 110 …auto res = os::exec::Exec(paoc_path_.c_str(), "--paoc-panda-files", panda_fname.GetFileName(), "--… in TEST_F() local 139 auto res = parser.Parse(source); in TEST_F() local 146 …auto res = os::exec::Exec(paoc_path_.c_str(), "--paoc-panda-files", panda_fname.GetFileName(), "--… in TEST_F() local 155 auto res = in TEST_F() local 240 …auto res = aot_manager.AddFile(tmpfile.c_str(), nullptr, static_cast<uint32_t>(mem::GCType::STW_GC… in TEST_F() local 319 auto res = parser.Parse(source); in TEST_F() local 326 auto res = in TEST_F() local 363 auto res = parser.Parse(source); in TEST_F() local [all …]
|
| D | class_hash_table_test.cpp | 106 auto res = parser.Parse(GetSourceCode()); in TEST_F() local 145 auto res = parser.Parse(source); in TEST_F() local 164 auto res = parser.Parse(source); in TEST_F() local 170 …auto res = os::exec::Exec(GetPaocFile(), "--paoc-panda-files", panda_fname2.GetFileName(), "--pand… in TEST_F() local 211 auto res = parser.Parse(GetSourceCode()); in TEST_F() local 217 …auto res = os::exec::Exec(GetPaocFile(), "--paoc-panda-files", panda_fname.GetFileName(), "--paoc-… in TEST_F() local 225 auto res = os::exec::Exec(GetAotdumpFile(), "--show-code=disasm", filename.c_str()); in TEST_F() local 242 auto res = parser.Parse(GetSourceCode()); in TEST_F() local 250 …auto res = os::exec::Exec(GetPaocFile(), "--paoc-panda-files", panda_fname.GetFileName(), "--paoc-… in TEST_F() local 280 auto res = parser.Parse(GetSourceCode()); in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | math_helpers_test.cpp | 36 T res = bit_shl<T>()(v, shift); in TestBitShl() local 43 T res = bit_shl<T>()(v, shift); in TestBitShl() local 50 T res = bit_shl<T>()(v, shift); in TestBitShl() local 57 T res = bit_shl<T>()(v, shift); in TestBitShl() local 75 T res = bit_shr<T>()(v, shift); in TestBitShr() local 82 T res = bit_shr<T>()(v, shift); in TestBitShr() local 89 T res = bit_shr<T>()(v, shift); in TestBitShr() local 97 T res = bit_shr<T>()(v, shift); in TestBitShr() local 115 T res = bit_ashr<T>()(v, shift); in TestBitAshr() local 122 T res = bit_ashr<T>()(v, shift); in TestBitAshr() local [all …]
|
| D | c2i_bridge_test.cpp | 97 auto res = p.Parse(source); in SetUpHelperFunctions() local 149 auto res = p.Parse(out.str()); in MakeNoArgsMethod() local 211 auto res = p.Parse(out.str()); in MakeCheckArgsMethod() local 300 auto res = InvokeEntryPoint<int32_t>(method); in TEST_F() local 308 auto res = InvokeEntryPoint<int64_t>(method); in TEST_F() local 317 auto res = InvokeEntryPoint<double>(method); in TEST_F() local 325 auto *res = InvokeEntryPoint<ObjectHeader *>(method); in TEST_F() local 334 auto res = InvokeEntryPoint<int32_t>(method, 5L); in TEST_F() local 342 auto res = InvokeEntryPoint<int32_t>(method, nullptr, 5L); in TEST_F() local 350 auto res = InvokeEntryPoint<int32_t>(method, 3L, 2L, 1L); in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | logger_test.cpp | 60 std::string res = helpers::string::Format( in DEATH_TEST() local 144 std::string res = helpers::string::Format("[TID %06x] E/compiler: c\n", tid); in DEATH_TEST() local 163 std::string res = helpers::string::Format( in TEST() local 186 std::string res = helpers::string::Format("[TID %06x] E/common: c\n", tid); in TEST() local 231 std::string res = helpers::string::Format( in TEST() local 261 std::string res = helpers::string::Format( in DEATH_TEST() local 292 std::string res = helpers::string::Format( in TEST() local 323 std::string res = helpers::string::Format( in TEST() local 345 std::string res = helpers::string::Format("[TID %06x] I/common: a\n", tid); in TEST() local 368 std::string res = helpers::string::Format( in TEST() local [all …]
|
| D | utf_test.cpp | 43 const std::vector<uint16_t> res {0xd801U, 0xdc37U}; in TEST() local 51 const std::vector<uint16_t> res {0x5bU, 0x61U, 0x62U, 0x63U, 0xd8d2U, 0x5dU}; in TEST() local 59 const std::vector<uint16_t> res {0xD83DU, 0xDC73U}; in TEST() local 71 const std::vector<uint16_t> res {0x0U}; in TEST() local 80 const std::vector<uint16_t> res {0x7fU}; in TEST() local 89 const std::vector<uint16_t> res {0xa7U, 0x33U}; in TEST() local 98 const std::vector<uint16_t> res {0xffc3U, 0x33U}; in TEST() local 110 size_t res = Utf16ToMUtf8Size(in.data(), in.size()); in TEST() local 117 size_t res = Utf16ToMUtf8Size(in.data(), in.size()); in TEST() local 124 size_t res = Utf16ToMUtf8Size(in.data(), in.size()); in TEST() local [all …]
|
| /arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/inspect_api/values/ |
| D | values_test.cpp | 43 auto *res = g_implM->createValueU1(file, true); in TEST_F() local 59 auto *res = g_implM->createValueU1(file, true); in TEST_F() local 76 auto *res = g_implM->createValueDouble(file, implVal); in TEST_F() local 92 auto *res = g_implM->createValueString(file, "test", strlen("test")); in TEST_F() local 165 auto *res = g_implM->createValueString(file, "test", strlen("test")); in TEST_F() local 190 auto *res = g_implM->createValueU1(file, true); in TEST_F() local 207 auto *res = g_implM->createValueDouble(file, implVal); in TEST_F() local 223 auto *res = g_implM->createValueString(file, "test", strlen("test")); in TEST_F() local 259 auto *res = g_implM->createValueU1(file, true); in TEST_F() local 296 auto *res = g_implM->createValueString(file, "test", strlen("test")); in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/napi/sampler/ |
| D | SamplerNapiTest.cpp | 29 ets_int res = 0; in ETS_ETSGLOBAL_NativeSlowFunction() local 44 ets_int res = 1; in ETS_ETSGLOBAL_NativeFastFunction() local 51 ets_int res = env->CallStaticIntMethod(cls, method, iterations); in ETS_ETSGLOBAL_NativeNAPISlowFunction() local 58 ets_int res = 0; in ETS_ETSGLOBAL_NativeNAPIFastFunction() local
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/evaluation/ |
| D | conditions_storage.cpp | 21 [[maybe_unused]] auto res = conditions_.emplace(id, std::make_pair(condition, nullptr)); in AddCondition() local 27 [[maybe_unused]] auto res = conditions_.erase(id); in RemoveCondition() local 41 auto res = evaluationEngine_.EvaluateExpression(0, iter->second.first, &iter->second.second); in EvaluateCondition() local
|
| /arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/modify_api/values/ |
| D | values_test.cpp | 42 auto *res = g_implM->createValueU1(file, true); in TEST_F() local 57 auto *res = g_implM->createValueDouble(file, 1.0); in TEST_F() local 72 auto *res = g_implM->createValueString(file, "test", strlen("test")); in TEST_F() local 106 auto *res = g_implM->createValueU1(file, true); in TEST_F() local 121 auto *res = g_implM->createValueDouble(file, 1.0); in TEST_F() local 136 auto *res = g_implM->createValueString(file, "test", strlen("test")); in TEST_F() local
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/ |
| D | error.cpp | 35 std::string res; in ToString() local 40 std::string res = strerror_r(err, buf.data(), buf.size()); in ToString() local
|
| /arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
| D | error.cpp | 37 std::string res; in ToString() local 42 std::string res = strerror_r(err, buf.data(), buf.size()); in ToString() local
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
| D | js_convert_base.h | 76 auto res = Impl::WrapImpl(env, etsVal); in Wrap() local 87 auto res = Impl::UnwrapImpl(ctx, env, jsVal); in Unwrap() local 99 auto res = Impl::WrapImpl(env, etsVal); in WrapWithNullCheck() local 112 auto res = Impl::UnwrapImpl(ctx, env, jsVal); in UnwrapWithNullCheck() local
|
| /arkcompiler/runtime_core/panda_guard/tests/unittest/ |
| D | guard_args_parser_test.cpp | 44 std::string res = panda::helpers::string::Format( variable 77 std::string res = panda::helpers::string::Format( variable
|
| /arkcompiler/ets_frontend/es2panda/compiler/base/ |
| D | lreference.cpp | 37 binder::ScopeFindResult res) in LReference() 162 binder::ScopeFindResult res = pg->Scope()->Find(name); in CreateLRef() local 191 binder::ScopeFindResult res = pg->Scope()->Find(name); in CreateLRef() local
|