Home
last modified time | relevance | path

Searched refs:Consumer (Results 1 – 25 of 90) sorted by relevance

1234

/external/clang/lib/Frontend/
DMultiplexConsumer.cpp251 for (auto &Consumer : Consumers) { in MultiplexConsumer() local
252 if (auto *mutationListener = Consumer->GetASTMutationListener()) in MultiplexConsumer()
254 if (auto *serializationListener = Consumer->GetASTDeserializationListener()) in MultiplexConsumer()
271 for (auto &Consumer : Consumers) in Initialize() local
272 Consumer->Initialize(Context); in Initialize()
277 for (auto &Consumer : Consumers) in HandleTopLevelDecl() local
278 Continue = Continue && Consumer->HandleTopLevelDecl(D); in HandleTopLevelDecl()
283 for (auto &Consumer : Consumers) in HandleInlineFunctionDefinition() local
284 Consumer->HandleInlineFunctionDefinition(D); in HandleInlineFunctionDefinition()
288 for (auto &Consumer : Consumers) in HandleCXXStaticMemberVarInstantiation() local
[all …]
/external/clang/lib/Parse/
DParseAST.cpp98 void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer, in ParseAST() argument
105 new Sema(PP, Ctx, *Consumer, TUKind, CompletionConsumer)); in ParseAST()
124 ASTConsumer *Consumer = &S.getASTConsumer(); in ParseAST() local
148 External->StartTranslationUnit(Consumer); in ParseAST()
158 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseAST()
165 Consumer->HandleTopLevelDecl(DeclGroupRef(D)); in ParseAST()
167 Consumer->HandleTranslationUnit(S.getASTContext()); in ParseAST()
176 Consumer->PrintStats(); in ParseAST()
DRAIIObjectsForParser.h368 SourceLocation (Parser::*Consumer)();
395 Consumer = &Parser::ConsumeBrace;
399 Consumer = &Parser::ConsumeParen;
404 Consumer = &Parser::ConsumeBracket;
418 LOpen = (P.*Consumer)(); in consumeOpen()
430 LClose = (P.*Consumer)(); in consumeClose()
436 LClose = (P.*Consumer)(); in consumeClose()
/external/swiftshader/third_party/LLVM/tools/llvm-diff/
DDiffLog.h23 class Consumer; variable
30 Consumer &consumer;
41 LogBuilder(Consumer &c, StringRef Format) in LogBuilder()
61 Consumer &consumer;
64 DiffLogBuilder(Consumer &c) : consumer(c) {} in DiffLogBuilder()
DDifferenceEngine.h60 DifferenceEngine(LLVMContext &context, Consumer &consumer) in DifferenceEngine()
71 Consumer& getConsumer() const { return consumer; } in getConsumer()
86 Consumer &consumer;
DDiffConsumer.h31 class Consumer {
52 virtual ~Consumer() {} in ~Consumer()
55 class DiffConsumer : public Consumer {
Dllvm-diff.cpp81 DiffConsumer Consumer(LModule, RModule); in main() local
82 DifferenceEngine Engine(Context, Consumer); in main()
97 return Consumer.hadDifferences(); in main()
/external/llvm/tools/llvm-diff/
DDiffLog.h23 class Consumer; variable
30 Consumer *consumer;
41 LogBuilder(Consumer &c, StringRef Format) : consumer(&c), Format(Format) {} in LogBuilder()
65 Consumer &consumer;
68 DiffLogBuilder(Consumer &c) : consumer(c) {} in DiffLogBuilder()
DDifferenceEngine.h60 DifferenceEngine(Consumer &consumer) in DifferenceEngine()
71 Consumer& getConsumer() const { return consumer; } in getConsumer()
85 Consumer &consumer;
DDiffConsumer.h31 class Consumer {
53 virtual ~Consumer() {} in ~Consumer()
56 class DiffConsumer : public Consumer {
Dllvm-diff.cpp78 DiffConsumer Consumer; in main() local
79 DifferenceEngine Engine(Consumer); in main()
91 return Consumer.hadDifferences(); in main()
/external/deqp/framework/delibs/decpp/
DdeThreadSafeRingBuffer.cpp56 class Consumer : public Thread class
59 Consumer (ThreadSafeRingBuffer<Message>& buffer, int numProducers) in Consumer() function in de::__anonc9f23d1e0111::Consumer
135 vector<Consumer*> consumers; in ThreadSafeRingBuffer_selfTest()
141 consumers.push_back(new Consumer(buffer, numProducers)); in ThreadSafeRingBuffer_selfTest()
144 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in ThreadSafeRingBuffer_selfTest()
160 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in ThreadSafeRingBuffer_selfTest()
179 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in ThreadSafeRingBuffer_selfTest()
DdeBlockBuffer.cpp59 class Consumer : public Thread class
62 Consumer (MessageBuffer& buffer, int numProducers) in Consumer() function in de::BlockBufferBasicTest::Consumer
172 vector<Consumer*> consumers; in runTest()
178 consumers.push_back(new Consumer(buffer, numProducers)); in runTest()
181 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in runTest()
199 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in runTest()
218 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in runTest()
265 class Consumer : public Thread class
268 Consumer (BlockBuffer<deUint8>* buffer, deUint32 seed) in Consumer() function in de::BlockBufferCancelTest::Consumer
314 threads.push_back(new Consumer(&buffer, rnd.getUint32())); in runTest()
/external/r8/src/test/examples/sync/
DSync.java26 public interface Consumer<T> { interface in Sync
94 public static void run(ExecutorService service, final Consumer<Integer> fn) in run()
117 run(service, new Consumer<Integer>() { in main()
124 run(service, new Consumer<Integer>() { in main()
130 run(service, new Consumer<Integer>() { in main()
136 run(service, new Consumer<Integer>() { in main()
/external/r8/src/test/java/com/android/tools/r8/
DRunExamplesAndroidOTest.java31 import java.util.function.Consumer;
48 final List<Consumer<InternalOptions>> optionConsumers = new ArrayList<>();
49 final List<Consumer<DexInspector>> dexInspectorChecks = new ArrayList<>();
58 TestRunner withDexCheck(Consumer<DexInspector> check) { in withDexCheck()
63 TestRunner withClassCheck(Consumer<FoundClassSubject> check) { in withClassCheck()
68 TestRunner withMethodCheck(Consumer<FoundMethodSubject> check) { in withMethodCheck()
74 withInstructionCheck(Predicate<InstructionSubject> filter, Consumer<T> check) { in withInstructionCheck()
87 TestRunner withOptionConsumer(Consumer<InternalOptions> consumer) { in withOptionConsumer()
106 for (Consumer<InternalOptions> consumer : optionConsumers) { in combinedOptionConsumer()
133 for (Consumer<DexInspector> check : dexInspectorChecks) { in run()
DTestBase.java24 import java.util.function.Consumer;
108 protected AndroidApp compileWithR8(List<Class> classes, Consumer<InternalOptions> optionsConsumer) in compileWithR8()
117 protected AndroidApp compileWithR8(AndroidApp app, Consumer<InternalOptions> optionsConsumer) in compileWithR8()
135 List<Class> classes, String proguardConfig, Consumer<InternalOptions> optionsConsumer) in compileWithR8()
164 AndroidApp app, String proguardConfig, Consumer<InternalOptions> optionsConsumer) in compileWithR8()
173 AndroidApp app, Path proguardConfig, Consumer<InternalOptions> optionsConsumer) in compileWithR8()
/external/clang/lib/Sema/
DSemaLookup.cpp3437 VisibleDeclConsumer &Consumer, in LookupVisibleDecls() argument
3466 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls()
3483 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls()
3494 QualifiedNameLookup, InBaseClass, Consumer, Visited); in LookupVisibleDecls()
3537 true, Consumer, Visited); in LookupVisibleDecls()
3547 Consumer, Visited); in LookupVisibleDecls()
3553 LookupVisibleDecls(I, Result, QualifiedNameLookup, false, Consumer, in LookupVisibleDecls()
3561 true, Consumer, Visited); in LookupVisibleDecls()
3569 QualifiedNameLookup, InBaseClass, Consumer, Visited); in LookupVisibleDecls()
3574 LookupVisibleDecls(I, Result, QualifiedNameLookup, false, Consumer, in LookupVisibleDecls()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DErrorReporter.java38 import com.intellij.util.Consumer;
58 final Consumer<SubmittedReportInfo> consumer) { in submit()
89 Consumer<String> successCallback = new Consumer<String>() { in submit()
103 Consumer<Exception> errorCallback = new Consumer<Exception>() { in submit()
DGithubFeedbackTask.java27 import com.intellij.util.Consumer;
42 private final Consumer<String> myCallback;
43 private final Consumer<Exception> myErrorCallback;
50 final Consumer<String> callback, in GithubFeedbackTask()
51 final Consumer<Exception> errorCallback) { in GithubFeedbackTask()
/external/r8/src/main/java/com/android/tools/r8/naming/
DNamingLens.java11 import java.util.function.Consumer;
40 abstract void forAllRenamedTypes(Consumer<DexType> consumer); in forAllRenamedTypes()
73 void forAllRenamedTypes(Consumer<DexType> consumer) { in forAllRenamedTypes()
/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp63 return llvm::make_unique<Consumer>(); in CreateASTConsumer()
67 class Consumer : public clang::ASTConsumer { class in __anon5330a3480111::EvaluateConstantInitializersAction
69 ~Consumer() override {} in ~Consumer()
/external/r8/src/main/java/com/android/tools/r8/graph/
DClassKind.java4 import java.util.function.Consumer;
42 public <T extends DexClass> Consumer<DexClass> bridgeConsumer(Consumer<T> consumer) { in bridgeConsumer()
/external/r8/src/main/java/com/android/tools/r8/utils/
DClassProvider.java25 import java.util.function.Consumer;
51 public abstract void collectClass(DexType type, Consumer<T> classConsumer); in collectClass()
96 public void collectClass(DexType type, Consumer<T> classConsumer) { in collectClass()
134 public void collectClass(DexType type, Consumer<T> classConsumer) { in collectClass()
160 public void collectClass(DexType type, Consumer<T> classConsumer) { in collectClass()
/external/r8/src/main/java/com/android/tools/r8/ir/synthetic/
DSynthesizedCode.java16 import java.util.function.Consumer;
21 private final Consumer<UseRegistry> registryCallback;
28 public SynthesizedCode(SourceCode sourceCode, Consumer<UseRegistry> callback) { in SynthesizedCode()
/external/r8/src/test/java/com/android/tools/r8/memberrebinding/
DMemberRebindingTest.java29 import java.util.function.Consumer;
60 private final Consumer<DexInspector> inspection;
61 private final Consumer<DexInspector> originalInspection;
249 final Consumer<DexInspector> originalInspection;
250 final Consumer<DexInspector> processedInspection;
255 Consumer<DexInspector> originalInspection, in TestConfiguration()
256 Consumer<DexInspector> processedInspection) { in TestConfiguration()
267 Consumer<DexInspector> originalInspection, in add()
268 Consumer<DexInspector> processedInspection) { in add()

1234