Lines Matching refs:topdown
278 def walk(top, topdown=True, onerror=None, followlinks=False): argument
379 if not topdown and is_dir:
398 if topdown:
410 yield from walk(new_path, topdown, onerror, followlinks)
414 yield from walk(new_path, topdown, onerror, followlinks)
422 def fwalk(top=".", topdown=True, onerror=None, *, follow_symlinks=False, dir_fd=None): argument
466 topdown, onerror, follow_symlinks)
470 def _fwalk(topfd, toppath, isbytes, topdown, onerror, follow_symlinks): argument
478 entries = None if topdown or follow_symlinks else []
498 if topdown:
504 if topdown:
519 topdown, onerror, follow_symlinks)
523 if not topdown: