Lines Matching refs:BTimedEventQueue

30 /* Implements _event_queue_imp used by BTimedEventQueue, not thread save!
46 fLock(new BLocker("BTimedEventQueue locker")),
222 BTimedEventQueue::time_direction direction,
232 case BTimedEventQueue::B_ALWAYS:
234 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type)
239 case BTimedEventQueue::B_BEFORE_TIME:
245 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type) {
251 case BTimedEventQueue::B_AT_TIME:
257 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type)
265 case BTimedEventQueue::B_AFTER_TIME:
267 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type) {
279 _event_queue_imp::DoForEach(BTimedEventQueue::for_each_hook hook,
282 BTimedEventQueue::time_direction direction,
289 BTimedEventQueue::queue_action action;
294 case BTimedEventQueue::B_ALWAYS:
296 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type) {
299 case BTimedEventQueue::B_DONE:
301 case BTimedEventQueue::B_REMOVE_EVENT:
307 case BTimedEventQueue::B_NO_ACTION:
308 case BTimedEventQueue::B_RESORT_QUEUE:
319 case BTimedEventQueue::B_BEFORE_TIME:
325 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type) {
328 case BTimedEventQueue::B_DONE:
330 case BTimedEventQueue::B_REMOVE_EVENT:
336 case BTimedEventQueue::B_NO_ACTION:
337 case BTimedEventQueue::B_RESORT_QUEUE:
348 case BTimedEventQueue::B_AT_TIME:
354 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type) {
357 case BTimedEventQueue::B_DONE:
359 case BTimedEventQueue::B_REMOVE_EVENT:
365 case BTimedEventQueue::B_NO_ACTION:
366 case BTimedEventQueue::B_RESORT_QUEUE:
383 case BTimedEventQueue::B_AFTER_TIME:
385 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type) {
388 case BTimedEventQueue::B_DONE:
390 case BTimedEventQueue::B_REMOVE_EVENT:
396 case BTimedEventQueue::B_NO_ACTION:
397 case BTimedEventQueue::B_RESORT_QUEUE:
415 BTimedEventQueue::time_direction direction,
426 case BTimedEventQueue::B_ALWAYS:
428 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type) {
439 case BTimedEventQueue::B_BEFORE_TIME:
445 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type) {
456 case BTimedEventQueue::B_AT_TIME:
462 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type) {
479 case BTimedEventQueue::B_AFTER_TIME:
481 if (eventType == BTimedEventQueue::B_ANY_EVENT || eventType == entry->event.type) {
498 _event_queue_imp::SetCleanupHook(BTimedEventQueue::cleanup_hook hook, void *context)
542 // If it's B_RECYCLE, and the event is a B_HANDLE_BUFFER event, BTimedEventQueue
551 // These values define how BTimedEventQueue should handle removing
560 // B_RECYCLE_BUFFER, // recycle buffers handled by BTimedEventQueue
565 if (event->cleanup == BTimedEventQueue::B_NO_CLEANUP) {
567 } else if (event->type == BTimedEventQueue::B_HANDLE_BUFFER
568 && event->cleanup == BTimedEventQueue::B_RECYCLE_BUFFER) {
571 } else if (event->cleanup == BTimedEventQueue::B_EXPIRE_TIMER) {
574 || event->cleanup >= BTimedEventQueue::B_USER_CLEANUP) {
578 ERROR("BTimedEventQueue cleanup unhandled! type = %" B_PRId32