Searched refs:tvp (Results 1 – 5 of 5) sorted by relevance
364 struct timeval tv, *tvp; in aeProcessEvents() local372 tvp = &tv; in aeProcessEvents()381 tvp->tv_sec = ms/1000; in aeProcessEvents()382 tvp->tv_usec = (ms % 1000)*1000; in aeProcessEvents()384 tvp->tv_sec = 0; in aeProcessEvents()385 tvp->tv_usec = 0; in aeProcessEvents()393 tvp = &tv; in aeProcessEvents()396 tvp = NULL; /* wait forever */ in aeProcessEvents()400 numevents = aeApiPoll(eventLoop, tvp); in aeProcessEvents()
108 static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { in aeApiPoll() argument113 tvp ? (tvp->tv_sec*1000 + tvp->tv_usec/1000) : -1); in aeApiPoll()
104 static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { in aeApiPoll() argument108 if (tvp != NULL) { in aeApiPoll()110 timeout.tv_sec = tvp->tv_sec; in aeApiPoll()111 timeout.tv_nsec = tvp->tv_usec * 1000; in aeApiPoll()
243 static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { in aeApiPoll() argument272 if (tvp != NULL) { in aeApiPoll()273 timeout.tv_sec = tvp->tv_sec; in aeApiPoll()274 timeout.tv_nsec = tvp->tv_usec * 1000; in aeApiPoll()
77 static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { in aeApiPoll() argument85 &state->_rfds,&state->_wfds,NULL,tvp); in aeApiPoll()