Searched refs:num_events (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/ble_host/bt_host/port/aos/ |
A D | poll.c | 28 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 D | SDL_joystick.c | 1081 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() 1095 …num_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 D | SDL_gamecontroller.c | 206 int i, num_events; in UpdateEventsForDeviceRemoval() local 210 …num_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() 220 …num_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 D | bluetooth.h | 650 u8_t num_events; member
|
/AliOS-Things-master/components/ble_host/include/ |
A D | ble_os_port.h | 145 extern int k_poll(struct k_poll_event *events, int num_events,
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | hci_core.c | 621 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