/external/python/cpython3/Lib/ |
D | shutil.py | 363 def _rmtree_unsafe(path, onerror): argument 369 onerror(os.path.islink, path, sys.exc_info()) 376 onerror(os.listdir, path, sys.exc_info()) 384 _rmtree_unsafe(fullname, onerror) 389 onerror(os.unlink, fullname, sys.exc_info()) 393 onerror(os.rmdir, path, sys.exc_info()) 396 def _rmtree_safe_fd(topfd, path, onerror): argument 402 onerror(os.listdir, path, sys.exc_info()) 414 onerror(os.open, fullname, sys.exc_info()) 418 _rmtree_safe_fd(dirfd, fullname, onerror) [all …]
|
D | os.py | 277 def walk(top, topdown=True, onerror=None, followlinks=False): argument 350 if onerror is not None: 351 onerror(error) 362 if onerror is not None: 363 onerror(error) 409 yield from walk(new_path, topdown, onerror, followlinks) 413 yield from walk(new_path, topdown, onerror, followlinks) 421 def fwalk(top=".", topdown=True, onerror=None, *, follow_symlinks=False, dir_fd=None): argument 463 yield from _fwalk(topfd, top, topdown, onerror, follow_symlinks) 467 def _fwalk(topfd, toppath, topdown, onerror, follow_symlinks): argument [all …]
|
D | pkgutil.py | 53 def walk_packages(path=None, prefix='', onerror=None): argument 94 if onerror is not None: 95 onerror(info.name) 97 if onerror is not None: 98 onerror(info.name) 107 yield from walk_packages(path, info.name+'.', onerror)
|
D | pydoc.py | 2048 def onerror(modname): function 2050 ModuleScanner().run(callback, onerror=onerror) 2062 def run(self, callback, key=None, completer=None, onerror=None): argument 2079 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror): 2096 if onerror: 2097 onerror(modname) 2108 if onerror: 2109 onerror(modname) 2126 def onerror(modname): function 2130 ModuleScanner().run(callback, key, onerror=onerror) [all …]
|
/external/python/cpython2/Lib/ |
D | shutil.py | 210 def rmtree(path, ignore_errors=False, onerror=None): argument 222 def onerror(*args): function 224 elif onerror is None: 225 def onerror(*args): function 232 onerror(os.path.islink, path, sys.exc_info()) 239 onerror(os.listdir, path, sys.exc_info()) 247 rmtree(fullname, ignore_errors, onerror) 252 onerror(os.remove, fullname, sys.exc_info()) 256 onerror(os.rmdir, path, sys.exc_info())
|
D | pkgutil.py | 71 def walk_packages(path=None, prefix='', onerror=None): argument 112 if onerror is not None: 113 onerror(name) 115 if onerror is not None: 116 onerror(name) 125 for item in walk_packages(path, name+'.', onerror):
|
D | os.py | 209 def walk(top, topdown=True, onerror=None, followlinks=False): argument 280 if onerror is not None: 281 onerror(err) 296 for x in walk(new_path, topdown, onerror, followlinks):
|
D | pydoc.py | 1953 def onerror(modname): function 1955 ModuleScanner().run(callback, onerror=onerror) 1991 def run(self, callback, key=None, completer=None, onerror=None): argument 2006 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror): 2038 def onerror(modname): function 2042 ModuleScanner().run(callback, key, onerror=onerror) 2248 def onerror(modname): function 2252 kwargs=dict(onerror=onerror)).start()
|
/external/syslinux/com32/elflink/ldlinux/ |
D | readconfig.c | 86 const char *onerror = NULL; //"onerror" command line variable 218 m->onerror = refstr_get(parent->onerror); in new_menu() 952 refstr_put(m->onerror); in parse_config_file() 953 m->onerror = refstrdup(skipspace(p + 7)); in parse_config_file() 954 onerrorlen = strlen(m->onerror); in parse_config_file() 955 refstr_put(onerror); in parse_config_file() 956 onerror = refstrdup(m->onerror); in parse_config_file() 1298 refstr_put(m->onerror); in parse_config_file() 1299 m->onerror = refstrdup(skipspace(p + 7)); in parse_config_file() 1300 onerrorlen = strlen(m->onerror); in parse_config_file() [all …]
|
D | ldlinux.c | 226 me = find_label(onerror); in load_kernel() 230 rsprintf(&cmdline, "%s %s", onerror, default_cmd); in load_kernel()
|
D | config.h | 37 extern const char *onerror; //"onerror" command line
|
/external/boringssl/src/util/bot/go/ |
D | bootstrap.py | 108 def onerror(func, path, _exc_info): function 114 shutil.rmtree(p, onerror=onerror if sys.platform == 'win32' else None)
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/ |
D | shell.py | 371 def walk(top, topdown=True, onerror=None): argument 380 if onerror is not None: 381 onerror(err) 396 for x in walk(path, topdown, onerror):
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/ |
D | shell.py | 371 def walk(top, topdown=True, onerror=None): argument 380 if onerror is not None: 381 onerror(err) 396 for x in walk(path, topdown, onerror):
|
/external/syslinux/com32/menu/ |
D | readconfig.c | 188 m->onerror = refstr_get(parent->onerror); in new_menu() 736 refstr_put(m->onerror); in parse_config_file() 737 m->onerror = refstrdup(skipspace(p + 7)); in parse_config_file() 1168 if (m->onerror) in parse_configs() 1169 m->onerror = unlabel(m->onerror); in parse_configs()
|
/external/syslinux/core/ |
D | keywords | 33 onerror
|
/external/python/cpython2/Doc/library/ |
D | pkgutil.rst | 144 .. function:: walk_packages(path=None, prefix='', onerror=None) 157 *onerror* is a function which gets called with one argument (the name of the 159 import a package. If no *onerror* function is supplied, :exc:`ImportError`\s
|
D | shutil.rst | 139 .. function:: rmtree(path[, ignore_errors[, onerror]]) 146 handled by calling a handler specified by *onerror* or, if that is omitted, 149 If *onerror* is provided, it must be a callable that accepts three 155 information return by :func:`sys.exc_info`. Exceptions raised by *onerror*
|
/external/syslinux/com32/include/ |
D | menu.h | 168 const char *onerror; member
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | dependency_manager_util.py | 28 shutil.rmtree(dir_path, onerror=_WinReadOnlyHandler)
|
/external/python/cpython3/Doc/library/ |
D | pkgutil.rst | 166 .. function:: walk_packages(path=None, prefix='', onerror=None) 179 *onerror* is a function which gets called with one argument (the name of the 181 import a package. If no *onerror* function is supplied, :exc:`ImportError`\s
|
/external/boringssl/src/util/bot/ |
D | update_clang.py | 125 shutil.rmtree(dir, onerror=ChmodAndRetry)
|
/external/skia/infra/bots/ |
D | utils.py | 198 remove_with_retry(lambda p: shutil.rmtree(p, onerror=RmTreeOnError),
|
/external/skqp/infra/bots/ |
D | utils.py | 198 remove_with_retry(lambda p: shutil.rmtree(p, onerror=RmTreeOnError),
|
/external/python/cpython2/Lib/test/ |
D | test_pydoc.py | 296 def wrapper(path=None, prefix='', onerror=None): argument 297 return walk_packages(path or default_path, prefix, onerror)
|