Lines Matching refs:i
77 size_t i; in uv__fd_hash_init() local
85 for (i = 0; i < ARRAY_SIZE(uv__fd_hash); ++i) { in uv__fd_hash_init()
86 uv__fd_hash[i].size = 0; in uv__fd_hash_init()
87 uv__fd_hash[i].data = in uv__fd_hash_init()
88 uv__fd_hash_entry_initial + i * UV__FD_HASH_GROUP_SIZE; in uv__fd_hash_init()
93 unsigned i; \
101 for (i = 0; i < group_size; ++i) { \
102 if (group_ptr->entries[i].fd == fd) { \
103 entry_ptr = &group_ptr->entries[i]; \
145 i = bucket_ptr->size % UV__FD_HASH_GROUP_SIZE; in uv__fd_hash_add()
147 if (bucket_ptr->size != 0 && i == 0) { in uv__fd_hash_add()
158 entry_ptr = &bucket_ptr->data->entries[i]; in uv__fd_hash_add()
179 i = bucket_ptr->size % UV__FD_HASH_GROUP_SIZE; in uv__fd_hash_remove()
180 if (entry_ptr != &bucket_ptr->data->entries[i]) { in uv__fd_hash_remove()
181 *entry_ptr = bucket_ptr->data->entries[i]; in uv__fd_hash_remove()