Searched refs:completer (Results 1 – 25 of 99) sorted by relevance
1234
15 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 …]
51 GFilenameCompleter *completer; member73 static void cancel_load_basenames (GFilenameCompleter *completer);78 GFilenameCompleter *completer; in g_filename_completer_finalize() local80 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() argument173 if (data->completer == NULL) in got_more_files()[all …]
68 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,
259 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 …]
19 fml::RefPtr<flutter::PlatformMessageResponse> completer = message->response();28 if (completer) {30 completer->Complete(GetMappingFromNSData(reply));32 completer->CompleteEmpty();37 if (completer) {38 completer->CompleteEmpty();
107 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);
31 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 …]
63 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 …]
33 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);
68 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;
78 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;
102 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;
41 final Completer<int> completer = Completer<int>();43 completer.complete(status);46 expect(completer.isCompleted, isFalse);49 final int status = await completer.future;
21 const completer = (line) => [ function50 completer: common.mustCallAtLeast(completer), property91 completer: property123 completer: common.mustCall((input, cb) => { property
60 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);
35 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(
31 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;
15 final Completer<TestStepResult> completer = Completer<TestStepResult>();18 completer.complete(23 return completer.future;
70 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.onPauseOrResume174 return completer.operation;
25 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;
128 function createInterface(input, output, completer, terminal) { argument129 return new Interface(input, output, completer, terminal);133 function Interface(input, output, completer, terminal) { argument135 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 …]
152 // 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 …]
72 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();
26 final Completer<String> completer = Completer<String>();32 completer.complete(json.encode(result));38 return completer.future;
30 final Completer<void> completer = Completer<void>();31 Timer(const Duration(seconds: 3), () { completer.complete(); });32 return completer.future.then<void>((_) {