Home
last modified time | relevance | path

Searched refs:onerror (Results 1 – 25 of 66) sorted by relevance

123

/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/
Drx-observer.hpp76 OnErrorForward() : onerror() {} in OnErrorForward()
77 explicit OnErrorForward(onerror_t oe) : onerror(std::move(oe)) {} in OnErrorForward()
78 onerror_t onerror; member
80 onerror(s, ep); in operator ()()
200 on_error_t onerror; member in rxcpp::observer
208 , onerror(std::move(e)) in observer()
215 , onerror(on_error_t()) in observer()
222 , onerror(o.onerror) in observer()
229 , onerror(std::move(o.onerror)) in observer()
236 onerror = std::move(o.onerror); in operator =()
[all …]
/external/python/cpython3/Lib/
Dos.py282 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
359 if onerror is not None:
360 onerror(error)
371 if onerror is not None:
372 onerror(error)
418 yield from _walk(new_path, topdown, onerror, followlinks)
422 yield from _walk(new_path, topdown, onerror, followlinks)
[all …]
Dshutil.py594 def _rmtree_unsafe(path, onerror): argument
599 onerror(os.scandir, path, sys.exc_info())
611 onerror(os.path.islink, fullname, sys.exc_info())
613 _rmtree_unsafe(fullname, onerror)
618 onerror(os.unlink, fullname, sys.exc_info())
622 onerror(os.rmdir, path, sys.exc_info())
625 def _rmtree_safe_fd(topfd, path, onerror): argument
631 onerror(os.scandir, path, sys.exc_info())
645 onerror(os.lstat, fullname, sys.exc_info())
651 onerror(os.open, fullname, sys.exc_info())
[all …]
Dpkgutil.py54 def walk_packages(path=None, prefix='', onerror=None): argument
95 if onerror is not None:
96 onerror(info.name)
98 if onerror is not None:
99 onerror(info.name)
108 yield from walk_packages(path, info.name+'.', onerror)
Dpydoc.py2198 def onerror(modname): function
2200 ModuleScanner().run(callback, onerror=onerror)
2212 def run(self, callback, key=None, completer=None, onerror=None): argument
2229 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
2246 if onerror:
2247 onerror(modname)
2258 if onerror:
2259 onerror(modname)
2276 def onerror(modname): function
2280 ModuleScanner().run(callback, key, onerror=onerror)
[all …]
Dtempfile.py786 def onerror(func, path, exc_info): function
812 _shutil.rmtree(name, onerror=onerror)
/external/openssh/regress/unittests/sshkey/
Dtest_fuzz.c42 onerror(void *fuzz) in onerror() function
68 TEST_ONERROR(onerror, fuzz); in public_fuzz()
96 TEST_ONERROR(onerror, fuzz); in sig_fuzz()
126 TEST_ONERROR(onerror, fuzz); in sshkey_fuzz_tests()
148 TEST_ONERROR(onerror, fuzz); in sshkey_fuzz_tests()
170 TEST_ONERROR(onerror, fuzz); in sshkey_fuzz_tests()
192 TEST_ONERROR(onerror, fuzz); in sshkey_fuzz_tests()
215 TEST_ONERROR(onerror, fuzz); in sshkey_fuzz_tests()
237 TEST_ONERROR(onerror, fuzz); in sshkey_fuzz_tests()
261 TEST_ONERROR(onerror, fuzz); in sshkey_fuzz_tests()
/external/python/pyfakefs/pyfakefs/
Dfake_scandir.py210 def walk(filesystem, top, topdown=True, onerror=None, followlinks=False): argument
236 if onerror is not None:
237 onerror(exc)
294 def walk(self, top, topdown=True, onerror=None, followlinks=False): argument
311 return walk(self.filesystem, top, topdown, onerror, followlinks)
/external/python/cpython2/Lib/
Dshutil.py224 def rmtree(path, ignore_errors=False, onerror=None): argument
236 def onerror(*args): function
238 elif onerror is None:
239 def onerror(*args): function
246 onerror(os.path.islink, path, sys.exc_info())
253 onerror(os.listdir, path, sys.exc_info())
261 rmtree(fullname, ignore_errors, onerror)
266 onerror(os.remove, fullname, sys.exc_info())
270 onerror(os.rmdir, path, sys.exc_info())
Dpkgutil.py68 def walk_packages(path=None, prefix='', onerror=None): argument
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):
Dos.py209 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):
Dpydoc.py1959 def onerror(modname): function
1961 ModuleScanner().run(callback, onerror=onerror)
1997 def run(self, callback, key=None, completer=None, onerror=None): argument
2012 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
2044 def onerror(modname): function
2048 ModuleScanner().run(callback, key, onerror=onerror)
2254 def onerror(modname): function
2258 kwargs=dict(onerror=onerror)).start()
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io.py726 def walk_v2(top, topdown=True, onerror=None): argument
755 if onerror:
756 onerror(err)
776 _make_full_path(top, subdir), topdown, onerror=onerror):
/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_getput_fuzz.c75 onerror(void *fuzz) in onerror() function
124 TEST_ONERROR(onerror, fuzz); in sshbuf_getput_fuzz_tests()
/external/python/cffi/c/
Dcall_python.c61 PyObject *error, *onerror, *infotuple, *old1; in _ffi_def_extern_decorator() local
72 if (!PyArg_ParseTuple(outer_args, "OzOO", &ffi, &s, &error, &onerror)) in _ffi_def_extern_decorator()
100 infotuple = prepare_callback_info_tuple(ct, fn, error, onerror, 0); in _ffi_def_extern_decorator()
Dffi_obj.c757 PyObject *res, *onerror = Py_None; in ffi_def_extern() local
761 &name, &error, &onerror)) in ffi_def_extern()
764 args = Py_BuildValue("(OOOO)", (PyObject *)self, name, error, onerror); in ffi_def_extern()
794 PyObject *res, *onerror = Py_None; in ffi_callback() local
800 &onerror)) in ffi_callback()
808 args = Py_BuildValue("(OOOO)", c_decl, python_callable, error, onerror); in ffi_callback()
/external/boringssl/src/util/bot/go/
Dbootstrap.py108 def onerror(func, path, _exc_info): function
114 shutil.rmtree(p, onerror=onerror if sys.platform == 'win32' else None)
/external/perfetto/ui/src/frontend/
Dlegacy_trace_viewer.ts50 reader.onerror = err => {
100 reader.onerror = err => {
Dlive_reload.ts33 monitor.onerror = (err) => {
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Dshell.py371 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/rcssmin/_setup/py2/
Dshell.py371 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/llvm-project/llvm/utils/docker/scripts/llvm_checksum/
Dproject_tree.py46 for root, dirs, files in os.walk(project_root, onerror=raise_error):
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.io.gfile.pbtxt53 …argspec: "args=[\'top\', \'topdown\', \'onerror\'], varargs=None, keywords=None, defaults=[\'True\…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.io.gfile.pbtxt53 …argspec: "args=[\'top\', \'topdown\', \'onerror\'], varargs=None, keywords=None, defaults=[\'True\…
/external/python/cpython2/Doc/library/
Dpkgutil.rst144 .. 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

123