Home
last modified time | relevance | path

Searched refs:completer (Results 1 – 25 of 99) sorted by relevance

1234

/third_party/python/Lib/test/
Dtest_rlcompleter.py15 self.completer = rlcompleter.Completer(dict(spam=int,
29 self.assertFalse(self.completer.use_main_ns)
42 self.assertEqual(self.completer.global_matches('CompleteM'),
44 self.assertEqual(self.completer.global_matches('eg'),
47 self.assertEqual(self.completer.global_matches('CompleteM'),
63 self.assertEqual(self.completer.attr_matches('CompleteMe.sp'),
65 self.assertEqual(self.completer.attr_matches('Completeme.egg'), [])
66 self.assertEqual(self.completer.attr_matches('CompleteMe.'),
68 self.assertEqual(self.completer.attr_matches('CompleteMe._'),
70 matches = self.completer.attr_matches('CompleteMe.__')
[all …]
/third_party/glib/gio/
Dgfilenamecompleter.c51 GFilenameCompleter *completer; member
73 static void cancel_load_basenames (GFilenameCompleter *completer);
78 GFilenameCompleter *completer; in g_filename_completer_finalize() local
80 completer = G_FILENAME_COMPLETER (object); in g_filename_completer_finalize()
82 cancel_load_basenames (completer); in g_filename_completer_finalize()
84 if (completer->basenames_dir) in g_filename_completer_finalize()
85 g_object_unref (completer->basenames_dir); in g_filename_completer_finalize()
87 g_list_free_full (completer->basenames, g_free); in g_filename_completer_finalize()
113 g_filename_completer_init (GFilenameCompleter *completer) in g_filename_completer_init() argument
173 if (data->completer == NULL) in got_more_files()
[all …]
Dgfilenamecompleter.h68 char * g_filename_completer_get_completion_suffix (GFilenameCompleter *completer,
71 char ** g_filename_completer_get_completions (GFilenameCompleter *completer,
74 void g_filename_completer_set_dirs_only (GFilenameCompleter *completer,
/third_party/ejdb/src/bindings/ejdb2_dart/lib/
Dejdb2_dart.dart259 static bool _checkCompleterPortError(Completer<dynamic> completer, dynamic reply) {
261 completer.completeError(EJDB2Error(reply, ejdb2ExplainRC(reply)));
264 completer.completeError(EJDB2Error(0, 'Invalid port response'));
290 final completer = Completer<EJDB2>();
298 if (_checkCompleterPortError(completer, reply)) {
304 completer.completeError(e);
307 completer.complete(jb);
338 return completer.future;
347 final completer = Completer<void>();
351 if (_checkCompleterPortError(completer, reply)) {
[all …]
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/
Dplatform_message_router.mm19 fml::RefPtr<flutter::PlatformMessageResponse> completer = message->response();
28 if (completer) {
30 completer->Complete(GetMappingFromNSData(reply));
32 completer->CompleteEmpty();
37 if (completer) {
38 completer->CompleteEmpty();
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dpositioned_test.dart107 final Completer<void> completer = Completer<void>();
108 controller.forward().whenComplete(completer.complete);
109 expect(completer.isCompleted, isFalse);
111 expect(completer.isCompleted, isFalse);
114 expect(completer.isCompleted, isFalse);
117 expect(completer.isCompleted, isFalse);
120 expect(completer.isCompleted, isFalse);
123 expect(completer.isCompleted, isFalse);
131 expect(completer.isCompleted, isTrue);
Dscroll_events_test.dart31 final Completer<void> completer = Completer<void>();
33 …mateTo(newScrollOffset, duration: duration, curve: Curves.linear).whenComplete(completer.complete);
34 return completer;
66 … final Completer<void> completer = animateTo(tester, 100.0, duration: const Duration(seconds: 1));
67 expect(completer.isCompleted, isFalse);
75 expect(completer.isCompleted, isTrue);
94 … final Completer<void> completer = animateTo(tester, 100.0, duration: const Duration(seconds: 1));
95 expect(completer.isCompleted, isFalse);
101 expect(completer.isCompleted, isFalse);
104 expect(completer.isCompleted, isFalse);
[all …]
Dasync_test.dart63 final Completer<String> completer = Completer<String>();
65 key: key, future: completer.future, builder: snapshotText,
71 final Completer<String> completer = Completer<String>();
73 key: key, future: completer.future, builder: snapshotText,
80 completer.complete('hello');
102 final Completer<String> completer = Completer<String>();
104 future: completer.future, builder: snapshotText,
107 completer.complete('hello');
112 final Completer<String> completer = Completer<String>();
114 future: completer.future, builder: snapshotText,
[all …]
/third_party/flutter/engine/flutter/shell/testing/observatory/
Dservice_client.dart33 final Completer<Map<String, dynamic>> completer = Completer<Map<String, dynamic>>();
34 _outstandingRequests[key] = completer;
36 return completer.future;
50 final dynamic completer = _outstandingRequests.remove(key);
51 assert(completer != null);
56 completer.completeError(error);
59 completer.complete(result);
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/
Dasync_guard.dart68 final Completer<T> completer = Completer<T>();
73 if (!completer.isCompleted) {
74 completer.complete(result);
77 if (!completer.isCompleted) {
78 completer.completeError(e, s);
82 if (!completer.isCompleted) {
83 completer.completeError(e, s);
87 return completer.future;
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/zircon/test/
Dchannel_test.dart78 final Completer<List<int>> completer = Completer<List<int>>();
80 completer.complete(<int>[status, pending]);
83 expect(completer.isCompleted, isFalse);
87 final List<int> result = await completer.future;
95 final Completer<int> completer = Completer<int>();
97 completer.complete(status);
100 expect(completer.isCompleted, isFalse);
104 final int status = await completer.future;
Dsocket_test.dart102 final Completer<int> completer = Completer<int>();
104 completer.complete(status);
107 expect(completer.isCompleted, isFalse);
111 final int status = await completer.future;
117 final Completer<int> completer = Completer<int>();
119 completer.complete(status);
122 expect(completer.isCompleted, isFalse);
126 final int status = await completer.future;
Deventpair_test.dart41 final Completer<int> completer = Completer<int>();
43 completer.complete(status);
46 expect(completer.isCompleted, isFalse);
49 final int status = await completer.future;
/third_party/node/test/parallel/
Dtest-readline-tab-complete.js21 const completer = (line) => [ function
50 completer: common.mustCallAtLeast(completer), property
91 completer: property
123 completer: common.mustCall((input, cb) => { property
/third_party/flutter/flutter/packages/flutter/test/painting/
Dmocks_for_image_cache.dart60 final Completer<ImageInfo> completer = Completer<ImageInfo>();
63 completer.complete(image);
67 return completer.future;
125 final Completer<void> completer = Completer<void>.sync();
126 completer.completeError(Error());
127 return OneFrameImageStreamCompleter(completer.future);
Dimage_provider_test.dart35 final Completer<void> completer = Completer<void>();
36 … stream.addListener(ImageStreamListener((ImageInfo info, bool syncCall) => completer.complete()));
37 await completer.future;
52 final Completer<void> completer = Completer<void>();
55 completer.complete();
60 await Future.wait(<Future<void>>[completer.future, cacheCompleter.future]);
123 test('resolve errors in the completer will be caught', () async {
196 final ImageStreamCompleter completer = networkImage.load(networkImage);
197 completer.addListener(ImageStreamListener(
/third_party/flutter/flutter/packages/flutter_localizations/test/material/
Ddate_time_test.dart31 final Completer<String> completer = Completer<String>();
39 completer.complete(MaterialLocalizations.of(context).formatHour(timeOfDay));
43 return completer.future;
77 final Completer<String> completer = Completer<String>();
85 completer.complete(MaterialLocalizations.of(context).formatTimeOfDay(timeOfDay));
89 return completer.future;
121 final Completer<Map<DateType, String>> completer = Completer<Map<DateType, String>>();
130 completer.complete(<DateType, String>{
139 return completer.future;
/third_party/flutter/flutter/dev/integration_tests/platform_interaction/lib/src/
Dsystem_navigation.dart15 final Completer<TestStepResult> completer = Completer<TestStepResult>();
18 completer.complete(
23 return completer.future;
/third_party/flutter/flutter/packages/flutter_tools/tool/
Dtool_coverage.dart70 final Completer<void> completer = Completer<void>();
73 unawaited(completer.future.whenComplete(() {
86 completer.complete();
92 completer.complete();
104 _pending[codePath] = completer.future;
169 …final CancelableCompleter<dynamic> completer = CancelableCompleter<dynamic>(onCancel: () => _isola…
171 completer.complete(_isolate.pause().then((dynamic _) => _isolate.onPauseOrResume
174 return completer.operation;
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dhtml_image_codec.dart25 final Completer<ui.FrameInfo> completer = Completer<ui.FrameInfo>();
40 completer.complete(SingleFrameInfo(image));
46 completer.completeError(event);
59 completer.complete(SingleFrameInfo(image));
62 return completer.future;
/third_party/node/lib/
Dreadline.js128 function createInterface(input, output, completer, terminal) { argument
129 return new Interface(input, output, completer, terminal);
133 function Interface(input, output, completer, terminal) { argument
135 return new Interface(input, output, completer, terminal);
157 completer = input.completer;
189 if (completer !== undefined && typeof completer !== 'function') {
190 throw new ERR_INVALID_OPT_VALUE('completer', completer);
227 if (typeof completer === 'function') {
228 this.completer = completer.length === 2 ?
229 completer :
[all …]
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Dcompile.dart152 // with its own boundary key and new completer.
322 _CompilationRequest(this.completer);
324 Completer<CompilerOutput> completer;
329 completer.complete(await _run(compiler));
335 Completer<CompilerOutput> completer,
340 ) : super(completer);
354 Completer<CompilerOutput> completer,
361 ) : super(completer);
376 _RejectRequest(Completer<CompilerOutput> completer) : super(completer);
449 final Completer<CompilerOutput> completer = Completer<CompilerOutput>();
[all …]
/third_party/flutter/flutter/examples/image_list/lib/
Dmain.dart72 Widget createImage(final int index, final Completer<bool> completer) {
81 if (frame == 0 && !completer.isCompleted) {
82 completer.complete(true);
103 (Completer<bool> completer) => completer.future).toList();
/third_party/flutter/flutter/dev/integration_tests/android_semantics_testing/lib/
Dmain.dart26 final Completer<String> completer = Completer<String>();
32 completer.complete(json.encode(result));
38 return completer.future;
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/
Doverscroll_demo.dart30 final Completer<void> completer = Completer<void>();
31 Timer(const Duration(seconds: 3), () { completer.complete(); });
32 return completer.future.then<void>((_) {

1234