Lines Matching defs:tv
284 struct timeval tv;
286 tv.tv_usec = 0;
287 tv.tv_sec = strtol( opt, &next, 10 );
288 if ( next != opt && next[ 0 ] == '\0' && tv.tv_sec > 0 ) {
289 (void)ldap_set_option( NULL, attrs[i].offset, (const void *)&tv );
443 struct timeval tv;
445 tv.tv_usec = 0;
446 tv.tv_sec = strtol( value, &next, 10 );
447 if ( next != value && next[ 0 ] == '\0' && tv.tv_sec > 0 ) {
448 (void)ldap_set_option( NULL, attrs[i].offset, (const void *)&tv );