/external/boringssl/src/util/bot/go/ |
H A D | bootstrap.py | 108 def onerror(func, path, _exc_info): function in function:remove_directory 114 shutil.rmtree(p, onerror=onerror if sys.platform == 'win32' else None)
|
/external/python/cpython2/Lib/ |
H A D | shutil.py | 210 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 D | pydoc.py | 1953 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/python/cpython3/Lib/ |
H A D | shutil.py | 363 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 D | pydoc.py | 2048 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/syslinux/com32/include/ |
H A D | menu.h | 168 const char *onerror; member in struct:menu
|
/external/syslinux/com32/elflink/ldlinux/ |
H A D | readconfig.c | 75 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...] |
/external/python/cpython3/Lib/test/ |
H A D | test_shutil.py | 132 def onerror(*args): function in function:TestShutil.test_rmtree_fails_on_symlink 134 shutil.rmtree(link, onerror=onerror) 184 def onerror(*args): function in function:TestShutil.test_rmtree_errors 186 shutil.rmtree(filename, onerror=onerror) 225 shutil.rmtree(TESTFN, onerror=self.check_args_to_onerror) 226 # Test whether onerror has actually been called. 228 "Expected call to onerror function did not happen.")
|
/external/v8/tools/profviz/ |
H A D | gnuplot-4.6.3-emscripten.js | 1276 },createPreloadedFile:function (parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile) { 1292 if (onerror) onerror(); 1304 }, onerror); 4030 imagePlugin['handle'] = function(byteArray, name, onload, onerror) { 4057 img.onerror = function(event) { 4059 if (onerror) onerror(); 4068 audioPlugin['handle'] = function(byteArray, name, onload, onerror) { 4080 if (onerror) onerro [all...] |