/build/tools/component_tools/static_check/bundle_check/ |
D | bundle_check_common.py | 24 def is_all_lower(string:str): argument 34 def is_number(string:str) -> bool: argument 43 def split_by_unit(string:str): argument 51 def get_root_path() -> str: 66 def is_project(path:str) -> bool: argument 77 def get_ohos_version(root:str) -> str: argument 98 def match_unix_like_name(name:str): argument 105 def match_bundle_full_name(name:str): argument
|
D | get_subsystem_with_component.py | 28 def get_subsystem_components(ohos_path: str): argument 84 output_path: str, argument 85 output_name: str = "subsystem_component_path.json"): argument 100 parser.add_argument("project", help="project root path.", type=str) 102 help="specify an output path.", type=str) 117 def is_project(path: str) -> bool: argument
|
D | bundle_json_check.py | 31 def check_all_bundle_json(path:str) -> list: argument 77 def get_all_bundle_json(path:str = '.') -> list: argument 97 output_path:str = '.', argument 98 output_name:str = 'all_bundle_error.json'): argument 114 def to_df(path:str = None) -> pd.DataFrame: argument 129 "line" + str(item['line']) + ": " + item['contents'], 137 def to_excel(output_path:str = '.', argument 138 output_name:str = 'all_bundle_error.xlsx'): argument 163 def __init__(self, path:str) -> None: argument 176 def component_name(self) -> str: [all …]
|
D | bundle_check_online.py | 48 line = list(("line" + str(i[0]) + ": " + i[1], ret)) 63 def check_diff_by_line(line:str) -> str: argument
|
/build/hb/util/ |
D | component_util.py | 30 def is_in_component_dir(path: str) -> bool: argument 34 def is_component_in_product(component_name: str, product_name: str) -> bool: argument 44 def get_component_name(path: str) -> str: argument 54 def get_component_module_full_name(out_path: str, component_name: str, module_name: str) -> str: argument 84 def _recurrent_search_bundle_file(path: str): argument
|
D | type_check_util.py | 34 elif isinstance(value, str): 43 elif isinstance(value, str): 54 elif isinstance(entity, str):
|
D | log_util.py | 39 for line in str(msg).splitlines(): 46 for line in str(msg).splitlines(): 53 for line in str(msg).splitlines(): 59 if isinstance(msg, str) and not msg.endswith('\n'): 73 for line in str(msg).splitlines():
|
/build/ohos/images/mkimage/ |
D | mkextimage.py | 84 mke2fs_cmd += ("mke2fs " + str(mke2fs_opts) + " -t " + FS_TYPE + " -b " 85 + str(BLOCKSIZE) + " " + args.device + " " + str(blocks)) 89 print("pid " + str(res[0]) + " ret " + str(res[1]) + "\n" + 116 print("pid " + str(res[0]) + " ret " + str(res[1]) + "\n" + 126 print("error run mke2fs errno: " + str(res)) 130 print("error run e2fsdroid errno: " + str(res))
|
D | mkcpioimage.py | 86 print("error run cpio ramdisk errno: %s" % str(res)) 87 print(" ".join(["pid ", str(res[0]), " ret ", str(res[1]), "\n", 110 (str(res_gzip), str(res_mv_gz))) 125 print("error run chmod errno: %s" % str(res)) 126 print(" ".join(["pid ", str(res[0]), " ret ", str(res[1]), "\n",
|
D | mkf2fsimage.py | 81 print("pid " + str(res[0]) + " ret " + str(res[1]) + "\n" + 115 print("pid " + str(res[0]) + " ret " + str(res[1]) + "\n" + 130 print("error run mkf2fs errno: " + str(res)) 134 print("error run sload.f2fs errno: " + str(res))
|
/build/tools/component_tools/static_check/gn_check/ |
D | gn_common_tools.py | 28 def contains_keywords(key_words: tuple, target: str) -> bool: argument 38 def find_files(project_path: str, argument 62 def grep_one(grep_pattern: str, argument 63 grep_path: str, argument 91 def find_paragraph_iter(pattern: str, content: str) -> typing.Iterator: argument
|
/build/hb/services/interface/ |
D | build_file_generator_interface.py | 33 def regist_flag(self, flag_name: str, flag_value): argument 36 def regist_arg(self, arg_name: str, arg_value: str): argument
|
D | service_interface.py | 32 def exec(self) -> str: 40 def regist_arg(self, arg_name: str, arg_value): argument
|
D | build_executor_interface.py | 30 def regist_arg(self, arg_name: str, arg_value: str): argument
|
D | preload_interface.py | 38 def regist_arg(self, arg_name: str, arg_value: str): argument
|
/build/hb/containers/ |
D | arg.py | 64 def get_type(value: str): argument 96 def get_type(value: str): argument 128 def get_type(value: str): argument 139 def __init__(self, name: str, helps: str, phase: str, argument 141 resolve_function: str): argument 189 arg_name = str(data['arg_name']).replace("-", "_")[2:] 190 arg_help = str(data['arg_help']) 191 arg_phase = BuildPhase.get_type(str(data['arg_phase'])) 214 def get_help(module_type: ModuleType) -> str: 255 if str(assigned_value).lower() == 'false': [all …]
|
/build/tools/ |
D | product_config_version_convert.py | 63 substr = str(key).split(":") 71 fea = str(k) + " = "+str(v).lower() 73 if substr[0] == str(key_sub).split(":")[0]: 74 … components_list.append({"component":str(key_sub).split(":")[1], "features":features})
|
/build/ohos/packages/ |
D | check_seccomp_library_name.py | 85 parser.add_argument('--vendor-cfg-path', type=str, 88 parser.add_argument('--vendor-seccomp-lib-path', type=str, 91 parser.add_argument('--system-cfg-path', type=str, 94 parser.add_argument('--system-seccomp-lib-path', type=str,
|
D | generate_host_symlink.py | 46 subprocess.run(['ln', '-sf', str(source_file), str(symlink_dest_file)]) 47 output_result[symlink_dest_file] = str(source_file)
|
/build/hb/exceptions/ |
D | ohos_exception.py | 30 def get_solution(self) -> str: 35 return status_file[str(self._code)]['solution']
|
/build/scripts/ |
D | summary_ccache_hitrate.py | 68 print("cache hit (direct) : " + str(hit_dir_num)) 69 print("cache hit (preprocessed) : " + str(hit_pre_num)) 70 print("cache miss : " + str(mis_num))
|
D | ninja2trace.py | 84 'ts': str(storingdataline.start * 1000), 85 'dur': str((storingdataline.end - storingdataline.start) * 1000), 86 'pid': str(0), 87 'tid': str(counter.counting_the_new_tid(storingdataline)),
|
/build/tools/component_tools/static_check/ |
D | csct.py | 83 type=str, 97 type=str, 106 type=str, 112 type=str, 124 type=str,
|
/build/tools/component_tools/ |
D | full_components_generator.py | 46 if str(file) == name: 113 parser.add_argument('--subsys', type=str, default="./build/subsystem_config.json", 115 parser.add_argument('--subsys_overlay', type=str, default=subsystem_json_overlay_path, 117 parser.add_argument('--out', type=str, default="./productdefine/common/base/base_product.json",
|
/build/rust/tests/test_bin_cargo_crate/crate/ |
D | build.rs | 18 use std::str::{self, FromStr}; 57 let rustc_version = match str::from_utf8(&output.stdout) { in rustc_minor_version()
|