Home
last modified time | relevance | path

Searched refs:Listener (Results 1 – 25 of 235) sorted by relevance

12345678910

/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
DJITEventListenerTest.cpp90 RecordingJITEventListener Listener; in TEST_F() local
91 EE->RegisterJITEventListener(&Listener); in TEST_F()
101 ASSERT_EQ(2U, Listener.EmittedEvents.size()); in TEST_F()
102 ASSERT_EQ(2U, Listener.FreedEvents.size()); in TEST_F()
104 EXPECT_EQ(0U, Listener.EmittedEvents[0].Index); in TEST_F()
105 EXPECT_EQ(F1, Listener.EmittedEvents[0].F); in TEST_F()
106 EXPECT_EQ(F1_addr, Listener.EmittedEvents[0].Code); in TEST_F()
107 EXPECT_LT(0U, Listener.EmittedEvents[0].Size) in TEST_F()
111 EXPECT_EQ(1U, Listener.EmittedEvents[1].Index); in TEST_F()
112 EXPECT_EQ(F2, Listener.EmittedEvents[1].F); in TEST_F()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitstreamReader.cpp258 NaClAbbrevListener *Listener) { in ReadAbbrevRecord() argument
261 if (Listener) Listener->Values.push_back(NumOpInfo); in ReadAbbrevRecord()
264 if (Listener) Listener->Values.push_back(IsLiteral); in ReadAbbrevRecord()
267 if (Listener) Listener->Values.push_back(Value); in ReadAbbrevRecord()
272 if (Listener) Listener->Values.push_back(E); in ReadAbbrevRecord()
275 if (Listener) Listener->Values.push_back(Data); in ReadAbbrevRecord()
282 if (Listener) Listener->Values.push_back(0); in ReadAbbrevRecord()
309 if (Listener) { in ReadAbbrevRecord()
310 Listener->ProcessAbbreviation(Abbv, IsLocal); in ReadAbbrevRecord()
312 Listener->Values.clear(); in ReadAbbrevRecord()
[all …]
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractService.java57 private static final Callback<Listener> STARTING_CALLBACK =
58 new Callback<Listener>("starting()") {
59 @Override void call(Listener listener) {
63 private static final Callback<Listener> RUNNING_CALLBACK =
64 new Callback<Listener>("running()") {
65 @Override void call(Listener listener) {
69 private static final Callback<Listener> STOPPING_FROM_STARTING_CALLBACK =
71 private static final Callback<Listener> STOPPING_FROM_RUNNING_CALLBACK =
74 private static final Callback<Listener> TERMINATED_FROM_NEW_CALLBACK =
76 private static final Callback<Listener> TERMINATED_FROM_RUNNING_CALLBACK =
[all …]
DServiceManager.java128 private static final Callback<Listener> HEALTHY_CALLBACK = new Callback<Listener>("healthy()") {
129 @Override void call(Listener listener) {
133 private static final Callback<Listener> STOPPED_CALLBACK = new Callback<Listener>("stopped()") {
134 @Override void call(Listener listener) {
149 public abstract static class Listener { class in ServiceManager
240 public void addListener(Listener listener, Executor executor) { in addListener()
260 public void addListener(Listener listener) { in addListener()
462 final List<ListenerCallQueue<Listener>> listeners =
463 Collections.synchronizedList(new ArrayList<ListenerCallQueue<Listener>>());
518 void addListener(Listener listener, Executor executor) { in addListener()
[all …]
/external/google-fruit/examples/multibindings/
Dmain.cpp23 class Listener { class
28 class Listener1 : public Listener {
52 class Listener2 : public Listener {
69 .addMultibinding<Listener, Listener1>() in getListenersComponent()
70 .addMultibinding<Listener, Listener2>(); in getListenersComponent()
75 std::vector<Listener*> listeners = injector.getMultibindings<Listener>(); in main()
78 for (Listener* listener : listeners) { in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DPipeline.cpp27 void Pipeline::addEventListener(HWEventListener *Listener) { in addEventListener() argument
28 if (Listener) in addEventListener()
29 Listeners.insert(Listener); in addEventListener()
31 S->addListener(Listener); in addEventListener()
90 for (HWEventListener *Listener : Listeners) in notifyCycleBegin()
91 Listener->onCycleBegin(); in notifyCycleBegin()
96 for (HWEventListener *Listener : Listeners) in notifyCycleEnd()
97 Listener->onCycleEnd(); in notifyCycleEnd()
DExecuteStage.cpp171 for (HWEventListener *Listener : getListeners()) in notifyResourceAvailable()
172 Listener->onResourceAvailable(RR); in notifyResourceAvailable()
195 for (HWEventListener *Listener : getListeners()) in notifyReservedBuffers()
196 Listener->onReservedBuffers(BufferIDs); in notifyReservedBuffers()
206 for (HWEventListener *Listener : getListeners()) in notifyReleasedBuffers()
207 Listener->onReleasedBuffers(BufferIDs); in notifyReleasedBuffers()
/external/boringssl/src/tool/
Dtransport_common.h31 class Listener {
33 Listener() {} in Listener() function
34 ~Listener();
46 Listener(const Listener &) = delete;
47 Listener &operator=(const Listener &) = delete;
/external/libchrome/base/
Dcallback_list_unittest.cc18 class Listener { class
20 Listener() : total_(0), scaler_(1) {} in Listener() function in base::__anonf72450230111::Listener
21 explicit Listener(int scaler) : total_(0), scaler_(scaler) {} in Listener() function in base::__anonf72450230111::Listener
30 DISALLOW_COPY_AND_ASSIGN(Listener);
168 Listener a, b, c; in TEST()
171 cb_reg.Add(Bind(&Listener::IncrementTotal, Unretained(&a))); in TEST()
173 cb_reg.Add(Bind(&Listener::IncrementTotal, Unretained(&b))); in TEST()
186 cb_reg.Add(Bind(&Listener::IncrementTotal, Unretained(&c))); in TEST()
203 Listener a(1), b(-1), c(1); in TEST()
206 cb_reg.Add(Bind(&Listener::IncrementByMultipleOfScaler, Unretained(&a))); in TEST()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DConnectivityStateManager.java36 private ArrayList<Listener> listeners = new ArrayList<>();
50 Listener stateChangeListener = new Listener(callback, executor); in notifyWhenStateChanged()
71 ArrayList<Listener> savedListeners = listeners; in gotoState()
73 for (Listener listener : savedListeners) { in gotoState()
90 private static final class Listener { class in ConnectivityStateManager
94 Listener(Runnable callback, Executor executor) { in Listener() method in ConnectivityStateManager.Listener
/external/volley/src/test/java/com/android/volley/toolbox/
DJsonRequestTest.java38 Response.Listener.class, in publicMethods()
45 Response.Listener.class, in publicMethods()
50 String.class, Response.Listener.class, Response.ErrorListener.class)); in publicMethods()
56 Response.Listener.class, in publicMethods()
63 Response.Listener.class, in publicMethods()
70 Response.Listener.class, in publicMethods()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DServerInterceptorsTest.java33 import io.grpc.ServerCall.Listener;
62 private ServerCall.Listener<String> listener;
168 public <ReqT, RespT> ServerCall.Listener<ReqT> interceptCall( in callNextTwice()
190 public ServerCall.Listener<String> startCall( in ordered()
199 public <ReqT, RespT> ServerCall.Listener<ReqT> interceptCall( in ordered()
209 public <ReqT, RespT> ServerCall.Listener<ReqT> interceptCall( in ordered()
232 public ServerCall.Listener<String> startCall( in orderedForward()
241 public <ReqT, RespT> ServerCall.Listener<ReqT> interceptCall( in orderedForward()
251 public <ReqT, RespT> ServerCall.Listener<ReqT> interceptCall( in orderedForward()
274 final ServerCall.Listener<String> listener2 = mock(ServerCall.Listener.class); in argumentsPassed()
[all …]
DContextsTest.java59 final ServerCall.Listener<Object> listener = new ServerCall.Listener<Object>() { in interceptCall_basic()
86 ServerCall.Listener<Object> wrapped = interceptCall(uniqueContext, call, headers, in interceptCall_basic()
89 public ServerCall.Listener<Object> startCall( in interceptCall_basic()
114 public ServerCall.Listener<Object> startCall( in interceptCall_restoresIfNextThrows()
128 final ServerCall.Listener<Object> listener = new ServerCall.Listener<Object>() { in interceptCall_restoresIfListenerThrows()
149 ServerCall.Listener<Object> wrapped = interceptCall(uniqueContext, call, headers, in interceptCall_restoresIfListenerThrows()
152 public ServerCall.Listener<Object> startCall( in interceptCall_restoresIfListenerThrows()
/external/grpc-grpc-java/stub/src/test/java/io/grpc/stub/
DClientCallsTest.java101 public void start(ClientCall.Listener<String> listener, Metadata headers) { in unaryBlockingCallSuccess()
119 public void start(io.grpc.ClientCall.Listener<String> listener, Metadata headers) { in unaryBlockingCallFailed()
135 final AtomicReference<ClientCall.Listener<String>> listener = in unaryFutureCallSuccess()
136 new AtomicReference<ClientCall.Listener<String>>(); in unaryFutureCallSuccess()
141 public void start(io.grpc.ClientCall.Listener<String> responseListener, Metadata headers) { in unaryFutureCallSuccess()
167 final AtomicReference<ClientCall.Listener<String>> listener = in unaryFutureCallFailed()
168 new AtomicReference<ClientCall.Listener<String>>(); in unaryFutureCallFailed()
171 public void start(io.grpc.ClientCall.Listener<String> responseListener, Metadata headers) { in unaryFutureCallFailed()
192 final AtomicReference<ClientCall.Listener<String>> listener = in unaryFutureCallCancelled()
193 new AtomicReference<ClientCall.Listener<String>>(); in unaryFutureCallCancelled()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitcodeParser.h434 Listener(0), in NaClBitcodeParser()
563 if (Listener) { in ParseThisBlock()
564 NaClBitcodeParser *CallingParser = Listener->Parser; in ParseThisBlock()
565 Listener->Parser = this; in ParseThisBlock()
567 Listener->Parser = CallingParser; in ParseThisBlock()
595 NaClBitcodeParserListener *Listener; variable
608 Listener(EnclosingParser->Listener), in NaClBitcodeParser()
621 Listener(EnclosingParser->Listener), in NaClBitcodeParser()
628 Listener = UseListener; in SetListener()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DForwardingServerCallListener.java29 protected abstract ServerCall.Listener<ReqT> delegate(); in delegate()
43 private final ServerCall.Listener<ReqT> delegate;
45 protected SimpleForwardingServerCallListener(ServerCall.Listener<ReqT> delegate) { in SimpleForwardingServerCallListener()
50 protected ServerCall.Listener<ReqT> delegate() { in delegate()
DForwardingClientCallListener.java29 protected abstract ClientCall.Listener<RespT> delegate(); in delegate()
43 private final ClientCall.Listener<RespT> delegate;
45 protected SimpleForwardingClientCallListener(ClientCall.Listener<RespT> delegate) { in SimpleForwardingClientCallListener()
50 protected ClientCall.Listener<RespT> delegate() { in delegate()
/external/volley/src/main/java/com/android/volley/toolbox/
DStringRequest.java25 import com.android.volley.Response.Listener;
36 private Listener<String> mListener;
49 Listener<String> listener, in StringRequest()
63 String url, Listener<String> listener, @Nullable ErrorListener errorListener) { in StringRequest()
77 Response.Listener<String> listener; in deliverResponse()
DJsonRequest.java25 import com.android.volley.Response.Listener;
48 private Listener<T> mListener;
60 String url, String requestBody, Listener<T> listener, ErrorListener errorListener) { in JsonRequest()
68 Listener<T> listener, in JsonRequest()
85 Response.Listener<T> listener; in deliverResponse()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachinePassRegistry.cpp25 if (Listener) Listener->NotifyAdd(Node->getName(), in Add()
36 if (Listener) Listener->NotifyRemove(Node->getName()); in Remove()
/external/libchrome/ipc/
Dmessage_router.h36 class COMPONENT_EXPORT(IPC) MessageRouter : public Listener, public Sender { in COMPONENT_EXPORT()
57 bool AddRoute(int32_t routing_id, Listener* listener); in COMPONENT_EXPORT()
63 Listener* GetRoute(int32_t routing_id); in COMPONENT_EXPORT()
67 base::IDMap<Listener*> routes_; in COMPONENT_EXPORT()
Dipc_channel_reader.h34 explicit ChannelReader(Listener* listener); in COMPONENT_EXPORT()
37 void set_listener(Listener* listener) { listener_ = listener; } in COMPONENT_EXPORT()
74 Listener* listener() const { return listener_; } in COMPONENT_EXPORT()
146 Listener* listener_; in COMPONENT_EXPORT()
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DBinaryLogProviderTest.java39 import io.grpc.ServerCall.Listener;
123 final AtomicReference<ClientCall.Listener<?>> listener = in wrapChannel_handler()
124 new AtomicReference<ClientCall.Listener<?>>(); in wrapChannel_handler()
131 public void start(Listener<ResponseT> responseListener, Metadata headers) { in wrapChannel_handler()
193 private static void onClientMessageHelper(ClientCall.Listener listener, Object request) { in onClientMessageHelper()
215 public Listener<String> startCall( in wrapMethodDefinition_methodDescriptor()
235 public ServerCall.Listener<String> startCall( in wrapMethodDefinition_handler()
238 return new ServerCall.Listener<String>() { in wrapMethodDefinition_handler()
248 ServerCall.Listener<?> wListener = startServerCallHelper(wDef, serializedResp); in wrapMethodDefinition_handler()
283 private static void onServerMessageHelper(ServerCall.Listener listener, Object request) { in onServerMessageHelper()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachinePassRegistry.cpp39 if (Listener) Listener->NotifyAdd(Node->getName(), in Add()
50 if (Listener) Listener->NotifyRemove(Node->getName()); in Remove()
/external/llvm/lib/CodeGen/
DMachinePassRegistry.cpp39 if (Listener) Listener->NotifyAdd(Node->getName(), in Add()
50 if (Listener) Listener->NotifyRemove(Node->getName()); in Remove()

12345678910