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/skqp/src/core/
DSkStrike.h189 static void OffsetResults(const SkGlyph::Intercept* intercept, SkScalar scale,
191 static void AddInterval(SkScalar val, SkGlyph::Intercept* intercept);
193 bool yAxis, SkGlyph::Intercept* intercept);
195 SkGlyph::Intercept* intercept);
197 SkGlyph::Intercept* intercept);
199 SkGlyph::Intercept* intercept);
200 static const SkGlyph::Intercept* MatchBounds(const SkGlyph* glyph,
DSkStrike.cpp259 void SkStrike::OffsetResults(const SkGlyph::Intercept* intercept, SkScalar scale, in OffsetResults()
270 void SkStrike::AddInterval(SkScalar val, SkGlyph::Intercept* intercept) { in AddInterval()
276 bool yAxis, SkGlyph::Intercept* intercept) { in AddPoints()
286 SkGlyph::Intercept* intercept) { in AddLine()
296 SkGlyph::Intercept* intercept) { in AddQuad()
309 SkGlyph::Intercept* intercept) { in AddCubic()
321 const SkGlyph::Intercept* SkStrike::MatchBounds(const SkGlyph* glyph, in MatchBounds()
326 const SkGlyph::Intercept* intercept = glyph->fPathData->fIntercept; in MatchBounds()
338 const SkGlyph::Intercept* match = MatchBounds(glyph, bounds); in findIntercepts()
347 SkGlyph::Intercept* intercept = fAlloc.make<SkGlyph::Intercept>(); in findIntercepts()
DSkGlyph.h207 struct Intercept { struct
208 Intercept* fNext; argument
214 Intercept* fIntercept{nullptr}; argument
/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/skia/src/core/
DSkGlyph.cpp294 const SkGlyph::Intercept* intercept,SkScalar* array, int* count) { in ensureIntercepts()
304 const SkGlyph::Intercept* match = in ensureIntercepts()
305 [this](const SkScalar bounds[2]) -> const SkGlyph::Intercept* { in ensureIntercepts()
309 const SkGlyph::Intercept* intercept = fPathData->fIntercept; in ensureIntercepts()
326 SkGlyph::Intercept* intercept = alloc->make<SkGlyph::Intercept>(); in ensureIntercepts()
DSkGlyph.h363 struct Intercept { struct
364 Intercept* fNext; argument
370 Intercept* fIntercept{nullptr}; argument
/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/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.h133 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.h133 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/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_flags.inc51 COMMON_FLAG(bool, handle_ioctl, false, "Intercept and handle ioctl requests.")
122 COMMON_FLAG(bool, intercept_tls_get_addr, false, "Intercept __tls_get_addr.")
/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).