/build/toolchain/ |
H A D | mini_debug_info.py | 33 subprocess.run(cmd.split(), stdout=output_file) 71 subprocess.run(gen_symbols_cmd.split(), stdout=output_file) 77 columns = line.strip().split() 89 subprocess.run(gen_func_symbols_cmd.split(), stdout=output_file) 95 columns = line.strip().split() 105 subprocess.run(gen_keep_symbols_cmd.split(), stdout=output_file) 116 subprocess.call(cmd.split(), shell=False)
|
H A D | rustc_wrapper.py | 54 rsp_content = [l.rstrip() for l in rspfile.read().split(' ') if l.rstrip()] 62 (key, value) = item.split("=", 1)
|
/build/tools/component_tools/ |
H A D | parse_kconf.py | 85 items[COMPONENT] = arr[2].split("=")[0] 86 features = line.split("=", 1)[1].strip("\"") 90 items[FEATRUES] = features.split(",") 95 items[SUBSYS] = arr[0].split("_", 1)[1] 96 items[COMPONENT] = arr[1].split("=")[0] 97 items[VALUE] = line.split("=", 1)[1] 101 items[PROPERTY] = arr[1].split("=")[0] 103 items[VALUE] = line.split("=", 1)[1].strip("\"") 116 arr = line.split("$$")
|
H A D | component_node.py | 104 deps_raw_list = deps_raw.replace('\n', '').replace(' ', '').replace('"', '').split(',') 106 dep = dep.split('/')[-1] 113 external_deps_raw_list = external_deps_raw.replace('\n', '').replace(' ', '').replace('"', '').split(',') 115 dep = dep.split('/')[-1]
|
/build/tools/component_tools/static_check/gn_check/ |
H A D | check_gn.py | 103 row_info = all_info.split('\n') 105 abs_info = item.split(':') 131 product_name_data = all_info.split('\n') 133 info = line.split(':') 162 product_name_data = all_info.split('\n') 165 info = line.split(':') 212 content = target.split()[0] 215 row_number_info = grep_info.split(':')[0] 258 content = target.split('\n')[0].strip() 261 row_number_info = grep_info.split(' [all...] |
/build/hb/util/ |
H A D | monitor.py | 62 parts = result.split()
68 usr_cpu_str = usr_cpu_str.split(',')[0].rstrip('%')
69 sys_cpu_str = sys_cpu_str.split(',')[0].rstrip('%')
70 idle_cpu_str = idle_cpu_str.split(',')[0].rstrip('%')
92 key = line.split(':')[0]
149 lines = result.stdout.strip().split('\n')[1:]
151 columns = line.split()
|
/build/test/example/ |
H A D | test_build_option.py | 252 if para_value.endswith('make_test') or para_value.split(':')[-1] in test_target_list: 569 cmd = self.CMD.format('--target-cpu', cpu_para).split() 580 cmd = self.CMD.format('--ccache', ccache_para).split() 591 cmd = self.CMD.format('--rename-last-log', rename_last_log_para).split() 615 cmd = self.CMD.format('--build-target', build_target).split() 626 cmd = self.NINJIA_CMD.format(ninja_args).split() 637 cmd = self.CMD.format('--full-compilation', full_compilation).split() 648 cmd = self.CMD.format('--strict-mode', strict_mode).split() 659 cmd = self.CMD.format('--scalable-build', scalable_build).split() 670 cmd = self.CMD.format('--build-example', build_example).split() [all...] |
H A D | performance_test.py | 284 line_list = line.split(":") 323 if ":" in tmp and len(tmp.split(":")) == 2: 324 ccache_res.append(tmp.split(":")) 328 if len(item_.split()) == 6: 329 c_targets_res.append(item_.split()) 353 total_memory = round(float(total_memory_line[0].split()[1]) / (1024 ** 2), 4) if total_memory_line else " " 409 lines = (incomplete_line + output).split("\n") 481 log_info(output.split("[timestamp]")[1]) 482 line_mes = " ".join(output.split("[timestamp]")[1].split()[ [all...] |
/build/scripts/ |
H A D | check_mac_system_and_cpu.py | 22 res = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE, 43 host_cpu = res[2].strip().decode().split("brand_string:")[-1]
|
H A D | ninja_rules_parser.py | 38 _build_info = _line.split(':')[0] 39 build_label = _build_info.split(' ')[1] 81 _tmp = _ninja_rule.split(':')[0] 174 _ninja_target = _ninja_target.split(': ')[0] 181 toolchain_name = toolchain_label.split(':')[1]
|
H A D | sign_sdk.py | 36 dir_name = zipfile.split('-')[0] 45 if file.split('/')[-1] in sign_list or file.endswith('.so') or file.endswith('.dylib') \ 46 or file.split('/')[-2] == 'bin':
|
H A D | summary_ccache_hitrate.py | 60 process = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0].decode("utf-8").split("\n") 65 cache_size = line.split(":")[1].strip() 67 ccache_version = line.split(" ")[2].strip()
|
H A D | asan_backup.py | 26 return toolchain_label.split(':')[1] 39 toolchain_name = val.split(':')[1]
|
/build/hb/util/post_gn/ |
H A D | check_compilation_parameters.py | 27 for flag in line.split(): 37 for flag in line.split(): 53 label_name = line.split()[2] 55 target_out_dir = line.split()[2]
|
/build/ |
H A D | prebuilts_config.py | 36 check_sha256_cmd = ('curl -s -k ' + check_url + '.sha256').split(' ')
40 local_sha256 = local_sha256.split(' ')[0]
51 cmd = ('curl -s -k ' + sha_sums256_path).split(' ')
54 for line in data_sha_sums256.split('\n'):
56 check_sha256 = line.split(' ')[0]
131 subprocess.run(['sha256sum', package_lock_path], capture_output=True, text=True).stdout.strip().split(' ')[0]
170 filename = url.split('/')[-1]
244 part_file_name = url.split('/')[-1].split('linux')[0]
269 extract_compress_files(os.path.join(download_dir, url.split('/')[ [all...] |
/build/config/mac/ |
H A D | sdk_info.py | 32 version = version.split('.') 56 fill_settings['xcode_version'] = format_version(lines[0].split()[-1]) 58 fill_settings['xcode_build'] = lines[-1].split()[-1]
|
/build/hb/resolver/ |
H A D | tool_args_resolver.py | 52 component_name, module_name = arg.split(':') 72 component_name, module_name = arg.split(':') 92 component_name, module_name = arg.split(':')
|
/build/tools/ |
H A D | product_config_version_convert.py | 64 substr = str(key).split(":") 74 if substr[0] == str(key_sub).split(":")[0]: 75 components_list.append({"component": str(key_sub).split(":")[1], "features": features})
|
/build/ohos/ |
H A D | version.py | 25 versions = options.version.split(sep='.')
|
/build/ohos/images/mkimage/ |
H A D | mkimages.py | 31 res = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE, 104 ramdisk_size = mk_configs.split(" ")[1] 132 image_name = device.split("/")[-1]
|
H A D | judge_updater_image.py | 21 res = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE, 37 lib_info = res[2].decode().split()
|
/build/templates/rust/ |
H A D | run_build_script.py | 56 for line in process.stdout.split("\n"): 95 env["CARGO_CFG_TARGET_ARCH"], *_ = env.get("TARGET").split("-") 97 env.update({key: val for key, val in (e.split('=') for e in args.env)})
|
/build/tools/module_dependence/ |
H A D | part_deps.py | 28 _module_label = _info.get('module_label').split('(')[0] 42 _dep_part_name = _alias.split(':')[0] 48 _dep_part_name = _ext_deps.split(':')[0]
|
/build/ohos/ndk/ |
H A D | parse_ndk_targets.py | 27 _build_gn_file = ndk_lib[len('//'):].split(':')[0]
|
/build/lite/ |
H A D | build_ext_components.py | 30 cmd = shlex.split(command) 74 command = args.command.split('&&')
|