Searched refs:input_file (Results 1 – 12 of 12) sorted by relevance
/build/scripts/util/ |
D | file_utils.py | 33 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 …]
|
D | zip_and_md5.py | 27 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/ |
D | file_utils.py | 20 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))
|
D | module_deps_tree.py | 25 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/ |
D | io_util.py | 32 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/ |
D | gen_required_modules_list.py | 54 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/ |
D | check_deps.py | 22 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/ |
D | utils.py | 45 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/ |
D | gen_sdk_build_file.py | 78 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,
|
D | bpf.py | 37 for f in options.input_file: 55 input_paths=(options.input_file + [options.clang_path]),
|
/build/ohos/ |
D | generate_part_info.py | 122 gen_output_file(args.part_name, args.origin_part_name, args.input_file,
|
/build/hb/resolver/ |
D | build_args_resolver.py | 141 def get_tdd_repository(input_file): argument 142 if not os.path.isfile(input_file): 146 with open(input_file, 'r') as input_f:
|