Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 880) sorted by relevance

12345678910>>...36

/arkcompiler/ets_runtime/test/perform/number/
Dnumber.js18 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/static_core/plugins/ets/tests/benchmarks/interop_js/type_conversion_primitives/bu_d2d/
DlibConversions.ts17 const res = parseInt(bin, 2); constant
22 const res = Number(str); constant
27 const res = parseInt(str, 16); constant
32 const res = parseInt(str, 8); constant
37 const res = chr.charCodeAt(0); constant
/arkcompiler/runtime_core/libpandabase/tests/
Dlogger_test.cpp68 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
Dutf_test.cpp32 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 …]
Dmutex_test.cpp65 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/
Dliterals_test.cpp41 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/
Dliterals_test.cpp42 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/
Dinterpreter-inl.cpp845 JSTaggedValue res = state->acc; in GeneratorReEnterInterpreter() local
880 auto res = thread->GetEcmaVM()->ExecuteAot(method->GetNumArgs(), args.data(), prevFp, false); in GeneratorReEnterAot() local
1504 JSTaggedValue res = SlowRuntimeStub::CallSpread(thread, func, obj, array); in RunInternal() local
1521 JSTaggedValue res = SlowRuntimeStub::CallSpread(thread, func, obj, array); in RunInternal() local
1670 JSTaggedValue res = SlowRuntimeStub::GetUnmapedArgs(thread, sp, actualNumArgs, startIdx); in RunInternal() local
1678 JSTaggedValue res = SlowRuntimeStub::AsyncFunctionEnter(thread); in RunInternal() local
1685 JSTaggedValue res = FastRuntimeStub::FastTypeOf(thread, GET_ACC()); in RunInternal() local
1691 JSTaggedValue res = FastRuntimeStub::FastTypeOf(thread, GET_ACC()); in RunInternal() local
1698 JSTaggedValue res = SlowRuntimeStub::GetPropIterator(thread, GET_ACC()); in RunInternal() local
1709 JSTaggedValue res = SlowRuntimeStub::CloseIterator(thread, iter); in RunInternal() local
[all …]
/arkcompiler/runtime_core/static_core/compiler/tests/
Daot_test.cpp86 …auto res = os::exec::Exec(GetAotdumpFile(), "--show-code=disasm", "--output-file", tmpfile.GetFile… in RunAotdump() local
119 auto res = parser.Parse(source); in TEST_F() local
127 …auto res = os::exec::Exec(GetPaocFile(), "--paoc-panda-files", pandaFname.GetFileName(), "--paoc-o… in TEST_F() local
155 auto res = parser.Parse(source); in TEST_F() local
162 …auto res = os::exec::Exec(GetPaocFile(), "--paoc-panda-files", pandaFname.GetFileName(), "--paoc-o… in TEST_F() local
171 …auto res = aotManager.AddFile(aotFname.GetFileName(), nullptr, static_cast<uint32_t>(mem::GCType::… in TEST_F() local
298 … auto res = aotManager.AddFile(tmpfilePn, nullptr, static_cast<uint32_t>(mem::GCType::STW_GC)); in TEST_F() local
319 auto res = FileManager::LoadAnFile(tmpfilePn); in TEST_F() local
368 auto res = parser.Parse(source); in PaocSpecifyMethodsEmit() local
390 auto res = in TEST_F() local
[all …]
Dclass_hash_table_test.cpp106 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/runtime_core/compiler/tests/
Daot_test.cpp70 …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 …]
Dclass_hash_table_test.cpp106 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/ets_runtime/test/moduletest/container/
Dutility.js15 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/static_core/libpandabase/tests/
Dlogger_test.cpp60 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 …]
Dutf_test.cpp43 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/static_core/runtime/tests/
Dmath_helpers_test.cpp36 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 …]
Dc2i_bridge_test.cpp97 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/taihe/test/ani_bundlemanager/author/src/
DabilityInfo.impl.cpp106 array<string> res = {"abilityInfoImpl::getPermissions"}; in GetPermissions() local
117 string res = "abilityInfoImpl::getWritePermission"; in GetWritePermission() local
128 array<string> res = {"abilityInfoImpl::getDeviceTypes"}; in GetDeviceTypes() local
135 array<metadata::Metadata> res = {data}; in GetMetadata() local
146 array<::ohos::bundle::bundleManager::SupportWindowMode> res = { in GetSupportWindowModes() local
160 array<::skill::Skill> res = {data}; in GetSkills() local
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/object_ops/
Dobject_call_method_by_name_boolean_test.cpp51 ani_boolean res = ANI_FALSE; in TEST_F() local
61 ani_boolean res = ANI_FALSE; in TEST_F() local
71 ani_boolean res = ANI_FALSE; in TEST_F() local
83 ani_boolean res = ANI_FALSE; in TEST_F() local
95 ani_boolean res = ANI_FALSE; in TEST_F() local
113 ani_boolean res = ANI_FALSE; in TEST_F() local
123 ani_boolean res = ANI_FALSE; in TEST_F() local
141 ani_boolean res = ANI_FALSE; in TEST_F() local
166 ani_boolean res = ANI_FALSE; in TEST_F() local
189 ani_boolean res = ANI_FALSE; in TEST_F() local
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/inspect_api/values/
Dvalues_test.cpp43 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/libabckit/tests/ut/metadata_core/modify_api/values/
Dvalues_test.cpp42 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/taihe/test/ani_optional/author/src/
Doptional.impl.cpp159 auto res = testiface->GetName(); in PrintTestInterfaceName() local
165 auto res = testiface->Geti8(); in PrintTestInterfaceNumberi8() local
171 auto res = testiface->Geti16(); in PrintTestInterfaceNumberi16() local
177 auto res = testiface->Geti16(); in PrintTestInterfaceNumberi32() local
183 auto res = testiface->Geti64(); in PrintTestInterfaceNumberi64() local
189 auto res = testiface->Getf32(); in PrintTestInterfaceNumberf32() local
195 auto res = testiface->Getf64(); in PrintTestInterfaceNumberf64() local
201 auto res = testiface->Getbool(); in PrintTestInterfacebool() local
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_buffer_test.cpp156 JSTaggedValue res = ContainersBuffer::ReadInt32BE(callInfo); in HWTEST_F_L0() local
183 JSTaggedValue res = ContainersBuffer::ReadInt32BE(callInfo); in HWTEST_F_L0() local
210 JSTaggedValue res = ContainersBuffer::ReadInt16BE(callInfo); in HWTEST_F_L0() local
237 JSTaggedValue res = ContainersBuffer::ReadInt16BE(callInfo); in HWTEST_F_L0() local
264 JSTaggedValue res = ContainersBuffer::ReadInt32LE(callInfo); in HWTEST_F_L0() local
275 JSTaggedValue res = ContainersBuffer::ReadInt32BE(callInfo); in HWTEST_F_L0() local
302 JSTaggedValue res = ContainersBuffer::ReadInt32LE(callInfo); in HWTEST_F_L0() local
313 JSTaggedValue res = ContainersBuffer::ReadInt32BE(callInfo); in HWTEST_F_L0() local
342 JSTaggedValue res = ContainersBuffer::ReadIntLE(callInfo); in HWTEST_F_L0() local
354 JSTaggedValue res = ContainersBuffer::ReadIntBE(callInfo); in HWTEST_F_L0() local
[all …]
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Derror.cpp35 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/
Derror.cpp37 std::string res; in ToString() local
42 std::string res = strerror_r(err, buf.data(), buf.size()); in ToString() local

12345678910>>...36