Home
last modified time | relevance | path

Searched refs:input_file (Results 1 – 12 of 12) sorted by relevance

/build/scripts/util/
Dfile_utils.py33 def read_json_file(input_file): argument
34 if not os.path.exists(input_file):
35 print("file '{}' doesn't exist.".format(input_file))
40 with open(input_file, 'r') as input_f:
43 print("The file '{}' format is incorrect.".format(input_file))
46 print("read file '{}' failed.".format(input_file))
52 def read_file(input_file): argument
53 if not os.path.exists(input_file):
54 print("file '{}' doesn't exist.".format(input_file))
59 with open(input_file, 'r') as file_obj:
[all …]
Dzip_and_md5.py27 def _gen_signature(input_file): argument
28 if not os.path.isfile(input_file):
33 with open(input_file, 'rb') as file_obj:
/build/tools/module_dependence/
Dfile_utils.py20 def read_json_file(input_file: str):
21 if not os.path.exists(input_file):
22 print("file '{}' doesn't exist.".format(input_file))
27 with open(input_file, 'r') as input_f:
30 print("The file '{}' format is incorrect.".format(input_file))
Dmodule_deps_tree.py25 def read_json_file(input_file: str):
26 if not os.path.exists(input_file):
27 print("file '{}' doesn't exist.".format(input_file))
32 with open(input_file, 'r') as input_f:
35 print("The file '{}' format is incorrect.".format(input_file))
/build/hb/util/
Dio_util.py32 def read_json_file(input_file: str) -> dict:
33 if not os.path.isfile(input_file):
36 with open(input_file, 'rb') as input_f:
56 def read_yaml_file(input_file: str):
57 if not os.path.isfile(input_file):
61 with open(input_file, 'rt', encoding='utf-8') as yaml_file:
/build/ohos/packages/
Dgen_required_modules_list.py54 def _read_file_content(input_file: str):
55 if not os.path.exists(input_file):
56 raise Exception("file '{}' does not exist.".format(input_file))
57 data = read_json_file(input_file)
59 raise Exception("read file '{}' failed.".format(input_file))
63 def _read_file_and_get_content(input_file: str, get_arrt_name=None):
64 data = _read_file_content(input_file)
/build/tools/check_deps/
Dcheck_deps.py22 def read_json_file(input_file: str):
23 if not os.path.exists(input_file):
24 print("file '{}' doesn't exist.".format(input_file))
29 with open(input_file, 'r') as input_f:
32 print("The file '{}' format is incorrect.".format(input_file))
/build/lite/
Dutils.py45 def read_json_file(input_file: str):
46 if not os.path.exists(input_file):
47 print('file [{}] no exist.'.format(input_file))
50 with open(input_file, 'rb') as input_f:
/build/scripts/
Dgen_sdk_build_file.py78 def gen_build_file(input_file: str, sdk_out_dir: str, generate_sig: bool,
80 data = read_json_file(input_file)
84 format(input_file))
206 def generate_sdk(input_file: str, sdk_out_dir: str, output_build_file: str, sdk_info_file: str,
209 build_file_content, sdk_info = gen_build_file(input_file, sdk_out_dir,
238 generate_sdk(args.input_file, args.sdk_out_dir, args.output_build_file,
Dbpf.py37 for f in options.input_file:
55 input_paths=(options.input_file + [options.clang_path]),
/build/ohos/
Dgenerate_part_info.py122 gen_output_file(args.part_name, args.origin_part_name, args.input_file,
/build/hb/resolver/
Dbuild_args_resolver.py141 def get_tdd_repository(input_file): argument
142 if not os.path.isfile(input_file):
146 with open(input_file, 'r') as input_f: