/foundation/arkui/ace_engine/build/tools/ |
H A D | build_js.py | 33 interface_target_path = os.path.join(target_out_path, "interface") 38 third_party_target_path = os.path.join(target_out_path, "third_party") 43 parse5_target_path = os.path.join(third_party_target_path, "parse5") 46 weex_loader_target_path = os.path.join(third_party_target_path, "weex-loader") 49 js2bundle_target_path = os.path.join(target_out_path, "developtools") 53 js2bundle_target_path = os.path.join(js2bundle_target_path, "ace_js2bundle") 55 js2bundle_target_path = os.path.join(js2bundle_target_path, "ace-loader") 58 js2bundle_node_modules_target_path = os.path.join(js2bundle_target_path, "node_modules") 62 target_i18n_path = os.path.join(js2bundle_target_path, "sample", "rich", "i18n") 65 source_i18n_path = os.path.join(project_pat [all...] |
/foundation/ability/idl_tool/test/hdi_unittest/hdi_dump_ast_test/ |
H A D | hdi_compile_opt_test_03.py | 29 package_path = os.path.join(work_dir, "foo") 30 idl_dir = os.path.join(package_path, "v1_0") 32 output_path = os.path.join(self.working_dir, "dump_ast_out") 35 self.set_output_path(os.path.join(output_path, "dump.txt")) 37 self.set_target_dir(os.path.join(self.working_dir, "dump_ast_target"))
|
H A D | hdi_compile_opt_test_02.py | 29 package_path = os.path.join(work_dir, "foo") 30 idl_dir = os.path.join(package_path, "v1_0") 32 output_path = os.path.join(self.working_dir, "dump_ast_out") 35 self.set_output_path(os.path.join(output_path, "dump.txt")) 37 self.set_target_dir(os.path.join(self.working_dir, "dump_ast_target"))
|
H A D | hdi_compile_opt_test_01.py | 29 package_path = os.path.join(work_dir, "foo") 30 idl_dir = os.path.join(package_path, "v1_0") 32 output_path = os.path.join(self.working_dir, "dump_ast_out") 35 self.set_output_path(os.path.join(output_path, "dump.txt")) 37 self.set_target_dir(os.path.join(self.working_dir, "dump_ast_target"))
|
/foundation/ability/idl_tool/test/hdi_unittest/hdi_hash_test/ |
H A D | hdi_compile_opt_test_03.py | 29 package_path = os.path.join(work_dir, "foo") 30 idl_dir = os.path.join(package_path, "v1_0") 32 output_path = os.path.join(self.working_dir, "hash_out") 35 self.set_output_path(os.path.join(output_path, "hash.txt")) 37 self.set_target_dir(os.path.join(self.working_dir, "hash_target"))
|
H A D | hdi_compile_opt_test_02.py | 29 package_path = os.path.join(work_dir, "foo") 30 idl_dir = os.path.join(package_path, "v1_0") 32 output_path = os.path.join(self.working_dir, "hash_out") 35 self.set_output_path(os.path.join(output_path, "hash.txt")) 37 self.set_target_dir(os.path.join(self.working_dir, "hash_target"))
|
H A D | hdi_compile_opt_test_01.py | 29 package_path = os.path.join(work_dir, "foo") 30 idl_dir = os.path.join(package_path, "v1_0") 32 output_path = os.path.join(self.working_dir, "hash_out") 35 self.set_output_path(os.path.join(output_path, "hash.txt")) 37 self.set_target_dir(os.path.join(self.working_dir, "hash_target"))
|
H A D | hash_bad_04.py | 24 file_path = os.path.join(work_dir, "foo", "v1_0", "IFoo.idl") 28 fail_output = os.path.join(self.target_dir, "fail_output.txt") 34 package_path = os.path.join(work_dir, "foo") 35 idl_dir = os.path.join(package_path, "v1_0")
|
/foundation/arkui/ace_engine/frameworks/core/components/theme/tools/ |
H A D | build_theme_code.py | 133 row = ''.join((row, values['base'])) 137 row = ''.join((row, ' + ')) 138 row = ''.join((row, str(values['offset']))) 139 row = ''.join((row, ';\n')) 140 new_content = ''.join((new_content, row)) 152 ret = ''.join((ret, char[i])) 154 ret = ''.join((ret, char[i].capitalize())) 168 content = ''.join((content, '{')) 173 content = ''.join((content, ' nullptr,')) 175 content = ''.join((conten [all...] |
/foundation/ability/idl_tool/test/hdi_unittest/hdi_gen_test/ |
H A D | big_d_2000_file_test.py | 64 idl_dir = os.path.join(self.get_working_dir(), "foo", "v1_0") 68 foo_file_dst_name = os.path.join(idl_dir, f"IFoo_{loop}.idl") 69 type_file_dst_name = os.path.join(idl_dir, f"Types_{loop}.idl") 78 idl_dir = os.path.join(self.get_working_dir(), "foo", "v1_0") 80 foo_file_dst_name = os.path.join(idl_dir, f"IFoo_{loop}.idl") 81 type_file_dst_name = os.path.join(idl_dir, f"Types_{loop}.idl") 88 idl_dir = os.path.join(work_dir, "foo", "v1_0")
|
H A D | hdi_compile_opt_test_03.py | 29 package_path = os.path.join(work_dir, "foo") 30 idl_dir = os.path.join(package_path, "v1_0")
|
H A D | hdi_compile_opt_test_02.py | 29 package_path = os.path.join(work_dir, "foo") 30 idl_dir = os.path.join(package_path, "v1_0")
|
H A D | hdi_compile_opt_test_01.py | 29 package_path = os.path.join(work_dir, "foo") 30 idl_dir = os.path.join(package_path, "v1_0")
|
/foundation/ability/idl_tool/test/hdi_unittest/base/ |
H A D | test_base.py | 33 self.idl_dir = os.path.join(self.working_dir, "foo") 34 self.output_dir = os.path.join(self.working_dir, "out") 35 self.target_dir = os.path.join(self.working_dir, "target") 62 return os.path.realpath(os.path.join(current_path, 75 self.output_dir = os.path.join(self.working_dir, output_dir) 78 self.target_dir = os.path.join(self.working_dir, target_dir) 118 output_path = os.path.join(self.working_dir, "hash_out") 121 self.set_output_path(os.path.join(output_path, "hash.txt")) 123 self.set_target_dir(os.path.join(self.working_dir, "hash_target")) 133 output_path = os.path.join(sel [all...] |
/foundation/resourceschedule/ffrt/benchmarks/ |
H A D | plot.py | 33 avg_base = base['_'.join([label, 'base', thread])].mean() 36 data_base = [float(base['_'.join([label, 'base', thread])][i]) 38 ax.plot(stall, data_base, 's-', label='_'.join([label, 'base'])) 41 ax.set_title(''.join([title, '[R:', ratio, ']'])) 49 base = pandas.read_csv(os.path.join(path, 'base.csv')) 50 t1 = pandas.read_csv(os.path.join(path, 'perf_thread1.csv')) 51 t8 = pandas.read_csv(os.path.join(path, 'perf_thread8.csv')) 103 fig.savefig(os.path.join(path, out))
|
/foundation/ability/idl_tool/test/sa_test/ |
H A D | test_base.py | 33 self.idl_file = os.path.join(self.working_dir, "foo", "IFoo.idl") 34 self.output_dir = os.path.join(self.working_dir, "out") 35 self.target_dir = os.path.join(self.working_dir, "target") 47 return os.path.join(current_path, os.path.splitext(os.path.basename(self._file_name))[0]) 56 self.output_dir = os.path.join(self.working_dir, output_dir) 59 self.target_dir = os.path.join(self.working_dir, target_dir) 62 self.idl_file = os.path.join(self.working_dir, "foo", idl_file) 120 if file_exists(os.path.join(self.target_dir, "output.txt")): 121 with open(os.path.join(self.target_dir, "output.txt"), 'r') as target_output: 173 with open(os.path.join(sel [all...] |
H A D | cmd_save_metadata.py | 29 metadata_path = os.path.join(self.working_dir, "metadata.file") 35 metadata_path = os.path.join(self.working_dir, "metadata.file")
|
/foundation/graphic/graphic_2d/utils/build/ |
H A D | copy_arkui_adapters.py | 45 if not os.path.isdir(os.path.join(source_dir, item)): 48 file_path = os.path.join(source_dir, item, "build", "platform.gni") 52 dest_dir_build_folder = os.path.join(dest_dir, item, "build") 54 shutil.copytree(os.path.join(source_dir, item, "build"), dest_dir_build_folder, dirs_exist_ok=True)
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ |
H A D | plugin_config.py | 46 outfile.write("".join(static_declare)) 49 outfile.write("".join(static_register)) 51 outfile.write("".join(static_unregister))
|
/foundation/arkui/ace_engine/test/component_test/tools/previewer_host/main/ |
H A D | gitee_rest_api.js | 91 const outputPath = path.join(outputDir, fileName); 94 fs.mkdirSync(path.join(outputDir, fileName), { recursive: true }); 135 path.join(downloadPath, "ohos-sdk.zip")).then((res, rej) => { 156 let etsPath = path.join(sdkPath, "ets\\api"); 176 await extractLargeZip(path.join(downloadPath, "ohos-sdk.zip"), downloadPath); 179 ohosSdkPath = path.join(downloadPath, 'windows'); 181 ohosSdkPath = path.join(downloadPath, 'linux'); 195 let etsFile = path.join(etsPath, "@ohos.arkui.componentTest.d.ts");
|
/foundation/resourceschedule/ffrt/benchmarks/serial_sched_time/ |
H A D | plot.py | 35 plt.title(''.join( 52 marker='s', linestyle='-.', label=''.join(['base avg:', str(round(base_avg, 2))])) 57 color='r', marker='o', linestyle='-', label=''.join(['current avg:', str(round(current_avg, 2))])) 64 plt.title(''.join(['ffrt serial sched time vs base [Ratio:', str(
|
/foundation/arkui/ace_engine_lite/frameworks/tools/snapshot/ |
H A D | framework2char.py | 21 HMF_ACE_BASE_PATH = os.path.join("..", "..") 22 FRAMEWORK_SNAPSHOT_FILE_PATH = os.path.join( 25 SNAPSHOT_OUTPUT_C_FILE_PATH = os.path.join( 28 FRAMEWORK_JS_FILE_PATH = os.path.join( 31 JS_OUTPUT_C_FILE_PATH = os.path.join(
|
/foundation/ability/idl_tool/scripts/ |
H A D | idl.py | 37 print(" ".join(cmd) + " | execution_path: " + execution_path) 60 file_path = os.path.join(input_arguments.dst_path, file_name) 72 cmd = [os.path.join("./", name, "idl"),
|
/foundation/resourceschedule/ffrt/benchmarks/speedup/ |
H A D | plot.py | 41 color='r', marker='o', linestyle='-', label=''.join(['speedup=1@duration=', str(min_duration)])) 64 marker='s', linestyle='-.', label=''.join(['base speedup=1@duration=', str(base_min_duration)])) 70 color='r', marker='o', linestyle='-', label=''.join(['curren speedup=1@duration=', str(current_min_duration)]))
|
/foundation/arkui/ace_engine/build/ |
H A D | search.py | 34 if not os.path.isdir(os.path.join(base_dir, item)): 37 file_path = os.path.join(base_dir, item, "build", "platform.gni")
|