/test/testfwk/developer_test/aw/python/distributed/common/ |
H A D | common.py | 33 findkey = os.sep + "tests" + os.sep 38 pos1 = subpath.find(os.sep) 40 subpath = subpath[pos1 + len(os.sep):] 65 pos = phone_res_dir.find(os.sep + "tests" + os.sep)
|
H A D | drivers.py | 72 file_dir = suite_file.split("distributedtest")[1].strip(os.sep).split(os.sep)[0] 123 dst_dir = case_dir.split("distributedtest")[1].strip(os.sep)
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/ |
H A D | mk_file_add_config.py | 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)}
127 os.path.sep).split(os.path.sep)[2:-1])))}
|
H A D | gn_file_add_config.py | 189 strip(os.path.sep).split(os.path.sep)))[:-1])
252 os.path.sep).split(os.path.sep)[2:-1])))
|
/test/testfwk/developer_test/src/core/testcase/ |
H A D | testcase_manager.py | 70 suitfile_subpath = suitfile_subpath.strip(os.sep)
73 temp_list = suitfile_subpath.split(os.sep)
82 partname + os.sep + testmodule + os.sep):
86 if suitfile_subpath.startswith(partname + os.sep):
242 os.sep + "resource" + os.sep):
|
/test/testfwk/developer_test/src/core/config/ |
H A D | resource_manager.py | 40 if current_dir.endswith(os.sep + "tests"): 95 dir_name_list = dir_path.rstrip(os.sep).split(os.sep) 174 src = src.replace("/", os.sep)
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | constants.py | 109 findkey = "%stests%s" % (os.sep, os.sep) 114 pos1 = subpath.find(os.sep) 116 subpath = subpath[pos1 + len(os.sep):]
|
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/oled/ |
H A D | img2code.py | 87 sep = '\n' if (i+1) % (TARGET_WIDTH/PIXEL_PER_BYTE) == 0 else ' ' 88 f.write('0x%02X,%s' % (v, sep))
|
/vendor/hisilicon/hispark_pegasus/demo/ssd1306_demo/ |
H A D | img2code.py | 88 sep = '\n' if (i+1) % (TARGET_WIDTH/PIXEL_PER_BYTE) == 0 else ' ' 89 f.write('0x%02X,%s' % (v, sep))
|
/test/testfwk/developer_test/src/core/driver/ |
H A D | lite_driver.py | 253 "unittest" + os.sep)[1].split(os.sep + "bin")[0] 254 if os.sep in sub_system_module: 255 sub_system = sub_system_module.split(os.sep)[0] 256 module_name = sub_system_module.split(os.sep)[1]
|
H A D | drivers.py | 147 findkey = os.sep + "tests" + os.sep 152 pos1 = subpath.find(os.sep) 154 subpath = subpath[pos1 + len(os.sep):] 169 suit_path = result_suit_path.split("result")[-1].strip(os.sep).split(os.sep)[0] 392 find_key = os.sep + "benchmark" + os.sep 474 test_type = self.testsuite_path.split(tests_path)[1].strip(os.sep).split(os.sep)[ [all...] |
/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devmgr_uevent.c | 130 static int32_t DevMgrUeventParseKeyValue(char *str, struct DevMgrMatchKey *matchKey, const char *sep) in DevMgrUeventParseKeyValue() argument 132 char *subPtr = strstr(str, sep); in DevMgrUeventParseKeyValue() 140 if (strlen(subPtr) < (strlen(sep) + 1)) { in DevMgrUeventParseKeyValue() 145 char *value = subPtr + strlen(sep); in DevMgrUeventParseKeyValue()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/linux/ |
H A D | mk_file_add_config.py | 193 'head_file_path': '/'.join(head_path.split("model")[-1].strip(os.path.sep).split(os.path.sep)[:-1])
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_add_handler.py | 342 parent_depth = len(drv_src_dir.split(os.path.sep)) 347 if len(dir_path.split(os.path.sep)) == parent_depth + 1: 349 if len(dir_path.split(os.path.sep)) == parent_depth + 2: 350 dir_dict.get(dir_path.split(os.path.sep)[-2]).append(dir_name)
|
H A D | hdf_linux_scann.py | 74 model_path = os.path.join(os.path.sep.join(
75 self.makefile_path.split(os.path.sep)[:-1]), model_path)
254 parent_path, i).replace("/", os.path.sep))
|
H A D | hdf_vendor_kconfig_file.py | 58 k_path_raw = match_obj.group(1).replace('/', os.sep)
|
/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | macro_gen.h | 32 std::string GenFullName(int32_t depth, const std::shared_ptr<AstObject> &node, const std::string &sep);
|
H A D | macro_gen.cpp | 108 std::string MacroGen::GenFullName(int32_t depth, const std::shared_ptr<AstObject> &node, const std::string &sep) 112 name.append(nodeNameMap_[i]).append(sep);
|
/test/testfwk/developer_test/src/core/command/ |
H A D | distribute_execute.py | 55 self.suits_dir.split("distributedtest")[1].strip(os.sep))
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | utils.py | 458 pattern = "%stests%s" % (os.sep, os.sep) 465 pos = sub_path.find(os.sep) 468 return sub_path[pos + len(os.sep):]
|
/test/testfwk/xdevice/plugins/devicetest/utils/ |
H A D | file_util.py | 159 and folder_file.endswith(os.sep + folder_file_path): 167 and folder_file.endswith(os.sep + folder_file_path) \
|
/test/testfwk/developer_test/libs/benchmark/report/ |
H A D | generate_report.py | 63 pos = file_path.rfind(os.sep) 151 dir_list = subsystem_root.split(os.sep)
|
/test/xts/tools/lite/build/ |
H A D | utils.py | 167 split(os.sep)[-1]) 186 _dirname_suffix = out_suffix.strip().rstrip(os.sep)
|
/drivers/hdf_core/framework/tools/hdi-gen/ |
H A D | build_hdi_files_info.py | 512 sub_package_path = sub_package.replace(".", os.sep) 537 '.', os.sep) 544 sub_package_dir = "{}{}".format(sub_package.replace('.', os.sep), 545 os.sep)
|
/test/xts/tools/build/ |
H A D | utils.py | 144 _dirname_suffix = out_suffix.strip().rstrip(os.sep)
|