/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/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/acls_check/ |
D | resolve_token_info.py | 32 processName = it.replace(',', '').split(':')[1].split('"')[1] 38 bb = it.split(':') 39 if bb[1].split('"')[1].__len__() == 0: 41 permissionNameList = bb[1].split('"')[1].split(',')
|
/developtools/integration_verification/cases/smoke/basic/screenshot32/acls_check/ |
D | resolve_token_info.py | 32 processName = it.replace(',', '').split(':')[1].split('"')[1] 38 bb = it.split(':') 39 if bb[1].split('"')[1].__len__() == 0: 41 permissionNameList = bb[1].split('"')[1].split(',')
|
/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()
|
D | ScanStatSuffix.java | 334 String[] split = path.split(packageName); 335 if (split.length > 1) { 336 return split[1]; 366 String[] split = file.getName().split(SPLIT_POINT); in accountFileType() local 367 if (split.length == SCAN_LEVEL) { in accountFileType() 368 if (map.containsKey(split[1])) { in accountFileType() 369 accountType(map, file, split[1]); in accountFileType() 371 accountTypeUnknown(map, file, split[1]); in accountFileType() 373 } else if (split.length == 1) { // no suffix in accountFileType()
|
/developtools/hdc/scripts/ |
D | dev_hdc_test.py | 91 res = subprocess.call(cmd.split()) 97 targets = subprocess.check_output(f"{cls.hdc_exe} list targets".split()).split() 179 … subprocess.check_output(f"{cls.hdc_exe} tconn {cls.remote_ip}:{cls.remote_port}".split()).decode() 278 subprocess.call(f"del {path}".split()) 280 subprocess.call(f"del /Q {path}".split()) 282 subprocess.call(f"rm -rf {path}".split()) 307 output = subprocess.check_output(cmd.split()).decode() 313 output = subprocess.check_output(cmd.split()).decode() 317 return subprocess.check_call(cmd.split()) == 0 323 result = subprocess.check_output(cmd.split()).decode() [all …]
|
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/testcases/ |
D | ProcessCheck.py | 20 two_check_process_list = text.split('#####')[1].split()[0:-1] 21 other_process_list = text.split('#####')[2].split() 26 pidlist = pids.split()
|
/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/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/hdc/hdc_rust/src/ |
D | utils.rs | 95 let head = format!("{}:{}", file!().split('/').last().unwrap(), line!()); 113 let head = format!("{}:{}", file!().split('/').last().unwrap(), line!()); 131 let head = format!("{}:{}", file!().split('/').last().unwrap(), line!()); 149 let head = format!("{}:{}", file!().split('/').last().unwrap(), line!()); 167 let head = format!("{}:{}", file!().split('/').last().unwrap(), line!()); 185 let head = format!("{}:{}", file!().split('/').last().unwrap(), line!());
|
/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/integration_verification/DeployDevice/src/core/ |
D | run.py | 41 step_list = runstage.split(",") 94 num = int(result.split("(")[1].split(")")[0]) 115 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/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/ace_ets2bundle/compiler/src/ |
D | gen_aot.ts | 126 outStream.toString().split(os.EOL).forEach((stdLog: string) => { 132 [logHeader, logContent] = stdLog.split(hostToolKeyWords); 136 let logLevel: string = logHeader.trim().split(/\s+/)[logLevelIndex];
|
D | process_visual.ts | 166 visualMap.set(0, mediaQueryImport.split('\n').length - 1); 206 const originEtsFileLineNumber: number = contentBeforePos.split('\n').length; 207 const visualLines: number = visualContent.split('\n').length - 1; 228 const originEtsFileLineNumber: number = contentBeforePos.split('\n').length; 229 const visualLines: number = visualContent.split('\n').length - 1; 252 const lines: Array<string> = content.split('\n'); 320 const moduleNames = relativePath.split(path.sep);
|
/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/smartperf_host/ide/src/trace/component/trace/sheet/energy/ |
D | TabPaneEnergyAnomaly.ts | 57 let appValues = values[TabPaneEnergyAnomaly.VALUE_INDEX].split(','); 90 let appValues = nextValues[TabPaneEnergyAnomaly.VALUE_INDEX].split(','); 116 let apps = values[TabPaneEnergyAnomaly.VALUE_INDEX].split(',');
|
/developtools/smartperf_host/ide/src/trace/component/chart/ |
D | SpLTPO.ts | 145 let cutFanceNameArr = item.name!.split(' '); 159 let cutFpsNameArr = item.name!.split(',')[0].split(':'); 160 let cutFpsNameTimeArr = item.name!.split(',')[1].split(':'); 164 let cutFpsNameArr = item.name!.split('='); 172 let cutRealFpsArr = item.name!.split(' '); 180 let cutRsNameArr = item.name!.split(' ')[2].split(':'); 443 if (!num.toString().split('.')[1]) { 446 let tempNum = Number(num.toString().split('.')[1].charAt(0));
|
/developtools/integration_verification/tools/rom_ram_analyzer/standard/ |
D | rom_analyzer.py | 51 grep_cmd, post_processor=lambda x: x.split('\n')) 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/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]
|