• Home
  • Raw
  • Download

Lines Matching refs:os

25 import os
126 full_env = dict(os.environ)
143 ark_frontend_binary = os.path.join(ARK_FRONTEND_BINARY_LIST[0])
145 ark_frontend_binary = os.path.join(args.ark_frontend_binary)
147 ts2abc_build_dir = os.path.join(os.path.dirname(
148 os.path.realpath(ark_frontend_binary)), "..")
150 if not os.path.exists(os.path.join(ts2abc_build_dir, "package.json")) and \
151 not os.path.exists(os.path.join(ts2abc_build_dir, "..", "package.json")):
154 if os.path.exists(os.path.join(ts2abc_build_dir, "..", "package.json")) and \
155 not os.path.exists(os.path.join(ts2abc_build_dir, "package.json")):
156 ts2abc_build_dir = os.path.join(ts2abc_build_dir, "..")
158 deps_dir = os.path.join(ts2abc_build_dir, "deps")
161 shutil.copyfile(OHOS_TYPESCRIPT_TGZ_PATH, os.path.join(deps_dir, OHOS_TYPESCRIPT))
194 if os.path.isfile(path):
198 if not os.path.isdir(path):
201 for root, _, file_names in os.walk(path):
206 yield os.path.join(root, file_name)
214 fpath, fname = os.path.split(file[idx:])
226 if not os.path.isdir(os.path.join(DATA_DIR, '.git')):
230 if not os.path.isdir(os.path.join(ESHOST_DIR, '.git')):
237 if not os.path.isdir(os.path.join(HARNESS_DIR, '.git')):
249 remove_file(os.path.join(ESHOST_DIR, "lib/agents/panda.js"))
250 remove_file(os.path.join(ESHOST_DIR, "runtimes/panda.js"))
288 self.out_dir = os.path.join(BASE_OUT_DIR, "test_es51")
290 self.out_dir = os.path.join(BASE_OUT_DIR, "test_es2015")
292 self.out_dir = os.path.join(BASE_OUT_DIR, "test_intl")
294 self.out_dir = os.path.join(BASE_OUT_DIR, "test_es2021")
296 self.out_dir = os.path.join(BASE_OUT_DIR, "test_es2022")
298 self.out_dir = os.path.join(BASE_OUT_DIR, "test_es2023")
300 self.out_dir = os.path.join(BASE_OUT_DIR, "test_CI")
302 self.out_dir = os.path.join(BASE_OUT_DIR, "test")
323 self.args.dir = os.path.join(DATA_DIR, "test")
326 dstdir = os.path.join(DATA_DIR, "test")
333 srcdir = os.path.join(DATA_DIR, "test", file)
335 dstdir = os.path.join(TEST_ES5_DIR, file)
337 dstdir = os.path.join(TEST_ES2015_DIR, file)
339 dstdir = os.path.join(TEST_INTL_DIR, file)
341 dstdir = os.path.join(TEST_ES2021_DIR, file)
343 dstdir = os.path.join(TEST_ES2022_DIR, file)
345 dstdir = os.path.join(TEST_ES2023_DIR, file)
347 dstdir = os.path.join(TEST_CI_DIR, file)
349 if os.path.isfile(srcdir):
355 origin_dir = os.path.join(DATA_DIR, "test/")
448 path = os.path.split(file)[0]
449 path = os.path.join(test_dir, path)
527 execute_args = os.path.join(args.dir, "**", "*.js")
536 host_type = os.path.split(args.engine.strip())[1]
575 ark_tool = os.path.join(ark_js_runtime_dir, "ark_js_vm")
577 ark_aot_tool = os.path.join(ark_js_runtime_dir, "ark_aot_compiler")
578 merge_abc_binary = os.path.join(ark_dir, "merge_abc")