Searched defs:obs (Results 1 - 25 of 45) sorted by relevance

12

/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/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/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/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/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);
/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/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/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_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
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_notifier_impl_unittest.cc54 size_t CountObserver(const char* path, PrefObserver* obs) { argument
65 if (existing_obs == obs)
/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);
/external/chromium_org/components/infobars/core/
H A Dinfobar_manager.cc91 void InfoBarManager::AddObserver(Observer* obs) { argument
92 observer_list_.AddObserver(obs);
95 void InfoBarManager::RemoveObserver(Observer* obs) { argument
96 observer_list_.RemoveObserver(obs);
/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/chromium_org/base/message_loop/
H A Dmessage_pump_io_ios.cc155 void MessagePumpIOSForIO::AddIOObserver(IOObserver *obs) { argument
156 io_observers_.AddObserver(obs);
159 void MessagePumpIOSForIO::RemoveIOObserver(IOObserver *obs) { argument
160 io_observers_.RemoveObserver(obs);
H A Dmessage_pump_libevent.cc204 void MessagePumpLibevent::AddIOObserver(IOObserver *obs) { argument
205 io_observers_.AddObserver(obs);
208 void MessagePumpLibevent::RemoveIOObserver(IOObserver *obs) { argument
209 io_observers_.RemoveObserver(obs);
/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...]
H A Dobserver_list_threadsafe.h108 void AddObserver(ObserverType* obs) { argument
122 list->AddObserver(obs);
130 void RemoveObserver(ObserverType* obs) { argument
147 if (list->HasObserver(obs) && list->size() == 1)
150 list->RemoveObserver(obs);
261 ObserverType* obs; local
262 while ((obs = it.GetNext()) != NULL)
263 method.Run(obs);
/external/chromium_org/components/storage_monitor/
H A Dstorage_monitor.cc109 void StorageMonitor::AddObserver(RemovableStorageObserver* obs) { argument
110 observer_list_->AddObserver(obs);
114 RemovableStorageObserver* obs) {
115 observer_list_->RemoveObserver(obs);
113 RemoveObserver( RemovableStorageObserver* obs) argument
/external/chromium_org/content/child/
H A Dworker_task_runner.cc77 void WorkerTaskRunner::AddStopObserver(Observer* obs) { argument
79 current_tls_.Get()->stop_observers_.AddObserver(obs);
82 void WorkerTaskRunner::RemoveStopObserver(Observer* obs) { argument
84 current_tls_.Get()->stop_observers_.RemoveObserver(obs);
/external/chromium_org/content/renderer/media/android/
H A Dstream_texture_factory_impl.cc169 StreamTextureFactoryContextObserver* obs) {
173 StreamTextureFactoryContextObserver* obs) {
168 AddObserver( StreamTextureFactoryContextObserver* obs) argument
172 RemoveObserver( StreamTextureFactoryContextObserver* obs) argument
/external/chromium_org/ui/compositor/
H A Dlayer_animation_sequence.cc232 LayerAnimationObserver* obs; local
233 while ((obs = it.GetNext()) != NULL) {
234 if (!obs->RequiresNotificationWhenAnimatorDestroyed()) {
236 observers_.RemoveObserver(obs);
237 obs->DetachedFromSequence(this, false);
/external/openssl/crypto/bio/
H A Dbf_buff.c277 int ibs,obs; local
338 obs=ctx->obuf_size;
343 obs=(int)num;
349 obs=(int)num;
358 if ((obs > DEFAULT_BUFFER_SIZE) && (obs != ctx->obuf_size))
381 ctx->obuf_size=obs;
H A Dbf_lbuf.c273 int obs; local
296 obs=(int)num;
298 if ((obs > DEFAULT_LINEBUFFER_SIZE) && (obs != ctx->obuf_size))
306 if (ctx->obuf_len > obs)
308 ctx->obuf_len = obs;
313 ctx->obuf_size=obs;

Completed in 501 milliseconds

12