Home
last modified time | relevance | path

Searched refs:onError (Results 1 – 25 of 139) sorted by relevance

123456

/third_party/flutter/flutter/packages/flutter/test/foundation/
Dconsolidate_response_test.dart28 onError: anyNamed('onError'),
32 final void Function(Object) onError = invocation.namedArguments[#onError];
40 onError: onError,
94 onError: anyNamed('onError'),
98 final void Function(Object) onError = invocation.namedArguments[#onError];
107 onError: onError,
139 onError: anyNamed('onError'),
143 final void Function(Object) onError = invocation.namedArguments[#onError];
151 onError: onError,
/third_party/python/Objects/stringlib/
Dsplit.h24 goto onError; \
27 goto onError; \
36 goto onError; \
42 goto onError; \
96 onError: in STRINGLIB()
139 onError: in STRINGLIB()
187 onError: in STRINGLIB()
234 goto onError; in STRINGLIB()
237 onError: in STRINGLIB()
278 goto onError; in STRINGLIB()
[all …]
/third_party/flutter/flutter/packages/flutter/test/painting/
Dimage_provider_test.dart72 FlutterError.onError = (FlutterErrorDetails details) {
78 }, onError: (dynamic error, StackTrace stackTrace) {
88 FlutterError.onError = (FlutterErrorDetails details) {
94 }, onError: (dynamic error, StackTrace stackTrace) {
110 FlutterError.onError = (FlutterErrorDetails details) {
115 }, onError: (dynamic error, StackTrace stackTrace) {
133 FlutterError.onError = (FlutterErrorDetails details) {
138 }, onError: (dynamic error, StackTrace stackTrace) {
173 }, onError: (dynamic error, StackTrace stackTrace) {
199 onError: (dynamic error, StackTrace stackTrace) {
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dcolor_scheme.dart33 @required this.onError,
46 assert(onError != null),
63 this.onError = Colors.white,
76 assert(onError != null),
93 this.onError = Colors.black,
106 assert(onError != null),
142 onError: isDark ? Colors.black : Colors.white,
203 /// and [onError] is recommended. See
205 final Color onError;
224 Color onError,
[all …]
/third_party/python/Python/
Dcodecs.c38 goto onError; in PyCodec_Register()
41 goto onError; in PyCodec_Register()
45 goto onError; in PyCodec_Register()
49 onError: in PyCodec_Register()
155 goto onError; in _PyCodec_Lookup()
161 goto onError; in _PyCodec_Lookup()
166 goto onError; in _PyCodec_Lookup()
175 goto onError; in _PyCodec_Lookup()
178 goto onError; in _PyCodec_Lookup()
187 goto onError; in _PyCodec_Lookup()
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/base/
Dnet_test.dart22 }, onError: (dynamic exception) {
45 }, onError: (dynamic exception) {
68 }, onError: (dynamic exception) {
94 }, onError: (dynamic exception) {
114 }, onError: (dynamic exception) {
139 }, onError: (dynamic exception) {
166 }, onError: (dynamic exception) {
274 Function onError,
279 .listen(onData, onError: onError, onDone: onDone, cancelOnError: cancelOnError);
/third_party/flutter/flutter/dev/manual_tests/test/
Dmock_image_http.dart22 final void Function(Object, [StackTrace]) onError = invocation.namedArguments[#onError];
24 …able(<List<int>>[kTransparentImage]).listen(onData, onDone: onDone, onError: onError, cancelOnErro…
/third_party/node/test/parallel/
Dtest-listen-fd-ebadf.js30 .on('error', common.mustCall(onError));
42 .on('error', common.mustCall(onError));
44 function onError(ex) { function
Dtest-net-connect-options-port.js196 const onError = () => common.mustCall((err) => { function
205 fn().on('error', onError());
211 fn().on('error', onError());
217 fn().on('error', onError());
Dtest-repl-top-level-await.js41 const onError = (err) => { function
47 this.removeListener('error', onError);
52 this.once('error', onError);
Dtest-repl-preview.js41 const onError = (err) => { function
47 this.removeListener('error', onError);
52 this.once('error', onError);
Dtest-dgram-send-cb-quelches-error.js26 socket.on('error', mustCall(onError));
34 function onError(err) { function
/third_party/node/deps/npm/node_modules/read/lib/
Dread.js62 rl.on('error', onError)
66 onError(new Error('canceled'))
72 onError(new Error('timed out'))
91 function onError (er) { function
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dimage_headers_test.dart38 final void Function(Object, [ StackTrace ]) onError = invocation.namedArguments[#onError];
40 …able(<List<int>>[kTransparentImage]).listen(onData, onDone: onDone, onError: onError, cancelOnErro…
Drow_test.dart38 final FlutterExceptionHandler oldHandler = FlutterError.onError;
40 FlutterError.onError = (FlutterErrorDetails details) {
56 FlutterError.onError = oldHandler;
69 final FlutterExceptionHandler oldHandler = FlutterError.onError;
71 FlutterError.onError = (FlutterErrorDetails details) {
87 FlutterError.onError = oldHandler;
99 final FlutterExceptionHandler oldHandler = FlutterError.onError;
101 FlutterError.onError = (FlutterErrorDetails details) {
117 FlutterError.onError = oldHandler;
130 final FlutterExceptionHandler oldHandler = FlutterError.onError;
[all …]
/third_party/node/test/sequential/
Dtest-net-connect-local-error.js23 function onError(err, options) { function
36 clientIPv4.on('error', common.mustCall((err) => onError(err, optionsIPv4)));
44 clientIPv6.on('error', common.mustCall((err) => onError(err, optionsIPv6)));
/third_party/node/test/pummel/
Dtest-policy-integrity.js108 onError, // = (() => { throw new Error('required')})(),
126 onerror: onError,
261 onError: ['log', 'exit'], property
369 if (permutation.onError === 'log') {
376 onError: permutation.onError, property
/third_party/node/tools/
Dlint-sh.js169 function onError(e) { function
176 checkFiles(...findScriptFilesRecursively(entryPoint)).catch(onError);
179 checkFiles(entryPoint).catch(onError);
181 onError(new Error('You must provide a valid directory or file path. ' +
/third_party/python/Objects/
Dunicodeobject.c3665 goto onError; in PyUnicode_Decode()
3668 goto onError; in PyUnicode_Decode()
3671 goto onError; in PyUnicode_Decode()
3679 goto onError; in PyUnicode_Decode()
3684 onError: in PyUnicode_Decode()
3720 goto onError; in PyUnicode_AsDecodedUnicode()
3734 goto onError; in PyUnicode_AsDecodedUnicode()
3742 goto onError; in PyUnicode_AsDecodedUnicode()
3746 onError: in PyUnicode_AsDecodedUnicode()
3775 goto onError; in PyUnicode_AsEncodedObject()
[all …]
/third_party/node/deps/npm/test/
Dfake-registry.js78 const onError = err => { function
87 this.server.removeListener('error', onError)
90 this.server.once('error', onError)
/third_party/node/lib/internal/util/
Dinspector.js9 function sendInspectorCommand(cb, onError) { argument
11 if (!hasInspector) return onError();
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dimage_stream.dart77 this.onError,
92 /// * [onError], which will be called instead of [onImage] if an error occurs
111 /// If an error occurs during loading, [onError] will be called instead of
113 final ImageErrorListener onError;
116 int get hashCode => hashValues(onImage, onChunk, onError);
125 && onError == typedOther.onError;
367 if (_currentError != null && listener.onError != null) {
369 listener.onError(_currentError.exception, _currentError.stack);
421 /// If no error listeners (listeners with an [ImageStreamListener.onError]
465 .map<ImageErrorListener>((ImageStreamListener listener) => listener.onError)
[all …]
/third_party/flutter/flutter/packages/flutter/test/rendering/
Drendering_tester.dart78 final FlutterExceptionHandler oldErrorHandler = FlutterError.onError;
79 FlutterError.onError = (FlutterErrorDetails details) {
101 FlutterError.onError = oldErrorHandler;
137 /// If `onErrors` is not null, it is set as [TestRenderingFlutterBinding.onError].
165 /// If `onErrors` is not null, it is set as [TestRenderingFlutterBinding.onError].
/third_party/flutter/flutter/packages/flutter/lib/src/foundation/
Dsynchronous_future.dart34 Future<T> catchError(Function onError, { bool test(dynamic error) }) => Completer<T>().future;
37 Future<E> then<E>(dynamic f(T value), { Function onError }) {
/third_party/flutter/flutter/packages/flutter/test/material/
Dcolor_scheme_test.dart25 expect(scheme.onError, const Color(0xffffffff));
44 expect(scheme.onError, const Color(0xff000000));

123456