/arkcompiler/ets_runtime/ecmascript/require/ |
H A D | js_cjs_module.cpp | 27 JSHandle<JSTaggedValue> &filename, JSHandle<JSTaggedValue> &dirname) in InitializeModule() 33 dirname.GetTaggedValue()); in InitializeModule() 38 module->SetPath(thread, dirname.GetTaggedValue()); in InitializeModule() 100 CString dirname; in Load() local 103 ModulePathHelper::ResolveCurrentPath(parent, dirname, jsPandaFile); in Load() 104 recordName = ResolveFilenameFromNative(thread, dirname, requestStr); in Load() 125 dirname = PathHelper::ResolveDirPath(recordName); in Load() 126 JSHandle<JSTaggedValue> dirnameHdl = JSHandle<JSTaggedValue>::Cast(factory->NewFromUtf8(dirname)); in Load() 26 InitializeModule(JSThread *thread, JSHandle<CjsModule> &module, JSHandle<JSTaggedValue> &filename, JSHandle<JSTaggedValue> &dirname) InitializeModule() argument
|
H A D | js_require_manager.h | 37 JSHandle<JSTaggedValue> &dirname) : moduleHdl(module), requireHdl(require), exportsHdl(exports), in CJSInfo() 38 filenameHdl(filename), dirnameHdl(dirname) {} in CJSInfo()
|
H A D | js_require_manager.cpp | 29 JSHandle<JSTaggedValue> dirname = cjsInfo.dirnameHdl; in InitializeCommonJS() local 36 CjsModule::InitializeModule(thread, module, filename, dirname); in InitializeCommonJS()
|
/arkcompiler/ets_frontend/test/scripts/utils/commit_message/ |
H A D | get_commit_message.py | 35 config_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../config.yaml') 82 data_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'data.txt') 118 data_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'data.txt') 149 commit_log_html_path = os.path.join(os.path.dirname(os.path.abspath(__file__)),
|
H A D | result.py | 137 data_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'data.txt') 153 commit_log_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'commit_log.html')
|
/arkcompiler/ets_runtime/test/aotjsperftest/ |
H A D | run_js_perf_test.sh | 21 CUR_PATH=$(dirname "$(readlink -f "$0")") 62 cur_path=$(dirname "$(readlink -f "$0")")
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/ |
H A D | test_shell.py | 26 here = os.path.realpath(os.path.dirname(__file__)) 49 this_dir = os.path.dirname(__file__)
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/ |
H A D | plugins_registry.py | 71 starting_path = path.join(path.dirname(__file__), PluginsRegistry.BUILTIN_PLUGINS) 82 builtin_plugins_path = path.join(path.dirname(__file__), PluginsRegistry.BUILTIN_PLUGINS) 94 path.dirname(__file__),
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_cjs_module.cpp | 60 CString dirname; in ResolveFilename() local 62 ModulePathHelper::ResolveCurrentPath(parent, dirname, jsPandaFile); in ResolveFilename() 70 CString filename = ResolveFilenameFromNative(thread, dirname, requestNameStr); in ResolveFilename()
|
/arkcompiler/ets_frontend/arkguard/scripts/ |
H A D | combination_test.py | 26 combination_config_path = os.path.join(os.path.dirname(__file__), 'combination_config.json') 27 config_temp_dir = os.path.join(os.path.dirname(__file__), '../test/local/temp_configs') 89 input_abs_dir = os.path.normpath(os.path.join(os.path.dirname(__file__), input_dir)) 129 output_abs_dir = os.path.join(os.path.dirname(combination_config_path), output_dir) 208 local_root_dir = os.path.join(os.path.dirname(__file__), "../test/local/combinations")
|
/arkcompiler/ets_runtime/ecmascript/platform/unix/ |
H A D | file.cpp | 145 CString ResolveFilenameFromNative(JSThread *thread, const CString &dirname, in ResolveFilenameFromNative() argument 156 int pos = static_cast<int>(dirname.find_last_of('/')); in ResolveFilenameFromNative() 157 relativePath = dirname.substr(0, pos + 1) + request.substr(0, suffixEnd) + ".abc"; in ResolveFilenameFromNative()
|
/arkcompiler/ets_runtime/ecmascript/platform/windows/ |
H A D | file.cpp | 151 CString ResolveFilenameFromNative(JSThread *thread, const CString &dirname, in ResolveFilenameFromNative() argument 159 int pos = static_cast<int>(dirname.find_last_of('\\')); in ResolveFilenameFromNative() 160 relativePath = dirname.substr(0, pos + 1) + request.substr(0, suffixEnd) + ".abc"; in ResolveFilenameFromNative()
|
/arkcompiler/runtime_core/isa/ |
H A D | check_version.py | 22 script_dir = os.path.dirname(os.path.realpath(__file__))
|
/arkcompiler/ets_runtime/test/quickfix/ |
H A D | generate_js_and_merge_file.py | 206 os.path.dirname(file_path) 213 list_dir_path = os.path.dirname(file_name) 230 output_file_dir = os.path.dirname(output_file)
|
/arkcompiler/ets_frontend/ets2panda/public/headers_parser/ |
H A D | main.py | 59 if not os.path.exists(os.path.dirname(dest_path)): 60 os.makedirs(os.path.dirname(dest_path))
|
/arkcompiler/toolchain/build/prebuilts_download/ |
H A D | util.py | 60 file_dir = os.path.dirname(os.path.abspath(output_file)) 92 file_dir = os.path.dirname(os.path.abspath(output_file))
|
/arkcompiler/ets_frontend/test/scripts/sdk_test/ |
H A D | entry.py | 35 current_dir = os.path.dirname(os.path.abspath(__file__))
|
/arkcompiler/ets_frontend/test/scripts/utils/download_sdk_and_image/ |
H A D | download.py | 49 config_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../config.yaml') 150 free_space = shutil.disk_usage(os.path.dirname(temp_file)).free 218 update_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'update.py') 312 download_url_txt = os.path.join(os.path.dirname(os.path.abspath(__file__)), 346 download_url_txt = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'download_url.txt')
|
/arkcompiler/ets_runtime/test/regresstest/ |
H A D | regress_test_config.py | 28 TEST_TOOL_FILE_DIR = os.path.dirname(__file__)
|
/arkcompiler/ets_frontend/ets2panda/test/tsconfig/ |
H A D | test.sh | 17 SCRIPT_DIR="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
|
/arkcompiler/toolchain/test/autotest/ |
H A D | run.py | 27 sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
|
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/java_test_framework/ |
H A D | run_java.py | 58 self.test_root = os.path.dirname(os.path.abspath(__file__)) 98 case_root = os.path.dirname(file_path)
|
/arkcompiler/runtime_core/verifier/tests/ |
H A D | version_compatibility_test.py | 37 output_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "diff_version_abcs") 119 script_dir = os.path.dirname(os.path.realpath(__file__))
|
/arkcompiler/runtime_core/scripts/ |
H A D | trace_enable.sh | 27 chmod +rx $(dirname $TRACKING_PATH)
|
/arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/ |
H A D | genlib.sh | 17 readonly SCRIPT_DIR="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
|