/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...] |
/foundation/resourceschedule/ffrt/tools/ffrt_trace_process/ |
H A D | ffrt_trace_recover.py | 48 return match.split(']')[0].split('[')[-1] 154 tname = log[log.index("prev_comm="):].split("prev_pid=")[0].split('=')[-1].rstrip() 155 tid = int(log[log.index("prev_pid="):].split(' ')[0].split('=')[-1]) 160 prev_tid = int(log[log.index("prev_pid="):].split(' ')[0].split('=')[-1]) 161 next_tid = int(log[log.index("next_pid="):].split(' ')[0].split(' [all...] |
H A D | ffrt_trace_process.py | 33 return log.strip().split(' ')[0] 40 if len(log.strip().split(' ')[0].split('-')) <= 1: 43 return int(log.strip().split(' ')[0].split('-')[-1]) 58 return int(match.split(')')[0].lstrip('(')) 71 return int(match.split(']')[0].split('[')[-1]) 84 return int(match.strip().split('.')[0]) * int(1e6) + int(match.strip().rstrip(':').split(' [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_image.h | 123 std::string split(depth, '\t'); in dump() 124 desc += split + "RSImage:{"; in dump() 125 desc += split + "\timageFit_: " + std::to_string(static_cast<int>(imageFit_)) + "\n"; in dump() 126 desc += split + "\timageRepeat_: " + std::to_string(static_cast<int>(imageRepeat_)) + "\n"; in dump() 129 desc += split + "\tPointF:{ \n"; in dump() 130 desc += split + "\t\t x_: " + std::to_string(radius_[i].GetX()) + "\n"; in dump() 131 desc += split + "\t\t y_: " + std::to_string(radius_[i].GetY()) + "\n"; in dump() 132 desc += split + "\t}\n"; in dump() 134 desc += split + frameRect_.ToString(); in dump() 135 desc += split in dump() [all...] |
/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/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]
|
/foundation/multimedia/av_codec/test/unittest/http_source_test/ |
H A D | downloader_unit_test.cpp | 242 string split = ","; in HWTEST_F() local 243 EXPECT_FALSE(IsExcluded(str, exclusions, split)); in HWTEST_F() 250 string split = ","; in HWTEST_F() local 251 EXPECT_TRUE(IsExcluded(str, exclusions, split)); in HWTEST_F() 258 string split = ","; in HWTEST_F() local 259 EXPECT_FALSE(IsExcluded(str, exclusions, split)); in HWTEST_F() 266 string split = ","; in HWTEST_F() local 267 EXPECT_FALSE(IsExcluded(str, exclusions, split)); in HWTEST_F()
|
/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
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/ |
H A D | wifi_wpa_common_test.cpp | 92 const char split[len] = "string"; in HWTEST_F() local 94 GetStrKeyVal(src, split, &out); in HWTEST_F() 95 EXPECT_NE(split, "string"); in HWTEST_F() 102 const char split[len] = "in"; in HWTEST_F() local 104 GetStrKeyVal(src, split, &out); in HWTEST_F()
|
/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
|
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/beans/ |
H A D | event_tree.py | 44 spliced_lines = input_str.split('\n') 55 spliced_tree_lines = tree_index_str.split(': ') 68 spliced_touch_points = packed_str.split('\n') 84 spliced_frame_nodes = packed_str.split('\n')
|
/foundation/ability/idl_tool/scripts/ |
H A D | idl.py | 43 (path, name) = os.path.split(input_arguments.idl_tool_path) 54 dst_file_list = input_arguments.dst_file.split(',') 70 src_idls = input_arguments.src_idl.split(",")
|
/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/ |
H A D | disk_info.cpp | 208 auto split = SplitLine(buf, bufToken); in ReadPartition() local 209 for (auto &tmp : split) in ReadPartition() 261 auto split = SplitLine(line, lineToken); in ReadDiskLines() local 262 auto it = split.begin(); in ReadDiskLines() 263 if (it == split.end()) { in ReadDiskLines() 268 if (++it == split.end()) { in ReadDiskLines() 280 ProcessPartition(it, split.end(), table, maxVols, foundPart); in ReadDiskLines()
|
/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/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...] |
/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/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/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/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/xts/acts/pcs/pcs_py/ |
H A D | testSDCardMount.py | 39 sdCardList.append(mountItem.split()[0]) 40 rmountResult = self.device1.execute_shell_command("umount " + mountItem.split()[-1])
|
/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...] |