Home
last modified time | relevance | path

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

12

/third_party/node/deps/v8/third_party/test262-harness/src/
H A DparseTestRecord.py17 #def onerror(message):
41 def yamlAttrParser(testRecord, attrs, name, onerror = print):
44 onerror("Failed to parse yaml in name %s" % name)
71 def parseTestRecord(src, name, onerror = print):
80 onerror("Missing frontmatter: %s" % name)
88 onerror("Unexpected license after frontmatter: %s" % name)
93 onerror("Unexpected test content between license and frontmatter: %s" % name)
107 yamlAttrParser(testRecord, attrs, name, onerror)
111 onerror("No license found in: %s" % name)
/third_party/node/lib/internal/streams/
H A Dlegacy.js59 function onerror(er) {
66 prependListener(source, 'error', onerror);
67 prependListener(dest, 'error', onerror);
77 source.removeListener('error', onerror);
78 dest.removeListener('error', onerror);
H A Dend-of-stream.js136 const onerror = (err) => {
204 stream.on('error', onerror);
241 stream.removeListener('error', onerror);
H A Dreadable.js762 dest.removeListener('error', onerror);
818 function onerror(er) {
819 debug('onerror', er);
821 dest.removeListener('error', onerror);
834 prependListener(dest, 'error', onerror);
/third_party/python/Lib/
H A Dshutil.py598 def _rmtree_unsafe(path, onerror):
603 onerror(os.scandir, path, sys.exc_info())
615 onerror(os.path.islink, fullname, sys.exc_info())
617 _rmtree_unsafe(fullname, onerror)
622 onerror(os.unlink, fullname, sys.exc_info())
626 onerror(os.rmdir, path, sys.exc_info())
629 def _rmtree_safe_fd(topfd, path, onerror):
635 onerror(os.scandir, path, sys.exc_info())
649 onerror(os.lstat, fullname, sys.exc_info())
656 onerror(o
708 def onerror(*args): global() function
711 def onerror(*args): global() function
[all...]
H A Dos.py282 def walk(top, topdown=True, onerror=None, followlinks=False):
315 optional arg 'onerror' is specified, it should be a function; it
342 sys.audit("os.walk", top, topdown, onerror, followlinks)
343 return _walk(fspath(top), topdown, onerror, followlinks)
345 def _walk(top, topdown, onerror, followlinks):
360 if onerror is not None:
361 onerror(error)
372 if onerror is not None:
373 onerror(error)
419 yield from _walk(new_path, topdown, onerror, followlink
[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.py2201 def onerror(modname): function
2203 ModuleScanner().run(callback, onerror=onerror)
2215 def run(self, callback, key=None, completer=None, onerror=None):
2232 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
2249 if onerror:
2250 onerror(modname)
2261 if onerror:
2262 onerror(modnam
2279 def onerror(modname): global() function
2531 def onerror(modname): global() function
[all...]
H A Dtempfile.py879 def onerror(func, path, exc_info): function
899 _shutil.rmtree(name, onerror=onerror)
/third_party/node/test/fixtures/wpt/FileAPI/url/
H A Durl-with-xhr.any.js12 xhr.onerror = () => reject('Got unexpected error event');
22 xhr.onerror = resolve;
65 xhr.onerror = t.unreached_func('Got unexpected error event');
/third_party/node/deps/npm/node_modules/https-proxy-agent/dist/
H A Dparse-proxy-response.js26 socket.removeListener('error', onerror);
34 function onerror(err) {
36 debug('onerror %o', err);
95 socket.on('error', onerror);
/third_party/node/test/fixtures/wpt/resources/
H A Dsriharness.js139 subresource_element.onerror = valid_subresource_failed;
142 subresource_element.onerror = subresource_pass;
150 link.onerror = valid_preload_failed;
153 link.onerror = preload_pass;
H A Dtest-only-api.js26 script.onerror = e => { reject(`Error loading ${path}`); };
/third_party/node/test/sequential/
H A Dtest-gc-http-client-onerror.js41 }, cb).on('error', onerror);
54 function onerror(err) { function
/third_party/node/test/fixtures/wpt/FileAPI/support/
H A DBlob.js20 fr.onerror = t.step_func(function(e) {
46 fr.onerror = t.step_func(function(e) {
/third_party/node/test/parallel/
H A Dtest-policy-parse-integrity.js102 onerror: 'exit'
109 onerror: 'log'
/third_party/vulkan-loader/scripts/
H A Dupdate_deps.py389 shutil.rmtree(self.repo_dir, onerror=on_rm_error)
420 shutil.rmtree(self.repo_dir, onerror = on_rm_error)
462 shutil.rmtree(self.build_dir, onerror=on_rm_error)
465 shutil.rmtree(self.install_dir, onerror=on_rm_error)
/third_party/node/test/fixtures/wpt/encoding/resources/
H A Ddecoding-helpers.js9 req.onerror = () => reject(new Error(req.statusText));
/third_party/node/tools/v8/
H A Dnode_common.py54 shutil.rmtree(target, onerror=OnRmError)
/third_party/node/deps/undici/src/lib/websocket/
H A Dwebsocket.js421 get onerror () {
427 set onerror (fn) {
560 onerror: kEnumerableProperty,
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/
H A Dapi.js70 readAsync = (filename, onload, onerror) => {
78 onerror(err2);
152 readAsync = (url, onload, onerror) => {
166 onerror();
168 xhr.onerror = onerror;
[all...]
/third_party/node/lib/internal/readline/
H A Dinterface.js245 function onerror(err) {
287 input.on('error', onerror);
292 input.removeListener('error', onerror);
303 input.removeListener('error', onerror);
/third_party/skia/infra/bots/
H A Dutils.py200 remove_with_retry(lambda p: shutil.rmtree(p, onerror=RmTreeOnError),
/third_party/python/Lib/multiprocessing/
H A Dqueues.py213 writer_close, ignore_epipe, onerror, queue_sem):
272 onerror(e, obj)
/third_party/python/Lib/idlelib/
H A Dgrep.py56 for dirpath, _, filenames in os.walk(folder, onerror=walk_error):

Completed in 27 milliseconds

12