Home
last modified time | relevance | path

Searched refs:completion (Results 1 – 25 of 254) sorted by relevance

1234567891011

/external/chromium_org/chrome/renderer/spellchecker/
Dspellcheck_provider_hunspell_unittest.cc23 FakeTextCheckingCompletion completion; in TEST_F() local
25 &completion, in TEST_F()
27 EXPECT_EQ(completion.completion_count_, 1U); in TEST_F()
36 FakeTextCheckingCompletion completion; in TEST_F() local
41 blink::WebString(), &completion, std::vector<SpellCheckMarker>()); in TEST_F()
48 blink::WebString("First"), &completion, std::vector<SpellCheckMarker>()); in TEST_F()
55 &completion, in TEST_F()
63 &completion, in TEST_F()
71 &completion, in TEST_F()
79 &completion, in TEST_F()
[all …]
Dspellcheck_provider.cc56 WebTextCheckingCompletion* completion, in RequestTextChecking() argument
60 completion->didCancelCheckingText(); in RequestTextChecking()
65 if (SatisfyRequestFromCache(text, completion)) in RequestTextChecking()
80 text_check_completions_.Add(completion), in RequestTextChecking()
86 text_check_completions_.Add(completion), in RequestTextChecking()
170 WebTextCheckingCompletion* completion) { in requestCheckingOfText() argument
176 RequestTextChecking(text, completion, spellcheck_markers); in requestCheckingOfText()
214 WebTextCheckingCompletion* completion = in OnRespondSpellingService() local
216 if (!completion) in OnRespondSpellingService()
222 spellcheck_->RequestTextChecking(line, completion); in OnRespondSpellingService()
[all …]
Dspellcheck_unittest.cc1003 MockTextCheckingCompletion completion; in TEST_F() local
1005 spell_check()->RequestTextChecking(base::string16(), &completion); in TEST_F()
1009 EXPECT_EQ(completion.completion_count_, 1U); in TEST_F()
1014 MockTextCheckingCompletion completion; in TEST_F() local
1017 spell_check()->RequestTextChecking(text, &completion); in TEST_F()
1021 EXPECT_EQ(completion.completion_count_, 1U); in TEST_F()
1026 MockTextCheckingCompletion completion; in TEST_F() local
1029 spell_check()->RequestTextChecking(text, &completion); in TEST_F()
1033 EXPECT_EQ(completion.completion_count_, 1U); in TEST_F()
1034 EXPECT_EQ(completion.last_results_.size(), 1U); in TEST_F()
[all …]
/external/chromium_org/base/memory/
Dweak_ptr_unittest.cc70 WaitableEvent completion(true, false); in CreateArrowFromTarget() local
74 arrow, target, &completion)); in CreateArrowFromTarget()
75 completion.Wait(); in CreateArrowFromTarget()
79 WaitableEvent completion(true, false); in CreateArrowFromArrow() local
83 arrow, other, &completion)); in CreateArrowFromArrow()
84 completion.Wait(); in CreateArrowFromArrow()
88 WaitableEvent completion(true, false); in DeleteTarget() local
91 base::Bind(&BackgroundThread::DoDeleteTarget, object, &completion)); in DeleteTarget()
92 completion.Wait(); in DeleteTarget()
96 WaitableEvent completion(true, false); in CopyAndAssignArrow() local
[all …]
/external/clang/test/Index/
Dcomplete-natural.m11 // RUN: c-index-test -code-completion-at=%s:4:32 %s > %t
17 // RUN: c-index-test -code-completion-at=%s:5:18 %s > %t
20 // RUN: c-index-test -code-completion-at=%s:6:7 %s > %t
23 // RUN: c-index-test -code-completion-at=%s:7:7 %s > %t
26 // RUN: c-index-test -code-completion-at=%s:8:10 %s > %t
29 // RUN: c-index-test -code-completion-at=%s:9:9 %s > %t
32 // RUN: c-index-test -code-completion-at=%s:10:19 %s > %t
36 // Same tests as above, but with completion caching.
37 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
40 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
[all …]
Dcomplete-super.m42 // Check "super" completion as a message receiver.
43 // RUN: c-index-test -code-completion-at=%s:20:4 %s | FileCheck -check-prefix=CHECK-ADD-RECEIVER %s
46 // RUN: c-index-test -code-completion-at=%s:24:4 %s | FileCheck -check-prefix=CHECK-SELECT-RECEIVER…
49 // Check "super" completion at the first identifier
50 // RUN: c-index-test -code-completion-at=%s:20:10 %s | FileCheck -check-prefix=CHECK-ADD-ADD %s
55 // RUN: c-index-test -code-completion-at=%s:24:10 %s | FileCheck -check-prefix=CHECK-SELECTOR-SELEC…
59 // Check "super" completion at the second identifier
60 // RUN: c-index-test -code-completion-at=%s:20:16 %s | FileCheck -check-prefix=CHECK-ADD-TO %s
63 // RUN: c-index-test -code-completion-at=%s:24:28 %s | FileCheck -check-prefix=CHECK-SELECTOR-FIRST…
66 // Check "super" completion at the third identifier
[all …]
Dcomplete-objc-message.m192 // RUN: c-index-test -code-completion-at=%s:23:19 %s | FileCheck -check-prefix=CHECK-CC1 %s
204 // RUN: c-index-test -code-completion-at=%s:24:8 %s | FileCheck -check-prefix=CHECK-CC2 %s
213 // RUN: c-index-test -code-completion-at=%s:61:16 %s | FileCheck -check-prefix=CHECK-CC3 %s
216 // RUN: c-index-test -code-completion-at=%s:65:16 %s | FileCheck -check-prefix=CHECK-CC4 %s
219 // RUN: c-index-test -code-completion-at=%s:74:9 %s | FileCheck -check-prefix=CHECK-CC5 %s
222 // RUN: c-index-test -code-completion-at=%s:82:8 %s | FileCheck -check-prefix=CHECK-CC6 %s
225 // RUN: c-index-test -code-completion-at=%s:95:8 %s | FileCheck -check-prefix=CHECK-CC7 %s
232 // RUN: c-index-test -code-completion-at=%s:95:17 %s | FileCheck -check-prefix=CHECK-CC8 %s
237 // RUN: c-index-test -code-completion-at=%s:95:24 %s | FileCheck -check-prefix=CHECK-CC9 %s
241 // RUN: c-index-test -code-completion-at=%s:61:11 %s | FileCheck -check-prefix=CHECK-CCA %s
[all …]
Dcomplete-documentation-properties.m4 // completion comments. Use those in their properties in this case.
56 // RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:47:16 %s | F…
59 // RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:48:13 %s | F…
62 // RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:49:13 %s | F…
65 // RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:50:13 %s | F…
68 // RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:51:9 %s | Fi…
71 // RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:52:12 %s | F…
90 // RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:87:6 %s | Fi…
Dcomplete-preprocessor.m16 // RUN: c-index-test -code-completion-at=%s:4:2 %s | FileCheck -check-prefix=CHECK-CC1 %s
34 // RUN: c-index-test -code-completion-at=%s:5:2 %s | FileCheck -check-prefix=CHECK-CC2 %s
55 // RUN: c-index-test -code-completion-at=%s:9:8 %s | FileCheck -check-prefix=CHECK-CC3 %s
58 // RUN: c-index-test -code-completion-at=%s:11:12 %s | FileCheck -check-prefix=CHECK-CC3 %s
59 // RUN: c-index-test -code-completion-at=%s:11:13 %s | FileCheck -check-prefix=CHECK-CC3 %s
60 // RUN: c-index-test -code-completion-at=%s:11:5 %s | FileCheck -check-prefix=CHECK-CC4 %s
63 // RUN: c-index-test -code-completion-at=%s:14:5 %s | FileCheck -check-prefix=CHECK-CC5 %s
75 // Same tests as above, but with completion caching.
76 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
77 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
[all …]
Dcomplete-recovery.m19 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:9:20 %s 2>%t | …
27 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:9:20 %s -fms-co…
29 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:10:24 %s | File…
34 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:12:11 %s | File…
36 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:13:22 %s | File…
37 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:14:16 %s | File…
38 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:15:14 %s | File…
Dcomplete-lambdas.mm25 // RUN: c-index-test -code-completion-at=%s:14:6 -std=c++11 %s | FileCheck -check-prefix=CHECK-CC1 …
28 // RUN: c-index-test -code-completion-at=%s:15:6 -std=c++11 %s | FileCheck -check-prefix=CHECK-CC2 …
31 // RUN: c-index-test -code-completion-at=%s:16:4 -std=c++11 %s | FileCheck -check-prefix=CHECK-CC3 …
38 // RUN: c-index-test -code-completion-at=%s:16:21 -x objective-c++ -std=c++11 %s | FileCheck -check…
42 // RUN: c-index-test -code-completion-at=%s:18:10 -x objective-c++ -std=c++11 %s | FileCheck -check…
44 // RUN: c-index-test -code-completion-at=%s:19:8 -x objective-c++ -std=c++11 %s | FileCheck -check-…
48 // RUN: c-index-test -code-completion-at=%s:20:11 -x objective-c++ -std=c++11 %s | FileCheck -check…
Dcomplete-type-factors.m35 // RUN: c-index-test -code-completion-at=%s:16:11 -Xclang -code-completion-patterns %s | FileCheck …
49 // RUN: c-index-test -code-completion-at=%s:17:18 -Xclang -code-completion-patterns %s | FileCheck …
64 // RUN: c-index-test -code-completion-at=%s:18:10 -Xclang -code-completion-patterns %s | FileCheck …
80 // RUN: c-index-test -code-completion-at=%s:19:9 -Xclang -code-completion-patterns %s | FileCheck -…
96 // RUN: c-index-test -code-completion-at=%s:21:9 -Xclang -code-completion-patterns %s | FileCheck -…
97 // RUN: c-index-test -code-completion-at=%s:22:7 -Xclang -code-completion-patterns %s | FileCheck -…
114 // RUN: c-index-test -code-completion-at=%s:31:13 -Xclang -code-completion-patterns %s | FileCheck …
115 // RUN: c-index-test -code-completion-at=%s:32:13 -Xclang -code-completion-patterns %s | FileCheck …
126 // RUN: c-index-test -code-completion-at=%s:31:26 -Xclang -code-completion-patterns %s | FileCheck …
127 // RUN: c-index-test -code-completion-at=%s:32:26 -Xclang -code-completion-patterns %s | FileCheck …
Dcomplete-interfaces.m22 // RUN: c-index-test -code-completion-at=%s:6:12 %s | FileCheck -check-prefix=CHECK-CC1 %s
27 // RUN: c-index-test -code-completion-at=%s:11:12 %s | FileCheck -check-prefix=CHECK-CC2 %s
32 // RUN: c-index-test -code-completion-at=%s:11:19 %s | FileCheck -check-prefix=CHECK-CC3 %s
36 // RUN: c-index-test -code-completion-at=%s:16:17 %s | FileCheck -check-prefix=CHECK-CC4 %s
41 // RUN: c-index-test -code-completion-at=%s:19:17 %s | FileCheck -check-prefix=CHECK-CC5 %s
47 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
Dcomplete-method-decls.m88 // RUN: c-index-test -code-completion-at=%s:17:3 %s | FileCheck -check-prefix=CHECK-CC1 %s
94 // RUN: c-index-test -code-completion-at=%s:17:7 %s | FileCheck -check-prefix=CHECK-CC2 %s
99 // RUN: c-index-test -code-completion-at=%s:24:7 %s | FileCheck -check-prefix=CHECK-CC3 %s
105 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:33:3 %s | FileC…
113 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:33:8 %s | FileC…
118 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:37:7 %s | FileC…
123 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:42:3 %s | FileC…
127 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:52:21 %s | File…
131 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:52:19 %s | File…
135 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:52:36 %s | File…
[all …]
Dcomplete-exprs.m20 // RUN: c-index-test -code-completion-at=%s:13:2 %s | FileCheck -check-prefix=CHECK-CC1 %s
31 // RUN: c-index-test -code-completion-at=%s:14:7 %s | FileCheck -check-prefix=CHECK-CC2 %s
32 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
36 // RUN: c-index-test -code-completion-at=%s:15:1 -fobjc-arc -fobjc-nonfragile-abi %s | FileCheck -…
37 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
42 // RUN: c-index-test -code-completion-at=%s:15:5 %s | FileCheck -check-prefix=CHECK-CC4 %s
43 // RUN: c-index-test -code-completion-at=%s:16:5 %s | FileCheck -check-prefix=CHECK-CC4 %s
44 // RUN: c-index-test -code-completion-at=%s:16:14 %s | FileCheck -check-prefix=CHECK-CC4 %s
Dcomplete-properties.m59 // RUN: c-index-test -code-completion-at=%s:20:13 %s | FileCheck -check-prefix=CHECK-CC1 %s
65 // RUN: c-index-test -code-completion-at=%s:20:20 %s | FileCheck -check-prefix=CHECK-CC2 %s
70 // RUN: c-index-test -code-completion-at=%s:20:35 %s | FileCheck -check-prefix=CHECK-CC3 %s
75 // RUN: c-index-test -code-completion-at=%s:21:10 %s | FileCheck -check-prefix=CHECK-CC4 %s
79 // RUN: c-index-test -code-completion-at=%s:29:13 %s | FileCheck -check-prefix=CHECK-CC5 %s
86 // RUN: c-index-test -code-completion-at=%s:9:11 %s | FileCheck -check-prefix=CHECK-CC6 %s
90 // RUN: c-index-test -code-completion-at=%s:45:21 -fobjc-nonfragile-abi %s | FileCheck -check-prefi…
95 // RUN: c-index-test -code-completion-at=%s:57:13 -fobjc-nonfragile-abi %s | FileCheck -check-prefi…
Dcomplete-at-directives.m8 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:2:2 %s | FileCh…
15 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:3:2 %s | FileCh…
21 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:6:2 %s | FileCh…
26 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:2:1 %s | FileCh…
37 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:3:1 %s | FileCh…
43 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:2:23 %s | FileC…
49 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:2:22 %s | FileC…
Dcomplete-declarators.m28 // RUN: c-index-test -code-completion-at=%s:7:4 %s | FileCheck -check-prefix=CHECK-CC0 %s
39 // RUN: c-index-test -code-completion-at=%s:7:19 %s | FileCheck -check-prefix=CHECK-CC1 %s
42 // RUN: c-index-test -code-completion-at=%s:9:15 %s | FileCheck -check-prefix=CHECK-CC2 %s
43 // RUN: c-index-test -code-completion-at=%s:15:10 %s | FileCheck -check-prefix=CHECK-CC2 %s
44 // RUN: c-index-test -code-completion-at=%s:16:9 %s | FileCheck -check-prefix=CHECK-CC2 %s
49 // RUN: c-index-test -code-completion-at=%s:15:15 %s | FileCheck -check-prefix=CHECK-CC3 %s
55 // RUN: c-index-test -code-completion-at=%s:15:15 %s | FileCheck -check-prefix=CHECK-CC4 %s
60 // RUN: c-index-test -code-completion-at=%s:23:10 %s | FileCheck -check-prefix=CHECK-CC5 %s
87 // RUN: c-index-test -code-completion-at=%s:27:1 %s | FileCheck -check-prefix=CHECK-CC6 %s
Dcomplete-blocks.m45 // RUN: c-index-test -code-completion-at=%s:8:1 %s | FileCheck -check-prefix=CHECK-CC1 %s
48 // RUN: c-index-test -code-completion-at=%s:17:6 %s | FileCheck -check-prefix=CHECK-CC2 %s
51 // RUN: c-index-test -code-completion-at=%s:25:6 %s | FileCheck -check-prefix=CHECK-CC3 %s
53 // RUN: c-index-test -code-completion-at=%s:34:6 %s | FileCheck -check-prefix=CHECK-CC4 %s
56 // RUN: c-index-test -code-completion-at=%s:25:15 %s | FileCheck -check-prefix=CHECK-CC5 %s
62 // RUN: c-index-test -code-completion-at=%s:42:6 %s | FileCheck -check-prefix=CHECK-CC6 %s
Dcomplete-objc-message-id.m50 // RUN: c-index-test -code-completion-at=%s:24:14 %s | FileCheck -check-prefix=CHECK-CC1 %s
54 // RUN: c-index-test -code-completion-at=%s:25:15 %s | FileCheck -check-prefix=CHECK-CC2 %s
58 // RUN: c-index-test -code-completion-at=%s:26:19 %s | FileCheck -check-prefix=CHECK-CC3 %s
64 // RUN: c-index-test -code-completion-at=%s:31:13 %s | FileCheck -check-prefix=CHECK-SELECTOR-PREF …
71 // RUN: c-index-test -code-completion-at=%s:46:7 %s | FileCheck -check-prefix=CHECK-INSTANCE-QUAL-I…
72 // RUN: c-index-test -code-completion-at=%s:47:7 %s | FileCheck -check-prefix=CHECK-INSTANCE-QUAL-I…
/external/chromium_org/cc/trees/
Dthread_proxy.cc53 CompletionEvent completion; member
58 CompletionEvent completion; member
141 CompletionEvent completion; in FinishAllRendering() local
146 &completion)); in FinishAllRendering()
147 completion.Wait(); in FinishAllRendering()
172 CompletionEvent completion; in SetVisible() local
177 &completion, in SetVisible()
179 completion.Wait(); in SetVisible()
182 void ThreadProxy::SetVisibleOnImplThread(CompletionEvent* completion, in SetVisibleOnImplThread() argument
188 completion->Signal(); in SetVisibleOnImplThread()
[all …]
Dthread_proxy.h253 void StartCommitOnImplThread(CompletionEvent* completion,
256 void FinishAllRenderingOnImplThread(CompletionEvent* completion);
257 void InitializeImplOnImplThread(CompletionEvent* completion);
259 void SetVisibleOnImplThread(CompletionEvent* completion, bool visible);
262 CompletionEvent* completion,
264 void DeleteContentsTexturesOnImplThread(CompletionEvent* completion);
267 void FinishGLOnImplThread(CompletionEvent* completion);
268 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion);
270 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion);
274 void AsValueOnImplThread(CompletionEvent* completion,
/external/chromium_org/android_webview/browser/
Daw_form_database_service.cc81 WaitableEvent completion(false, false); in HasFormData() local
88 &completion, in HasFormData()
90 completion.Wait(); in HasFormData()
95 WaitableEvent* completion, in HasFormDataImpl() argument
101 query.completion = completion; in HasFormDataImpl()
123 it->second.completion->Signal(); in OnWebDataServiceRequestDone()
/external/chromium_org/win8/metro_driver/
Dsecondary_tile.cc31 void Complete(mswr::ComPtr<winfoundtn::IAsyncOperation<bool>>& completion);
44 mswr::ComPtr<winfoundtn::IAsyncOperation<bool>>& completion) { in Complete() argument
49 HRESULT hr = completion->put_Completed(handler.Get()); in Complete()
108 mswr::ComPtr<winfoundtn::IAsyncOperation<bool>> completion; in DeleteTileFromStartScreen() local
109 hr = tile->RequestDeleteAsync(completion.GetAddressOf()); in DeleteTileFromStartScreen()
121 completer->Complete(completion); in DeleteTileFromStartScreen()
178 mswr::ComPtr<winfoundtn::IAsyncOperation<bool>> completion; in CreateTileOnStartScreen() local
179 hr = tile->RequestCreateAsync(completion.GetAddressOf()); in CreateTileOnStartScreen()
191 completer->Complete(completion); in CreateTileOnStartScreen()
/external/clang/test/CodeCompletion/
Dobjc-expr.m7 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fno-cons…
16 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fconst-s…

1234567891011