Home
last modified time | relevance | path

Searched refs:exists (Results 1 - 25 of 152) sorted by relevance

1234567

/build/ohos/images/
H A Dbuild_image.py31 if os.path.exists(userdata_path):
38 if os.path.exists(root_dir):
60 if os.path.exists(_path):
63 if not os.path.exists(os.path.join(updater_path, 'init')):
65 if not os.path.exists(os.path.join(updater_path, 'system/bin')):
67 if not os.path.exists(os.path.join(updater_path, 'system/lib')):
70 if not os.path.exists(os.path.join(updater_path, 'system/lib64')):
72 if not os.path.exists(os.path.join(updater_path, 'vendor/lib64')):
75 if not os.path.exists(os.path.join(updater_path, 'vendor/lib')):
77 if not os.path.exists(o
[all...]
H A Dadlt_wrapper.py47 if os.path.exists(so_abspath):
58 if not os.path.exists(args.output_file):
/build/scripts/util/
H A Dfile_utils.py28 if os.path.exists(build_config_file):
35 if not os.path.exists(input_file):
54 if not os.path.exists(input_file):
72 if not os.path.exists(file_dir):
85 if os.path.exists(output_file) and os.path.isfile(output_file):
105 if not os.path.exists(file_dir):
H A Dzip_and_md5.py46 if os.path.exists(signature_file):
52 if os.path.exists(signature_file):
73 if os.path.exists(args.output_zipfile):
76 if not os.path.exists(args.output_zipfile):
/build/lite/
H A Dgen_module_notice_file.py29 return os.path.exists(os.path.join(src_path, '.gn'))
45 if not os.path.exists(readme_file_path) or os.path.isdir(readme_file_path):
63 if not os.path.exists(license_file_path):
68 if not os.path.exists(copyright_file_path):
78 if os.path.exists(expect_file):
111 while os.path.exists(os.path.join(nf_dest_dir,
122 if not os.path.exists(dir_name):
158 if os.path.exists(nf_src) and os.path.exists(cp_src):
/build/lite/testfwk/
H A Dlite_testcase_resource_copy.py29 if not os.path.exists(src):
31 if not os.path.exists(dest):
44 if not os.path.exists(dest_dir):
64 if not os.path.exists(_resource_file):
70 if os.path.exists(_resource_src_new):
143 if not os.path.exists(resource_config_file):
171 if not os.path.exists(src_file):
180 if not os.path.exists(dest_dir):
198 if not os.path.exists(resource_config_file):
/build/scripts/
H A Ddownload_sdk.py35 if os.path.exists(build_scripts):
73 if not os.path.exists(target_dir):
78 if os.path.exists(os.path.join(target_dir, "daily_build.log")):
80 if os.path.exists(os.path.join(target_dir, "manifest_tag.xml")):
89 if os.path.exists(sdk_unzip_dir):
115 if not os.path.exists(default_save_path):
147 if os.path.exists(os.path.join(default_save_path, product_name)):
148 print('{} already exists. Please backup or delete it first! Download canceled!'.format(
152 if product['obsPath'] and os.path.exists(default_save_path):
162 if os.path.exists(o
[all...]
H A Dasan_backup.py45 if os.path.exists(_dir):
59 if not os.path.exists(args.backup_dir):
62 if os.path.exists(args.backup_dest_dir):
73 if os.path.exists(_dir):
H A Dmerge_notice.py23 if not os.path.exists(ohos_notice):
28 if not os.path.exists(a_notice):
45 if os.path.exists(ohos_notice):
H A Dninja_rules_parser.py26 if not os.path.exists(subninja_build_file):
70 if not os.path.exists(toolchain_ninja_file):
98 if not os.path.exists(variants_toolchain_info_file):
110 if not os.path.exists(build_ninja_file):
142 if not os.path.exists(ninja_build_file):
184 if not os.path.exists(toolchain_ninja_file):
201 if not os.path.exists(os.path.join(source_root_dir, '.gn')):
H A Dcode_release.py32 if not os.path.exists(opensource_config_file):
33 print("Warning, the opensource config file is not exists.")
40 if os.path.exists(dst_dir):
54 if not os.path.exists(opensource_config_file):
55 print("Warning, the opensource config file is not exists.")
110 if os.path.exists(package_dir):
137 if os.path.exists(package_dir):
H A Dcollect_publicity.py38 if not os.path.exists(dest_dir):
41 if os.path.exists(options.output):
H A Dget_warnings.py49 if not os.path.exists(in_name):
50 print("warning: build log file {} is not exists.".format(in_name))
94 if not os.path.exists(os.path.dirname(warn_file)):
96 if os.path.exists(warn_file):
104 if os.path.exists(temp_out_file):
/build/ohos/packages/
H A Dsystem_gzip_package.py29 if not os.path.exists(src_image_path):
38 if not os.path.exists(dest_dir_path):
45 if not os.path.exists(dest_file_path):
46 if not os.path.exists(os.path.dirname(dest_file_path)):
56 if os.path.exists(f):
H A Dmodules_install.py109 if not os.path.exists(source):
122 if not os.path.exists(dest_dir):
145 if not os.path.exists(symlink_dest_file):
154 if not os.path.exists(os.path.dirname(symlink_dest_file)):
156 if not os.path.exists(symlink_dest_file):
161 if os.path.exists(dest_file):
219 if os.path.exists(system_install_base_dir):
226 if os.path.exists(vendor_install_base_dir):
232 if os.path.exists(eng_system_install_base_dir):
238 if os.path.exists(eng_chipset_install_base_di
[all...]
H A Dresources_collect.py52 if not os.path.exists(_variant_dir):
58 if os.path.exists(dest_dir):
78 if not os.path.exists(_variant_dir):
84 if os.path.exists(dest_dir):
108 if not os.path.exists(_variant_dir):
115 if os.path.exists(dest_dir):
139 if not os.path.exists(_variant_dir):
157 if not os.path.exists(part_modules_dir):
H A Dbackup_restore_artifact.py29 if (str_out_basename == "backup" and not os.path.exists(args.output_dir)):
35 if os.path.exists(source):
/build/ohos/
H A Dfile_exists.py24 result = os.path.exists(filename) and os.path.isfile(filename)
26 result = os.path.exists(filename) and os.path.isdir(filename)
/build/tools/module_dependence/
H A Dfile_utils.py21 if not os.path.exists(input_file):
37 if not os.path.exists(file_dir):
/build/ohos/kits/
H A Dkits_check_remove.py34 if not os.path.exists(subsystem_sign_file_dir):
40 if os.path.exists(signature_file):
46 if not os.path.exists(sign_file_root_dir):
/build/ohos/ndk/
H A Dcopy_notices_file.py23 if not os.path.exists(dest_dir):
46 if os.path.exists(notice):
68 if os.path.exists(notice):
/build/rust/tests/test_rlib_cargo_crate/crate/
H A Dbuild.rs55 assert!(Path::new("build.rs").exists()); in main()
56 assert!(Path::new(&env::var_os("CARGO_MANIFEST_DIR").unwrap()).join("build.rs").exists()); in main()
57 assert!(Path::new(&env::var_os("OUT_DIR").unwrap()).exists()); in main()
/build/ohos/testfwk/
H A Dtestcase_resource_copy.py30 if not os.path.exists(src):
32 if not os.path.exists(dest):
46 if not os.path.exists(dest_dir):
68 if not os.path.exists(_resource_file):
74 if os.path.exists(_resource_src_new):
147 if not os.path.exists(resource_config_file):
176 if not os.path.exists(src_file):
186 if not os.path.exists(dest_dir):
235 if not os.path.exists(resource_config_file):
242 if os.path.exists(resource_config_fil
[all...]
/build/
H A Dprebuilts_download.py59 return os.path.exists(mark_file_path)
120 if os.path.exists(local_file):
158 if pathlib.Path(os.path.join(root_dir, 'interface', 'sdk-js')).exists() or pathlib.Path(
159 os.path.join(root_dir, 'foundation', 'arkui')).exists() or pathlib.Path(
160 os.path.join(root_dir, 'arkcompiler')).exists():
181 if not os.path.exists(abs_unzip_dir):
192 if os.path.exists(local_file):
246 if os.path.exists(node_modules_path):
249 if os.path.exists(full_code_path):
270 if not os.path.exists(src_di
[all...]
/build/ohos/sdk/
H A Dparse_public_sdk.py43 if os.path.exists(dest):
50 if os.path.exists:
58 if os.path.exists:
66 if os.path.exists:

Completed in 9 milliseconds

1234567