Lines Matching refs:topdown
282 def walk(top, topdown=True, onerror=None, followlinks=False): argument
341 sys.audit("os.walk", top, topdown, onerror, followlinks)
342 return _walk(fspath(top), topdown, onerror, followlinks)
344 def _walk(top, topdown, onerror, followlinks): argument
387 if not topdown and is_dir:
406 if topdown:
418 yield from _walk(new_path, topdown, onerror, followlinks)
422 yield from _walk(new_path, topdown, onerror, followlinks)
430 def fwalk(top=".", topdown=True, onerror=None, *, follow_symlinks=False, dir_fd=None): argument
463 sys.audit("os.fwalk", top, topdown, onerror, follow_symlinks, dir_fd)
475 topdown, onerror, follow_symlinks)
479 def _fwalk(topfd, toppath, isbytes, topdown, onerror, follow_symlinks): argument
487 entries = None if topdown or follow_symlinks else []
507 if topdown:
513 if topdown:
528 topdown, onerror, follow_symlinks)
532 if not topdown: