Home
last modified time | relevance | path

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

12

/build/test/example/
H A Dtest_gn_template.py247 result = exec_command_out_put(cmd_path, res_def_name, error_log)
248 assert result, "build test_ohos_shared_library_output_dir failed"
257 result = exec_command_out_put(cmd_path, res_def_name, error_log)
258 assert result, "build test_ohos_shared_library_testonly failed"
267 result = exec_command_communicate(cmd_path, res_path, res_def_name)
268 assert result, "build test_ohos_shared_library failed"
277 result = exec_command_communicate(cmd_path, res_path, res_def_name)
278 assert result, " ohos_shared_library template output_name and output_extension invalid"
287 result = exec_command_communicate(cmd_path, res_path, res_def_name)
288 assert result, " ohos_shared_librar
[all...]
H A Dtest_build_option.py571 result = self.get_match_result(cmd, "target_cpu", cpu_para)
573 assert result == 0, "target cpu para {} failed".format(cpu_para)
582 result = self.get_match_result(cmd, "ccache", ccache_para)
584 assert result == 0, "ccache para {} failed".format(ccache_para)
599 result = self.get_match_result(cmd, "rename_last_log", rename_last_log_para)
604 assert self.is_exist(new_path) and result == 0, "rename_last_log para {} failed".format(
607 assert not self.is_exist(new_path) and result == 0, "rename_last_log para {} failed".format(
617 result = self.get_match_result(cmd, "build_target", build_target)
619 assert result == 0, "build target para {} failed".format(build_target)
628 result
[all...]
/build/config/posix/
H A Dsysroot_ld_path.py17 result = subprocess.check_output([sys.argv[1], sys.argv[2]]).strip() variable
18 result = result.decode().replace(" ", "\n") variable
19 if result != "":
20 print(result)
/build/ohos/
H A Dfile_exists.py22 result = False
24 result = os.path.exists(filename) and os.path.isfile(filename)
26 result = os.path.exists(filename) and os.path.isdir(filename)
27 return result
35 result = is_exists(args.filename, args.type)
36 sys.stdout.write(str(result))
/build/toolchain/
H A Dgcc_solink_wrapper.py54 result, toc = collect_soname(args)
55 if result == 0:
56 result, dynsym = collect_dyn_sym(args)
58 return result, toc
76 result = []
83 result.append(arg)
89 result.extend(implibs)
92 fo.write(" ".join(result))
168 result = wrapper_utils.run_link_with_optional_map_file(
171 if result !
[all...]
H A Dgcc_link_wrapper.py94 result = wrapper_utils.run_link_with_optional_map_file(
96 if result != 0:
97 return result
101 result = subprocess.call(
110 result = subprocess.call(
115 return result
H A Dwrapper_utils.py76 result = subprocess.call(command, env=env)
78 if tmp_map_path and result == 0:
84 return result
H A Drust_strip.py25 result = subprocess.call(
33 result = subprocess.call(
37 return result
H A Drustc_wrapper.py118 result = exec_formatted_command(args)
119 if result != 0:
120 return result
122 result = rust_strip.do_strip(args.strip, args.output, args.unstripped_file, args.mini_debug,
124 return result
/build/tools/component_tools/static_check/
H A Dcsct_online_entry.py26 resutl: check result
33 result = " "
50 result, errcode = ret.communicate(timeout=30)
55 status = False if len(result) != 0 else True
60 return status, result
69 status, result = csct_online(prs)
70 return status, result
/build/tools/component_tools/
H A Dgenerate_kconfig.py63 def write_kconfig(result: str, outdir: str):
66 f.writelines(result)
73 result = 'mainmenu "Subsystem Component Kconfig Configuration"\n'
77 result += create_property("property$${}".format(prop), prop)
81 result += create_menu(subsys_name)
84 result += create_config("{}$${}".format(subsys_name, component_name), component_name)
85 result += create_feature("{}$${}".format(subsys_name, component_name))
86 result += end_menu()
87 write_kconfig(result, outdir)
H A Dparse_kconf.py127 result, subsys_conf = {}, {}
139 result[items.get(PROPERTY)] = items.get(VALUE)
145 result[SUBSYS_LIST] = subsys_conf
146 return result
162 result = kconf
163 result[SUBSYS_LIST] = subsystems_list
165 f.write(json.dumps(result, indent=2))
/build/hb/util/
H A Dtype_check_util.py50 result = []
53 result += TypeCheckUtil.tile_list(entity)
55 result.append(entity)
58 return result
H A Dmonitor.py60 result = subprocess.check_output(grep_command, input=top_output, universal_newlines=True).strip()
61 if result:
62 parts = result.split()
147 result = subprocess.run(['df', '-h'], stdout=subprocess.PIPE, text=True)
148 if result.returncode == 0:
149 lines = result.stdout.strip().split('\n')[1:]
163 LogUtil.write_log(self.log_path, f"Error running df command:{result.stderr}", "info")
/build/tools/component_tools/static_check/gn_check/
H A Dgn_common_tools.py84 result = None
88 result = output
89 return result
103 result = re.finditer(ptrn, content)
104 return result
/build/scripts/
H A Dkernel_permission_handler.py68 result = subprocess.run(command, capture_output=True, text=True) variable
70 if result.returncode == 0:
74 print("Error:", result.stderr)
H A Dget_warnings.py37 result = False
43 result = True
45 return result
100 result = _parse(log_file, temp_out_file, prj_dir)
101 if result:
113 help='result file',
H A Dcode_release.py63 result = False
68 result = True
71 return result
109 result = -1
114 result = 0
117 return result
/build/templates/common/
H A Dexternal_deps_handler.py150 result = {}
151 write_json_file(args.external_deps_temp_file, result)
271 result = {}
272 result['deps'] = deps
274 result['libs'] = libs
276 result['include_dirs'] = include_dirs
278 write_json_file(args.external_deps_temp_file, result)
H A Dinclude_relative_path_check.py68 result = {'line_num': line_num, 'file_path': file.replace(project_path, "/"),
71 results.append(result)
88 result = cls.scan_files(components, project_path)
92 for ele in result:
/build/
H A Dgn_helpers.py58 result = ""
62 result += "%s = %s\n" % (key, to_gn_string(value[key], False))
63 return result
106 re-parsed to get the same result.
148 result = []
156 result.append(unescape_gn_special_char(next_char))
159 result.append(value[i])
162 return ''.join(result)
207 result = self._parse_allow_trailing()
212 return result
[all...]
/build/ohos/packages/
H A Dgen_required_modules_list.py65 result = []
67 result.append(info.get(get_arrt_name))
68 return result
/build/ohos/ndk/
H A Dcheck_ndk_header.py47 result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
48 if result.returncode != 0:
50 fs.write(f'Error: {result.stderr.decode()}')
/build/hb/util/loader/
H A Dplatforms_loader.py210 result = {}
211 result['all_parts'] = all_parts
212 result['all_stubs'] = platform_loader.get_all_stubs()
213 result['variant_toolchain_info'] = toolchain_to_variant_dict
214 return result
/build/ohos/kits/
H A Dkits_check_remove.py81 result = check_remove(args.sign_file_root_dir, args.subsystem_name,
83 if not result:

Completed in 8 milliseconds

12