Home
last modified time | relevance | path

Searched refs:Intercept (Results 1 – 23 of 23) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Core/Interceptors/
DChannelExtensions.cs41 public static CallInvoker Intercept(this Channel channel, Interceptor interceptor) in Intercept() method in Grpc.Core.Interceptors.ChannelExtensions
43 return new DefaultCallInvoker(channel).Intercept(interceptor); in Intercept()
62 public static CallInvoker Intercept(this Channel channel, params Interceptor[] interceptors) in Intercept() method in Grpc.Core.Interceptors.ChannelExtensions
64 return new DefaultCallInvoker(channel).Intercept(interceptors); in Intercept()
82 … public static CallInvoker Intercept(this Channel channel, Func<Metadata, Metadata> interceptor) in Intercept() method in Grpc.Core.Interceptors.ChannelExtensions
84 return new DefaultCallInvoker(channel).Intercept(interceptor); in Intercept()
DServerServiceDefinitionExtensions.cs43 …public static ServerServiceDefinition Intercept(this ServerServiceDefinition serverServiceDefiniti… in Intercept() method in Grpc.Core.Interceptors.ServerServiceDefinitionExtensions
47 …erverServiceDefinition.CallHandlers.ToDictionary(x => x.Key, x => x.Value.Intercept(interceptor))); in Intercept()
66 …public static ServerServiceDefinition Intercept(this ServerServiceDefinition serverServiceDefiniti… in Intercept() method in Grpc.Core.Interceptors.ServerServiceDefinitionExtensions
73 serverServiceDefinition = Intercept(serverServiceDefinition, interceptor); in Intercept()
DCallInvokerExtensions.cs43 public static CallInvoker Intercept(this CallInvoker invoker, Interceptor interceptor) in Intercept() method in Grpc.Core.Interceptors.CallInvokerExtensions
64 … public static CallInvoker Intercept(this CallInvoker invoker, params Interceptor[] interceptors) in Intercept() method in Grpc.Core.Interceptors.CallInvokerExtensions
71 invoker = Intercept(invoker, interceptor); in Intercept()
92 …public static CallInvoker Intercept(this CallInvoker invoker, Func<Metadata, Metadata> interceptor) in Intercept() method in Grpc.Core.Interceptors.CallInvokerExtensions
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Interceptors/
DServerInterceptorTest.cs51 helper.ServiceDefinition = helper.ServiceDefinition.Intercept(interceptor); in AddRequestHeaderInServerInterceptor()
68 .Intercept(new ServerCallContextInterceptor(ctx => stringBuilder.Append("A"))) in VerifyInterceptorOrdering()
69 .Intercept(new ServerCallContextInterceptor(ctx => stringBuilder.Append("B1")), in VerifyInterceptorOrdering()
72 .Intercept(new ServerCallContextInterceptor(ctx => stringBuilder.Append("C"))); in VerifyInterceptorOrdering()
85 Assert.Throws<ArgumentNullException>(() => sd.Intercept(default(Interceptor))); in CheckNullInterceptorRegistrationFails()
86 Assert.Throws<ArgumentNullException>(() => sd.Intercept(new[]{default(Interceptor)})); in CheckNullInterceptorRegistrationFails()
87 …Assert.Throws<ArgumentNullException>(() => sd.Intercept(new[]{new ServerCallContextInterceptor(ctx… in CheckNullInterceptorRegistrationFails()
88 Assert.Throws<ArgumentNullException>(() => sd.Intercept(default(Interceptor[]))); in CheckNullInterceptorRegistrationFails()
DClientInterceptorTest.cs52 var callInvoker = helper.GetChannel().Intercept(metadata => in AddRequestHeaderInClientInterceptor()
72 var callInvoker = helper.GetChannel().Intercept(metadata => { in CheckInterceptorOrderInClientInterceptors()
75 }).Intercept(new CallbackInterceptor(() => stringBuilder.Append("array1")), in CheckInterceptorOrderInClientInterceptors()
78 .Intercept(metadata => in CheckInterceptorOrderInClientInterceptors()
82 }).Intercept(metadata => in CheckInterceptorOrderInClientInterceptors()
99 … Assert.Throws<ArgumentNullException>(() => helper.GetChannel().Intercept(default(Interceptor))); in CheckNullInterceptorRegistrationFails()
100 …Assert.Throws<ArgumentNullException>(() => helper.GetChannel().Intercept(new[]{default(Interceptor… in CheckNullInterceptorRegistrationFails()
101 …Assert.Throws<ArgumentNullException>(() => helper.GetChannel().Intercept(new[]{new CallbackInterce… in CheckNullInterceptorRegistrationFails()
102 … Assert.Throws<ArgumentNullException>(() => helper.GetChannel().Intercept(default(Interceptor[]))); in CheckNullInterceptorRegistrationFails()
121 … var callInvoker = helper.GetChannel().Intercept(new ClientStreamingCountingInterceptor()); in CountNumberOfRequestsInClientInterceptors()
/external/gson/extras/src/main/java/com/google/gson/interceptors/
DInterceptorFactory.java16 Intercept intercept = type.getRawType().getAnnotation(Intercept.class); in create()
30 public InterceptorAdapter(TypeAdapter<T> delegate, Intercept intercept) { in InterceptorAdapter()
DIntercept.java56 public @interface Intercept { annotation
/external/guice/core/test/com/google/inject/internal/
DProxyFactoryTest.java79 aspects.add(new MethodAspect(only(Bar.class), annotatedWith(Intercept.class), interceptor)); in testInterceptOneMethod()
105 @Intercept
121 @Intercept
128 @interface Intercept {} annotation in ProxyFactoryTest
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DServerCallHandler.cs34 IServerCallHandler Intercept(Interceptor interceptor); in Intercept() method
95 public IServerCallHandler Intercept(Interceptor interceptor) in Intercept() method in Grpc.Core.Internal.UnaryServerCallHandler
158 public IServerCallHandler Intercept(Interceptor interceptor) in Intercept() method in Grpc.Core.Internal.ServerStreamingServerCallHandler
221 public IServerCallHandler Intercept(Interceptor interceptor) in Intercept() method in Grpc.Core.Internal.ClientStreamingServerCallHandler
281 public IServerCallHandler Intercept(Interceptor interceptor) in Intercept() method in Grpc.Core.Internal.DuplexStreamingServerCallHandler
314 public IServerCallHandler Intercept(Interceptor interceptor) in Intercept() method in Grpc.Core.Internal.UnimplementedMethodCallHandler
/external/skia/src/core/
DSkGlyph.cpp355 const SkGlyph::Intercept* intercept,SkScalar* array, int* count) { in ensureIntercepts()
365 const SkGlyph::Intercept* match = in ensureIntercepts()
366 [this](const SkScalar bounds[2]) -> const SkGlyph::Intercept* { in ensureIntercepts()
370 const SkGlyph::Intercept* intercept = fPathData->fIntercept; in ensureIntercepts()
387 SkGlyph::Intercept* intercept = alloc->make<SkGlyph::Intercept>(); in ensureIntercepts()
DSkGlyph.h530 struct Intercept { struct
531 Intercept* fNext; argument
537 Intercept* fIntercept{nullptr}; argument
548 Intercept* fIntercept{nullptr};
/external/gson/extras/src/test/java/com/google/gson/interceptors/
DInterceptorTest.java129 @Intercept(postDeserialize = UserValidator.class)
152 @Intercept(postDeserialize = AddressValidator.class)
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dinterceptor.h222 virtual void Intercept(InterceptorBatchMethods* methods) = 0;
Dserver_interceptor.h103 interceptors_[pos]->Intercept(interceptor_methods); in RunInterceptor()
Dclient_interceptor.h139 interceptors_[pos]->Intercept(interceptor_methods); in RunInterceptor()
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dinterceptor.h222 virtual void Intercept(InterceptorBatchMethods* methods) = 0;
Dserver_interceptor.h103 interceptors_[pos]->Intercept(interceptor_methods); in RunInterceptor()
Dclient_interceptor.h139 interceptors_[pos]->Intercept(interceptor_methods); in RunInterceptor()
/external/grpc-grpc/src/csharp/Grpc.Core/
DClientBase.cs209 …return undecoratedCallInvoker.Intercept(new ClientBaseConfigurationInterceptor((method, host, opti… in CreateDecoratedCallInvoker()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_flags.inc47 COMMON_FLAG(bool, handle_ioctl, false, "Intercept and handle ioctl requests.")
102 COMMON_FLAG(bool, intercept_tls_get_addr, false, "Intercept __tls_get_addr.")
/external/bcc/tools/
Dsslsniff_example.txt196 Intercept calls from extra library
/external/python/cpython2/Lib/idlelib/
DREADME.txt71 WidgetRedirector.py # Intercept widget subcommands (for percolator) (nim).
/external/python/cpython3/Lib/idlelib/
DREADME.txt69 redirector.py # Intercept widget subcommands (for percolator) (nim).