Lines Matching refs:str
58 file_abs_path: str , file path
66 if isinstance(file_abs_path, str):
75 if isinstance(file_path, str):
124 def is_port_idle(host: str = "127.0.0.1", port: int = None) -> bool:
141 def get_forward_port(self, host: str = None, port: int = None, filter_ports: list = None):
171 def compare_version(version, base_version: tuple, rex: str):
174 version: str, version
191 def extract_version(version_str: str):
203 def compare_versions_by_product(version1: str, version2: str):
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()[0] == "0":
301 def shell_command(cmd: str, findstr: str = "") -> str:
317 def check_device_file_md5(device, pc_file: str, device_file: str) -> bool: