Home
last modified time | relevance | path

Searched refs:join (Results 1 - 25 of 144) sorted by relevance

123456

/base/web/webview/
H A Dcopy_files.py24 sys.path.append(os.path.join(PROJECT_DIR, 'build'))
25 sys.path.append(os.path.join(PROJECT_DIR, 'build/hb'))
30 INTERFACE_DIR = os.path.join(WORK_SPACE, 'ohos_interface')
31 INTERFACE_INCLUDE_DIR = os.path.join(INTERFACE_DIR, 'include')
32 INTERFACE_OHOS_GLUE_DIR = os.path.join(INTERFACE_DIR, 'ohos_glue')
45 source_files.append(os.path.join(root, name))
52 src_file = os.path.join(src_dir, item)
53 dst_file = os.path.join(dst_dir, item)
61 nweb_include = os.path.join('ohos_nweb', 'include')
62 include_source_files = copy_files(os.path.join(INTERFACE_INCLUDE_DI
[all...]
/base/security/selinux_adapter/scripts/
H A Dbuild_policy_api.py75 folder_list.append(os.path.join(root, dir_i))
85 path = os.path.join(root, each_file)
122 print("".join([policy_file, " : need an empty line at end\n"]))
128 cmdstr = " ".join(in_cmd)
149 check_policy_cmd = [os.path.join(args.tool_path, "checkpolicy"),
157 return "".join([string, "_", version])
174 cil_write.write(" ".join(elem_list))
186 cil_write.write(" ".join(elem_list))
198 cil_write.write(" ".join(elem_list))
210 cil_write.write(" ".join(elem_lis
[all...]
H A Dbuild_contexts.py48 cmdstr = " ".join(in_cmd)
68 file_list_path = os.path.join(root, each_file)
75 return " ".join(str(x) for x in policy_file_list)
92 print("".join((contexts_file, " : need an empty line at end \n")))
96 print("".join((contexts_file, " : must be unix format\n")))
145 err_msg = "".join(str_seq)
148 err_msg = "".join(str_seq)
150 err_msg = "".join(str_seq)
165 check_cmd = [os.path.join(args.tool_path, "sefcontext_compile"),
230 check_cmd = [os.path.join(arg
[all...]
H A Dbuild_ignore_cfg.py47 path = os.path.join(root_dir, i)
68 err = "".join((ignore_file, " : need an empty line at end "))
74 err = "".join((ignore_file, " : must be unix format"))
77 err = "".join((ignore_file, " : line must not be only / or /*"))
80 err = "".join((ignore_file, " : line must end with / or /*"))
99 file_list_path = os.path.join(root, each_file)
103 err_str = "\n{}".format("\n".join(err_msg))
138 line = "".join([line, "\n"])
152 folder_list.append(os.path.join(root, dir_i))
157 combined_ignore_cfg = os.path.join(output_pat
[all...]
/base/security/selinux_adapter/scripts/selinux_check/
H A Dselinux_check_main.py31 request_args.append(os.path.join(args.output_path, "file_contexts"))
34 request_args.append(os.path.join(args.output_path, "all.cil"))
36 request_args.append(os.path.join(args.output_path, "developer/all.cil"))
41 check_policy_cmd = [os.path.join(args.tool_path, "checkpolicy"),
44 "-o", os.path.join(args.output_path, "all.cil")]
46 check_policy_cmd = [os.path.join(args.tool_path, "checkpolicy"),
49 "-o", os.path.join(args.output_path, "developer/all.cil")]
61 path = os.path.join(args.source_root_dir, i)
87 check_config = read_json_file(os.path.join(input_args.source_root_dir, input_args.selinux_check_config))
90 script = os.path.join(input_arg
[all...]
H A Dcheck_baseline.py152 baseline_file_list = [os.path.join(script_path, "config/glb_def.txt")]
160 output_baseline = os.path.join(output_path, domain + BASELINE_SUFFIX)
173 expect_perm = ''.join(['(', ' '.join(set(baseline_map.get(diff, ''))), ')))'])
174 expect = ' '.join(['expect rule: (allow', domain, ' ('.join(diff), expect_perm])
175 actual_perm = ''.join(['(', ' '.join(set(domain_policy.get(diff, ''))), ')))'])
176 actual = ' '.join(['actual rule: (allow', domain, ' ('.join(dif
[all...]
/base/update/packaging_tools/test/
H A Dcreate_package_data.py95 create_file(os.path.join(package_name_path, "system.img"), get_target_vendor_data())
106 create_file(os.path.join(package_name_path, "vendor.img"), vendor_content)
108 create_file(os.path.join(package_name_path, "updater_binary"), UPDATER_BINARY_DATA)
111 create_file(os.path.join(package_name_path, "uImage"), get_target_vendor_data())
112 create_file(os.path.join(package_name_path, "updater.img"), get_target_vendor_data())
113 create_file(os.path.join(package_name_path, "updater_b.img"), get_target_vendor_data())
114 create_file(os.path.join(package_name_path, "updater_uImage"), get_target_vendor_data())
119 create_file(os.path.join(updater_config_path, "BOARD.list"), BOARD_LIST_DATA)
121 create_file(os.path.join(updater_config_path, "VERSION.mbn"), VERSION_MBN_DATA)
133 create_file(os.path.join(updater_config_pat
[all...]
/base/update/updater/services/script/
H A Dgenerate_yacc.py29 parser_file = os.path.join(yacc_path, "parser.cpp")
30 lexer_file = os.path.join(yacc_path, "lexer.cpp")
31 flexlexer_file = os.path.join(yacc_path, "FlexLexer.h")
/base/update/packaging_tools/
H A Dbuild_module_img.py39 print(" ".join(["pid ", str(res[0]), " ret ", str(res[1]), "\n",
49 run_cmd(" ".join(["img2simg ", device, " ", tmp_device]))
56 size += sum([roundup(os.path.getsize(os.path.join(root, name)), BLOCK_SIZE) for name in files])
65 run_cmd(" ".join(["resize2fs", "-M", device]))
89 run_cmd(" ".join([hvb_tools, "make_hashtree_footer", "--image", device,
106 env_path = ':'.join(args.build_image_tools_path)
129 mk_configs = " ".join([src_dir, device, MOUNT_POINT, str(fs_size), fs_type_config,
131 res = run_cmd(" ".join([mkfs_tools, mk_configs]))
H A Dutils.py47 SO_PATH = os.path.join(operation_path, 'lib/libpackage.so')
48 SO_PATH_L1 = os.path.join(operation_path, 'lib/libpackageL1.so')
49 DIFF_EXE_PATH = os.path.join(operation_path, 'lib/diff')
50 E2FSDROID_PATH = os.path.join(operation_path, 'lib/e2fsdroid')
237 os.mkdir(os.path.join(tmp_dir, name))
239 ext_filename = os.path.join(
251 unzip_dir = os.path.join(tmp_dir, tmp_dir_list[0])
283 mbn_path = os.path.join(mbn_dir, soft_version_file)
341 tem_path = os.path.join(OPTIONS_MANAGER.target_package_dir, component.get("#text", None))
398 os.path.join(OPTIONS_MANAGE
[all...]
H A Dunpack_updater_package.py160 component_name = ''.join([component_name, '.img'])
162 component_name = ''.join([component_name, '.zip'])
164 image_file_path = os.path.join(self.save_path, component_name)
191 filename = ''.join(['unpack_result_', time.strftime("%H%M%S", time.localtime())])
192 self.save_path = os.path.join(OPTIONS_MANAGER.target_package, filename)
/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dtranslator.py82 dir_path = os.path.join(os.path.join(work_dir, dir_name), 'capi')
96 dir_path = os.path.join(os.path.join(work_dir, dir_name), 'cpptoc')
116 dir_path = os.path.join(os.path.join(work_dir, dir_name), 'ctocpp')
140 include_file_dir = os.path.join(os.path.join(root_dir, dir_name), 'include')
H A Dmake_cpptoc_header.py66 absolute_dir = os.path.join(os.path.join(dir_path, dir_name), 'cpptoc')
67 absolute_path = os.path.join(absolute_dir, file_parser.get_capi_name(class_name, False) + '_cpptoc.h')
H A Dmake_file_base.py84 capi_path = os.path.join(dir_name, 'capi', cls.get_capi_file_name())
85 include_path = os.path.join(dir_name, 'include', cls.get_file_name())
95 base_path = os.path.join('base', ident.lower(), 'ark_web_' + base_file)
151 func_digest = prefix + '_' + func.get_capi_name() + ','.join(arg.get_raw_type() for arg in args)
240 result += '\n // COULD NOT IMPLEMENT DUE TO: ' + ', '.join(invalid)
H A Dmake_ctocpp_header.py112 absolute_dir = os.path.join(os.path.join(dir_path, dir_name), 'ctocpp')
113 absolute_path = os.path.join(absolute_dir, file_parser.get_capi_name(class_name, False) + '_ctocpp.h')
H A Dmake_capi_header.py66 ')('+', '.join(parts['args'])+');\n'
207 absolute_dir = os.path.join(os.path.join(dir_path, dir_name), 'capi')
208 absolute_path = os.path.join(absolute_dir, file_name.replace('.', '_capi.'))
/base/startup/init/services/etc/appender/
H A Dfile_appender.py47 value = [':'.join(passwd_gid_value), arr[3]]
56 source_dict[key][1] = ','.join(user_value)
68 value = [':'.join(passwd_gid_value), arr[3]]
70 value = [':'.join(passwd_gid_value), " "]
83 value = [':'.join(passwd_gid_value), arr[3]]
85 value = [':'.join(passwd_gid_value), " "]
106 target_f.write(f"{item}:{':'.join(source_dict[item])}\n")
126 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir,
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/python/ohos/global/i18n/
H A Dgenerate_dat.py42 resource_str = '_'.join(locale_metas.get(resource_id, []))
65 with open(os.path.join(path, locales_file_name), 'r', encoding='utf-8') as locale_file:
71 with open(os.path.join(path, resource_item_file_name), 'r', encoding='utf-8') as resource_file:
78 with open(os.path.join(path, resource_name), 'r', encoding='utf-8') as item_file:
179 resource_str = '_'.join(resource_vals)
198 resource_path = os.path.join(os.path.dirname(current_file_path), "..", "..", "..", "..", "resource")
203 save_path = os.path.join(*save_path)
/base/startup/init/services/etc/passwd_appender/
H A Dpasswd_appender.py48 value = [':'.join(passwd_gid_value), arr[3]]
57 source_dict[key][1] = ','.join(user_value)
69 value = [':'.join(passwd_gid_value), arr[3]]
71 value = [':'.join(passwd_gid_value), " "]
84 value = [':'.join(passwd_gid_value), arr[3]]
86 value = [':'.join(passwd_gid_value), " "]
107 target_f.write(f"{item}:{':'.join(source_dict[item])}\n")
185 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir,
/base/hiviewdfx/hitrace/test/scripts/
H A Dmain.py44 report_dir = os.path.join(os.getcwd(), "reports")
45 report_file = os.path.join(report_dir, f"{report_time}report.html")
/base/hiviewdfx/hidumper/test/scripts/
H A Dmain.py45 report_dir = os.path.join(os.getcwd(), "reports")
46 report_file = os.path.join(report_dir, f"{report_time}report.html")
/base/hiviewdfx/faultloggerd/tools/panic_maker/
H A Dmain.rs56 }).join(); in panic_child()
70 handle.join().unwrap(); in get_trace_in_multi_thread()
/base/startup/init/test/moduletest/
H A Dsyspara_moduleTest.cpp147 std::thread(GetAllParameterTestFunc).join(); in HWTEST_F()
157 std::thread(GetUdidTestFunc, udid, UDID_LEN).join(); in HWTEST_F()
171 std::thread(SetParameterTestFunc, key1, value1).join(); in HWTEST_F()
172 std::thread(SetParameterTestFunc, key2, value2).join(); in HWTEST_F()
173 std::thread(SetParameterTestFunc, key3, value3).join(); in HWTEST_F()
315 std::thread(GetParameterTestReInt, key.c_str(), "", retValue, PARAM_VALUE_LEN_MAX).join(); in HWTEST_F()
318 std::thread(GetParameterTestFuncReStr, key, "").join(); in HWTEST_F()
336 std::thread(ParamSetFun, key1, value1).join(); in HWTEST_F()
340 std::thread(ParamSetFun, key2, "*****").join(); in HWTEST_F()
354 std::thread(TestParameterWatchChange).join(); in HWTEST_F()
[all...]
/base/update/updater/test/benchmarktest/
H A Dupdater_benchmark_test.cpp65 consumer.join(); in TestRingBuffer()
66 producer.join(); in TestRingBuffer()
/base/hiviewdfx/faultloggerd/tools/crasher_cpp/faults/
H A Dmulti_thread_container_access.cpp50 th.join(); in MultiThreadVectorAccess()
72 th.join(); in MultiThreadMapAccess()
95 th.join(); in MultiThreadListAccess()

Completed in 9 milliseconds

123456