/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_liteos_scann.py | 81 model_list.append(i.strip()) 166 temp_re_list[-1].strip().strip("\"") 170 temp_split_list[-1].strip().strip("\"") 210 if line.strip().endswith("="): 211 temp_str = line.strip() + \ 216 temp_str = line.strip() 225 temp_re_list[-1].strip().strip("\"") 272 temp_list.append(temp_re_str.strip().strip("\"")) 286 elif line.strip() == "}": 360 elif line.strip() == "]": [all …]
|
H A D | hdf_linux_scann.py | 67 self.re_temp3_enable, lines.strip()) 68 model_path = lines.split("+=")[-1].strip() 175 if j.strip().strip("\\").strip().split(".")[-1] == "o": 176 temp_list2.append(j.strip().strip("\\").strip()) 298 replace_field).strip() 302 info = info.split("=")[-1].strip() 329 line = line.strip().split("=")[-1].strip() 350 [self.root, line.strip( 365 re_split_list[-1].strip()]) 369 re_split_list[-1].strip()]) [all …]
|
H A D | hdf_model_enable_operation.py | 33 self.liteos_model_name = list(map(lambda x: x.strip(",").strip('"'), 65 elif line.strip() == "{" and start_index > 0: 67 elif line.strip() == "}" and start_index > 0: 74 model_name = re.compile(self.re_temp2).match(i.strip()) 111 if old_demo_config == line.strip(): 229 if old_demo_config.encode('utf-8') == line.strip():
|
H A D | hdf_device_info_hcs.py | 73 if hcs_config[child_index].strip().find("{") != -1: 75 elif hcs_config[child_index].strip() == "}": 149 if old_line.strip().startswith(self.module) and start_state == False: 175 elif line.strip().find(module_branch_start) != -1: 190 if hcs_config[child_index].strip().find("{") != -1: 192 elif hcs_config[child_index].strip() == "}":
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/ |
H A D | gn_file_add_config.py | 32 elif line.strip().startswith(frameworks_model_name): 33 frameworks_model_value = line.split("=")[-1].strip() 105 str_split_list = i.strip().split(" = ") 107 temp_name = str_split_list[0].split(" ")[0].strip("=") 117 parent_path_temp = source_path.split(devices)[0].strip( 118 root).replace("\\", "/").strip("/") 121 parent_path_temp = head_path.split(devices)[0].strip( 122 root).replace("\\", "/").strip("/") 152 relatively_path)[-1].strip('/') 156 relatively_path)[-1].split('/')[:-1]).strip('/') [all …]
|
H A D | mk_file_add_config.py | 30 elif line.strip().startswith(file_end_flag): 32 elif line.strip().startswith(model_dir_name): 33 model_dir_value = line.split("=")[-1].strip() 101 include_model_info = model_dir_value.split("model")[-1].strip('"') + "/" 112 strip(os.path.sep).split(os.path.sep)))), 115 strip(os.path.sep).split(os.path.sep)))[:-1])} 121 split(os.path.sep)))[:-1]).strip(os.path.sep)} 126 list(filter(lambda x: x, head_path.split("model")[-1].strip( 132 if v.strip().startswith("endif"):
|
/ohos5.0/build/lite/ndk/build/toolchain/ |
H A D | BUILD.gn | 23 strip = 24 "$ohos_build_compiler_dir/arm-linux-ohoseabi-strip --strip-unneeded" 33 strip = "strip" 45 strip = "$ohos_build_compiler_dir/llvm-objcopy --strip-all" 56 strip = "$ohos_build_compiler_dir/llvm-objcopy --strip-all"
|
H A D | gcc.gni | 18 "$ohos_build_compiler_prefix-strip --strip-unneeded" 20 "$ohos_build_compiler_prefix-strip --strip-unneeded" 35 if (defined(invoker.strip)) { 36 strip = invoker.strip 88 command += "&& $strip $outfile" 104 command += "&& $strip $outfile"
|
H A D | clang.gni | 18 ohos_build_compiler_so_strip = "llvm-objcopy --strip-all" 19 ohos_build_compiler_bin_strip = "llvm-objcopy --strip-all" 36 if (defined(invoker.strip)) { 37 strip = invoker.strip 79 command += " && $strip" + " \"$unstripped_outfile\" \"$outfile\"" 93 command += " && $strip $outfile"
|
/ohos5.0/base/startup/init/scripts/ |
H A D | param_cfg_to_code.py | 26 data = data.strip() 32 return strs[0].strip(), strs[1].strip() 50 data = data.strip() 55 data = data.strip() 59 return strs[0].strip(), data[len(strs[0]) + 1:].strip()
|
/ohos5.0/build/config/mac/ |
H A D | sdk_info.py | 66 ['sw_vers', '-buildVersion']).strip() 72 'xcrun', '-sdk', platform, '--show-sdk-path']).strip() 74 'xcrun', '-sdk', platform, '--show-sdk-version']).strip() 76 'xcrun', '-sdk', platform, '--show-sdk-platform-path']).strip() 79 'xcrun', '-sdk', platform, '--show-sdk-build-version']).strip()
|
/ohos5.0/base/startup/init/services/etc/param/ |
H A D | param_fixer.py | 41 line = line.strip() 47 name = name.strip() 48 value = value.strip() 54 extra = extra.strip() 65 line = line.strip()
|
/ohos5.0/build/config/components/init/param/ |
H A D | param_fixer.py | 41 line = line.strip() 47 name = name.strip() 48 value = value.strip() 54 extra = extra.strip() 65 line = line.strip()
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/linux/ |
H A D | mk_file_add_config.py | 28 elif line.strip().startswith(file_end_flag): 31 elif line.strip().startswith(model_dir_name): 32 model_dir_value = line.split("=")[-1].strip() 50 'source_path').strip(".c") 85 'source_path').strip(".c") 186 include_model_info = model_dir_value.split("model")[-1].strip('"') + "/" 193 …'head_file_path': '/'.join(head_path.split("model")[-1].strip(os.path.sep).split(os.path.sep)[:-1]) 198 if v.strip().startswith("endif"):
|
/ohos5.0/build/toolchain/ |
H A D | rust_strip.py | 23 def do_strip(strip, output, unstripped_file, mini_debug, clang_base_dir): argument 24 if strip: 26 [strip, '-o', output, unstripped_file]) 61 …return do_strip(args.strip, args.output, args.unstripped_file, args.mini_debug, args.clang_base_di…
|
/ohos5.0/build/hb/util/preloader/ |
H A D | parse_vendor_product_config.py | 32 key = feat[:match].strip() 33 val = feat[match + 1:].strip().strip('"') 56 key = feat[:match].strip() 57 val = feat[match + 1:].strip().strip('"')
|
/ohos5.0/build/lite/toolchain/ |
H A D | BUILD.gn | 25 strip = ohos_current_strip_command 33 strip = ohos_current_strip_command 42 strip = ohos_current_strip_command 51 strip = ohos_current_strip_command
|
H A D | clang.gni | 27 if (defined(invoker.strip)) { 28 strip = invoker.strip 77 command += " && $strip \"$unstripped_outfile\" -o \"$outfile\"" 101 command += " && $strip \"$unstripped_outfile\" -o \"$outfile\""
|
H A D | gcc.gni | 27 if (defined(invoker.strip)) { 28 strip = invoker.strip 86 command += " && $strip \"$unstripped_outfile\" -o \"$outfile\"" 108 command += " && $strip \"$unstripped_outfile\" -o \"$outfile\""
|
H A D | iccarm.gni | 30 if (defined(invoker.strip)) { 31 strip = invoker.strip 98 command += " && $strip \"$unstripped_outfile\" \"$outfile\"" 128 command += " && $strip \"$unstripped_outfile\" \"$outfile\""
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | BUILD.gn | 20 abcstrip_native_min_obj_path = base_output_path + "strip.native.min.abc" 25 "$root_out_dir/obj/third_party/jsframework/dist/strip.native.min.js") 26 dst_file = rebase_path(base_output_path + "/strip.native.min.abc") 29 [ "$root_out_dir/obj/third_party/jsframework/dist/strip.native.min.js" ] 30 out_puts = [ base_output_path + "/strip.native.min.abc" ] 35 input = base_output_path + "/strip.native.min.abc"
|
/ohos5.0/build/lite/config/ |
H A D | BUILDCONFIG.gn | 85 "${compile_prefix}strip$toolchain_cmd_suffix --strip-unneeded" 94 "${compile_prefix}strip$toolchain_cmd_suffix --strip-unneeded" 119 "${compile_prefix}strip$toolchain_cmd_suffix --strip-unneeded"
|
/ohos5.0/base/startup/init/services/etc/passwd_appender/ |
H A D | passwd_appender.py | 44 arr = line.strip().split(":") 65 arr = line.strip().split(":") 80 arr = line.strip().split(":") 112 name = passwd_info[0].strip() 139 passwd_info = line.strip("\n").split(":")
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/scripts/ |
H A D | file_parser.py | 113 line = data['line'].strip() 244 part = part.strip() 250 name = sparts[0].strip() 252 val = sparts[1].strip() 464 retval = retval.strip() 479 v = v.strip() 484 'retval': retval.strip(), 487 'vfmod': vfmod.strip(), 1103 arg = arg.strip() 1416 return parts[1].strip() [all …]
|
/ohos5.0/build/config/linux/ |
H A D | pkg-config.py | 165 print(json.dumps(list(map(int, version_string.strip().split("."))))) 177 sys.stdout.write(libdir.strip()) 189 sys.stdout.write(dridriverdir.strip()) 205 all_flags = flag_string.strip().split(' ')
|