Home
last modified time | relevance | path

Searched refs:Void (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DObjectIdentityHashCodeVisitor.java37 public class ObjectIdentityHashCodeVisitor implements GenericVisitor<Integer, Void> {
45 public Integer visit(final AnnotationDeclaration n, final Void arg) { in visit()
49 public Integer visit(final AnnotationMemberDeclaration n, final Void arg) { in visit()
53 public Integer visit(final ArrayAccessExpr n, final Void arg) { in visit()
57 public Integer visit(final ArrayCreationExpr n, final Void arg) { in visit()
61 public Integer visit(final ArrayCreationLevel n, final Void arg) { in visit()
65 public Integer visit(final ArrayInitializerExpr n, final Void arg) { in visit()
69 public Integer visit(final ArrayType n, final Void arg) { in visit()
73 public Integer visit(final AssertStmt n, final Void arg) { in visit()
77 public Integer visit(final AssignExpr n, final Void arg) { in visit()
[all …]
DNoCommentHashCodeVisitor.java33 public class NoCommentHashCodeVisitor implements GenericVisitor<Integer, Void> {
41 public Integer visit(final AnnotationDeclaration n, final Void arg) { in visit()
45 public Integer visit(final AnnotationMemberDeclaration n, final Void arg) { in visit()
49 public Integer visit(final ArrayAccessExpr n, final Void arg) { in visit()
53 public Integer visit(final ArrayCreationExpr n, final Void arg) { in visit()
57 public Integer visit(final ArrayCreationLevel n, final Void arg) { in visit()
61 public Integer visit(final ArrayInitializerExpr n, final Void arg) { in visit()
65 public Integer visit(final ArrayType n, final Void arg) { in visit()
69 public Integer visit(final AssertStmt n, final Void arg) { in visit()
73 public Integer visit(final AssignExpr n, final Void arg) { in visit()
[all …]
DHashCodeVisitor.java37 public class HashCodeVisitor implements GenericVisitor<Integer, Void> {
49 public Integer visit(final AnnotationDeclaration n, final Void arg) { in visit()
53 public Integer visit(final AnnotationMemberDeclaration n, final Void arg) { in visit()
57 public Integer visit(final ArrayAccessExpr n, final Void arg) { in visit()
61 public Integer visit(final ArrayCreationExpr n, final Void arg) { in visit()
65 public Integer visit(final ArrayCreationLevel n, final Void arg) { in visit()
69 public Integer visit(final ArrayInitializerExpr n, final Void arg) { in visit()
73 public Integer visit(final ArrayType n, final Void arg) { in visit()
77 public Integer visit(final AssertStmt n, final Void arg) { in visit()
81 public Integer visit(final AssignExpr n, final Void arg) { in visit()
[all …]
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DExistenceOfParentNodeVerifier.java48 private static class Verifier extends VoidVisitorAdapter<Void> {
54 public void visit(AnnotationDeclaration n, Void arg) { in visit()
60 public void visit(AnnotationMemberDeclaration n, Void arg) { in visit()
66 public void visit(ArrayAccessExpr n, Void arg) { in visit()
72 public void visit(ArrayCreationExpr n, Void arg) { in visit()
78 public void visit(ArrayInitializerExpr n, Void arg) { in visit()
84 public void visit(AssertStmt n, Void arg) { in visit()
90 public void visit(AssignExpr n, Void arg) { in visit()
96 public void visit(BinaryExpr n, Void arg) { in visit()
102 public void visit(BlockComment n, Void arg) { in visit()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DUtilServerInterceptorsTest.java45 private static class VoidCallListener extends ServerCall.Listener<Void> {
46 public void onCall(ServerCall<Void, Void> call, Metadata headers) { } in onCall() argument
49 private MethodDescriptor<Void, Void> flowMethod = TestMethodDescriptors.voidMethod();
51 private ServerCallHandler<Void, Void> handler = new ServerCallHandler<Void, Void>() {
53 public ServerCall.Listener<Void> startCall(
54 ServerCall<Void, Void> call, Metadata headers) {
66 private static ServerMethodDefinition<Void, Void> getSoleMethod( in getSoleMethod()
71 return (ServerMethodDefinition<Void, Void>) getOnlyElement(serviceDef.getMethods()); in getSoleMethod()
78 FakeServerCall<Void, Void> call = in statusRuntimeExceptionTransmitter()
79 new FakeServerCall<Void, Void>(expectedStatus, expectedMetadata); in statusRuntimeExceptionTransmitter()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DClientCallImplTest.java94 private final MethodDescriptor<Void, Void> method = MethodDescriptor.<Void, Void>newBuilder()
118 private ClientCall.Listener<Void> callListener;
146 ClientCallImpl<Void, Void> call = new ClientCallImpl<Void, Void>( in statusPropagatedFromStreamToCallListener()
168 ClientCallImpl<Void, Void> call = new ClientCallImpl<Void, Void>( in exceptionInOnMessageTakesPrecedenceOverServer()
182 doThrow(failure).when(callListener).onMessage(Matchers.<Void>any()); in exceptionInOnMessageTakesPrecedenceOverServer()
205 ClientCallImpl<Void, Void> call = new ClientCallImpl<Void, Void>( in exceptionInOnHeadersTakesPrecedenceOverServer()
240 ClientCallImpl<Void, Void> call = new ClientCallImpl<Void, Void>( in exceptionInOnReadyTakesPrecedenceOverServer()
274 ClientCallImpl<Void, Void> call = new ClientCallImpl<Void, Void>( in advertisedEncodingsAreSent()
298 ClientCallImpl<Void, Void> call = new ClientCallImpl<Void, Void>( in authorityPropagatedToStream()
315 final ClientCallImpl<Void, Void> call = new ClientCallImpl<Void, Void>( in callOptionsPropagatedToTransport()
[all …]
/external/turbine/java/com/google/turbine/tree/
DPretty.java38 public class Pretty implements Tree.Visitor<Void, Void> {
84 public Void visitIdent(Ident ident, Void input) { in visitIdent()
90 public Void visitWildTy(Tree.WildTy wildTy, Void input) { in visitWildTy()
105 public Void visitArrTy(Tree.ArrTy arrTy, Void input) { in visitArrTy()
116 public Void visitPrimTy(Tree.PrimTy primTy, Void input) { in visitPrimTy()
122 public Void visitVoidTy(Tree.VoidTy primTy, Void input) { in visitVoidTy()
128 public Void visitClassTy(Tree.ClassTy classTy, Void input) { in visitClassTy()
151 public Void visitLiteral(Tree.Literal literal, Void input) { in visitLiteral()
157 public Void visitTypeCast(Tree.TypeCast typeCast, Void input) { in visitTypeCast()
166 public Void visitUnary(Tree.Unary unary, Void input) { in visitUnary()
[all …]
/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Mapper.cc26 using android::hardware::Void;
46 return Void(); in createDescriptor()
52 return Void(); in createDescriptor()
58 return Void(); in createDescriptor()
65 return Void(); in createDescriptor()
69 return Void(); in createDescriptor()
76 return Void(); in importBuffer()
83 return Void(); in importBuffer()
90 return Void(); in importBuffer()
98 return Void(); in importBuffer()
[all …]
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java84 public Void visit(Message command) { in testAddMessageErrorCommand()
107 public Void visit(Message command) { in testAddThrowableErrorCommand()
135 public Void visit(Message command) { in testErrorsAddedWhenExceptionsAreThrown()
144 public Void visit(Message command) { in testErrorsAddedWhenExceptionsAreThrown()
166 public <T> Void visit(Binding<T> command) { in testBindConstantAnnotations()
175 public <T> Void visit(Binding<T> command) { in testBindConstantAnnotations()
204 public <T> Void visit(Binding<T> command) { in testBindConstantTypes()
213 public <T> Void visit(Binding<T> command) { in testBindConstantTypes()
222 public <T> Void visit(Binding<T> command) { in testBindConstantTypes()
231 public <T> Void visit(Binding<T> command) { in testBindConstantTypes()
[all …]
DSpiBindingsTest.java61 public <T> Void visit(Binding<T> binding) { in testBindConstant()
79 public <T> Void visit(Binding<T> binding) { in testToInstanceBinding()
86 public Void visit(InstanceBinding<? extends T> binding) { in testToInstanceBinding()
94 public Void visitEagerSingleton() { in testToInstanceBinding()
115 public <T> Void visit(Binding<T> binding) { in testToProviderBinding()
122 public Void visit(ProviderInstanceBinding<? extends T> binding) { in testToProviderBinding()
142 public <T> Void visit(Binding<T> binding) { in testToProviderKeyBinding()
149 public Void visit(ProviderKeyBinding<? extends T> binding) { in testToProviderKeyBinding()
173 public <T> Void visit(Binding<T> binding) { in testToKeyBinding()
180 public Void visit(LinkedKeyBinding<? extends T> binding) { in testToKeyBinding()
[all …]
/external/javaparser/javaparser-core-testing/src/test/test_sourcecode/com/github/javaparser/printer/
DPrettyPrintVisitor.java51 public class PrettyPrintVisitor implements VoidVisitor<Void> {
70 private void printMembers(final NodeList<BodyDeclaration<?>> members, final Void arg) { in printMembers()
78 … private void printMemberAnnotations(final NodeList<AnnotationExpr> annotations, final Void arg) { in printMemberAnnotations()
89 final Void arg) { in printAnnotations()
102 … private void printTypeArgs(final NodeWithTypeArguments<?> nodeWithTypeArguments, final Void arg) { in printTypeArgs()
117 private void printTypeParameters(final NodeList<TypeParameter> args, final Void arg) { in printTypeParameters()
131 private void printArguments(final NodeList<Expression> args, final Void arg) { in printArguments()
145 private void printJavaComment(final Comment javacomment, final Void arg) { in printJavaComment()
152 public void visit(final CompilationUnit n, final Void arg) { in visit()
176 public void visit(final PackageDeclaration n, final Void arg) { in visit()
[all …]
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DValidator.java24 public abstract class Validator implements ElementVisitor<Void, Element> {
32 …final ElementVisitor<Void, Element> visitorAdapter = new AbstractElementVisitor6<Void, Element>() {
35 public Void visitPackage(PackageElement e, Element p) {
40 public Void visitType(TypeElement e, Element p) {
45 public Void visitVariable(VariableElement e, Element p) {
50 public Void visitExecutable(ExecutableElement e, Element p) {
55 public Void visitTypeParameter(TypeParameterElement e, Element p) {
107 public Void visit(Element e, Element p) { in visit()
113 public Void visit(Element e) { in visit()
118 public Void visitPackage(PackageElement e, Element p) { in visitPackage()
[all …]
/external/dagger2/java/dagger/internal/codegen/
DInjectProcessingStep.java36 private final ElementVisitor<Void, Void> visitor;
42 new ElementKindVisitor8<Void, Void>() { in InjectProcessingStep()
44 public Void visitExecutableAsConstructor( in InjectProcessingStep()
45 ExecutableElement constructorElement, Void aVoid) { in InjectProcessingStep()
51 public Void visitVariableAsField(VariableElement fieldElement, Void aVoid) { in InjectProcessingStep()
58 public Void visitExecutableAsMethod(ExecutableElement methodElement, Void aVoid) { in InjectProcessingStep()
DMembersInjectionValidator.java76 private static final TypeVisitor<Void, ValidationReport.Builder<?>>
78 new SimpleTypeVisitor8<Void, ValidationReport.Builder<?>>() {
81 protected Void defaultAction(TypeMirror type, ValidationReport.Builder<?> report) {
87 public Void visitDeclared(DeclaredType type, ValidationReport.Builder<?> report) {
113 private static final TypeVisitor<Boolean, Void> DECLARED_OR_ARRAY =
114 new SimpleTypeVisitor8<Boolean, Void>(false) {
116 public Boolean visitArray(ArrayType arrayType, Void p) {
120 new SimpleTypeVisitor8<Boolean, Void>(false) {
122 public Boolean visitDeclared(DeclaredType declaredType, Void p) {
132 public Boolean visitArray(ArrayType arrayType, Void p) {
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/stats/
DViewData.java209 new Function<View.AggregationWindow.Cumulative, Void>() {
211 public Void apply(View.AggregationWindow.Cumulative arg) {
217 new Function<View.AggregationWindow.Interval, Void>() {
219 public Void apply(View.AggregationWindow.Interval arg) {
225 Functions.</*@Nullable*/ Void>throwAssertionError());
247 new Function<Sum, Void>() {
249 public Void apply(Sum arg) {
251 new Function<MeasureDouble, Void>() {
253 public Void apply(MeasureDouble arg) {
259 new Function<MeasureLong, Void>() {
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DPrettyPrintVisitor.java52 public class PrettyPrintVisitor implements VoidVisitor<Void> {
80 private void printMembers(final NodeList<BodyDeclaration<?>> members, final Void arg) { in printMembers()
88 … private void printMemberAnnotations(final NodeList<AnnotationExpr> annotations, final Void arg) { in printMemberAnnotations()
99 final Void arg) { in printAnnotations()
112 … private void printTypeArgs(final NodeWithTypeArguments<?> nodeWithTypeArguments, final Void arg) { in printTypeArgs()
127 private void printTypeParameters(final NodeList<TypeParameter> args, final Void arg) { in printTypeParameters()
141 private void printArguments(final NodeList<Expression> args, final Void arg) { in printArguments()
167 …private void printPrePostFixOptionalList(final NodeList<? extends Visitable> args, final Void arg,… in printPrePostFixOptionalList()
181 …private void printPrePostFixRequiredList(final NodeList<? extends Visitable> args, final Void arg,… in printPrePostFixRequiredList()
195 private void printComment(final Optional<Comment> comment, final Void arg) { in printComment()
[all …]
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DTestMethodDescriptors.java42 public static MethodDescriptor<Void, Void> voidMethod() { in voidMethod()
43 return MethodDescriptor.<Void, Void>newBuilder() in voidMethod()
57 public static MethodDescriptor.Marshaller<Void> voidMarshaller() { in voidMarshaller()
61 private static final class NoopMarshaller implements MethodDescriptor.Marshaller<Void> {
63 public InputStream stream(Void value) { in stream()
68 public Void parse(InputStream stream) { in parse()
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DAnswerFunctionalInterfaces.java54 public static <A> Answer<Void> toAnswer(final VoidAnswer1<A> answer) {
55 return new Answer<Void>() {
57 public Void answer(InvocationOnMock invocation) throws Throwable {
90 public static <A, B> Answer<Void> toAnswer(final VoidAnswer2<A, B> answer) {
91 return new Answer<Void>() {
93 public Void answer(InvocationOnMock invocation) throws Throwable {
131 public static <A, B, C> Answer<Void> toAnswer(final VoidAnswer3<A, B, C> answer) {
132 return new Answer<Void>() {
134 public Void answer(InvocationOnMock invocation) throws Throwable {
176 public static <A, B, C, D> Answer<Void> toAnswer(final VoidAnswer4<A, B, C, D> answer) {
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DControlFlowLogic.java102 GenericVisitor<Boolean, Void> visitor = new GenericVisitorAdapter<Boolean, Void>(){ in canCompleteNormally()
104 public Boolean visit(BlockStmt n, Void arg) { in canCompleteNormally()
118 public Boolean visit(LabeledStmt n, Void arg) { in canCompleteNormally()
126 public Boolean visit(EmptyStmt n, Void arg) { in canCompleteNormally()
132 public Boolean visit(LocalClassDeclarationStmt n, Void arg) { in canCompleteNormally()
138 public Boolean visit(IfStmt n, Void arg) { in canCompleteNormally()
150 public Boolean visit(AssertStmt n, Void arg) { in canCompleteNormally()
156 public Boolean visit(ExpressionStmt n, Void arg) { in canCompleteNormally()
187 GenericVisitor<Boolean, Void> visitor = new GenericVisitorAdapter<Boolean, Void>(){ in isReachable()
189 public Boolean visit(BlockStmt n, Void arg) { in isReachable()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/common/
DFunctions.java31 private static final Function<Object, /*@Nullable*/ Void> RETURN_NULL =
32 new Function<Object, /*@Nullable*/ Void>() {
35 public Void apply(Object ignored) {
40 private static final Function<Object, Void> THROW_ILLEGAL_ARGUMENT_EXCEPTION =
41 new Function<Object, Void>() {
43 public Void apply(Object ignored) {
48 private static final Function<Object, Void> THROW_ASSERTION_ERROR =
49 new Function<Object, Void>() {
51 public Void apply(Object ignored) {
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DExecutionSequencerTest.java35 private SettableFuture<Void> firstFuture;
54 TestCallable secondCallable = new TestCallable(Futures.<Void>immediateFuture(null)); in testCallableStartsAfterFirstFutureCompletes()
71 TestCallable secondCallable = new TestCallable(Futures.<Void>immediateFuture(null)); in testCancellationDoesNotViolateSerialization()
72 ListenableFuture<Void> secondFuture = serializer.submitAsync(secondCallable, directExecutor()); in testCancellationDoesNotViolateSerialization()
73 TestCallable thirdCallable = new TestCallable(Futures.<Void>immediateFuture(null)); in testCancellationDoesNotViolateSerialization()
86 ListenableFuture<Void> unused = serializer.submit(blockingCallable, executor); in testCancellationMultipleThreads()
113 ListenableFuture<Void> future1 = serializer.submit(blockingCallable, executor); in testSecondTaskWaitsForFirstEvenIfCancelled()
145 TestCallable secondCallable = new TestCallable(SettableFuture.<Void>create()); in testToString()
153 private static class BlockingCallable implements Callable<Void> {
160 public Void call() throws InterruptedException { in call()
[all …]
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DExecutionSequencerTest.java35 private SettableFuture<Void> firstFuture;
54 TestCallable secondCallable = new TestCallable(Futures.<Void>immediateFuture(null)); in testCallableStartsAfterFirstFutureCompletes()
71 TestCallable secondCallable = new TestCallable(Futures.<Void>immediateFuture(null)); in testCancellationDoesNotViolateSerialization()
72 ListenableFuture<Void> secondFuture = serializer.submitAsync(secondCallable, directExecutor()); in testCancellationDoesNotViolateSerialization()
73 TestCallable thirdCallable = new TestCallable(Futures.<Void>immediateFuture(null)); in testCancellationDoesNotViolateSerialization()
86 ListenableFuture<Void> unused = serializer.submit(blockingCallable, executor); in testCancellationMultipleThreads()
113 ListenableFuture<Void> future1 = serializer.submit(blockingCallable, executor); in testSecondTaskWaitsForFirstEvenIfCancelled()
145 TestCallable secondCallable = new TestCallable(SettableFuture.<Void>create()); in testToString()
153 private static class BlockingCallable implements Callable<Void> {
160 public Void call() throws InterruptedException { in call()
[all …]
/external/clang/test/Sema/
Dvoid_arg.c4 typedef void Void; typedef
13 X = sizeof(int (Void a)); // expected-error {{argument may not have 'void' type}} in foo()
14 X = sizeof(int (int, Void)); // expected-error {{must be the first and only parameter}} in foo()
15 X = sizeof(int (Void, ...)); // expected-error {{must be the first and only parameter}} in foo()
19 X = sizeof(int (Void)); in foo()
23 void bar(Void) { in bar() argument
/external/opencensus-java/exporters/stats/signalfx/src/main/java/io/opencensus/exporter/stats/signalfx/
DSignalFxSessionAdaptor.java131 new Function<SumDataDouble, Void>() { in createDatum()
133 public Void apply(SumDataDouble arg) { in createDatum()
138 new Function<SumDataLong, Void>() { in createDatum()
140 public Void apply(SumDataLong arg) { in createDatum()
145 new Function<CountData, Void>() { in createDatum()
147 public Void apply(CountData arg) { in createDatum()
152 new Function<DistributionData, Void>() { in createDatum()
154 public Void apply(DistributionData arg) { in createDatum()
159 new Function<LastValueDataDouble, Void>() { in createDatum()
161 public Void apply(LastValueDataDouble arg) { in createDatum()
[all …]
/external/javaparser/javaparser-core-testing/src/test/resources/com/github/javaparser/printer/
DPrettyPrintVisitor_prettyprinted48 public class PrettyPrintVisitor implements VoidVisitor<Void> {
69 private void printMembers(final NodeList<BodyDeclaration<?>> members, final Void arg) {
77 … private void printMemberAnnotations(final NodeList<AnnotationExpr> annotations, final Void arg) {
87 …Annotations(final NodeList<AnnotationExpr> annotations, boolean prefixWithASpace, final Void arg) {
100 … private void printTypeArgs(final NodeWithTypeArguments<?> nodeWithTypeArguments, final Void arg) {
115 private void printTypeParameters(final NodeList<TypeParameter> args, final Void arg) {
129 private void printArguments(final NodeList<Expression> args, final Void arg) {
143 private void printJavaComment(final Comment javacomment, final Void arg) {
150 public void visit(final CompilationUnit n, final Void arg) {
170 public void visit(final PackageDeclaration n, final Void arg) {
[all …]

12345678910>>...20