/external/clang/include/clang/Sema/ |
SemaConsumer.h | 33 /// \brief Initialize the semantic consumer with the Sema instance 38 /// \brief Inform the semantic consumer that Sema is no longer available. 42 static bool classof(const ASTConsumer *Consumer) { 43 return Consumer->SemaConsumer;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
NoOpConsumer.java | 19 import com.android.quicksearchbox.util.Consumer; 22 * A Consumer that does nothing with the objects it receives. 24 public class NoOpConsumer<A> implements Consumer<A> {
|
Consumer.java | 24 public interface Consumer<A> {
|
Consumers.java | 22 * Consumer utilities. 28 public static <A extends QuietlyCloseable> void consumeCloseable(Consumer<A> consumer, 32 accepted = consumer.consume(value); 39 final Consumer<A> consumer, final A value) { 41 consumer.consume(value); 45 consumer.consume(value); 52 final Consumer<A> consumer, final A value) [all...] |
NowOrLater.java | 21 * be sent to a {@link Consumer} later. 38 * which case the callback may be made in context. The thread on which the consumer is called 41 void getLater(Consumer<? super C> consumer);
|
NowOrLaterWrapper.java | 29 public void getLater(final Consumer<? super B> consumer) { 30 mWrapped.getLater(new Consumer<A>(){ 32 return consumer.consume(get(value)); 46 * {@link #getLater(Consumer)} or {@link #getNow()}. The thread that it's called on will depend
|
Now.java | 29 public void getLater(Consumer<? super C> consumer) { 30 consumer.consume(getNow());
|
SQLiteAsyncQuery.java | 37 * Runs the query against the database and passes the result to the consumer. 39 public void run(SQLiteDatabase db, Consumer<A> consumer) { 41 consumer.consume(result);
|
CachedLater.java | 42 private List<Consumer<? super A>> mWaitingConsumers; 56 List<Consumer<? super A>> waitingConsumers; 65 for (Consumer<? super A> consumer : waitingConsumers) { 66 if (DBG) Log.d(TAG, "Calling consumer: " + consumer); 67 consumer.consume(value); 75 * @param consumer A consumer that will be given the cached value. 76 * The consumer may be called synchronously, or asynchronously o [all...] |
/external/chromium_org/chrome/browser/signin/ |
profile_oauth2_token_service_request.h | 19 // any thread with an object |consumer| that will be called back on the 21 // before |consumer| is called, |consumer| will never be called back. (Note 30 OAuth2TokenService::Consumer* consumer); 40 OAuth2TokenService::Consumer* consumer); 41 OAuth2TokenService::Consumer* const consumer_;
|
oauth2_token_service.h | 37 // consumer of the request results. The consumer is required to outlive the 38 // request. The request can be deleted. The consumer may be called back 41 // - If the consumer is not called back before the request is deleted, it will 44 // cache will be populated with the fetched results; it is just the consumer 47 // - Otherwise the consumer will be called back with the request and the fetch 62 // Class representing the consumer of a Request passed to |StartRequest|, 64 class Consumer { 66 Consumer(); 67 virtual ~Consumer(); [all...] |
android_profile_oauth2_token_service.h | 46 OAuth2TokenService::Consumer* consumer) OVERRIDE; 54 OAuth2TokenService::Consumer* consumer);
|
oauth2_token_service_test_util.h | 19 // A simple testing consumer. 20 class TestingOAuth2TokenServiceConsumer : public OAuth2TokenService::Consumer { 25 // OAuth2TokenService::Consumer overrides.
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
ConsumerTrap.java | 19 import com.android.quicksearchbox.util.Consumer; 22 * A consumer that saves the value that it is given. 26 public class ConsumerTrap<A> implements Consumer<A> {
|
/external/llvm/tools/llvm-diff/ |
DiffLog.h | 23 class Consumer; 30 Consumer &consumer; member in class:llvm::LogBuilder 41 LogBuilder(Consumer &c, StringRef Format) 42 : consumer(c), Format(Format) {} 61 Consumer &consumer; member in class:llvm::DiffLogBuilder 64 DiffLogBuilder(Consumer &c) : consumer(c) {}
|
DiffConsumer.h | 1 //===-- DiffConsumer.h - Difference Consumer --------------------*- C++ -*-===// 10 // This header defines the interface to the LLVM difference Consumer 30 class Consumer { 52 virtual ~Consumer() {} 55 class DiffConsumer : public Consumer {
|
DifferenceEngine.h | 39 Engine.consumer.enterContext(L, R); 43 Engine.consumer.exitContext(); 61 DifferenceEngine(Consumer &consumer) 62 : consumer(consumer), globalValueOracle(0) {} 67 consumer.log(text); 70 return LogBuilder(consumer, text); 72 Consumer& getConsumer() const { return consumer; } 86 Consumer &consumer; member in class:llvm::DifferenceEngine [all...] |
llvm-diff.cpp | 79 DiffConsumer Consumer; 80 DifferenceEngine Engine(Consumer); 95 return Consumer.hadDifferences();
|
/external/clang/lib/Parse/ |
ParseAST.cpp | 85 void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer, 91 OwningPtr<Sema> S(new Sema(PP, Ctx, *Consumer, TUKind, CompletionConsumer)); 110 ASTConsumer *Consumer = &S.getASTConsumer(); 132 External->StartTranslationUnit(Consumer); 142 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) 151 Consumer->HandleTopLevelDecl(DeclGroupRef(*I)); 153 Consumer->HandleTranslationUnit(S.getASTContext()); 162 Consumer->PrintStats();
|
/external/chromium/chrome/browser/ui/cocoa/ |
about_ipc_dialog.h | 23 class AboutIPCBridge : public IPC::Logging::Consumer { 28 // IPC::Logging::Consumer implementation.
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
about_ipc_dialog.h | 22 class AboutIPCBridge : public IPC::Logging::Consumer { 27 // IPC::Logging::Consumer implementation.
|
/external/chromium_org/ipc/ |
ipc_logging.h | 39 class Consumer { 44 virtual ~Consumer() {} 47 void SetConsumer(Consumer* consumer); 118 Consumer* consumer_;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
QueryTask.java | 19 import com.android.quicksearchbox.util.Consumer; 38 private final Consumer<C> mConsumer; 46 * @param handler Handler that {@link Consumer#consume} will 48 * @param consumer Consumer to notify when the suggestions have been returned. 51 Handler handler, Consumer<C> consumer) { 56 mConsumer = consumer; 80 Consumer<C> consumer) { [all...] |
SuggestionsProviderImpl.java | 23 import com.android.quicksearchbox.util.Consumer; 66 Consumer<SourceResult> receiver; 92 private class SuggestionCursorReceiver implements Consumer<SourceResult> {
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/clients/ |
imap.py | 32 def authenticate(self, url, consumer, token): 33 if consumer is not None and not isinstance(consumer, oauth2.Consumer): 34 raise ValueError("Invalid consumer.") 40 lambda x: oauth2.build_xoauth_string(url, consumer, token))
|