| /developtools/hdc/hdc_rust/src/host/ |
| D | unittest.rs | 26 .split(" ") in if_parse_cmd_param_works() 33 .split(" ") in if_parse_cmd_param_works() 46 .split(" ") in if_parse_opt_cmd_works() 62 .split(" ") in if_parse_opt_cmd_param_works() 69 .split(" ") in if_parse_opt_cmd_param_works() 81 let opts = "-l5 -t 123456".split(" ").map(|s| s.to_string()).collect(); in if_extract_opt_lt_works() 97 .split(" ") in if_extract_opt_sm_works() 114 let opts = "-s 23333".split(" ").map(|s| s.to_string()).collect(); in if_extract_opt_port_works() 130 .split(" ") in if_extract_opt_ipv6_works() 148 .split(" ") in if_extract_opt_invalid_ipv6_works() [all …]
|
| /developtools/packing_tool/adapter/ohos/ |
| D | VerifyCollection.java | 94 private boolean split = true; field in VerifyCollection 126 return split; in isSplit() 129 public void setSplit(boolean split) { in setSplit() argument 130 this.split = split; in setSplit()
|
| /developtools/hdc/test/scripts/testModule/ |
| D | utils.py | 69 res = subprocess.call(cmd.split()) 75 targets = subprocess.check_output(f"{cls.hdc_exe} list targets".split()).split() 159 … subprocess.check_output(f"{cls.hdc_exe} tconn {cls.remote_ip}:{cls.remote_port}".split()).decode() 239 subprocess.call(f"rm -rf {path}".split()) 265 output = subprocess.check_output(cmd.split()).decode() 271 output = subprocess.check_output(cmd.split()).decode() 276 return subprocess.check_call(cmd.split()) == 0, "" 285 output = subprocess.check_output(cmd.split()).decode() 291 output = subprocess.check_output(cmd.split()).decode() 295 return subprocess.check_call(cmd.split()) == 0 [all …]
|
| D | test_hdc_file_fd.py | 117 pid = get_shell_result(f"shell pidof hdcd").split("\r")[0] 143 pid = get_shell_result(f"shell pidof hdcd").split("\r")[0] 209 f"shell \"df {SEP}{MOUNT_POINT} | grep {MOUNT_POINT}\"").split()[3] 217 pid = get_shell_result(f"shell pidof hdcd").split("\r")[0] 243 pid = get_shell_result(f"shell pidof hdcd").split("\r")[0] 270 self.pid = get_shell_result(f"shell pidof hdcd").split("\r")[0] 316 new_pid = get_shell_result(f"shell pidof hdcd").split("\r")[0]
|
| /developtools/profiler/hiebpf/src/ |
| D | utilities.cpp | 37 std::vector<std::string> StringSplit(std::string source, const std::string &split) in StringSplit() argument 42 if (!split.empty()) { in StringSplit() 44 while ((pos = source.find(split)) != std::string::npos) { in StringSplit() 50 source.erase(0, pos + split.length()); in StringSplit()
|
| /developtools/integration_verification/DeployDevice/resource/common/ |
| D | cbg_start.py | 21 str_list = line.split('=') 34 items = server_link.split("/") 37 project_name = items[-1].split(".")[0] 56 project_branch = server_link.split(" -b ")[-1] 63 … Repo.clone_from(server_link.split(" -b ")[0], to_path=upgrade_script_path,branch=project_branch) 72 … Repo.clone_from(server_link.split(" -b ")[0], to_path=upgrade_script_path,branch=project_branch)
|
| /developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/ |
| D | gn_common_tool.py | 89 path, _ = os.path.split(path) 114 path, _ = os.path.split(path) 145 path, _ = os.path.split(path) 151 path = os.path.split(path)[0] 155 line = line.split('=')[-1].strip().strip('"') 172 splited = content.split(os.sep) 207 for item in result.lstrip('[').rstrip(']').split('\n'):
|
| /developtools/profiler/test/scripts/tools/ |
| D | utils.py | 54 …lement['attributes']['bounds'].replace('[', '').replace(']', ' ').replace(',', ' ').strip().split() 64 path = output.strip().split(":")[-1] 84 if line.split()[PID_INDEX] == name: 85 return line.split()[1]
|
| /developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/ |
| D | gn_common_tool.py | 69 path = os.path.split(path)[0] 86 path = os.path.split(path)[0] 129 gnpath = os.path.split(gnpath)[0] 133 gnpath = os.path.split(gnpath)[0] 156 part = part.split('=')[-1].strip() 166 subsystem = subsystem.split('=')[-1].strip() 213 for item in result.lstrip('[').rstrip(']').split('\n'):
|
| /developtools/profiler/hiebpf/scripts/ |
| D | fstrace_args_converter_generator.py | 40 splitted_startline = startline.split(' ') 47 splitted_startline = startline.split(' ') 49 splitted_type_name = type_name.split('_') 74 splitted_member_line = member_line.split(' ')
|
| /developtools/ace_ets2bundle/compiler/test/transform_ut/helpers/ |
| D | parser.ts | 31 …const normalizedWhitespace = normalizedLineEndings.split('\n').map(line => line.trim()).join('\n'); 34 …const normalizedEmptyLines = normalizedWhitespace.split('\n').filter(line => line !== '').join('\n…
|
| /developtools/integration_verification/tools/opensource_tools/src/ |
| D | generate_readme_opensource.py | 29 return [item.strip() for item in value.split(",")] if value else [] 38 [license.strip() for license in licenses.split(";")] if licenses else [] 41 [file.strip() for file in license_files.split(";")] if license_files else []
|
| /developtools/integration_verification/DeployDevice/src/core/ |
| D | run.py | 42 step_list = runstage.split(",") 99 num = int(result.split("(")[1].split(")")[0]) 120 task_path = param_file.split('.')[0]
|
| /developtools/integration_verification/tools/components_deps/ |
| D | components_deps_analyzer.py | 70 one_component = re.findall('path="(.*?)"', line)[0].split('/')[-1] 106 new_line_num = [int(i) for i in new_line_num.split('_')] 120 dep_info = re.findall('(.*?):', gn_lines[i - 1].split("/")[-1])[0] 189 gn_path_list_name = args.components_gn_path_list.split(',') 190 new_line_nums_list = args.new_line_nums_list.split(',') 191 gn_component_name = args.gn_name.split(',')
|
| /developtools/hdc/test/scripts/ |
| D | hdc_recv_all_test.py | 40 output = subprocess.check_output(cmd.split()).decode() 41 return output.split('\r\n')[:-1] 50 output = subprocess.check_output(cmd.split()).decode() 84 copy_output = subprocess.check_output(copy_cmd.split()).decode().replace(',', ' ') 85 check_output = subprocess.check_output(shell_cmd.split()).decode().replace(',', ' ') 86 recv_output = subprocess.check_output(recv_cmd.split()).decode().replace(',', ' ') 87 remove_output = subprocess.check_output(remove_cmd.split()).decode().replace(',', ' ')
|
| /developtools/ace_ets2bundle/compiler/src/ |
| D | gen_aot.ts | 125 outStream.toString().split(os.EOL).forEach((stdLog: string) => { 131 [logHeader, logContent] = stdLog.split(hostToolKeyWords); 135 let logLevel: string = logHeader.trim().split(/\s+/)[logLevelIndex];
|
| D | process_visual.ts | 135 visualMap.set(0, mediaQueryImport.split('\n').length - 1); 175 const originEtsFileLineNumber: number = contentBeforePos.split('\n').length; 176 const visualLines: number = visualContent.split('\n').length - 1; 197 const originEtsFileLineNumber: number = contentBeforePos.split('\n').length; 198 const visualLines: number = visualContent.split('\n').length - 1; 221 const lines: Array<string> = content.split('\n'); 289 const moduleNames = relativePath.split(path.sep);
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/ |
| D | WorkerHandler.ts | 19 let arr = result.data.split('$'); 41 let tempJitterArr = curJitter.split('==');
|
| /developtools/smartperf_host/ide/src/trace/component/setting/ |
| D | SpFFRTConfig.ts | 75 allPNameList = result.split(','); 81 allPNameList.push(...result.split(',')); 90 allPNameList = this.startupProcessNameEl!.value.trim().split(','); 92 allPNameList = this.startupProcessNameEl!.value.trim().split(';'); 103 allPNameList = result.split(',');
|
| /developtools/integration_verification/cases/daily/mini_system/ |
| D | L2_mini_system_test.py | 103 args.device_num = result.split()[0] 115 pidlist = pids.split() 136 process_usage = int(res.split(':')[-1].split()[0]) / 1024 150 pidlist = pids.split()
|
| /developtools/integration_verification/tools/rom_ram_analyzer/standard/ |
| D | rom_analyzer.py | 51 grep_cmd, post_processor=lambda x: x.split('\n')) 53 if not item or not item.split(':')[2].startswith("ohos_sa_profile"): 58 gn, _, _ = item.split(':') 70 f = f.split('/')[-1] 113 bf = f.split('/')[-1] 120 output_dir, _ = os.path.split(output_file) 175 gn_path = os.path.join(project_path, label.split(':')[ 197 tmp = target.split('/')[-1]
|
| D | ram_analyzer.py | 107 base_dir, _ = os.path.split(output_file) 171 file_basename: str = os.path.split(file_name)[-1] 227 return True, os.path.split(k)[-1], sn, cn, v 311 … lambda x, y: os.path.split(y)[ 321 … y.split( 323 … y.split('/')[ 366 return re.sub(blank_pattern, ' ', content.strip()).split() 384 line_list = content.strip().split("\n")[1:] 387 process_name = line.split()[7] 396 output = content.split('\n') [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/energy/ |
| D | TabPaneEnergyAnomaly.ts | 62 let appValues = values[TabPaneEnergyAnomaly.VALUE_INDEX].split(','); 95 let appValues = nextValues[TabPaneEnergyAnomaly.VALUE_INDEX].split(','); 121 let apps = values[TabPaneEnergyAnomaly.VALUE_INDEX].split(',');
|
| /developtools/smartperf_host/trace_streamer/build/ |
| D | protoc_w.py | 52 cmd = [PROTOC, OPT_PLUGIN_PROTOREADER, f"{PLUGINOUT}:{sys.argv[5]}", *PARAMS_ALL.split()] 55 subprocess.run([PROTOC, *PARAMS_ALL.split()])
|
| /developtools/integration_verification/tools/startup_guard/startup_checker/ |
| D | plug_in_rule.py | 64 needed = line.strip().split("[")[-1].split("]")[0]
|