Searched defs:AnyStr (Results 1 – 5 of 5) sorted by relevance
| /external/python/pyfakefs/pyfakefs/ |
| D | fake_filesystem.py | 286 def __init__(self, name: AnyStr, 288 contents: Optional[AnyStr] = None, 421 def set_initial_contents(self, contents: AnyStr) -> bool: 447 def set_contents(self, contents: AnyStr, 601 def set_initial_contents(self, contents: AnyStr) -> bool: 670 def set_contents(self, contents: AnyStr, 1061 def get_path_separator(self, path: AnyStr) -> AnyStr: 1066 self, path: AnyStr) -> Optional[AnyStr]: 1070 def _starts_with_sep(self, path: AnyStr) -> bool: 1077 def add_mount_point(self, path: AnyStr, [all …]
|
| D | helpers.py | 50 def make_string_path(dir_name: AnyStr) -> AnyStr: ... 61 def to_string(path: Union[AnyStr, Union[str, bytes]]) -> str: 69 def to_bytes(path: Union[AnyStr, Union[str, bytes]]) -> bytes: 77 def join_strings(s1: AnyStr, s2: AnyStr) -> AnyStr: 96 def matching_string(matched: bytes, string: AnyStr) -> bytes: ... 100 def matching_string(matched: str, string: AnyStr) -> str: ... 104 def matching_string(matched: AnyStr, string: None) -> None: ... 108 matched: AnyStr, string: Optional[AnyStr]) -> Optional[AnyStr]:
|
| D | fake_filesystem_unittest.py | 305 def copyRealFile(self, real_file_path: AnyStr, 306 fake_file_path: Optional[AnyStr] = None,
|
| /external/pigweed/pw_tokenizer/py/pw_tokenizer/ |
| D | detokenize.py | 201 data: AnyStr,
|
| /external/python/cpython3/Lib/ |
| D | typing.py | 2086 AnyStr = TypeVar('AnyStr', bytes, str) variable 2586 def write(self, s: AnyStr) -> int: 2590 def writelines(self, lines: List[AnyStr]) -> None:
|