Home
last modified time | relevance | path

Searched defs:AnyStr (Results 1 – 19 of 19) sorted by relevance

/aosp_15_r20/external/python/pyfakefs/pyfakefs/
Dfake_path.py125 def exists(self, path: AnyStr) -> bool:
136 def lexists(self, path: AnyStr) -> bool:
147 def getsize(self, path: AnyStr):
165 def isabs(self, path: AnyStr) -> bool:
172 def isdir(self, path: AnyStr) -> bool:
176 def isfile(self, path: AnyStr) -> bool:
180 def islink(self, path: AnyStr) -> bool:
196 def isjunction(self, path: AnyStr) -> bool:
200 def splitroot(self, path: AnyStr):
206 def getmtime(self, path: AnyStr) -> float:
[all …]
Dfake_os.py218 path: AnyStr,
405 def chdir(self, path: AnyStr) -> None:
437 def listdir(self, path: AnyStr) -> List[AnyStr]:
457 self, path: AnyStr, attribute: AnyString, *, follow_symlinks: bool = True
485 self, path: Optional[AnyStr] = None, *, follow_symlinks: bool = True
513 self, path: AnyStr, attribute: AnyString, *, follow_symlinks: bool = True
538 path: AnyStr,
593 top: AnyStr,
616 def readlink(self, path: AnyStr, dir_fd: Optional[int] = None) -> str:
637 path: AnyStr,
[all …]
Dfake_filesystem.py430 def get_path_separator(self, path: AnyStr) -> AnyStr:
434 def _alternative_path_separator(self, path: AnyStr) -> Optional[AnyStr]:
438 def starts_with_sep(self, path: AnyStr) -> bool:
446 path: AnyStr,
521 def _auto_mount_drive_if_needed(self, path: AnyStr) -> Optional[Dict]:
530 def _mount_point_for_path(self, path: AnyStr) -> Dict:
580 def get_disk_usage(self, path: Optional[AnyStr] = None) -> Tuple[int, int, int]:
605 def set_disk_usage(self, total_size: int, path: Optional[AnyStr] = None) -> None:
632 self, usage_change: int, file_path: AnyStr, st_dev: int
655 def stat(self, entry_path: AnyStr, follow_symlinks: bool = True):
[all …]
Dhelpers.py113 def make_string_path(dir_name: AnyStr) -> AnyStr:
126 def to_string(path: Union[AnyStr, Union[str, bytes]]) -> str:
134 def to_bytes(path: Union[AnyStr, Union[str, bytes]]) -> bytes:
142 def join_strings(s1: AnyStr, s2: AnyStr) -> AnyStr:
161 def matching_string(matched: bytes, string: AnyStr) -> bytes:
166 def matching_string(matched: str, string: AnyStr) -> str:
171 def matching_string(matched: AnyStr, string: None) -> None:
176 matched: AnyStr, string: Optional[AnyStr]
Dfake_file.py129 name: AnyStr,
131 contents: Optional[AnyStr] = None,
271 def set_initial_contents(self, contents: AnyStr) -> bool:
298 def set_contents(self, contents: AnyStr, encoding: Optional[str] = None) -> bool:
404 def set_initial_contents(self, contents: AnyStr) -> bool:
477 def set_contents(self, contents: AnyStr, encoding: Optional[str] = None) -> bool:
713 file_path: AnyStr,
Dfake_open.py101 file_: Union[AnyStr, int],
267 file_path: AnyStr,
306 self, file_: Union[AnyStr, int]
Dfake_io.py81 file: Union[AnyStr, int],
/aosp_15_r20/external/grpc-grpc/src/python/grpcio/grpc/
H A D_simple_stubs.py234 options: Sequence[Tuple[AnyStr, AnyStr]] = (), argument
326 options: Sequence[Tuple[AnyStr, AnyStr]] = (), argument
417 options: Sequence[Tuple[AnyStr, AnyStr]] = (), argument
508 options: Sequence[Tuple[AnyStr, AnyStr]] = (), argument
H A D_common.py67 def encode(s: AnyStr) -> bytes:
74 def decode(b: AnyStr) -> str:
/aosp_15_r20/external/pigweed/pw_tokenizer/py/pw_tokenizer/
H A Ddetokenize.py311 data: AnyStr,
328 data: AnyStr,
336 data: AnyStr,
346 data: AnyStr,
389 def detokenize(message: AnyStr) -> AnyStr:
/aosp_15_r20/external/pytorch/torch/_dynamo/polyfills/
H A Dos.py18 def fspath(path: AnyStr | os.PathLike[AnyStr]) -> AnyStr:
/aosp_15_r20/external/pytorch/torch/utils/
H A Dmobile_optimizer.py18 preserved_methods: Optional[List[AnyStr]] = None,
/aosp_15_r20/external/python/cpython3/Lib/
Dtyping.py2667 AnyStr = TypeVar('AnyStr', bytes, str) variable
3264 def write(self, s: AnyStr) -> int:
3268 def writelines(self, lines: List[AnyStr]) -> None:
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/
H A Dtyping.py2667 AnyStr = TypeVar('AnyStr', bytes, str) variable
3264 def write(self, s: AnyStr) -> int:
3268 def writelines(self, lines: List[AnyStr]) -> None:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/
Dtyping.py2667 AnyStr = TypeVar('AnyStr', bytes, str) variable
3264 def write(self, s: AnyStr) -> int:
3268 def writelines(self, lines: List[AnyStr]) -> None:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/
Dtyping.py2667 AnyStr = TypeVar('AnyStr', bytes, str) variable
3264 def write(self, s: AnyStr) -> int:
3268 def writelines(self, lines: List[AnyStr]) -> None:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/
Dtyping.py2667 AnyStr = TypeVar('AnyStr', bytes, str) variable
3264 def write(self, s: AnyStr) -> int:
3268 def writelines(self, lines: List[AnyStr]) -> None:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/
Dtyping.py2667 AnyStr = TypeVar('AnyStr', bytes, str) variable
3264 def write(self, s: AnyStr) -> int:
3268 def writelines(self, lines: List[AnyStr]) -> None:
/aosp_15_r20/external/python/typing_extensions/src/
Dtyping_extensions.py3607 AnyStr = typing.AnyStr variable