/external/qemu/distrib/sdl-1.2.15/src/audio/dmedia/ |
SDL_irixaudio.c | 107 Sint32 timeleft; local 109 timeleft = this->spec.samples - alGetFillable(audio_port); 110 if ( timeleft > 0 ) { 111 timeleft /= (this->spec.freq/1000); 112 SDL_Delay((Uint32)timeleft);
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
d1_lib.c | 318 struct timeval* dtls1_get_timeout(SSL *s, struct timeval* timeleft) 336 memset(timeleft, 0, sizeof(struct timeval)); 337 return timeleft; 341 memcpy(timeleft, &(s->d1->next_timeout), sizeof(struct timeval)); 342 timeleft->tv_sec -= timenow.tv_sec; 343 timeleft->tv_usec -= timenow.tv_usec; 344 if (timeleft->tv_usec < 0) 346 timeleft->tv_sec--; 347 timeleft->tv_usec += 1000000; 354 if (timeleft->tv_sec == 0 && timeleft->tv_usec < 15000 365 struct timeval timeleft; local [all...] |
/external/openssl/ssl/ |
d1_lib.c | 318 struct timeval* dtls1_get_timeout(SSL *s, struct timeval* timeleft) 336 memset(timeleft, 0, sizeof(struct timeval)); 337 return timeleft; 341 memcpy(timeleft, &(s->d1->next_timeout), sizeof(struct timeval)); 342 timeleft->tv_sec -= timenow.tv_sec; 343 timeleft->tv_usec -= timenow.tv_usec; 344 if (timeleft->tv_usec < 0) 346 timeleft->tv_sec--; 347 timeleft->tv_usec += 1000000; 354 if (timeleft->tv_sec == 0 && timeleft->tv_usec < 15000 365 struct timeval timeleft; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bio/ |
bss_dgram.c | 273 struct timeval timenow, timeleft; local 301 memcpy(&timeleft, &(data->next_timeout), sizeof(struct timeval)); 302 timeleft.tv_sec -= timenow.tv_sec; 303 timeleft.tv_usec -= timenow.tv_usec; 304 if (timeleft.tv_usec < 0) 306 timeleft.tv_sec--; 307 timeleft.tv_usec += 1000000; 310 if (timeleft.tv_sec < 0) 312 timeleft.tv_sec = 0; 313 timeleft.tv_usec = 1 [all...] |
/external/openssl/crypto/bio/ |
bss_dgram.c | 273 struct timeval timenow, timeleft; local 301 memcpy(&timeleft, &(data->next_timeout), sizeof(struct timeval)); 302 timeleft.tv_sec -= timenow.tv_sec; 303 timeleft.tv_usec -= timenow.tv_usec; 304 if (timeleft.tv_usec < 0) 306 timeleft.tv_sec--; 307 timeleft.tv_usec += 1000000; 310 if (timeleft.tv_sec < 0) 312 timeleft.tv_sec = 0; 313 timeleft.tv_usec = 1 [all...] |
/external/ppp/pppd/ |
main.c | 241 static struct timeval *timeleft __P((struct timeval *)); 660 wait_input(timeleft(&timo)); 1341 timeleft(tvp) function [all...] |