Searched refs:obs (Results 1 - 25 of 83) sorted by relevance

1234

/external/compiler-rt/test/msan/
H A Dobstack.cc17 obstack obs; local
18 obstack_init(&obs);
20 void *p = obstack_alloc(&obs, sz);
22 obstack_grow(&obs, &data, sizeof(data));
23 obstack_blank(&obs, sz);
24 obstack_grow(&obs, &data, sizeof(data));
25 obstack_int_grow(&obs, 13);
26 p = obstack_finish(&obs);
36 obstack_free(&obs, 0);
/external/bison/lib/
H A Dobstack_printf.c36 obstack_printf (struct obstack *obs, const char *format, ...) argument
42 result = obstack_vprintf (obs, format, args);
54 obstack_vprintf (struct obstack *obs, const char *format, va_list args) argument
62 char *base = obstack_next_free (obs);
63 size_t len = obstack_room (obs);
81 obstack_blank_fast (obs, len);
86 obstack_grow (obs, str, len);
/external/chromium_org/base/system_monitor/
H A Dsystem_monitor.cc38 void SystemMonitor::AddDevicesChangedObserver(DevicesChangedObserver* obs) { argument
39 devices_changed_observer_list_->AddObserver(obs);
42 void SystemMonitor::RemoveDevicesChangedObserver(DevicesChangedObserver* obs) { argument
43 devices_changed_observer_list_->RemoveObserver(obs);
H A Dsystem_monitor.h49 void AddDevicesChangedObserver(DevicesChangedObserver* obs);
54 void RemoveDevicesChangedObserver(DevicesChangedObserver* obs);
/external/chromium_org/cc/surfaces/
H A Dsurface_manager.h30 void AddObserver(SurfaceDamageObserver* obs) { argument
31 observer_list_.AddObserver(obs);
34 void RemoveObserver(SurfaceDamageObserver* obs) { argument
35 observer_list_.RemoveObserver(obs);
/external/chromium_org/components/dom_distiller/core/
H A Ddistilled_page_prefs_unittests.cc58 TestingObserver obs; local
59 distilled_page_prefs_->AddObserver(&obs);
61 EXPECT_EQ(DistilledPagePrefs::SANS_SERIF, obs.GetFontFamily());
63 EXPECT_EQ(DistilledPagePrefs::MONOSPACE, obs.GetFontFamily());
66 EXPECT_EQ(DistilledPagePrefs::SERIF, obs.GetFontFamily());
67 distilled_page_prefs_->RemoveObserver(&obs);
71 TestingObserver obs; local
72 distilled_page_prefs_->AddObserver(&obs);
77 EXPECT_EQ(DistilledPagePrefs::SERIF, obs.GetFontFamily());
79 distilled_page_prefs_->RemoveObserver(&obs);
88 TestingObserver obs; local
101 TestingObserver obs; local
[all...]
H A Ddistilled_page_prefs.cc85 void DistilledPagePrefs::AddObserver(Observer* obs) { argument
86 observers_.AddObserver(obs);
89 void DistilledPagePrefs::RemoveObserver(Observer* obs) { argument
90 observers_.RemoveObserver(obs);
/external/chromium_org/base/prefs/
H A Doverlay_user_pref_store_unittest.cc47 PrefStoreObserverMock obs; local
48 overlay_->AddObserver(&obs);
52 obs.VerifyAndResetChangedKey(overlay_key);
56 obs.VerifyAndResetChangedKey(overlay_key);
60 obs.VerifyAndResetChangedKey(overlay_key);
64 EXPECT_TRUE(obs.changed_keys.empty());
68 obs.VerifyAndResetChangedKey(overlay_key);
72 obs.VerifyAndResetChangedKey(overlay_key);
76 EXPECT_TRUE(obs.changed_keys.empty());
78 overlay_->RemoveObserver(&obs);
143 PrefStoreObserverMock obs; local
192 PrefStoreObserverMock obs; local
[all...]
H A Dpref_service_unittest.cc30 MockPrefChangeCallback obs(&prefs);
33 registrar.Add(pref_name, obs.GetCallback());
37 obs.Expect(pref_name, &expected_value);
39 Mock::VerifyAndClearExpectations(&obs);
43 EXPECT_CALL(obs, OnPreferenceChanged(_)).Times(0);
45 Mock::VerifyAndClearExpectations(&obs);
49 obs.Expect(pref_name, &expected_default_value);
51 Mock::VerifyAndClearExpectations(&obs);
54 EXPECT_CALL(obs, OnPreferenceChanged(_)).Times(0);
56 Mock::VerifyAndClearExpectations(&obs);
[all...]
H A Dpref_notifier_impl.cc42 PrefObserver* obs) {
56 observer_list->AddObserver(obs);
60 PrefObserver* obs) {
70 observer_list->RemoveObserver(obs);
73 void PrefNotifierImpl::AddInitObserver(base::Callback<void(bool)> obs) { argument
74 init_observers_.push_back(obs);
41 AddPrefObserver(const char* path, PrefObserver* obs) argument
59 RemovePrefObserver(const char* path, PrefObserver* obs) argument
H A Dpref_change_registrar.h35 // Adds a pref observer for the specified pref |path| and |obs| observer
43 void Add(const char* path, const base::Closure& obs);
44 void Add(const char* path, const NamedChangeCallback& obs);
H A Dpref_change_registrar.cc27 const base::Closure& obs) {
28 Add(path, base::Bind(&PrefChangeRegistrar::InvokeUnnamedCallback, obs));
32 const NamedChangeCallback& obs) {
40 observers_[path] = obs;
26 Add(const char* path, const base::Closure& obs) argument
31 Add(const char* path, const NamedChangeCallback& obs) argument
/external/chromium_org/base/power_monitor/
H A Dpower_monitor.cc29 void PowerMonitor::AddObserver(PowerObserver* obs) { argument
30 observers_->AddObserver(obs);
33 void PowerMonitor::RemoveObserver(PowerObserver* obs) { argument
34 observers_->RemoveObserver(obs);
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dmulti_client_status_change_checker.cc25 ScopedObserver<ProfileSyncService, MultiClientStatusChangeChecker> obs(this);
28 obs.Add(*it);
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
H A DAndroid.mk17 test_makefile := external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/Android.mk
19 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/owner_before_shared_ptr
23 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/dereference
27 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/arrow
31 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bool
35 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/owner_before_weak_ptr
39 test_name := utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/unique
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DObserverList.java60 public boolean addObserver(E obs) { argument
62 if (obs == null || mObservers.contains(obs)) {
68 boolean result = mObservers.add(obs);
80 public boolean removeObserver(E obs) { argument
81 if (obs == null) {
85 int index = mObservers.indexOf(obs);
102 public boolean hasObserver(E obs) { argument
103 return mObservers.contains(obs);
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A DAndroid.mk17 test_makefile := external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/Android.mk
19 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/lock
23 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/owner_before_shared_ptr
27 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/expired
31 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/owner_before_weak_ptr
/external/chromium_org/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/
H A DDistilledPagePrefs.java79 public boolean addObserver(Observer obs) { argument
80 if (mObserverMap.containsKey(obs)) return false;
82 new DistilledPagePrefsObserverWrapper(obs);
84 mObserverMap.put(obs, wrappedObserver);
92 public boolean removeObserver(Observer obs) { argument
93 DistilledPagePrefsObserverWrapper wrappedObserver = mObserverMap.remove(obs);
/external/chromium_org/device/usb/
H A Dusb_device.h70 void AddObserver(Observer* obs) { observer_list_.AddObserver(obs); } argument
71 void RemoveObserver(Observer* obs) { observer_list_.RemoveObserver(obs); } argument
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/Android.mk
19 test_name := thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/owns_lock
23 test_name := thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/mutex
27 test_name := thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/op_bool
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/Android.mk
19 test_name := thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/owns_lock
23 test_name := thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/mutex
27 test_name := thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/op_bool
/external/chromium_org/base/
H A Dobserver_list.h37 // void AddObserver(Observer* obs) {
38 // observer_list_.AddObserver(obs);
41 // void RemoveObserver(Observer* obs) {
42 // observer_list_.RemoveObserver(obs);
98 void AddObserver(ObserverType* obs);
101 void RemoveObserver(ObserverType* obs);
156 void ObserverListBase<ObserverType>::AddObserver(ObserverType* obs) { argument
157 if (std::find(observers_.begin(), observers_.end(), obs)
162 observers_.push_back(obs);
166 void ObserverListBase<ObserverType>::RemoveObserver(ObserverType* obs) { argument
[all...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/accessibility/
H A DFontSizePrefs.java109 public boolean addObserver(Observer obs) { argument
110 if (mObserverMap.containsKey(obs)) return false;
112 new FontSizePrefsObserverWrapper(obs);
114 mObserverMap.put(obs, wrappedObserver);
122 public boolean removeObserver(Observer obs) { argument
123 FontSizePrefsObserverWrapper wrappedObserver = mObserverMap.remove(obs);
/external/chromium_org/content/renderer/media/android/
H A Dstream_texture_factory_synchronous_impl.h35 virtual void AddObserver(StreamTextureFactoryContextObserver* obs) = 0;
36 virtual void RemoveObserver(StreamTextureFactoryContextObserver* obs) = 0;
58 virtual void AddObserver(StreamTextureFactoryContextObserver* obs) OVERRIDE;
60 StreamTextureFactoryContextObserver* obs) OVERRIDE;
/external/chromium_org/ui/gfx/
H A Ddisplay_change_notifier.cc36 void DisplayChangeNotifier::AddObserver(DisplayObserver* obs) { argument
37 observer_list_.AddObserver(obs);
40 void DisplayChangeNotifier::RemoveObserver(DisplayObserver* obs) { argument
41 observer_list_.RemoveObserver(obs);

Completed in 442 milliseconds

1234