Home
last modified time | relevance | path

Searched refs:num_events (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_host/port/aos/
A Dpoll.c28 int num_events; member
187 static bool polling_events(struct k_poll_event *events, int num_events, in polling_events() argument
193 for (int ii = 0; ii < num_events; ii++) { in polling_events()
217 for (int i = 0; i < ((struct event_cb *)event_next)->num_events; i++) { in event_callback()
228 int k_poll(struct k_poll_event *events, int num_events, bt_s32_t timeout) in k_poll() argument
237 polling = polling_events(events, num_events, timeout, &last_registered); in k_poll()
253 eventcb.num_events = num_events; in k_poll()
255 polling = polling_events(events, num_events, timeout, &last_registered); in k_poll()
264 polling_events(events, num_events, K_NO_WAIT, &last_registered); in k_poll()
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_joystick.c1081 int i, num_events; in UpdateEventsForDeviceRemoval() local
1085 num_events = SDL_PeepEvents(NULL, 0, SDL_PEEKEVENT, SDL_JOYDEVICEADDED, SDL_JOYDEVICEADDED); in UpdateEventsForDeviceRemoval()
1086 if (num_events <= 0) { in UpdateEventsForDeviceRemoval()
1090 events = SDL_small_alloc(SDL_Event, num_events, &isstack); in UpdateEventsForDeviceRemoval()
1095num_events = SDL_PeepEvents(events, num_events, SDL_GETEVENT, SDL_JOYDEVICEADDED, SDL_JOYDEVICEADD… in UpdateEventsForDeviceRemoval()
1096 for (i = 0; i < num_events; ++i) { in UpdateEventsForDeviceRemoval()
1099 SDL_PeepEvents(events, num_events, SDL_ADDEVENT, 0, 0); in UpdateEventsForDeviceRemoval()
A DSDL_gamecontroller.c206 int i, num_events; in UpdateEventsForDeviceRemoval() local
210num_events = SDL_PeepEvents(NULL, 0, SDL_PEEKEVENT, SDL_CONTROLLERDEVICEADDED, SDL_CONTROLLERDEVIC… in UpdateEventsForDeviceRemoval()
211 if (num_events <= 0) { in UpdateEventsForDeviceRemoval()
215 events = SDL_small_alloc(SDL_Event, num_events, &isstack); in UpdateEventsForDeviceRemoval()
220num_events = SDL_PeepEvents(events, num_events, SDL_GETEVENT, SDL_CONTROLLERDEVICEADDED, SDL_CONTR… in UpdateEventsForDeviceRemoval()
221 for (i = 0; i < num_events; ++i) { in UpdateEventsForDeviceRemoval()
224 SDL_PeepEvents(events, num_events, SDL_ADDEVENT, 0, 0); in UpdateEventsForDeviceRemoval()
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dbluetooth.h650 u8_t num_events; member
/AliOS-Things-master/components/ble_host/include/
A Dble_os_port.h145 extern int k_poll(struct k_poll_event *events, int num_events,
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dhci_core.c621 net_buf_add_u8(buf, param ? param->num_events : 0); in set_le_adv_enable_ext()
639 adv_sets[0].max_ext_adv_evts = param ? param->num_events : 0; in set_le_adv_enable_ext()
8756 .num_events = 0, in bt_le_adv_start_ext()
9119 (param->timeout > 0 || param->num_events > 0)); in bt_le_ext_adv_start()

Completed in 32 milliseconds