Home
last modified time | relevance | path

Searched refs:intercept (Results 1 – 25 of 154) sorted by relevance

1234567

/external/skia/src/core/
DSkStrike.cpp281 void SkStrike::OffsetResults(const SkGlyph::Intercept* intercept, SkScalar scale, in OffsetResults() argument
286 *array++ = intercept->fInterval[index] * scale + xPos; in OffsetResults()
292 void SkStrike::AddInterval(SkScalar val, SkGlyph::Intercept* intercept) { in AddInterval() argument
293 intercept->fInterval[0] = SkTMin(intercept->fInterval[0], val); in AddInterval()
294 intercept->fInterval[1] = SkTMax(intercept->fInterval[1], val); in AddInterval()
298 bool yAxis, SkGlyph::Intercept* intercept) { in AddPoints() argument
302 AddInterval(*(&pts[i].fX + yAxis), intercept); in AddPoints()
308 SkGlyph::Intercept* intercept) { in AddLine() argument
313 : pts[0].fX + t * (pts[1].fX - pts[0].fX), intercept); in AddLine()
318 SkGlyph::Intercept* intercept) { in AddQuad() argument
[all …]
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);
/external/skqp/src/core/
DSkStrike.cpp259 void SkStrike::OffsetResults(const SkGlyph::Intercept* intercept, SkScalar scale, in OffsetResults() argument
264 *array++ = intercept->fInterval[index] * scale + xPos; in OffsetResults()
270 void SkStrike::AddInterval(SkScalar val, SkGlyph::Intercept* intercept) { in AddInterval() argument
271 intercept->fInterval[0] = SkTMin(intercept->fInterval[0], val); in AddInterval()
272 intercept->fInterval[1] = SkTMax(intercept->fInterval[1], val); in AddInterval()
276 bool yAxis, SkGlyph::Intercept* intercept) { in AddPoints() argument
280 AddInterval(*(&pts[i].fX + yAxis), intercept); in AddPoints()
286 SkGlyph::Intercept* intercept) { in AddLine() argument
291 : pts[0].fX + t * (pts[1].fX - pts[0].fX), intercept); in AddLine()
296 SkGlyph::Intercept* intercept) { in AddQuad() argument
[all …]
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);
/external/clang/tools/scan-build-py/
DREADME.md6 the clang static analyzer. Includes intercept-build tool, which logs
34 $ intercept-build <your build command>
47 Generally speaking, the `intercept-build` and `analyze-build` tools together
51 $ intercept-build <your build command> && analyze-build
61 2. Use special library to intercept compiler calls durring the build process.
63 Use `--intercept-first` flag to get this model.
65 3. Use compiler wrappers to intercept compiler calls durring the build process.
67 Use `--intercept-first` and `--override-compiler` flags together to get
73 you need to pass the compiler wrappers manually. eg.: `intercept-build
74 --override-compiler make CC=intercept-cc CXX=intercept-c++ all` where the
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DInterceptorTest.java69 @Override public Response intercept(Chain chain) throws IOException { in applicationInterceptorsCanShortCircuitResponses()
82 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsCannotShortCircuitResponses()
112 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsCannotCallProceedMultipleTimes()
136 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsCannotChangeServerAddress()
164 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsHaveConnectionAccess()
183 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsObserveNetworkHeaders()
218 public Response intercept(Chain chain) throws IOException { in networkInterceptorsCanChangeRequestMethodFromGetToPost()
254 @Override public Response intercept(Chain chain) throws IOException { in rewriteRequestToServer()
292 @Override public Response intercept(Chain chain) throws IOException { in rewriteResponseFromServer()
323 @Override public Response intercept(Chain chain) throws IOException { in multipleInterceptors()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServerInterceptors.java67 return intercept(serviceDef, copy); in interceptForward()
85 public static ServerServiceDefinition intercept(ServerServiceDefinition serviceDef, in intercept() method in ServerInterceptors
87 return intercept(serviceDef, Arrays.asList(interceptors)); in intercept()
90 public static ServerServiceDefinition intercept(BindableService bindableService, in intercept() method in ServerInterceptors
93 return intercept(bindableService.bindService(), Arrays.asList(interceptors)); in intercept()
105 public static ServerServiceDefinition intercept(ServerServiceDefinition serviceDef, in intercept() method in ServerInterceptors
119 public static ServerServiceDefinition intercept(BindableService bindableService, in intercept() method in ServerInterceptors
122 return intercept(bindableService.bindService(), interceptors); in intercept()
DForwardingChannelBuilder.java73 public T intercept(List<ClientInterceptor> interceptors) { in intercept() method in ForwardingChannelBuilder
74 delegate().intercept(interceptors); in intercept()
79 public T intercept(ClientInterceptor... interceptors) { in intercept() method in ForwardingChannelBuilder
80 delegate().intercept(interceptors); in intercept()
DClientInterceptors.java61 return intercept(channel, copy); in interceptForward()
73 public static Channel intercept(Channel channel, ClientInterceptor... interceptors) { in intercept() method in ClientInterceptors
74 return intercept(channel, Arrays.asList(interceptors)); in intercept()
86 public static Channel intercept(Channel channel, List<? extends ClientInterceptor> interceptors) { in intercept() method in ClientInterceptors
DManagedChannelBuilder.java112 public abstract T intercept(List<ClientInterceptor> interceptors); in intercept() method in ManagedChannelBuilder
122 public abstract T intercept(ClientInterceptor... interceptors); in intercept() method in ManagedChannelBuilder
/external/linux-kselftest/tools/testing/selftests/timers/
Dfreq-step.c119 static void regress(struct sample *samples, int n, double *intercept, in regress() argument
138 *intercept = (y_sum - *slope * x_sum) / n; in regress()
145 r = fabs(x * *slope + *intercept - y); in regress()
157 double intercept, slope, stddev1, max1, stddev2, max2; in run_test() local
181 regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1); in run_test()
188 regress(samples, SAMPLES / 2, &intercept, &slope, &stddev1, &max1); in run_test()
192 regress(samples + SAMPLES / 2, SAMPLES / 2, &intercept, &slope, in run_test()
/external/grpc-grpc/src/php/tests/unit_tests/
DInterceptorTest.php231 … $intercept_channel = Grpc\Interceptor::intercept($this->channel, $channel_matadata_interceptor);
259 … $intercept_channel1 = Grpc\Interceptor::intercept($this->channel, $channel_matadata_interceptor);
260 …$intercept_channel2 = Grpc\Interceptor::intercept($intercept_channel1, $channel_matadata_intercept…
285 $intercept_channel3 = Grpc\Interceptor::intercept($this->channel,
315 $intercept_channel = Grpc\Interceptor::intercept($this->channel,
366 $intercept_channel = Grpc\Interceptor::intercept($this->channel,
395 $interceptor_channel = Grpc\Interceptor::intercept($channel, new Grpc\Interceptor());
410 $interceptor_channel = Grpc\Interceptor::intercept($channel, new Grpc\Interceptor());
429 $interceptor_channel = Grpc\Interceptor::intercept($channel, new Grpc\Interceptor());
443 $interceptor_channel = Grpc\Interceptor::intercept($channel, new Grpc\Interceptor());
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DClientInterceptorsTest.java75 ClientInterceptors.intercept(null, Arrays.<ClientInterceptor>asList()); in npeForNullChannel()
80 ClientInterceptors.intercept(channel, (List<ClientInterceptor>) null); in npeForNullInterceptorList()
85 ClientInterceptors.intercept(channel, (ClientInterceptor) null); in npeForNullInterceptor()
90 assertSame(channel, ClientInterceptors.intercept(channel, Arrays.<ClientInterceptor>asList())); in noop()
97 Channel intercepted = ClientInterceptors.intercept(channel, interceptor); in channelAndInterceptorCalled()
125 Channel intercepted = ClientInterceptors.intercept(channel, interceptor); in callNextTwice()
168 Channel intercepted = ClientInterceptors.intercept(channel, interceptor1, interceptor2); in ordered()
230 Channel intercepted = ClientInterceptors.intercept(channel, interceptor); in callOptions()
256 Channel intercepted = ClientInterceptors.intercept(channel, interceptor); in addOutboundHeaders()
292 Channel intercepted = ClientInterceptors.intercept(channel, interceptor); in examineInboundHeaders()
[all …]
DServerInterceptorsTest.java102 ServerInterceptors.intercept(serviceDef, Arrays.<ServerInterceptor>asList()); in npeForNullServiceDefinition()
107 ServerInterceptors.intercept(serviceDefinition, (List<ServerInterceptor>) null); in npeForNullInterceptorList()
112 ServerInterceptors.intercept(serviceDefinition, Arrays.asList((ServerInterceptor) null)); in npeForNullInterceptor()
118 ServerInterceptors.intercept(serviceDefinition, Arrays.<ServerInterceptor>asList())); in noop()
126 = ServerInterceptors.intercept(serviceDefinition, Arrays.asList(interceptor)); in multipleInvocationsOfHandler()
151 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in correctHandlerCalled()
177 ServerServiceDefinition intercepted = ServerInterceptors.intercept(serviceDefinition, in callNextTwice()
220 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in ordered()
289 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in argumentsPassed()
394 ServerServiceDefinition intercepted = ServerInterceptors.intercept(serviceDef, interceptor1); in typedMarshalledMessages()
[all …]
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DSubclassBytecodeGenerator.java88 .intercept(dispatcher) in mockClass()
94 .intercept(hashCode) in mockClass()
96 .intercept(equals) in mockClass()
100 .intercept(FieldAccessor.ofBeanProperty()); in mockClass()
103 .intercept(writeReplace); in mockClass()
109 .intercept(readReplace); in mockClass()
/external/llvm/lib/Fuzzer/
DFuzzerFlags.def73 FUZZER_FLAG_INT(handle_segv, 1, "If 1, try to intercept SIGSEGV.")
74 FUZZER_FLAG_INT(handle_bus, 1, "If 1, try to intercept SIGSEGV.")
75 FUZZER_FLAG_INT(handle_abrt, 1, "If 1, try to intercept SIGABRT.")
76 FUZZER_FLAG_INT(handle_ill, 1, "If 1, try to intercept SIGILL.")
77 FUZZER_FLAG_INT(handle_fpe, 1, "If 1, try to intercept SIGFPE.")
78 FUZZER_FLAG_INT(handle_int, 1, "If 1, try to intercept SIGINT.")
79 FUZZER_FLAG_INT(handle_term, 1, "If 1, try to intercept SIGTERM.")
/external/guice/core/src/com/google/inject/internal/
DInterceptorStackCallback.java27 import org.aopalliance.intercept.MethodInterceptor;
28 import org.aopalliance.intercept.MethodInvocation;
52 public Object intercept(Object proxy, Method method, Object[] arguments, MethodProxy methodProxy) in intercept() method in InterceptorStackCallback
/external/guice/core/test/com/google/inject/
DIntegrationTest.java22 import org.aopalliance.intercept.MethodInterceptor;
23 import org.aopalliance.intercept.MethodInvocation;
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DRobolectricInternals.java47 …public static Object intercept(String signature, Object instance, Object[] params, Class theClass)… in intercept() method in RobolectricInternals
49 return classHandler.intercept(signature, instance, params, theClass); in intercept()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DAltsServerBuilder.java178 public AltsServerBuilder intercept(ServerInterceptor interceptor) { in intercept() method in AltsServerBuilder
179 delegate.intercept(interceptor); in intercept()
195 delegate.intercept(new FailingServerInterceptor(status)); in build()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SimplifyCFG/
Dpr35774.ll8 define i32 @intercept(%foo %f) {
9 ; CHECK-LABEL: @intercept(
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/
DJpaLocalTxnInterceptor.java25 import org.aopalliance.intercept.MethodInterceptor;
26 import org.aopalliance.intercept.MethodInvocation;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSystemClockTest.java64 long systemNanoTime = (Long) RobolectricInternals.intercept( in shouldInterceptSystemTimeCalls()
67 long systemMilliTime = (Long) RobolectricInternals.intercept( in shouldInterceptSystemTimeCalls()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/header/
DHeaderClientInterceptorTest.java81 .addService(ServerInterceptors.intercept(new GreeterImplBase() {}, mockServerInterceptor)) in clientHeaderDeliveredToServer()
87 ClientInterceptors.intercept(channel, new HeaderClientInterceptor())); in clientHeaderDeliveredToServer()
/external/mockito/src/test/java/org/mockitousage/spies/
DSpyingOnInterfacesTest.java71 .intercept(FixedValue.value("bar")) in shouldAllowDelegatingToDefaultMethod()
92 .intercept(FixedValue.value("bar")) in shouldAllowSpyingOnDefaultMethod()

1234567