Home
last modified time | relevance | path

Searched refs:Intercept (Results 1 – 24 of 24) 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/skia/src/core/
DSkStrike.h194 static void OffsetResults(const SkGlyph::Intercept* intercept, SkScalar scale,
196 static void AddInterval(SkScalar val, SkGlyph::Intercept* intercept);
198 bool yAxis, SkGlyph::Intercept* intercept);
200 SkGlyph::Intercept* intercept);
202 SkGlyph::Intercept* intercept);
204 SkGlyph::Intercept* intercept);
205 static const SkGlyph::Intercept* MatchBounds(const SkGlyph* glyph,
DSkStrike.cpp281 void SkStrike::OffsetResults(const SkGlyph::Intercept* intercept, SkScalar scale, in OffsetResults()
292 void SkStrike::AddInterval(SkScalar val, SkGlyph::Intercept* intercept) { in AddInterval()
298 bool yAxis, SkGlyph::Intercept* intercept) { in AddPoints()
308 SkGlyph::Intercept* intercept) { in AddLine()
318 SkGlyph::Intercept* intercept) { in AddQuad()
331 SkGlyph::Intercept* intercept) { in AddCubic()
343 const SkGlyph::Intercept* SkStrike::MatchBounds(const SkGlyph* glyph, in MatchBounds()
348 const SkGlyph::Intercept* intercept = glyph->fPathData->fIntercept; in MatchBounds()
360 const SkGlyph::Intercept* match = MatchBounds(glyph, bounds); in findIntercepts()
369 SkGlyph::Intercept* intercept = fAlloc.make<SkGlyph::Intercept>(); in findIntercepts()
DSkGlyph.h198 struct Intercept { struct
199 Intercept* fNext; argument
205 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/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/grpc-grpc/src/csharp/Grpc.Core/
DClientBase.cs209 …return undecoratedCallInvoker.Intercept(new ClientBaseConfigurationInterceptor((method, host, opti… in CreateDecoratedCallInvoker()
/external/v8/src/
Dexecution.cc359 top->prev_->Intercept(flag)) { in PopInterruptsScope()
381 thread_local_.interrupt_scopes_->Intercept(flag)) { in RequestInterrupt()
Disolate.h2006 bool Intercept(StackGuard::InterruptFlag flag);
Disolate.cc4156 bool InterruptsScope::Intercept(StackGuard::InterruptFlag flag) { in Throw() function in v8::internal::InterruptsScope
/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/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).
/external/swiftshader/third_party/LLVM/
DAndroid.mk158 lib/ExecutionEngine/JIT/Intercept.cpp \
DAndroid.bp221 "lib/ExecutionEngine/JIT/Intercept.cpp",
DBUILD.gn228 "lib/ExecutionEngine/JIT/Intercept.cpp",
/external/swiftshader/
DCMakeLists.txt446 ${LLVM_DIR}/lib/ExecutionEngine/JIT/Intercept.cpp