/external/openssh/regress/unittests/sshkey/ |
test_fuzz.c | 42 onerror(void *fuzz) function 66 TEST_ONERROR(onerror, fuzz); 88 TEST_ONERROR(onerror, fuzz); 117 TEST_ONERROR(onerror, fuzz); 138 TEST_ONERROR(onerror, fuzz); 159 TEST_ONERROR(onerror, fuzz); 179 TEST_ONERROR(onerror, fuzz); 199 TEST_ONERROR(onerror, fuzz); 219 TEST_ONERROR(onerror, fuzz); 240 TEST_ONERROR(onerror, fuzz) [all...] |
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/ |
rx-observer.hpp | 71 template<class State, class OnError> 75 using onerror_t = rxu::decay_t<OnError>; 76 OnErrorForward() : onerror() {} 77 explicit OnErrorForward(onerror_t oe) : onerror(std::move(oe)) {} 78 onerror_t onerror; member in struct:rxcpp::detail::OnErrorForward 80 onerror(s, ep); 172 \tparam OnError - the type of a function that matches `void(State&, rxu::error_ptr)`. Called 0 or 1 times, no further calls will be made. If `void` State::on_error will be called. 178 template<class T, class State, class OnNext, class OnError, class OnCompleted> 182 using this_type = observer<T, State, OnNext, OnError, OnCompleted>; 189 !std::is_same<void, OnError>::value 200 on_error_t onerror; member in class:rxcpp::observer 289 on_error_t onerror; member in class:rxcpp::observer [all...] |
/external/boringssl/src/util/bot/go/ |
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/cpython3/Lib/ |
shutil.py | 369 def _rmtree_unsafe(path, onerror): 374 onerror(os.scandir, path, sys.exc_info()) 390 onerror(os.path.islink, fullname, sys.exc_info()) 392 _rmtree_unsafe(fullname, onerror) 397 onerror(os.unlink, fullname, sys.exc_info()) 401 onerror(os.rmdir, path, sys.exc_info()) 404 def _rmtree_safe_fd(topfd, path, onerror): 410 onerror(os.scandir, path, sys.exc_info()) 425 onerror(os.open, fullname, sys.exc_info()) 429 _rmtree_safe_fd(dirfd, fullname, onerror) 468 def onerror(*args): function in function:rmtree 471 def onerror(*args): function in function:rmtree [all...] |
os.py | 278 def walk(top, topdown=True, onerror=None, followlinks=False): 309 optional arg 'onerror' is specified, it should be a function; it 351 if onerror is not None: 352 onerror(error) 363 if onerror is not None: 364 onerror(error) 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): 466 topdown, onerror, follow_symlinks [all...] |
pkgutil.py | 53 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)
|
/external/v8/tools/node/ |
node_common.py | 51 shutil.rmtree(target, onerror=OnRmError)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
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...] |
pkgutil.py | 71 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):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
shutil.py | 207 def rmtree(path, ignore_errors=False, onerror=None):
210 If ignore_errors is set, errors are ignored; otherwise, if onerror
215 is false and onerror is None, an exception is raised.
219 def onerror(*args):
function in function:rmtree 221 elif onerror is None:
222 def onerror(*args):
function in function:rmtree 229 onerror(os.path.islink, path, sys.exc_info())
230 # can't continue even if onerror hook returns
236 onerror(os.listdir, path, sys.exc_info())
244 rmtree(fullname, ignore_errors, onerror)
[all...] |
pkgutil.py | 71 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):
|
os.py | 209 def walk(top, topdown=True, onerror=None, followlinks=False):
239 optional arg 'onerror' is specified, it should be a function; it
278 if onerror is not None:
279 onerror(err)
294 for x in walk(new_path, topdown, onerror, followlinks):
|
/external/python/cpython2/Lib/ |
shutil.py | 224 def rmtree(path, ignore_errors=False, onerror=None): 227 If ignore_errors is set, errors are ignored; otherwise, if onerror 232 is false and onerror is None, an exception is raised. 236 def onerror(*args): function in function:rmtree 238 elif onerror is None: 239 def onerror(*args): function in function:rmtree 246 onerror(os.path.islink, path, sys.exc_info()) 247 # can't continue even if onerror hook returns 253 onerror(os.listdir, path, sys.exc_info()) 261 rmtree(fullname, ignore_errors, onerror) [all...] |
pkgutil.py | 68 def walk_packages(path=None, prefix='', onerror=None): 82 'onerror' is a function which gets called with one argument (the 84 occurs while trying to import a package. If no onerror function is 109 if onerror is not None: 110 onerror(name) 112 if onerror is not None: 113 onerror(name) 122 for item in walk_packages(path, name+'.', onerror):
|
os.py | 209 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):
|
/external/openssh/regress/unittests/sshbuf/ |
test_sshbuf_getput_fuzz.c | 74 onerror(void *fuzz) function 123 TEST_ONERROR(onerror, fuzz);
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/docker/scripts/llvm_checksum/ |
project_tree.py | 46 for root, dirs, files in os.walk(project_root, onerror=raise_error):
|
/external/tensorflow/tensorflow/python/lib/io/ |
file_io.py | 683 def walk_v2(top, topdown=True, onerror=None): 689 onerror: optional handler for errors. Should be a function, it will be 704 if onerror: 705 onerror(err) 724 for subitem in walk_v2(os.path.join(top, subdir), topdown, onerror=onerror):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/ |
os.py | 223 def walk(top, topdown=True, onerror=None, followlinks=False):
253 optional arg 'onerror' is specified, it should be a function; it
292 if onerror is not None:
293 onerror(err)
308 for x in walk(new_path, topdown, onerror, followlinks):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/ |
os.py | 236 def walk(top, topdown=True, onerror=None, followlinks=False):
267 optional arg 'onerror' is specified, it should be a function; it
307 if onerror is not None:
308 onerror(err)
323 for x in walk(new_path, topdown, onerror, followlinks):
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/ |
shell.py | 371 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/ |
shell.py | 371 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/ |
dependency_manager_util.py | 28 shutil.rmtree(dir_path, onerror=_WinReadOnlyHandler)
|
/external/python/cpython3/Lib/multiprocessing/ |
queues.py | 206 onerror, queue_sem): 264 onerror(e, obj)
|
/external/boringssl/src/util/bot/ |
update_clang.py | 125 shutil.rmtree(dir, onerror=ChmodAndRetry)
|