Searched refs:poll_map (Results 1 – 3 of 3) sorted by relevance
/dports/lang/micropython/micropython-1.17/extmod/ |
H A D | moduselect.c | 76 for (mp_uint_t i = 0; i < poll_map->alloc; ++i) { in poll_map_poll() 77 if (!mp_map_slot_is_filled(poll_map, i)) { in poll_map_poll() 136 mp_map_t poll_map; in select_select() local 156 if (!mp_map_slot_is_filled(&poll_map, i)) { in select_select() 170 mp_map_deinit(&poll_map); in select_select() 181 mp_map_t poll_map; member 248 n_ready = poll_map_poll(&self->poll_map, NULL); in poll_poll_internal() 265 for (mp_uint_t i = 0; i < self->poll_map.alloc; ++i) { in poll_poll() 266 if (!mp_map_slot_is_filled(&self->poll_map, i)) { in poll_poll() 309 if (!mp_map_slot_is_filled(&self->poll_map, i)) { in poll_iternext() [all …]
|
/dports/net/freerdp/freerdp-2.5.0/winpr/libwinpr/synch/ |
H A D | wait.c | 309 DWORD* poll_map = NULL; in WaitForMultipleObjectsEx() local 354 poll_map = alloca(nCount * sizeof(DWORD)); in WaitForMultipleObjectsEx() 355 memset(poll_map, 0, nCount * sizeof(DWORD)); in WaitForMultipleObjectsEx() 379 poll_map[polled] = index; in WaitForMultipleObjectsEx() 458 handlesIndex = poll_map[index]; in WaitForMultipleObjectsEx()
|
/dports/lang/swi-pl/swipl-8.2.3/src/os/ |
H A D | pl-file.c | 2353 #define ADD_FD(i) do { poll_map[i].fd = map[i].fd; \ 2354 poll_map[i].events = POLLIN; \ 2356 #define IS_SETFD(i) (poll_map[i].revents & (POLLIN|POLLERR|POLLHUP)) 2372 struct pollfd *poll_map; variable 2408 poll_map = poll_buf; 2409 else if ( !(poll_map = malloc(count*sizeof(*poll_map))) ) 2411 memset(poll_map, 0, count*sizeof(*poll_map)); 2533 while ( (rc=poll(poll_map, nfds, to)) == -1 && 2584 if ( poll_map != poll_buf ) 2585 free(poll_map);
|