Searched refs:selectableFd (Results 1 - 2 of 2) sorted by relevance

/system/core/libcutils/
H A Dselector.c115 SelectableFd* selectableFd = calloc(1, sizeof(SelectableFd)); local
116 if (selectableFd != NULL) {
117 selectableFd->selector = selector;
118 selectableFd->fd = fd;
120 arrayAdd(selector->selectableFds, selectableFd);
123 return selectableFd;
130 static inline bool maybeAdd(SelectableFd* selectableFd, argument
133 FD_SET(selectableFd->fd, fdSet);
156 SelectableFd* selectableFd = arrayGet(selectableFds, i); local
157 if (selectableFd
201 maybeInvoke(SelectableFd* selectableFd, void (*callback)(SelectableFd*), fd_set* fdSet) argument
219 SelectableFd* selectableFd = arrayGet(selectableFds, i); local
[all...]
H A Dmq.c785 SelectableFd* selectableFd = selectorAdd(peer->selector, incomingFd); local
786 if (selectableFd == NULL) {
793 peerProxySetFd(peerProxy, selectableFd);

Completed in 37 milliseconds