Home
last modified time | relevance | path

Searched refs:eventMask (Results 1 – 25 of 31) sorted by relevance

12

/haiku/src/system/kernel/events/
H A DNotifications.cpp174 DefaultNotificationService::NotifyLocked(const KMessage& event, uint32 eventMask) in NotifyLocked() argument
182 if ((eventMask & listener->eventMask) != 0) in NotifyLocked()
189 if ((eventMask & listener->eventMask) != 0) in NotifyLocked()
202 uint32 eventMask; in AddListener() local
203 status_t status = ToEventMask(*eventSpecifier, eventMask); in AddListener()
211 listener->eventMask = eventMask; in AddListener()
270 uint32& eventMask) in ToEventMask() argument
272 return eventSpecifier.FindInt32("event mask", (int32*)&eventMask); in ToEventMask()
311 uint32 eventMask = eventSpecifier->GetInt32(kEventMaskString, 0); in AddListener() local
313 return _AddListener(eventMask, listener); in AddListener()
[all …]
/haiku/src/servers/registrar/
H A DPackageWatchingManager.cpp59 uint32 eventMask; in NotifyWatchers() local
62 eventMask = B_WATCH_PACKAGE_INSTALLATION_LOCATIONS; in NotifyWatchers()
69 EventMaskWatcherFilter filter(eventMask); in NotifyWatchers()
78 uint32 eventMask; in _AddWatcher() local
81 || (error = request->FindUInt32("events", &eventMask)) != B_OK) { in _AddWatcher()
85 Watcher* watcher = new(std::nothrow) EventMaskWatcher(target, eventMask); in _AddWatcher()
H A DEventMaskWatcher.cpp54 EventMaskWatcher::EventMaskWatcher(const BMessenger &target, uint32 eventMask) in EventMaskWatcher() argument
56 fEventMask(eventMask) in EventMaskWatcher()
H A DEventMaskWatcher.h37 EventMaskWatcher(const BMessenger &target, uint32 eventMask);
/haiku/headers/private/kernel/
H A DNotifications.h122 uint32 eventMask; member
141 inline void Notify(const KMessage& event, uint32 eventMask);
143 uint32 eventMask);
161 uint32& eventMask);
185 status_t UpdateUserListener(uint32 eventMask,
193 status_t _AddListener(uint32 eventMask,
209 uint32 eventMask,
216 uint32 eventMask,
257 DefaultNotificationService::Notify(const KMessage& event, uint32 eventMask) in Notify() argument
260 NotifyLocked(event, eventMask); in Notify()
/haiku/src/servers/app/
H A DEventDispatcher.cpp193 EventTarget::AddListener(int32 token, uint32 eventMask, in AddListener() argument
205 listener->temporary_event_mask = eventMask; in AddListener()
208 listener->event_mask = eventMask; in AddListener()
364 uint32 eventMask, uint32 options, bool temporary) in _AddListener() argument
380 if (eventMask != 0) in _AddListener()
381 listener->temporary_event_mask = eventMask; in _AddListener()
384 if (eventMask != 0) in _AddListener()
385 listener->event_mask = eventMask; in _AddListener()
392 if (eventMask == 0) in _AddListener()
397 token, eventMask, options, temporary ? "temporary" : "permanent")); in _AddListener()
[all …]
H A DEventDispatcher.h37 bool AddListener(int32 token, uint32 eventMask, uint32 options,
77 uint32 eventMask, uint32 options);
79 int32 token, uint32 eventMask, uint32 options);
111 uint32 eventMask, BMessage* nextMouseMoved = NULL,
121 uint32 eventMask, uint32 options, bool temporary);
H A DServerWindow.cpp507 uint32 eventMask; in _CreateView() local
521 link.Read<uint32>(&eventMask); in _CreateView()
554 newView->SetEventMask(eventMask, eventOptions); in _CreateView()
556 if (eventMask != 0 || eventOptions != 0) { in _CreateView()
562 newView->Token(), eventMask, eventOptions); in _CreateView()
1324 uint32 eventMask, options; in _DispatchViewMessage() local
1326 link.Read<uint32>(&eventMask); in _DispatchViewMessage()
1328 fCurrentView->SetEventMask(eventMask, options); in _DispatchViewMessage()
1332 if (eventMask != 0 || options != 0) { in _DispatchViewMessage()
1334 fCurrentView->Token(), eventMask, options); in _DispatchViewMessage()
[all …]
H A DView.h156 void SetEventMask(uint32 eventMask, uint32 options);
H A DView.cpp1008 View::SetEventMask(uint32 eventMask, uint32 options) in SetEventMask() argument
1010 fEventMask = eventMask; in SetEventMask()
/haiku/headers/os/net/
H A DNetworkRoster.h41 uint32 eventMask);
/haiku/headers/private/debug/
H A DDebugEventStream.h77 uint32 eventMask);
/haiku/headers/os/package/
H A DPackageRoster.h96 uint32 eventMask);
/haiku/src/kits/debug/
H A DDebugEventStream.cpp301 BDebugEventOutputStream::SetTo(BDataIO* stream, uint32 flags, uint32 eventMask) in SetTo() argument
321 header.event_mask = eventMask; in SetTo()
/haiku/src/kits/package/
H A DPackageRoster.cpp284 BPackageRoster::StartWatching(const BMessenger& target, uint32 eventMask) in StartWatching() argument
293 || (error = request.AddUInt32("events", eventMask)) != B_OK) { in StartWatching()
/haiku/src/kits/network/libnetapi/
H A DNetworkRoster.cpp288 BNetworkRoster::StartWatching(const BMessenger& target, uint32 eventMask) in StartWatching() argument
290 return start_watching_network(eventMask, target); in StartWatching()
/haiku/src/kits/storage/disk_device/
H A DDiskDeviceRoster.cpp515 BDiskDeviceRoster::StartWatching(BMessenger target, uint32 eventMask) in StartWatching() argument
517 if (eventMask == 0) in StartWatching()
524 return _kern_start_watching_disks(eventMask, port, token); in StartWatching()
/haiku/headers/private/kernel/disk_device_manager/
H A Dddm_userland_interface.h92 status_t _user_start_watching_disks(uint32 eventMask, port_id port,
H A DKDiskDeviceManager.h45 void Notify(const KMessage& event, uint32 eventMask);
/haiku/src/tools/fs_shell/
H A Dblock_cache.cpp198 for (int32_t eventMask = 1; eventMask <= FSSH_TRANSACTION_IDLE; eventMask <<= 1) { in get_next_pending_event() local
200 ~eventMask); in get_next_pending_event()
202 bool more = (pending & ~eventMask) != 0; in get_next_pending_event()
204 if ((pending & eventMask) != 0) { in get_next_pending_event()
205 *_event = eventMask; in get_next_pending_event()
/haiku/headers/private/storage/
H A DDiskDeviceRoster.h140 uint32 eventMask = B_DEVICE_REQUEST_ALL);
/haiku/headers/build/os/app/
H A DRoster.h107 uint32 eventMask = B_REQUEST_LAUNCHED
/haiku/headers/os/app/
H A DRoster.h94 uint32 eventMask
/haiku/src/system/kernel/cache/
H A Dblock_cache.cpp843 for (int32 eventMask = 1; eventMask <= TRANSACTION_IDLE; eventMask <<= 1) { in get_next_pending_event() local
845 ~eventMask); in get_next_pending_event()
847 bool more = (pending & ~eventMask) != 0; in get_next_pending_event()
849 if ((pending & eventMask) != 0) { in get_next_pending_event()
850 *_event = eventMask; in get_next_pending_event()
/haiku/src/system/kernel/disk_device_manager/
H A DKDiskDeviceManager.cpp397 KDiskDeviceManager::Notify(const KMessage& event, uint32 eventMask) in Notify() argument
399 fNotifications->Notify(event, eventMask); in Notify()

12