Lines Matching defs:tv
402 struct timeval tv;
404 tv.tv_sec = ld->ld_timelimit;
408 ld->ld_timelimit ? (void *) &tv : NULL,
490 struct timeval tv;
508 tv.tv_sec = 0;
509 tv.tv_usec = 100000; /* 1/10 of a second */
512 *err = ldap_result( ld, msgid, 1, &tv, &tmpres );
583 struct timeval *tv;
585 tv = (struct timeval *)tvparam;
587 if ( tv->tv_sec != 0 ) {
588 tv->tv_usec = tv->tv_sec * 1000000; /* sec => micro sec */
589 tv->tv_sec = 0;
591 tv->tv_usec -= 100000; /* 1/10 of a second */
593 return( tv->tv_usec <= 0 ? 1 : 0 );