/build/ohos/ndk/ |
H A D | copy_notices_file.py | 28 file_name = '' 30 file_name = '{}.txt'.format(target_name) 32 file_name = '{}.txt'.format(opensource_name) 33 return file_name 69 file_name = get_file_name(target_name, opensource_name) 70 dest_file = os.path.join(nf_dest_dir, file_name)
|
H A D | archive_ndk.py | 89 file_name = os.path.basename(file_path) 90 if os.path.exists(os.path.join(os.path.dirname(file_path), file_name.lower())): 91 filter_file_name.append(file_name)
|
/build/ |
H A D | prebuilts_config.sh | 74 file_name=${file##*/} 75 file_prefix=$(echo "$file_name" | awk '{split($1, arr, "."); print arr[1]}') 77 file_suffix=$(echo "$file_name" | awk '{split($1, arr, "."); print arr[2]}') 96 if [[ "$file_name" == "$newfile_name" ]]
|
H A D | prebuilts_config.py | 50 file_name = os.path.basename(check_url)
55 if file_name in line:
246 for file_name in after_extract_file_list:
247 if part_file_name in file_name:
248 script_path = os.path.join(download_dir, version, file_name, "install.sh")
294 file_name = after_extract_file_list[0]
295 symlink_src2dest(os.path.join(download_dir, version, file_name), symlink)
|
H A D | prebuilts_download.py | 65 file_name = os.path.basename(check_url) 70 if file_name in line:
|
/build/scripts/ |
H A D | gen_subsystem_ebpf_testcase_config.py | 38 file_name = os.path.basename(testcase) 39 dest_list.append(os.path.join(testcase_collect_path, file_name))
|
H A D | cargo2gn.py | 448 file_name = path.split('/')[-1] 449 out_files.add(file_name)
|
/build/indep_configs/scripts/ |
H A D | generate_target_build_gn.py | 63 file_name = os.path.join(output_path, 'BUILD.gn') 64 if os.path.exists(file_name): 65 os.remove(file_name) 68 with os.fdopen(os.open(file_name, flags, modes), 'w') as f:
|
H A D | refactor_hpm_bundle_json.py | 61 def _out_bundle_json(bundle_json, file_name): 64 with os.fdopen(os.open(file_name, flags, modes), 'w') as f:
|
H A D | generate_components.py | 248 file_name = os.path.join(output_path, "components.json") 251 with os.fdopen(os.open(file_name, flags, modes), 'w') as f:
|
/build/hb/util/post_gn/ |
H A D | check_compilation_parameters.py | 64 for file_name in files: 65 if file_name.endswith('.ninja'): 66 ninja_file_list.append(os.path.join(root, file_name))
|
/build/tools/component_tools/static_check/gn_check/ |
H A D | check_gn.py | 136 file_name = info[0][len(self.abs_check_path) + 1:] 137 bad_targets_to_excel.append([file_name, 'line:{}:{}'.format( 168 file_name = info[0][len(self.ohos_root) + 1:] 172 if file_name.startswith(path): 177 bad_targets_to_excel.append([subsys_comp[0], subsys_comp[1], file_name, 'line:{}:{}'.format( 180 bad_targets_to_excel.append(['null', 'null', file_name, 'line:{}:{}'.format(
|
/build/lite/testfwk/ |
H A D | gen_testfwk_info.py | 27 def create_testfwk_info_file(component_info_file: str, abs_fold: str, file_name: str): 30 file_path = os.path.join(abs_fold, file_name)
|
/build/ohos/ |
H A D | copy_files.py | 32 file_name = os.path.basename(src_file) 33 output_file = os.path.join(output_dir, file_name)
|
/build/ohos/packages/rules/ |
H A D | categorized_libraries_utils.py | 46 def load_categorized_libraries(file_name): 47 res = read_json_file(file_name)
|
/build/ohos/sdk/ |
H A D | check_sdk_completeness.py | 119 for file_name in os.listdir(sdk_package_directory): 120 if file_name.endswith(".zip") and file_name.find(sdk_version) != -1: 121 compressed_file_dict.setdefault(sdk_package_directory, []).append(file_name)
|
/build/config/components/hc_gen/ |
H A D | hcs_build_info.py | 30 def __init__(self, file_name, token_type, value): 35 self.file_name = file_name 44 return "<{}:{}:{}: {},'{}'>".format(self.file_name, self.row, self.col, 48 return "{}:{}:{}".format(self.file_name, self.row, self.col)
|
/build/config/components/init/seccomp/scripts/ |
H A D | generate_code_from_policy.py | 152 def parse_syscall_file(file_name): 157 with open(file_name) as f: 174 def gen_syscall_nr_table(file_name, func_name_nr_table): 175 s = re.search(r"libsyscall_to_nr_([^/]+)", file_name) 176 func_name_nr_table[str(s.group(1))] = parse_syscall_file(file_name) 1007 for file_name in args.src_files: 1008 file_name_tmp = file_name.split('/')[-1] 1011 function_name_nr_table_dict = gen_syscall_nr_table(file_name, function_name_nr_table_dict) 1025 for file_name in args.blocklist_file: 1026 if file_name [all...] |
/build/templates/common/ |
H A D | generate_component_package.py | 225 def _copy_toolchain_lib(file_name, root, _name, lib_out_dir): 226 if not file_name.startswith('.') and file_name.startswith(_name): 229 file = os.path.join(root, file_name) 235 for file_name in files: 238 _copy_toolchain_lib(file_name, root, _name, lib_out_dir) 504 def _toolchain_gn_modify(gn_path, file_name, toolchain_gn_file): 505 if os.path.isfile(gn_path) and file_name: 509 toolchain_gn = re.sub(pattern, 'libs/' + file_name + '\"', _gn) 517 file_name [all...] |
/build/ohos/packages/ |
H A D | check_seccomp_library_name.py | 30 def parse_cfg_file(file_name: str): 35 with open(file_name) as fp:
|
H A D | system_gzip_package.py | 41 for file_name in files: 42 src_file_path = os.path.join(root, file_name)
|
/build/config/components/hdi/ |
H A D | build_hdi_files_info.py | 36 def __init__(self, file_name, token_type, value): 41 self.file_name = file_name 50 return "<{}:{}:{}: {},'{}'>".format(self.file_name, self.row, self.col, 54 return "{}:{}:{}".format(self.file_name, self.row, self.col) 301 self.file_name = os.path.basename(self.file_path) 302 self.name = self.file_name.split('.')[0] 453 token.info(), interface_name, cur_idl_detail.file_name)) 555 def translate_file_name(file_name): 558 name_len = len(file_name) [all...] |
/build/hb/util/post_build/ |
H A D | part_rom_statistics.py | 181 for file_name in files:
182 if file_name == 'bundle.json':
183 budle_json_files.append(os.path.join(abs_path, file_name))
|
/build/scripts/util/ |
H A D | build_utils.py | 680 return [file_name.strip() for file_name in f]
|
/build/test/example/ |
H A D | test_build_option.py | 593 file_name = "" 597 file_name = '{}/build.{}.log'.format(self.LOG_PATH, mtime) 598 log_info("test_rename_last_log,file name is {}".format(file_name))
|