/third_party/node/deps/v8/third_party/test262-harness/src/ |
H A D | parseTestRecord.py | 17 #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 D | legacy.js | 59 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 D | end-of-stream.js | 136 const onerror = (err) => { 204 stream.on('error', onerror); 241 stream.removeListener('error', onerror);
|
H A D | readable.js | 762 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 D | shutil.py | 598 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 D | os.py | 282 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 D | 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)
|
H A D | pydoc.py | 2201 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 D | tempfile.py | 879 def onerror(func, path, exc_info): function 899 _shutil.rmtree(name, onerror=onerror)
|
/third_party/node/test/fixtures/wpt/FileAPI/url/ |
H A D | url-with-xhr.any.js | 12 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 D | parse-proxy-response.js | 26 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 D | sriharness.js | 139 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 D | test-only-api.js | 26 script.onerror = e => { reject(`Error loading ${path}`); };
|
/third_party/node/test/sequential/ |
H A D | test-gc-http-client-onerror.js | 41 }, cb).on('error', onerror); 54 function onerror(err) { function
|
/third_party/node/test/fixtures/wpt/FileAPI/support/ |
H A D | Blob.js | 20 fr.onerror = t.step_func(function(e) { 46 fr.onerror = t.step_func(function(e) {
|
/third_party/node/test/parallel/ |
H A D | test-policy-parse-integrity.js | 102 onerror: 'exit' 109 onerror: 'log'
|
/third_party/vulkan-loader/scripts/ |
H A D | update_deps.py | 389 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 D | decoding-helpers.js | 9 req.onerror = () => reject(new Error(req.statusText));
|
/third_party/node/tools/v8/ |
H A D | node_common.py | 54 shutil.rmtree(target, onerror=OnRmError)
|
/third_party/node/deps/undici/src/lib/websocket/ |
H A D | websocket.js | 421 get onerror () { 427 set onerror (fn) { 560 onerror: kEnumerableProperty,
|
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
H A D | api.js | 70 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 D | interface.js | 245 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 D | utils.py | 200 remove_with_retry(lambda p: shutil.rmtree(p, onerror=RmTreeOnError),
|
/third_party/python/Lib/multiprocessing/ |
H A D | queues.py | 213 writer_close, ignore_epipe, onerror, queue_sem): 272 onerror(e, obj)
|
/third_party/python/Lib/idlelib/ |
H A D | grep.py | 56 for dirpath, _, filenames in os.walk(folder, onerror=walk_error):
|