Home
last modified time | relevance | path

Searched refs:Observer (Results 1 – 25 of 232) sorted by relevance

12345678910

/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/
Drx-subscriber.hpp24 template<class T, class Observer = observer<T>>
27 static_assert(!is_subscriber<Observer>::value, "not allowed to nest subscribers");
28 static_assert(is_observer<Observer>::value, "subscriber must contain an observer<T, ...>");
29 typedef subscriber<T, Observer> this_type;
30 typedef rxu::decay_t<Observer> observer_type;
128 std::is_same<Observer, observer<T>>::value, void**>::type = nullptr) in subscriber() argument
223 template<class T, class Observer>
225 subscriber<T, Observer> o) in make_subscriber()
226 -> subscriber<T, Observer> { in make_subscriber()
227 return subscriber<T, Observer>(std::move(o)); in make_subscriber()
[all …]
Drx-observer.hpp359 template<class T, class Observer>
362 explicit specific_observer(Observer o) in specific_observer()
367 Observer destination;
405 template<class Observer>
406 static auto make_destination(Observer o) in make_destination()
408 return std::make_shared<detail::specific_observer<T, Observer>>(std::move(o)); in make_destination()
424 template<class Observer>
425 explicit observer(Observer o) in observer()
469 template<class T, class DefaultOnError = detail::OnErrorEmpty, class Observer>
470 auto make_observer(Observer ob) in make_observer()
[all …]
/external/llvm-project/lldb/test/API/lang/objc/objc-dynamic-value/
Ddynamic-value.m28 // Source is a class that will be observed by the Observer class below.
29 // When Observer sets itself up to observe this property (in initWithASource)
75 // Observer is the object that will watch Source and cause KVO to swizzle it...
77 @interface Observer : NSObject interface
81 + (Observer *) observerWithSource: (Source *) source;
82 - (Observer *) initWithASource: (Source *) source;
89 @implementation Observer implementation
91 + (Observer *) observerWithSource: (Source *) inSource;
93 Observer *retval;
95 retval = [[Observer alloc] initWithASource: inSource];
[all …]
/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/
DLegalizerHelperTest.cpp41 DummyGISelObserver Observer; in TEST_F() local
42 LegalizerHelper Helper(*MF, Info, Observer, B); in TEST_F()
73 DummyGISelObserver Observer; in TEST_F() local
74 LegalizerHelper Helper(*MF, Info, Observer, B); in TEST_F()
107 DummyGISelObserver Observer; in TEST_F() local
108 LegalizerHelper Helper(*MF, Info, Observer, B); in TEST_F()
142 DummyGISelObserver Observer; in TEST_F() local
143 LegalizerHelper Helper(*MF, Info, Observer, B); in TEST_F()
177 DummyGISelObserver Observer; in TEST_F() local
178 LegalizerHelper Helper(*MF, Info, Observer, B); in TEST_F()
[all …]
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DParameterizedConstructorInstantiatorTest.java22 import java.util.Observer;
71 Observer observer = mock(Observer.class); in should_instantiate_type_if_resolver_provide_matching_types()
84 Observer observer = mock(Observer.class); in should_fail_if_an_argument_instance_type_do_not_match_wanted_type()
110 Observer[] vararg = new Observer[] { }; in should_instantiate_type_with_vararg_constructor()
129 public OneConstructor(Observer observer) { } in OneConstructor()
133 … public ThrowingConstructor(Observer observer) throws IOException { throw new IOException(); } in ThrowingConstructor()
137 Observer observer;
140 public MultipleConstructor(Observer observer) { this(observer, null); } in MultipleConstructor()
141 public MultipleConstructor(Observer observer, Map map) { in MultipleConstructor()
149 VarargConstructor(String whatever, Observer... observers) { } in VarargConstructor()
/external/llvm-project/lldb/test/API/lang/objc/objc-stepping/
Dstepping-tests.m68 @interface Observer : NSObject interface
72 + (Observer *) observerWithSource: (Source *) source;
73 - (Observer *) initWithASource: (Source *) source;
80 @implementation Observer implementation
82 + (Observer *) observerWithSource: (Source *) inSource;
84 Observer *retval;
86 retval = [[Observer alloc] initWithASource: inSource];
90 - (Observer *) initWithASource: (Source *) source
106 printf ("Observer function called.\n");
114 Observer *myObserver;
[all …]
/external/llvm-project/lldb/test/API/macosx/dyld-trie-symbols/
Dmain.mm28 // Source is a class that will be observed by the Observer class below.
29 // When Observer sets itself up to observe this property (in initWithASource)
75 // Observer is the object that will watch Source and cause KVO to swizzle it...
77 @interface Observer : NSObject interface
81 + (Observer *) observerWithSource: (Source *) source;
82 - (Observer *) initWithASource: (Source *) source;
89 @implementation Observer implementation
91 + (Observer *) observerWithSource: (Source *) inSource;
93 Observer *retval;
95 retval = [[Observer alloc] initWithASource: inSource];
[all …]
/external/webrtc/sdk/android/api/org/webrtc/
DPeerConnectionDependencies.java23 private final PeerConnection.Observer observer;
29 private PeerConnection.Observer observer;
32 private Builder(PeerConnection.Observer observer) { in Builder()
47 public static Builder builder(PeerConnection.Observer observer) { in builder()
51 PeerConnection.Observer getObserver() { in getObserver()
61 PeerConnection.Observer observer, SSLCertificateVerifier sslCertificateVerifier) { in PeerConnectionDependencies()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DAbstractItemHierarchy.java36 private final ArrayList<Observer> observers = new ArrayList<>();
60 public void registerObserver(Observer observer) { in registerObserver()
65 public void unregisterObserver(Observer observer) { in unregisterObserver()
71 for (Observer observer : observers) { in notifyChanged()
87 for (Observer observer : observers) { in notifyItemRangeChanged()
103 for (Observer observer : observers) { in notifyItemRangeInserted()
123 for (Observer observer : observers) { in notifyItemRangeMoved()
139 for (Observer observer : observers) { in notifyItemRangeRemoved()
/external/libchrome/base/android/javatests/src/org/chromium/base/
DObserverListTest.java25 interface Observer { interface in ObserverListTest
29 private static class Foo implements Observer {
46 private static class FooAdder implements Observer {
47 private final ObserverList<Observer> mList;
48 private final Observer mLucky;
50 FooAdder(ObserverList<Observer> list, Observer oblivious) { in FooAdder()
64 private static class FooRemover implements Observer {
65 private final ObserverList<Observer> mList;
66 private final Observer mDoomed;
68 FooRemover(ObserverList<Observer> list, Observer innocent) { in FooRemover()
[all …]
/external/libchrome/components/policy/core/common/
Dconfiguration_policy_provider.h24 : public SchemaRegistry::Observer {
26 class POLICY_EXPORT Observer {
28 virtual ~Observer();
71 virtual void AddObserver(Observer* observer);
72 virtual void RemoveObserver(Observer* observer);
98 base::ObserverList<Observer, true> observer_list_;
Dschema_registry.h30 class POLICY_EXPORT Observer {
43 virtual ~Observer();
85 void AddObserver(Observer* observer);
86 void RemoveObserver(Observer* observer);
99 base::ObserverList<Observer, true> observers_;
109 public SchemaRegistry::Observer,
140 public SchemaRegistry::Observer,
Dpolicy_service.h28 class POLICY_EXPORT Observer {
45 virtual ~Observer() {} in ~Observer()
51 virtual void AddObserver(PolicyDomain domain, Observer* observer) = 0;
53 virtual void RemoveObserver(PolicyDomain domain, Observer* observer) = 0;
79 class POLICY_EXPORT PolicyChangeRegistrar : public PolicyService::Observer {
Dconfiguration_policy_provider.cc13 ConfigurationPolicyProvider::Observer::~Observer() {} in ~Observer()
62 void ConfigurationPolicyProvider::AddObserver(Observer* observer) { in AddObserver()
66 void ConfigurationPolicyProvider::RemoveObserver(Observer* observer) { in RemoveObserver()
/external/pdfium/core/fxcrt/
Dshared_copy_on_write_unittest.cpp16 class Observer { class
34 Object(Observer* observer, const std::string& name) in Object()
47 Observer* observer_;
53 Observer observer; in TEST()
61 Observer observer; in TEST()
82 Observer observer; in TEST()
96 Observer observer; in TEST()
112 Observer observer; in TEST()
/external/libchrome/mojo/core/
Dmach_port_relay.h23 class MachPortRelay : public base::PortProvider::Observer {
25 class Observer {
70 void AddObserver(Observer* observer);
71 void RemoveObserver(Observer* observer);
82 std::set<Observer*> observers_;
/external/openscreen/cast/standalone_sender/
Dsimulated_capturer.h30 class Observer {
40 virtual ~Observer();
48 Observer* observer);
93 Observer* const observer_;
111 class Client : public SimulatedCapturer::Observer {
171 class Client : public SimulatedCapturer::Observer {
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/pythagorian/
Dmain.cpp66 template<class Observer>
67 inline void on_next_return(const Observer&) { in on_next_return()
71 template<class Observer>
72 inline void on_error_return(const Observer&) { in on_error_return()
76 template<class Observer>
77 inline void on_completed_return(const Observer&) { in on_completed_return()
/external/openscreen/osp/public/
Dservice_listener.h76 class Observer {
78 virtual ~Observer() = default;
137 virtual void AddObserver(Observer* observer) = 0;
138 virtual void RemoveObserver(Observer* observer) = 0;
154 std::vector<Observer*> observers_;
Dprotocol_connection_server.h34 class Observer : public ProtocolConnectionServiceObserver {
36 virtual ~Observer() = default;
87 Observer* observer);
93 Observer* const observer_;
/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.h54 class Observer {
56 virtual ~Observer();
61 static std::unique_ptr<FtraceController> Create(base::TaskRunner*, Observer*);
88 Observer*);
115 Observer* const observer_;
/external/perfetto/examples/sdk/
Dexample_system_wide.cc26 class Observer : public perfetto::TrackEventSessionObserver { class
28 Observer() { perfetto::TrackEvent::AddSessionObserver(this); } in Observer() function in Observer
29 ~Observer() { perfetto::TrackEvent::RemoveSessionObserver(this); } in ~Observer()
73 Observer observer; in main()
/external/libchrome/mojo/public/cpp/system/
Dfile_data_pipe_producer.h37 class Observer {
39 virtual ~Observer() {} in ~Observer()
59 std::unique_ptr<Observer> observer);
106 std::unique_ptr<Observer> observer_;
/external/webrtc/p2p/stunprober/
Dstun_prober.h63 class Observer {
65 virtual ~Observer() = default;
132 StunProber::Observer* observer);
135 bool Start(StunProber::Observer* observer);
154 class ObserverAdapter : public Observer {
239 Observer* observer_ = nullptr;
/external/libchrome/device/bluetooth/
Dbluetooth_advertisement.h115 class Observer {
117 virtual ~Observer() {} in ~Observer()
125 void AddObserver(BluetoothAdvertisement::Observer* observer);
126 void RemoveObserver(BluetoothAdvertisement::Observer* observer);
146 base::ObserverList<BluetoothAdvertisement::Observer> observers_;

12345678910