/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
H A D | ets_native_library_provider.cpp | 52 std::find_if(libraries_.begin(), libraries_.end(), [&name](auto &lib) { return lib.GetName() == name; }); in LoadLibrary() 63 const EtsNativeLibrary *lib = nullptr; in LoadLibrary() local 72 lib = &*it; in LoadLibrary() 74 ASSERT(lib != nullptr); in LoadLibrary() 76 if (auto onLoadSymbol = lib->FindSymbol("EtsNapiOnLoad")) { in LoadLibrary() 92 for (auto &lib : libraries_) { in ResolveSymbol() 93 if (auto ptr = lib.FindSymbol(name)) { in ResolveSymbol()
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | terminate.cpp | 46 char *lib = strtok_s(libs, ",", &context); in Terminate() local 47 while (lib != nullptr) { in Terminate() 48 if (filepath.find(lib) != std::string::npos) { in Terminate() 51 lib = strtok_s(nullptr, ",", &context); in Terminate()
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | unit.py | 28 LIB_PREFIX = 'lib' 59 self.path.joinpath(lib) for lib in libs] if libs else [] 133 return [lib for lib in self.__libs 134 if (not ext or lib.suffix in ext)] 136 return {lib for lib in self.path.glob(f'{LIB_PREFIX}*') 137 if (not ext or lib.suffix in ext)} 147 return [self.device_path.joinpath(lib [all...] |
H A D | report.py | 378 for lib in ('etsstdlib', f'lib{"core"}'): 379 if lib in r1.report.ext_info and lib in r2.report.ext_info: 380 return r1.report.ext_info[lib], r2.report.ext_info[lib] 385 """Return { optimization: { lib: [runs, ir_mem, loc_mem, time]...}.""" 389 lib = aot_stats[lb] 390 passes[lb] = lib.aot_stats.passes 408 for lib i [all...] |
H A D | lang.py | 34 r'([\'"])?(?P<lib>[./\w]+)([\'"])?\s*(;\s*)?$') 60 def get_import_line(self, lib: str, what: str) -> str: 61 libfile = os.path.split(lib)[1] 102 lib = m.group('lib') 104 return lib, self.get_import_line(lib, what)
|
H A D | result.py | 335 for lib, info in v.items(): 336 ext[lib] = {n: AOTStatsLib.from_obj(**s)
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/hooks/ |
H A D | import_esm_without_extention.py | 34 for lib in {js.with_suffix('') 36 lib.symlink_to(lib.with_suffix('.mjs').resolve())
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | loadable_agent.h | 89 auto lib = MakePandaUnique<AgentType>(uniquenessMutex, std::forward<Args>(args)...); in LoadInstance() local 90 if (!lib->Load()) { in LoadInstance() 95 inst = std::shared_ptr<AgentType>(lib.release(), [](AgentType *ptr) { in LoadInstance()
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/langs/ |
H A D | js.py | 54 def get_import_line(self, lib: str, what: str) -> str: 55 libfile = os.path.split(lib)[1]
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/ |
H A D | es2panda.py | 98 for lib in bu.libs('.ts', '.sts'): 99 abc = lib.with_suffix('.abc') 103 self.run_es2panda(lib, abc, opts, bu) 119 f'LD_LIBRARY_PATH={self.panda_root}/lib '
|
H A D | paoc.py | 40 self.ark_lib = self.ensure_dir(panda_root, 'lib') 45 self.ark_lib = f'{self.dev_dir}/lib' 77 for lib in libs: 78 res = self.run_paoc(lib, 79 lib.with_suffix('.an'),
|
/arkcompiler/ets_runtime/test/jsperftest/ |
H A D | run_js_test.py | 244 run_cmd += " --stub-file " + os.path.join(Constants.DEVICE_WORKDIR, "lib", "stub.an")
803 if hdc_send(arkjsvm_lib, os.path.join(Constants.DEVICE_WORKDIR, "lib")) != 0:
810 for lib in Constants.LIBS_LIST:
811 if not os.path.isdir(lib):
812 logger.error("Couldn't find lib from config %s", lib)
814 if hdc_send(lib, thirdparty_path) != 0:
815 logger.error("Couldn't send %s lib to device", lib)
817 if hdc_send(Constants.STUB_AN, os.path.join(Constants.DEVICE_WORKDIR, "lib")) ! [all...] |
/arkcompiler/ets_runtime/tools/ap_file_viewer/server/ |
H A D | apdump_server.py | 52 dep_path = f"{lib_directory}/lib{dep}.so" 83 lib = load_library_os_compatible(LIB_NAME, libs_directory, dependencies) variable 84 ConvertApToJson = lib.ConvertApToJson 87 GetConvertResult = lib.GetConvertResult
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/gtest_plugin/ |
H A D | gtest_launcher.js | 58 globalThis.gtest.etsVm = require('lib/module/ets_interop_js_napi'); 92 const etsGtest = require(`${gtestDir}/lib/module/${gtestName}`);
|
/arkcompiler/runtime_core/static_core/plugins/ets/doc/ |
H A D | validate-recipes | 484 my $tsc_output = `tsc --strict --target ES2020 --lib es2020,dom $fname`;
|
/arkcompiler/ets_runtime/test/regresstest/ |
H A D | run_regress_test.py | 195 libs = [os.path.abspath(os.path.join(current_dir, str(lib))) for lib in libs]
|