Home
last modified time | relevance | path

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

/build/ohos/ndk/
H A Dcopy_notices_file.py28 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 Darchive_ndk.py89 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 Dprebuilts_config.sh74 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 Dprebuilts_config.py50 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 Dprebuilts_download.py65 file_name = os.path.basename(check_url)
70 if file_name in line:
/build/scripts/
H A Dgen_subsystem_ebpf_testcase_config.py38 file_name = os.path.basename(testcase)
39 dest_list.append(os.path.join(testcase_collect_path, file_name))
H A Dcargo2gn.py448 file_name = path.split('/')[-1]
449 out_files.add(file_name)
/build/indep_configs/scripts/
H A Dgenerate_target_build_gn.py63 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 Drefactor_hpm_bundle_json.py61 def _out_bundle_json(bundle_json, file_name):
64 with os.fdopen(os.open(file_name, flags, modes), 'w') as f:
H A Dgenerate_components.py248 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 Dcheck_compilation_parameters.py64 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 Dcheck_gn.py136 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 Dgen_testfwk_info.py27 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 Dcopy_files.py32 file_name = os.path.basename(src_file)
33 output_file = os.path.join(output_dir, file_name)
/build/ohos/packages/rules/
H A Dcategorized_libraries_utils.py46 def load_categorized_libraries(file_name):
47 res = read_json_file(file_name)
/build/ohos/sdk/
H A Dcheck_sdk_completeness.py119 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 Dhcs_build_info.py30 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 Dgenerate_code_from_policy.py152 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 Dgenerate_component_package.py225 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 Dcheck_seccomp_library_name.py30 def parse_cfg_file(file_name: str):
35 with open(file_name) as fp:
H A Dsystem_gzip_package.py41 for file_name in files:
42 src_file_path = os.path.join(root, file_name)
/build/config/components/hdi/
H A Dbuild_hdi_files_info.py36 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 Dpart_rom_statistics.py181 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 Dbuild_utils.py680 return [file_name.strip() for file_name in f]
/build/test/example/
H A Dtest_build_option.py593 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))

Completed in 14 milliseconds