/test/testfwk/xdevice/plugins/devicetest/utils/ |
H A D | util.py | 105 clean_lines = out.split('\n') 109 connector_tokens = line_text.split() 114 connector_tokens = line_text.split("tcp:") 183 version = tuple(version.split(".")) 212 v1 = tuple(map(int, version1.split('.'))) 213 v2 = tuple(map(int, version2.split('.'))) 228 and len(str(ret).split()) \ 229 != 0 and str(ret).split()[0] == "0": 241 and len(str(ret).split()) != 0 and str(ret).split()[ [all...] |
/test/testfwk/developer_test/local_coverage/resident_service/ |
H A D | public_method.py | 56 for line in strout.split("\n"): 66 root_path = current_path.split("/test/testfwk/developer_test")[0] 98 _, testsuite = command.split(" -ts ") 115 component_name = command.split(" -tp ")[-1].split(" ")[0] 131 system_name = command.split(" -ss ")[-1].split(" ")[0]
|
H A D | pull_service_gcda.py | 81 home_path = '/'.join(roots_path.split("/")[:3]) 127 services_list = process_str.split("|") 136 command_str = command_args.split("command_str=")[1].replace(",", " ") 141 root_path = current_path.split("/test/testfwk/developer_test")[0] 156 device_sn_list.extend(sn.replace(" ", "").split(";"))
|
/test/xts/tools/lite/reliability/ |
H A D | NativePressTest.py | 52 splitlines = cmdRet.strip('\n\t\r').split("\n") 55 if len(line.split()) >= 1: 57 testPID.append(line.split()[1]) 86 splitlines = cmdRet.strip('\n\t\r').split("\n") 89 splitlines = line.split() 109 print("abs path is %s" % (os.path.split(os.path.realpath(__file__))[0])) 110 testScriptPath = os.path.split(os.path.realpath(__file__))[0]
|
/applications/standard/contacts_data/ability/common/utils/src/ |
H A D | uri_utils.cpp | 37 std::vector<std::string> tempVector = split(query, "&"); in getQueryParameter() 40 std::vector<std::string> childTempVector = split(tempVector[i], "="); in getQueryParameter() 53 std::vector<std::string> UriUtils::split(const std::string &str, const std::string &split) in split() argument 56 char *token = strtok_r(const_cast<char *>(str.c_str()), split.c_str(), &saveChar); in split() 60 token = strtok_r(nullptr, split.c_str(), &saveChar); in split()
|
/test/xts/acts/arkui/libuv/ |
H A D | genlocal.py | 60 subprocess.run(commond.split(" "), shell=False, capture_output=True) 89 linelist = line.split(",") 226 timelist = latestpath.split("/") 238 suitelist = tasklogline.split("[Start test suite [") 239 suiteitem = suitelist[1].split("]") 242 freslist = tasklogline.split("ok") 246 caseline = numcase.split("-") 251 freslist = tasklogline.split("not ok") 255 caseline = numcase.split("-") 269 loccasename = casename.split(" [all...] |
/test/testfwk/developer_test/aw/python/distributed/common/ |
H A D | drivers.py | 40 level_list = list(set(level_string.split(","))) 72 file_dir = suite_file.split("distributedtest")[1].strip(os.sep).split(os.sep)[0] 122 case_dir, file_name = os.path.split(suite_file) 123 dst_dir = case_dir.split("distributedtest")[1].strip(os.sep) 136 strip_num = len(coverage_outpath.split("/")) - 1
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | utils.py | 56 _, fullname = os.path.split(file_path) 63 str(uuid.uuid1()).split("-")[0]) 321 head, tail = os.path.split(path) 323 head, tail = os.path.split(head) 363 key_value = line.split("=") 365 old_props[line.split("=")[0]] = line.split("=")[1] 380 key = line.split("=")[0] 484 addr = origin_ip.strip().split(".") 502 return "remote_{}_{}".format(convert_ip(serial.split(" [all...] |
/test/testfwk/developer_test/src/core/ |
H A D | utils.py | 28 _, fullname = os.path.split(file)
91 board_info_list = product_form.split("_")
134 out_name = json_info.get("out_path").split("out")[1].strip("/")
169 strs = line.replace('\n', '').split('=')
196 suitename = filename.split("FuzzTest")[0]
209 return True if len(product_form.split("_")) >= 3 else False
|
/test/testfwk/arkxtest/jsunit/src/module/config/ |
H A D | configService.js | 113 let classArray = params[key].split(','); 159 testTypeFilter = this.testType.split(',') 164 levelFilter = this.level.split(',') 169 sizeFilter = this.size.split(',') 179 let suiteArray = this.suite.split(','); 280 return this.runSkipped.split(',').some(item => { 286 return this.runSkipped.split(',').some(item => {
|
/test/testfwk/developer_test/src/core/driver/ |
H A D | lite_driver.py | 53 level_list = list(set(level_string.split(","))) 252 sub_system_module = test_case.split( 253 "unittest" + os.sep)[1].split(os.sep + "bin")[0] 255 sub_system = sub_system_module.split(os.sep)[0] 256 module_name = sub_system_module.split(os.sep)[1] 353 self.file_name = os.path.basename(config_file).split(".")[0] 418 "\n".join(result.split("\n")[0:-1]), "\n")) 437 'burn_file', kit_info)[0].split("\\")[-1].split(".")[0] 490 request.root.source.source_file.strip()).split(" [all...] |
/test/xts/tools/lite/build/ |
H A D | utils.py | 92 for argument in args.arguments.split("#"): 93 key_value = argument.strip().split("=") 150 _copy_files(_sources.split(","), _output) 153 _copy_dir(_source_dirs.split(","), _output) 167 split(os.sep)[-1]) 187 for suite in suite_names.split(","): 247 feature_list = testsuites.split(",") 281 component_name = component_name.split('_lite')[0] 347 for feature in all_features.split(","):
|
/test/testfwk/xdevice/src/xdevice/_core/command/ |
H A D | console.py | 432 subsystem_list = str(options.subsystems).split(";") 435 part_list = str(options.parts).split(";") 441 kit_list = str(options.kits_in_module).split(";") 452 para_list = args.split() 521 argument = self.argument_parser(history_command_inner.split()) 606 cls._report_helper(report_path.split(";"), tool_name) 612 key_value_pairs = str(combination_value).split(";") 614 key, value = key_value_pair.split(":", 1) 618 value_list = str(value).split(",") 643 for combine_value in options.testargs.split(";") [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | cpp_driver_lite.py | 48 test_item = test.split("#") 142 execute_dir = "/storage" + "/".join(bin_file.split("/")[0:-1]) 144 execute_dir = "/".join(bin_file.split("/")[0:-1]) 145 self.execute_bin = bin_file.split("/")[-1] 156 report_path = "/%s/%s/" % ("reports", self.execute_bin.split(".")[0]) 295 for xml_file in os.listdir(os.path.split(self.result)[0]): 298 if xml_file != os.path.split(self.result)[1]: 299 os.remove(os.path.join(os.path.split( 303 self.file_name = command.split(" ")[0].split("/")[ [all...] |
H A D | c_driver_lite.py | 84 request.root.source.source_file.strip()).split(".")[0] 147 self.jar_file.split(".")[0].lower() + '.log') 198 "\n".join(result.split("\n")[0:-1]), "\n")) 264 "\n".join(result.split("\n")[0:-1]), "\n")) 324 "\n".join(result.split("\n")[0:-1]), "\n")) 375 "\n".join(result.split("\n")[0:-1]), "\n")) 393 'burn_file', kit_info)[0].split("\\")[-1].split(".")[0] 414 'burn_file', kit_info)[0].split("\\")[-1].split(" [all...] |
H A D | oh_yara_driver.py | 196 vul_version_list = self.system_version.split("-")[-1].split(".")[:2] 221 request.get_module_name(), item.yara_rules[index].split('.')[0]) 260 request.get_module_name(), item.yara_rules[index].split('.')[0]) 303 source_vers = soruce.split(".") 304 dst_vers = dst.split(".") 317 source_groups = source_version.split("-") 318 dst_groups = dst_version.split("-")
|
/test/xts/tools/build/ |
H A D | utils.py | 64 for argument in args.arguments.split("#"): 65 key_value = argument.strip().split("=") 119 _copy_files(_sources.split(","), _output) 122 _copy_dir(_source_dirs.split(","), _output) 145 for suite in suite_names.split(","):
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/ |
H A D | c_parser_lite.py | 157 start_time.split(".")[-1]) 160 end_time.split(".")[-1]) 177 test_class = message.split(".c:")[0].split(" ")[-1].split("/")[-1] 184 start_time.split(".")[-1]) 187 end_time.split(".")[-1]) 189 message_list = message[message_index + 3:].split(":")
|
/test/xts/acts/graphic/vktest/ |
H A D | genlocal.py | 72 timelist = latestpath.split("/") 76 timelist = latestpath.split("\\") 99 freslist = tasklogline.split("#beginTestCaseResult ") 158 loccasename = casename.split("@@@")
|
/test/testfwk/developer_test/src/core/testcase/ |
H A D | testcase_manager.py | 61 testsuit_list = testsuit.split(',')
73 temp_list = suitfile_subpath.split(os.sep)
225 command_list = options.current_raw_cmd.split(" ")
269 testsuit_list = options.testsuit.split(";")
323 testsuit_list = options.testsuit.split(";")
|
/test/testfwk/developer_test/src/core/build/ |
H A D | pretreat_targets.py | 56 path = line.split(':')[0][2:] 57 name = line.split(':')[1].split('(')[0] 132 output_path = line.split()[2].strip('"')
|
/applications/standard/contacts_data/ability/sinicization/src/ |
H A D | construction_name.cpp | 39 std::wstring split(L"||"); in GetConstructionName() 40 std::wstring initials = characterTransliterate.Join(container.initialsContainer_, split); in GetConstructionName() 41 std::wstring nameFullFight = characterTransliterate.Join(container.nameFullFightContainer_, split); in GetConstructionName()
|
/applications/standard/contacts_data/ability/common/utils/include/ |
H A D | uri_utils.h | 31 std::vector<std::string> split(const std::string &str, const std::string &split);
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/ |
H A D | utils.py | 28 arr = line.split("=") 37 for line in in_str.split("\n"):
|
/test/testfwk/developer_test/local_coverage/restore_comment/ |
H A D | build_before_generate.py | 136 part_name_list = part_name.strip().split(" -tp ")[1].split() 142 root_path = current_path.split("/test/testfwk/developer_test")[0]
|