HomeSort by relevance Sort by last modified time
    Searched refs:Consumer (Results 51 - 75 of 735) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/core/java/com/android/internal/util/
FunctionalUtils.java 22 import java.util.function.Consumer;
33 * {@link Consumer} by propagating any checked exceptions as {@link RuntimeException}
35 public static <T> Consumer<T> uncheckExceptions(ThrowingConsumer<T> action) {
42 public static <T> Consumer<T> ignoreRemoteException(RemoteExceptionIgnoringConsumer<T> action) {
50 public static Runnable handleExceptions(ThrowingRunnable r, Consumer<Throwable> handler) {
93 * A {@link Consumer} that allows throwing checked exceptions from its single abstract method.
96 * that throws a checked exception into a regular {@link Consumer}
100 public interface ThrowingConsumer<T> extends Consumer<T> {
114 * A {@link Consumer} that automatically ignores any {@link RemoteException}s.
120 public interface RemoteExceptionIgnoringConsumer<T> extends Consumer<T>
    [all...]
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
Statement.java 30 import java.util.function.Consumer;
294 public void ifAssertStmt(Consumer<AssertStmt> action) {
298 public void ifBlockStmt(Consumer<BlockStmt> action) {
302 public void ifBreakStmt(Consumer<BreakStmt> action) {
306 public void ifContinueStmt(Consumer<ContinueStmt> action) {
310 public void ifDoStmt(Consumer<DoStmt> action) {
314 public void ifEmptyStmt(Consumer<EmptyStmt> action) {
318 public void ifExplicitConstructorInvocationStmt(Consumer<ExplicitConstructorInvocationStmt> action) {
322 public void ifExpressionStmt(Consumer<ExpressionStmt> action) {
326 public void ifForStmt(Consumer<ForStmt> action)
    [all...]
  /external/clang/lib/Frontend/
MultiplexConsumer.cpp 1 //===- MultiplexConsumer.cpp - AST Consumer for PCH Generation --*- C++ -*-===//
251 for (auto &Consumer : Consumers) {
252 if (auto *mutationListener = Consumer->GetASTMutationListener())
254 if (auto *serializationListener = Consumer->GetASTDeserializationListener())
271 for (auto &Consumer : Consumers)
272 Consumer->Initialize(Context);
277 for (auto &Consumer : Consumers)
278 Continue = Continue && Consumer->HandleTopLevelDecl(D);
283 for (auto &Consumer : Consumers)
284 Consumer->HandleInlineFunctionDefinition(D)
    [all...]
  /external/llvm/tools/llvm-diff/
DiffLog.h 23 class Consumer;
30 Consumer *consumer; member in class:llvm::LogBuilder
41 LogBuilder(Consumer &c, StringRef Format) : consumer(&c), Format(Format) {}
43 : consumer(L.consumer), Format(L.Format),
45 L.consumer = nullptr;
65 Consumer &consumer; member in class:llvm::DiffLogBuilder
    [all...]
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
Expression.java 31 import java.util.function.Consumer;
425 public void ifAnnotationExpr(Consumer<AnnotationExpr> action) {
429 public void ifArrayAccessExpr(Consumer<ArrayAccessExpr> action) {
433 public void ifArrayCreationExpr(Consumer<ArrayCreationExpr> action) {
437 public void ifArrayInitializerExpr(Consumer<ArrayInitializerExpr> action) {
441 public void ifAssignExpr(Consumer<AssignExpr> action) {
445 public void ifBinaryExpr(Consumer<BinaryExpr> action) {
449 public void ifBooleanLiteralExpr(Consumer<BooleanLiteralExpr> action) {
453 public void ifCastExpr(Consumer<CastExpr> action) {
457 public void ifCharLiteralExpr(Consumer<CharLiteralExpr> action)
    [all...]
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/
ProblemReporter.java 7 import java.util.function.Consumer;
15 private final Consumer<Problem> problemConsumer;
17 public ProblemReporter(Consumer<Problem> problemConsumer) {
  /external/perfetto/src/tracing/ipc/consumer/
consumer_ipc_client_impl.h 44 class Consumer;
47 // Exposes a Service endpoint to Consumer(s), proxying all requests through a
55 Consumer*,
60 // These methods are invoked by the actual Consumer(s) code by clients of the
78 Consumer* const consumer_;
83 // The proxy interface for the consumer port of the service. It is bound
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/
NullArgsTestCase.java 28 import java.util.function.Consumer;
33 * NullArgsTestCase -- Given a Consumer&ltObject[]&gt, and an Object[] array of args, call the block with the args,
34 * assert success, and then call the consumer N times, each time setting one of the args to null, and assert that
42 public final Consumer<Object[]> sink;
45 protected NullArgsTestCase(String name, Consumer<Object[]> sink, Object[] args) {
  /packages/apps/DocumentsUI/src/com/android/documentsui/prefs/
PreferencesMonitor.java 25 import java.util.function.Consumer;
39 private final Consumer<String> mChangeCallback;
44 Consumer<String> listener) {
  /device/linaro/bootloader/edk2/OvmfPkg/Library/XenConsoleSerialPortLib/
XenConsoleSerialPortLib.c 105 XENCONS_RING_IDX Consumer, Producer;
120 Consumer = mXenConsoleInterface->out_cons;
125 while (Sent < NumberOfBytes && ((Producer - Consumer) < sizeof (mXenConsoleInterface->out)))
161 XENCONS_RING_IDX Consumer, Producer;
174 Consumer = mXenConsoleInterface->in_cons;
180 while (Received < NumberOfBytes && Consumer < Producer)
181 Buffer[Received++] = mXenConsoleInterface->in[MASK_XENCONS_IDX(Consumer++, mXenConsoleInterface->in)];
185 mXenConsoleInterface->in_cons = Consumer;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
Lifecycle.java 20 import java.util.function.Consumer;
37 public void dispatch(Consumer<T> consumer) {
39 consumer.accept(mObservers.get(i));
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
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);
  /tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/utils/
IOExceptionConsumer.java 21 import java.util.function.Consumer;
26 * Consumer that can throw an {@link IOException}.
39 * Wraps a consumer that may throw an IO Exception throwing an {@code UncheckedIOException}.
41 * @param c the consumer
44 static <T> Consumer<T> asConsumer(@Nonnull IOExceptionConsumer<T> c) {
  /art/test/919-obsolete-fields/src/art/
Test919.java 19 import java.util.function.Consumer;
25 private Consumer<String> reporter;
26 public Transform(Consumer<String> reporter) {
52 // import java.util.function.Consumer;
55 // private Consumer<String> reporter;
56 // public Transform(Consumer<String> reporter) {
134 private static class TestWatcher implements Consumer<String> {
  /external/clang/include/clang/StaticAnalyzer/Frontend/
AnalysisConsumer.h 36 virtual void AddDiagnosticConsumer(PathDiagnosticConsumer *Consumer) = 0;
  /frameworks/base/core/java/com/android/internal/util/function/
HexConsumer.java 19 import java.util.function.Consumer;
22 * A 6-argument {@link Consumer}
QuadConsumer.java 20 import java.util.function.Consumer;
23 * A 4-argument {@link Consumer}
QuintConsumer.java 19 import java.util.function.Consumer;
22 * A 5-argument {@link Consumer}
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
DockedStackExistsListener.java 25 import java.util.function.Consumer;
35 private static ArrayList<WeakReference<Consumer<Boolean>>> sCallbacks = new ArrayList<>();
80 Consumer<Boolean> l = wf.get();
87 public static void register(Consumer<Boolean> callback) {
  /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...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Frontend/
AnalysisConsumer.h 35 virtual void AddDiagnosticConsumer(PathDiagnosticConsumer *Consumer) = 0;
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/StaticAnalyzer/Frontend/
AnalysisConsumer.h 35 virtual void AddDiagnosticConsumer(PathDiagnosticConsumer *Consumer) = 0;
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/StaticAnalyzer/Frontend/
AnalysisConsumer.h 35 virtual void AddDiagnosticConsumer(PathDiagnosticConsumer *Consumer) = 0;

Completed in 1020 milliseconds

1 23 4 5 6 7 8 91011>>