Searched refs:onerror (Results 1 - 25 of 32) sorted by relevance

12

/external/syslinux/com32/elflink/ldlinux/
H A Dconfig.h24 extern short onerrorlen; //bytes in onerror command
37 extern const char *onerror; //"onerror" command line
H A Dreadconfig.c75 short onerrorlen = 0; //bytes in onerror command
86 const char *onerror = NULL; //"onerror" command line variable
218 m->onerror = refstr_get(parent->onerror);
951 } else if (looking_at(p, "onerror")) {
952 refstr_put(m->onerror);
953 m->onerror = refstrdup(skipspace(p + 7));
954 onerrorlen = strlen(m->onerror);
955 refstr_put(onerror);
[all...]
H A Dldlinux.c222 * If we fail to boot the kernel execute the "onerror" command
226 me = find_label(onerror);
230 rsprintf(&cmdline, "%s %s", onerror, default_cmd);
/external/python/cpython3/Lib/
H A Dshutil.py363 def _rmtree_unsafe(path, onerror):
369 onerror(os.path.islink, path, sys.exc_info())
370 # can't continue even if onerror hook returns
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):
402 onerror(os.listdir, path, sys.exc_info())
414 onerror(o
457 def onerror(*args): function in function:rmtree
460 def onerror(*args): function in function:rmtree
[all...]
H A Dos.py277 def walk(top, topdown=True, onerror=None, followlinks=False):
308 optional arg 'onerror' is specified, it should be a function; it
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):
463 yield from _fwalk(topfd, top, topdown, onerror, follow_symlink
[all...]
H A Dpkgutil.py53 def walk_packages(path=None, prefix='', onerror=None):
67 'onerror' is a function which gets called with one argument (the
69 occurs while trying to import a package. If no onerror function is
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)
H A Dpydoc.py2048 def onerror(modname): function in function:.listmodules
2050 ModuleScanner().run(callback, onerror=onerror)
2062 def run(self, callback, key=None, completer=None, onerror=None):
2079 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
2096 if onerror:
2097 onerror(modname)
2108 if onerror:
2109 onerror(modnam
2126 def onerror(modname): function in function:apropos
2375 def onerror(modname): function in function:_url_handler.html_search.callback
[all...]
/external/python/cpython2/Lib/
H A Dshutil.py210 def rmtree(path, ignore_errors=False, onerror=None):
213 If ignore_errors is set, errors are ignored; otherwise, if onerror
218 is false and onerror is None, an exception is raised.
222 def onerror(*args): function in function:rmtree
224 elif onerror is None:
225 def onerror(*args): function in function:rmtree
232 onerror(os.path.islink, path, sys.exc_info())
233 # can't continue even if onerror hook returns
239 onerror(os.listdir, path, sys.exc_info())
247 rmtree(fullname, ignore_errors, onerror)
[all...]
H A Dpkgutil.py71 def walk_packages(path=None, prefix='', onerror=None):
85 'onerror' is a function which gets called with one argument (the
87 occurs while trying to import a package. If no onerror function is
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):
H A Dos.py209 def walk(top, topdown=True, onerror=None, followlinks=False):
240 optional arg 'onerror' is specified, it should be a function; it
280 if onerror is not None:
281 onerror(err)
296 for x in walk(new_path, topdown, onerror, followlinks):
H A Dpydoc.py1953 def onerror(modname): function in function:.listmodules
1955 ModuleScanner().run(callback, onerror=onerror)
1991 def run(self, callback, key=None, completer=None, onerror=None):
2006 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
2038 def onerror(modname): function in function:apropos
2042 ModuleScanner().run(callback, key, onerror=onerror)
2248 def onerror(modnam function in function:gui.GUI.search
[all...]
/external/boringssl/src/util/bot/go/
H A Dbootstrap.py108 def onerror(func, path, _exc_info): function in function:remove_directory
114 shutil.rmtree(p, onerror=onerror if sys.platform == 'win32' else None)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
H A Dshell.py371 def walk(top, topdown=True, onerror=None):
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/
H A Dshell.py371 def walk(top, topdown=True, onerror=None):
380 if onerror is not None:
381 onerror(err)
396 for x in walk(path, topdown, onerror):
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
H A Ddependency_manager_util.py28 shutil.rmtree(dir_path, onerror=_WinReadOnlyHandler)
/external/syslinux/com32/include/
H A Dmenu.h168 const char *onerror; member in struct:menu
/external/syslinux/core/
H A Dkeywords.inc76 keyword onerror, pc_onerror
/external/syslinux/com32/menu/
H A Dreadconfig.c188 m->onerror = refstr_get(parent->onerror);
735 } else if (looking_at(p, "onerror")) {
736 refstr_put(m->onerror);
737 m->onerror = refstrdup(skipspace(p + 7));
1168 if (m->onerror)
1169 m->onerror = unlabel(m->onerror);
/external/boringssl/src/util/bot/
H A Dupdate_clang.py125 shutil.rmtree(dir, onerror=ChmodAndRetry)
/external/skia/infra/bots/
H A Dutils.py198 remove_with_retry(lambda p: shutil.rmtree(p, onerror=RmTreeOnError),
/external/skqp/infra/bots/
H A Dutils.py198 remove_with_retry(lambda p: shutil.rmtree(p, onerror=RmTreeOnError),
/external/libvncserver/webclients/novnc/include/
H A Dwebsock.js299 this._websocket.onerror = (function (e) {
300 Util.Debug(">> WebSock.onerror: " + e);
302 Util.Debug("<< WebSock.onerror: " + e);
/external/python/cpython2/Lib/test/
H A Dtest_pydoc.py296 def wrapper(path=None, prefix='', onerror=None):
297 return walk_packages(path or default_path, prefix, onerror)
/external/deqp/external/
H A Dfetch_sources.py56 shutil.rmtree(readonlydir, onerror = onReadonlyRemoveError )
/external/selinux/libsemanage/utils/
H A Dsemanage_migrate_store285 shutil.rmtree(oldmodules_path(store), onerror=remove_error)

Completed in 720 milliseconds

12