Searched refs:event (Results 1 - 25 of 378) sorted by relevance

1234567891011>>

/haiku/src/kits/midi/
H A DMidiStore.cpp41 bool ticks; // event is from MIDI file
96 BMidiEvent* event = new BMidiEvent; local
97 event->time = time;
98 event->ticks = false;
99 event->byte1 = B_NOTE_OFF | (channel - 1);
100 event->byte2 = note;
101 event->byte3 = velocity;
102 AddEvent(event);
110 BMidiEvent* event = new BMidiEvent; local
111 event
124 BMidiEvent* event = new BMidiEvent; local
138 BMidiEvent* event = new BMidiEvent; local
152 BMidiEvent* event = new BMidiEvent; local
164 BMidiEvent* event = new BMidiEvent; local
176 BMidiEvent* event = new BMidiEvent; local
189 BMidiEvent* event = new BMidiEvent; local
204 BMidiEvent* event = new BMidiEvent; local
217 BMidiEvent* event = new BMidiEvent; local
228 BMidiEvent* event = new BMidiEvent; local
354 BMidiEvent* event = EventAt(eventNumber); local
422 BMidiEvent* event = EventAt(fCurrentEvent); local
460 AddEvent(BMidiEvent* event) argument
468 SprayEvent(const BMidiEvent* event, uint32 time) argument
745 BMidiEvent* event; local
869 BMidiEvent* event = new BMidiEvent; local
894 BMidiEvent* event = EventAt(t); local
974 WriteMetaEvent(BMidiEvent* event) argument
[all...]
/haiku/src/servers/bluetooth/
H A DLocalDeviceImpl.h31 void HandleEvent(struct hci_event_header* event);
37 void HandleUnexpectedEvent(struct hci_event_header* event);
38 void HandleExpectedRequest(struct hci_event_header* event,
42 void CommandComplete(struct hci_ev_cmd_complete* event, BMessage* request,
44 void CommandStatus(struct hci_ev_cmd_status* event, BMessage* request,
47 void NumberOfCompletedPackets(struct hci_ev_num_comp_pkts* event);
56 void ConnectionComplete(struct hci_ev_conn_complete* event, BMessage* request);
57 void ConnectionRequest(struct hci_ev_conn_request* event, BMessage* request);
58 void DisconnectionComplete(struct hci_ev_disconnection_complete_reply* event,
62 void PinCodeRequest(struct hci_ev_pin_code_req* event, BMessag
[all...]
H A DLocalDeviceImpl.cpp100 JumpEventHeader(Header* event) argument
102 return (T*)(event + 1);
107 LocalDeviceImpl::HandleUnexpectedEvent(struct hci_event_header* event) argument
111 switch (event->ecode) {
114 JumpEventHeader<struct hci_ev_hardware_error>(event));
119 JumpEventHeader<struct hci_ev_conn_request>(event), NULL);
124 JumpEventHeader<struct hci_ev_num_comp_pkts>(event));
131 <struct hci_ev_disconnection_complete_reply>(event),
136 JumpEventHeader<struct hci_ev_pin_code_req>(event), NULL);
146 LocalDeviceImpl::HandleExpectedRequest(struct hci_event_header* event, argument
271 HandleEvent(struct hci_event_header* event) argument
341 CommandComplete(struct hci_ev_cmd_complete* event, BMessage* request, int32 index) argument
711 CommandStatus(struct hci_ev_cmd_status* event, BMessage* request, int32 index) argument
861 ConnectionRequest(struct hci_ev_conn_request* event, BMessage* request) argument
906 ConnectionComplete(struct hci_ev_conn_complete* event, BMessage* request) argument
949 DisconnectionComplete( struct hci_ev_disconnection_complete_reply* event, BMessage* request) argument
971 PinCodeRequest(struct hci_ev_pin_code_req* event, BMessage* request) argument
980 RoleChange(hci_ev_role_change* event, BMessage* request) argument
988 PageScanRepetitionModeChange( struct hci_ev_page_scan_rep_mode_change* event, BMessage* request) argument
997 LinkKeyNotify(hci_ev_link_key_notify* event, BMessage* request) argument
1060 MaxSlotChange(struct hci_ev_max_slot_change* event, BMessage* request) argument
1069 HardwareError(struct hci_ev_hardware_error* event) argument
1076 NumberOfCompletedPackets(struct hci_ev_num_comp_pkts* event) argument
[all...]
/haiku/src/system/kernel/
H A Dtimer.cpp72 add_event_to_list(timer* event, timer* volatile* list) argument
77 // stick it in the event list
79 if ((bigtime_t)next->schedule_time >= (bigtime_t)event->schedule_time)
84 event->next = last->next;
85 last->next = event;
87 event->next = next;
88 *list = event;
111 while (timer* event = *it) {
113 uint32 flags = event->flags;
116 it = &event
132 timer* event = affectedTimers; local
248 timer* event; local
320 add_timer(timer* event, timer_hook hook, bigtime_t period, int32 flags) argument
376 cancel_timer(timer* event) argument
[all...]
/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DVideoMixerNodeEventLooper.cpp23 const media_timed_event *event,
27 switch (event->type) {
29 HandleStart(event,lateness,realTimeEvent);
32 HandleSeek(event,lateness,realTimeEvent);
35 HandleWarp(event,lateness,realTimeEvent);
38 HandleStop(event,lateness,realTimeEvent);
42 HandleBuffer(event,lateness,realTimeEvent);
46 HandleDataStatus(event, lateness, realTimeEvent);
49 HandleParameter(event,lateness,realTimeEvent);
52 fprintf(stderr," unknown event typ
22 HandleEvent( const media_timed_event *event, bigtime_t lateness, bool realTimeEvent) argument
58 CleanUpEvent( const media_timed_event *event) argument
83 HandleStart( const media_timed_event *event, bigtime_t lateness, bool realTimeEvent) argument
97 HandleSeek( const media_timed_event *event, bigtime_t lateness, bool realTimeEvent) argument
106 HandleWarp( const media_timed_event *event, bigtime_t lateness, bool realTimeEvent) argument
115 HandleStop( const media_timed_event *event, bigtime_t lateness, bool realTimeEvent) argument
126 HandleBuffer( const media_timed_event *event, bigtime_t lateness, bool realTimeEvent) argument
168 HandleDataStatus( const media_timed_event *event, bigtime_t lateness, bool realTimeEvent) argument
178 HandleParameter( const media_timed_event *event, bigtime_t lateness, bool realTimeEvent) argument
[all...]
/haiku/src/servers/registrar/
H A DEventQueue.cpp19 static const char *kDefaultEventQueueName = "event looper";
27 add or remove an event or to modify an event's time. It is derived from
29 its member variables (especially the event list).
32 events at the right times. The execution of an event consists of invoking
33 its Event::Do() method. If the event's Event::IsAutoDelete() or its Do()
34 method return \c true, the event object is deleted after execution. In
35 any case the event is removed from the list before it is executed. The
36 queue is not locked while an event is executed.
38 The event lis
164 AddEvent(Event *event) argument
181 RemoveEvent(Event *event) argument
203 ModifyEvent(Event *event, bigtime_t newTime) argument
224 _AddEvent(Event *event) argument
240 _RemoveEvent(Event *event) argument
350 Event *event = (Event*)fEvents.RemoveItem((int32)0); local
[all...]
H A DEventQueue.h47 bool AddEvent(Event *event);
48 bool RemoveEvent(Event *event);
49 void ModifyEvent(Event *event, bigtime_t newTime);
52 bool _AddEvent(Event *event);
53 bool _RemoveEvent(Event *event);
55 int32 _IndexOfEvent(Event *event) const;
H A DEventMaskWatcher.cpp24 // Description: EventMaskWatcher is a Watcher extended by an event mask.
26 // respect to their event mask and a specific event.
34 \brief EventMaskWatcher is a Watcher extended by an event mask.
36 Each set bit in the watcher's event mask specifies an event the watcher
40 Such a filter object is created with a certain event and its
42 EventMaskWatchers with an event mask that contains the event.
46 \brief The watcher's event mas
98 EventMaskWatcherFilter(uint32 event) argument
[all...]
/haiku/headers/private/kernel/fs/
H A Dselect_sync_pool.h20 uint8 event);
22 selectsync *sync, uint8 event);
24 void notify_select_event_pool(select_sync_pool *pool, uint8 event);
/haiku/src/apps/debuganalyzer/model_loader/
H A DModelLoader.h68 status_t _ProcessEvent(uint32 event, uint32 cpu,
79 system_profiler_team_added* event);
81 system_profiler_team_removed* event);
83 system_profiler_team_exec* event);
85 system_profiler_thread_added* event);
87 system_profiler_thread_removed* event);
89 system_profiler_thread_scheduled* event);
91 thread_enqueued_in_run_queue* event);
93 thread_removed_from_run_queue* event);
95 system_profiler_wait_object_info* event);
[all...]
H A DModelLoader.cpp213 void AddEvent(system_profiler_event_header* event) argument
215 fEvents[fEventIndex++] = event;
431 // create a debug event array
471 // get next event
472 uint32 event; local
476 ssize_t bufferSize = input.ReadNextEvent(&event, &cpu, &buffer,
483 // process the event
484 status_t error = _ProcessEvent(event, cpu, buffer, bufferSize);
611 // get next event
612 uint32 event; local
640 uint32 event; local
659 _ProcessEvent(uint32 event, uint32 cpu, const void* buffer, size_t size) argument
755 system_profiler_thread_added* event local
763 system_profiler_thread_removed* event local
771 system_profiler_thread_scheduled* event local
784 thread_enqueued_in_run_queue* event local
792 thread_removed_from_run_queue* event local
881 _HandleTeamAdded(system_profiler_team_added* event) argument
889 _HandleTeamRemoved(system_profiler_team_removed* event) argument
901 _HandleTeamExec(system_profiler_team_exec* event) argument
908 _HandleThreadAdded(system_profiler_thread_added* event) argument
915 _HandleThreadRemoved(system_profiler_thread_removed* event) argument
930 _HandleThreadScheduled(uint32 cpu, system_profiler_thread_scheduled* event) argument
1034 _HandleThreadEnqueuedInRunQueue( thread_enqueued_in_run_queue* event) argument
1071 _HandleThreadRemovedFromRunQueue(uint32 cpu, thread_removed_from_run_queue* event) argument
1106 _HandleWaitObjectInfo(system_profiler_wait_object_info* event) argument
1114 _HandleIOSchedulerAdded(system_profiler_io_scheduler_added* event) argument
1129 _HandleIORequestScheduled(io_request_scheduled* event) argument
1162 _HandleIORequestFinished(io_request_finished* event) argument
1177 _HandleIOOperationStarted(io_operation_started* event) argument
1195 _HandleIOOperationFinished(io_operation_finished* event) argument
1215 _AddThread(system_profiler_thread_added* event) argument
1252 system_profiler_thread_added* event = (system_profiler_thread_added*) local
1288 system_profiler_team_added* event = (system_profiler_team_added*) local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DVolumeManager.cpp28 // with one event of each kind for each entry/node.
63 NodeMonitoringEvent* event = NULL; local
68 event = new(std::nothrow) EntryCreatedEvent;
71 event = new(std::nothrow) EntryRemovedEvent;
74 event = new(std::nothrow) EntryMovedEvent;
78 if (event) {
79 event->queryHandler = this;
81 if (event->Init(message) == B_OK)
82 fListener->ProcessNodeMonitoringEvent(event);
84 delete event;
1013 ProcessNodeMonitoringEvent(NodeMonitoringEvent* event) argument
1058 _EntryCreated(EntryCreatedEvent* event) argument
1107 _EntryRemoved(EntryRemovedEvent* event, bool keepNode) argument
1196 _EntryMoved(EntryMovedEvent* event) argument
1329 _NodeStatChanged(StatChangedEvent* event) argument
1371 _NodeAttributeChanged(AttributeChangedEvent* event) argument
1411 _VolumeMounted(VolumeMountedEvent* event) argument
1426 EntryRemovedEvent* event; local
1448 _VolumeUnmounted(VolumeUnmountedEvent* event) argument
1519 _QueryEntryCreated(EntryCreatedEvent* event) argument
1549 _QueryEntryRemoved(EntryRemovedEvent* event) argument
1578 _QueryEntryMoved(EntryMovedEvent* event) argument
1695 _CheckVolumeRootMoved(EntryMovedEvent* event) argument
1732 NodeMonitoringEvent* event = NULL; local
[all...]
H A DNodeMonitor.cpp51 NodeMonitoringEvent* event = NULL; local
56 event = new(std::nothrow) EntryCreatedEvent;
59 event = new(std::nothrow) EntryRemovedEvent;
62 event = new(std::nothrow) EntryMovedEvent;
65 event = new(std::nothrow) StatChangedEvent;
68 event = new(std::nothrow) AttributeChangedEvent;
71 event = new(std::nothrow) VolumeMountedEvent;
74 event = new(std::nothrow) VolumeUnmountedEvent;
78 if (event) {
79 if (event
[all...]
H A DVolumeManager.h88 NodeMonitoringEvent* event);
93 void _EntryCreated(EntryCreatedEvent* event);
94 void _EntryRemoved(EntryRemovedEvent* event,
96 void _EntryMoved(EntryMovedEvent* event);
97 void _NodeStatChanged(StatChangedEvent* event);
99 AttributeChangedEvent* event);
100 void _VolumeMounted(VolumeMountedEvent* event);
101 void _VolumeUnmounted(VolumeUnmountedEvent* event);
103 void _QueryEntryCreated(EntryCreatedEvent* event);
104 void _QueryEntryRemoved(EntryRemovedEvent* event);
[all...]
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteEventStream.cpp22 fEventListLocker("remote event list"),
30 fEventNotification = create_sem(0, "remote event notification");
70 RemoteEventStream::InsertEvent(BMessage* event) argument
76 if (!fEventList.AddItem(event))
79 if (event->what == B_MOUSE_MOVED)
80 fLatestMouseMovedEvent = event;
125 BMessage* event = new BMessage(what);
126 if (event == NULL)
129 event->AddInt64("when", system_time());
140 event
[all...]
/haiku/src/kits/media/
H A DTimedEventQueuePrivate.cpp71 _event_queue_imp::AddEvent(const media_timed_event &event) argument
75 // printf(" adding %12Ld at %12Ld\n", event.event_time, system_time());
77 if (event.type <= 0) {
86 fFirstEntry->event = event;
94 if (fFirstEntry->event.event_time >= event.event_time) {
96 newentry->event = event;
106 if (fLastEntry->event
138 RemoveEvent(const media_timed_event *event) argument
533 CleanupEvent(media_timed_event *event) argument
[all...]
/haiku/src/apps/mediaplayer/support/
H A DEventQueue.cpp24 fThreadControl = create_sem(0, "event queue control");
30 fEventExecutor = spawn_thread(_execute_events_, "event queue runner",
45 while (Event *event = (Event*)fEvents.RemoveItem((int32)0)) {
46 if (event->AutoDelete())
47 delete event;
89 EventQueue::AddEvent(Event* event) argument
92 _AddEvent(event);
99 EventQueue::RemoveEvent(Event* event) argument
103 if ((result = fEvents.RemoveItem(event)))
111 EventQueue::ChangeEvent(Event* event, bigtime_ argument
125 _AddEvent(Event* event) argument
177 Event* event = (Event*)fEvents.RemoveItem((int32)0); local
[all...]
H A DEventQueue.h29 void AddEvent(Event* event);
30 bool RemoveEvent(Event* event);
31 void ChangeEvent(Event* event,
35 void _AddEvent(Event* event);
/haiku/src/system/kernel/device_manager/
H A DIOSchedulerRoster.cpp53 KMessage event;
54 event.SetTo(fEventBuffer, sizeof(fEventBuffer), IO_SCHEDULER_MONITOR);
55 event.AddInt32("event", eventCode);
56 event.AddPointer("scheduler", scheduler);
58 event.AddPointer("request", request);
60 event.AddPointer("operation", operation);
63 fNotificationService.NotifyLocked(event, eventCode);
/haiku/src/servers/launch/
H A DEvents.h19 virtual status_t RegisterExternalEvent(Event* event,
22 virtual void UnregisterExternalEvent(Event* event,
58 static Event* AddOnDemand(const BMessenger& target, Event* event);
59 static bool ResolveExternalEvent(Event* event,
61 static void TriggerExternalEvent(Event* event,
63 static void ResetStickyExternalEvent(Event* event,
65 static bool TriggerDemand(Event* event, bool testOnly = false);
/haiku/src/tests/servers/input/view_input_device/
H A DViewInputDevice.cpp97 BMessage *event; local
104 event = NULL;
105 event = new BMessage();
113 } else if ((err = event->Unflatten(buffer)) < 0) {
116 EnqueueMessage(event);
117 event = NULL;
120 if(event!=NULL) {
121 delete(event);
122 event = NULL;
/haiku/src/apps/haikudepot/ui/
H A DMessagePackageListener.cpp32 MessagePackageListener::PackageChanged(const PackageInfoEvent& event) argument
34 if ((event.Changes() & fChangesMask) == 0)
42 message.AddString("name", event.Package()->Name());
43 message.AddUInt32("changes", event.Changes());
/haiku/src/system/kernel/debug/
H A Dsystem_profiler.cpp70 const KMessage* event);
114 void* _AllocateBuffer(size_t size, int event, int cpu,
611 const KMessage* event)
614 if (event->FindInt32("event", &eventCode) != B_OK)
618 Team* team = (Team*)event->GetPointer("teamStruct", NULL);
657 Thread* thread = (Thread*)event->GetPointer("threadStruct", NULL);
681 struct image* image = (struct image*)event->GetPointer(
699 IOScheduler* scheduler = (IOScheduler*)event->GetPointer("scheduler",
704 IORequest* request = (IORequest*)event
610 EventOccurred(NotificationService& service, const KMessage* event) argument
750 system_profiler_thread_enqueued_in_run_queue* event local
781 system_profiler_thread_removed_from_run_queue* event local
811 system_profiler_thread_scheduled* event local
885 system_profiler_team_added* event = (system_profiler_team_added*) local
914 system_profiler_team_removed* event = (system_profiler_team_removed*) local
937 system_profiler_team_exec* event = (system_profiler_team_exec*) local
969 system_profiler_thread_added* event = (system_profiler_thread_added*) local
996 system_profiler_thread_removed* event local
1017 system_profiler_image_added* event = (system_profiler_image_added*) local
1037 system_profiler_image_removed* event = (system_profiler_image_removed*) local
1059 system_profiler_io_scheduler_added* event local
1080 system_profiler_io_scheduler_removed* event local
1100 system_profiler_io_request_scheduled* event local
1130 system_profiler_io_request_finished* event local
1155 system_profiler_io_operation_started* event local
1182 system_profiler_io_operation_finished* event local
1287 system_profiler_wait_object_info* event local
1331 _AllocateBuffer(size_t size, int event, int cpu, int count) argument
1411 system_profiler_samples* event = (system_profiler_samples*) local
[all...]
/haiku/src/apps/haikudepot/server/
H A DStandardMetaDataJsonEventListener.cpp54 bool Handle(const BJsonEvent& event);
68 bool Handle(const BJsonEvent& event);
154 SmdStackedArrayEventListener::Handle(const BJsonEvent& event) argument
159 switch (event.EventType()) {
217 SmdStackedObjectMessageEventListener::Handle(const BJsonEvent& event) argument
222 switch (event.EventType()) {
225 fNextItemName = event.Content();
234 event.ContentInteger());
239 event.ContentInteger());
340 StandardMetaDataJsonEventListener::Handle(const BJsonEvent& event) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dmovement_maker.cpp363 TouchpadMovement::EventToMovement(touch_event *event, mouse_movement *movement) argument
386 if (event->buttons & kLeftButton) {
393 if (event->zPressure >= fSpecs->minPressure
394 && event->zPressure < fSpecs->maxPressure
395 && ((event->wValue >= 4 && event->wValue <= 7)
396 || event->wValue == 0 || event->wValue == 1)
397 && (event->xPosition != 0 || event
413 _EdgeMotion(mouse_movement *movement, touch_event *event, bool validStart) argument
493 _NoTouchToMovement(touch_event *event, mouse_movement *movement) argument
544 _MoveToMovement(touch_event *event, mouse_movement *movement) argument
601 _CheckScrollingToMovement(touch_event *event, mouse_movement *movement) argument
[all...]

Completed in 255 milliseconds

1234567891011>>