Lines Matching refs:numInfos

106 	ssize_t				Wait(event_wait_info* infos, int numInfos,
113 ssize_t _DequeueEvents(event_wait_info* infos, int numInfos);
380 EventQueue::Wait(event_wait_info* infos, int numInfos, in Wait() argument
400 if (numInfos == 0) in Wait()
404 count = _DequeueEvents(infos, numInfos); in Wait()
419 EventQueue::_DequeueEvents(event_wait_info* infos, int numInfos) in _DequeueEvents() argument
432 for (select_event* event = NULL; count < numInfos; ) { in _DequeueEvents()
636 _user_event_queue_select(int queue, event_wait_info* userInfos, int numInfos) in _user_event_queue_select() argument
638 if (numInfos <= 0) in _user_event_queue_select()
643 BStackOrHeapArray<event_wait_info, 16> infos(numInfos); in _user_event_queue_select()
653 if (user_memcpy(infos, userInfos, sizeof(event_wait_info) * numInfos) != B_OK) in _user_event_queue_select()
658 for (int i = 0; i < numInfos; i++) { in _user_event_queue_select()
686 _user_event_queue_wait(int queue, event_wait_info* userInfos, int numInfos, in _user_event_queue_wait() argument
691 if (numInfos < 0) in _user_event_queue_wait()
693 if (numInfos > 0 && (userInfos == NULL || !IS_USER_ADDRESS(userInfos))) in _user_event_queue_wait()
696 BStackOrHeapArray<event_wait_info, 16> infos(numInfos); in _user_event_queue_wait()
706 ssize_t result = eventQueue->Wait(infos, numInfos, flags, timeout); in _user_event_queue_wait()
711 if (numInfos != 0) in _user_event_queue_wait()
712 status = user_memcpy(userInfos, infos, sizeof(event_wait_info) * numInfos); in _user_event_queue_wait()