| /onnv-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
| H A D | eloop.c | 95 struct eloop_timeout *timeout, *tmp, *prev; in eloop_register_timeout() local 97 timeout = (struct eloop_timeout *)malloc(sizeof (*timeout)); in eloop_register_timeout() 98 if (timeout == NULL) in eloop_register_timeout() 100 (void) gettimeofday(&timeout->time, NULL); in eloop_register_timeout() 101 timeout->time.tv_sec += secs; in eloop_register_timeout() 102 timeout->time.tv_usec += usecs; in eloop_register_timeout() 103 while (timeout->time.tv_usec >= 1000000) { in eloop_register_timeout() 104 timeout->time.tv_sec++; in eloop_register_timeout() 105 timeout->time.tv_usec -= 1000000; in eloop_register_timeout() 107 timeout->eloop_data = eloop_data; in eloop_register_timeout() [all …]
|
| /onnv-gate/usr/src/cmd/lp/model/netpr/ |
| H A D | net.c | 134 int timeout; in xfer_file() local 143 timeout = seed = seed ? seed : 10; in xfer_file() 148 syslog(LOG_DEBUG, "xfer_file: timeout = %d", timeout); in xfer_file() 156 if (timeout < (seed * 4)) { in xfer_file() 157 (void) sleep(timeout); in xfer_file() 158 timeout *= 2; in xfer_file() 159 } else if (timeout == (seed * 4)) { in xfer_file() 160 (void) sleep(timeout); in xfer_file() 161 timeout *= 2; in xfer_file() 173 } else if (timeout > (seed * 4)) { in xfer_file() [all …]
|
| /onnv-gate/usr/src/cmd/sendmail/libsm/ |
| H A D | refill.c | 60 #define SM_IO_RD_TIMEOUT(fp, fd, to, timeout, sel_ret) \ argument 65 if (timeout == SM_TIME_IMMEDIATE) \ 119 sm_lflush(fp, timeout) in sm_lflush() argument 121 int *timeout; 125 return sm_flush(fp, timeout); 142 sm_refill(fp, timeout) in sm_refill() argument 144 int timeout; 150 if (timeout == SM_TIME_DEFAULT) 151 timeout = fp->f_timeout; 152 if (timeout == SM_TIME_IMMEDIATE) [all …]
|
| H A D | sem.c | 112 sm_sem_acq(semid, semnum, timeout) in sm_sem_acq() argument 115 int timeout; 123 (timeout != SM_TIME_FOREVER ? 0 : IPC_NOWAIT); 124 if (timeout == SM_TIME_IMMEDIATE || timeout == SM_TIME_FOREVER) 132 --timeout; 133 } while (timeout > 0); 151 sm_sem_rel(semid, semnum, timeout) in sm_sem_rel() argument 154 int timeout; 167 (timeout != SM_TIME_FOREVER ? 0 : IPC_NOWAIT); 168 if (timeout == SM_TIME_IMMEDIATE || timeout == SM_TIME_FOREVER) [all …]
|
| H A D | fopen.c | 109 sm_io_open(type, timeout, info, flags, rpool) in sm_io_open() argument 111 int SM_NONVOLATILE timeout; /* this is not the file type timeout */ 129 if (timeout == SM_TIME_DEFAULT) 130 timeout = SM_TIME_FOREVER; 131 if (timeout == SM_TIME_IMMEDIATE) 140 if (timeout != SM_TIME_FOREVER) 147 evt = sm_seteventm(timeout, openalrm, 0); 223 sm_io_reopen(type, timeout, info, flags, rpool, fp) in sm_io_reopen() argument 225 int SM_NONVOLATILE timeout; 237 (void) sm_io_close(fp, timeout); [all …]
|
| H A D | fpos.c | 72 sm_io_tell(fp, timeout) in sm_io_tell() argument 74 int SM_NONVOLATILE timeout; 86 if (timeout == SM_TIME_DEFAULT) 87 timeout = fp->f_timeout; 88 if (timeout == SM_TIME_IMMEDIATE) 104 (void) sm_flush(fp, (int *) &timeout); 107 if (timeout != SM_TIME_FOREVER) 115 evt = sm_seteventm(timeout, tellalrm, 0);
|
| H A D | fflush.c | 47 sm_io_flush(fp, timeout) 49 int SM_NONVOLATILE timeout; variable 67 SM_CONVERT_TIME(fp, fd, timeout, &to); 70 return sm_flush(fp, (int *) &timeout); 91 sm_flush(fp, timeout) in sm_flush() argument 93 int *timeout; 142 if (IS_IO_ERROR(fd, t, *timeout)) 149 SM_IO_WR_TIMEOUT(fp, fd, *timeout);
|
| H A D | fclose.c | 77 sm_io_close(fp, timeout) in sm_io_close() argument 79 int SM_NONVOLATILE timeout; 113 if (timeout == SM_TIME_DEFAULT) 114 timeout = fp->f_timeout; 115 if (timeout == SM_TIME_IMMEDIATE) 122 r = fp->f_flags & SMWR ? sm_flush(fp, (int *) &timeout) : 0; 125 if (timeout != SM_TIME_FOREVER) 132 evt = sm_seteventm(timeout, closealrm, 0);
|
| H A D | fvwrite.c | 58 sm_fvwrite(fp, timeout, uio) 60 int timeout; variable 82 SM_CONVERT_TIME(fp, fd, timeout, &to); 100 if (IS_IO_ERROR(fd, w, timeout)) 104 SM_IO_WR_TIMEOUT(fp, fd, timeout); 175 if (sm_flush(fp, &timeout)) 186 if (IS_IO_ERROR(fd, w, timeout)) 190 SM_IO_WR_TIMEOUT(fp, fd, timeout); 206 if ((fp->f_flags & SMNOW) != 0 && sm_flush(fp, &timeout)) 238 if (sm_flush(fp, &timeout)) [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Net/ |
| H A D | Ping.pm | 58 $timeout # Optional timeout in seconds 62 $p = Net::Ping->new("tcp", $timeout); 77 $timeout, # Optional timeout in seconds 95 $timeout = $def_timeout unless $timeout; # Determine the timeout 97 if $timeout <= 0; 98 $self->{"timeout"} = $timeout; 346 $timeout, # Seconds after which ping times out 354 $timeout = $self->{"timeout"} unless $timeout; 355 croak("Timeout must be greater than 0 seconds") if $timeout <= 0; 363 $ret = $self->ping_external($ip, $timeout); [all …]
|
| /onnv-gate/usr/src/lib/libsip/common/ |
| H A D | sip_timeout.c | 39 typedef struct timeout { struct 40 struct timeout *sip_timeout_next; argument 67 sip_timeout_t *timeout = NULL; in sip_run_to_functions() local 71 timeout = timeout_current_start; in sip_run_to_functions() 75 timeout_current_start = timeout->sip_timeout_next; in sip_run_to_functions() 77 timeout->sip_timeout_callback_func( in sip_run_to_functions() 78 timeout->sip_timeout_callback_func_arg); in sip_run_to_functions() 79 free(timeout); in sip_run_to_functions() 242 sip_timeout_t *timeout = NULL; in sip_schedule_to_functions() local 263 timeout = timeout_list; in sip_schedule_to_functions() [all …]
|
| /onnv-gate/usr/src/cmd/sendmail/libmilter/ |
| H A D | smfi.c | 51 struct timeval timeout; local 55 timeout.tv_sec = ctx->ctx_timeout; 56 timeout.tv_usec = 0; 74 r = mi_wr_cmd(ctx->ctx_sd, &timeout, cmd, buf, len); 184 struct timeval timeout; 188 timeout.tv_sec = ctx->ctx_timeout; 189 timeout.tv_usec = 0; 217 r = mi_wr_cmd(ctx->ctx_sd, &timeout, cmd, buf, len); 249 struct timeval timeout; local 253 timeout.tv_sec = ctx->ctx_timeout; [all …]
|
| H A D | libmilter.h | 157 struct timespec timeout; \ 160 timeout.tv_sec = now.tv_sec + to; \ 161 timeout.tv_nsec = now.tv_usec / 1000; \ 162 r = pthread_cond_timedwait(cp,mp,&timeout); \ 176 # define MI_MS(timeout) (((timeout)->tv_sec * 1000) + (timeout)->tv_usec) argument 200 # define FD_WR_READY(sd, excs, timeout) \ argument 201 poll(&(wrs), 1, MI_MS(timeout)) 203 # define FD_RD_READY(sd, rds, excs, timeout) \ argument 204 poll(&(rds), 1, MI_MS(timeout)) 228 # define FD_WR_READY(sd, wrs, timeout) \ argument [all …]
|
| H A D | comm.c | 59 mi_rd_cmd(sd, timeout, cmd, rlen, name) in mi_rd_cmd() argument 61 struct timeval *timeout; 82 ret = FD_RD_READY(sd, rds, excs, timeout); 155 ret = FD_RD_READY(sd, rds, excs, timeout); 241 retry_writev(fd, iov, iovcnt, timeout) in retry_writev() argument 245 struct timeval *timeout; 271 i = FD_WR_READY(fd, wrs, timeout); 320 mi_wr_cmd(sd, timeout, cmd, buf, len) in mi_wr_cmd() argument 322 struct timeval *timeout; 353 l = retry_writev(sd, iov, iovcnt, timeout);
|
| /onnv-gate/usr/src/common/openssl/doc/ssl/ |
| H A D | SSL_CTX_set_timeout.pod | 5 SSL_CTX_set_timeout, SSL_CTX_get_timeout - manipulate timeout values for session caching 16 SSL_CTX_set_timeout() sets the timeout for newly created sessions for 17 B<ctx> to B<t>. The timeout value B<t> must be given in seconds. 19 SSL_CTX_get_timeout() returns the currently set timeout value for B<ctx>. 25 timeout value valid at this time. If the actual time is later than creation 26 time plus timeout, the session is not reused. 28 Due to this realization, all sessions behave according to the timeout value 29 valid at the time of the session negotiation. Changes of the timeout value 40 The default value for session timeout is decided on a per protocol 42 All currently supported protocols have the same default timeout value [all …]
|
| /onnv-gate/usr/src/cmd/scadm/sparc/mpxu/common/ |
| H A D | modem_setup.c | 65 struct timespec timeout; in ADM_Process_modem_setup() local 81 timeout.tv_nsec = 0; in ADM_Process_modem_setup() 82 timeout.tv_sec = ADM_TIMEOUT; in ADM_Process_modem_setup() 83 ADM_Recv(&msg, &timeout, DP_MODEM_CONNECT_R, in ADM_Process_modem_setup() 175 timeout.tv_nsec = 0; in ADM_Process_modem_setup() 176 timeout.tv_sec = ADM_TIMEOUT; in ADM_Process_modem_setup() 177 ADM_Recv(&msg, &timeout, DP_MODEM_DISCONNECT_R, in ADM_Process_modem_setup() 247 struct timespec timeout; in cleanup() local 261 timeout.tv_nsec = 0; in cleanup() 262 timeout.tv_sec = ADM_TIMEOUT; in cleanup() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Net/FTP/ |
| H A D | I.pm | 19 my $timeout = @_ ? shift : $data->timeout; 24 $data->can_read($timeout) or 51 my $timeout = @_ ? shift : $data->timeout; 62 $data->can_write($timeout) or
|
| H A D | A.pm | 19 my $timeout = @_ ? shift : $data->timeout; 32 $data->can_read($timeout) or 72 my $timeout = @_ ? shift : $data->timeout; 88 $data->can_write($timeout) or
|
| H A D | dataconn.pm | 8 use vars qw(@ISA $timeout $VERSION); 37 my $timeout = $data->timeout; 38 $data->can_read($timeout) && sysread($data,$buf,1); 79 my ($data, $timeout, $do_read) = @_; 87 $nfound = select($rout=$rin, $wout=$win, undef, $tout=$timeout);
|
| /onnv-gate/usr/src/lib/libnisdb/ |
| H A D | ldap_cto.c | 50 int timeout = 1000 * proxyInfo.bind_timeout.tv_sec + in socket() local 65 if (ret >= 0 && timeout > 0) { in socket() 67 &timeout, sizeof (timeout)) != 0) in socket() 70 timeout, errno); in socket()
|
| H A D | nis_parse_ldap_attr.c | 528 time_t timeout; in add_operation_attribute() local 638 if (config_info->threadCreationErrorTimeout.timeout == in add_operation_attribute() 640 if (get_time_t(buf, &timeout, in add_operation_attribute() 642 config_info->threadCreationErrorTimeout.timeout = in add_operation_attribute() 643 timeout; in add_operation_attribute() 670 if (config_info->dumpErrorTimeout.timeout == in add_operation_attribute() 672 if (get_time_t(buf, &timeout, in add_operation_attribute() 674 config_info->dumpErrorTimeout.timeout = timeout; in add_operation_attribute() 710 if (config_info->updateBatchingTimeout.timeout == in add_operation_attribute() 712 if (get_time_t(buf, &timeout, DEFAULT_BATCHING_TIME_OUT)) in add_operation_attribute() [all …]
|
| /onnv-gate/usr/src/lib/libdhcpagent/common/ |
| H A D | dhcpagent_ipc.c | 265 dhcp_ipc_recv_reply(int fd, dhcp_ipc_reply_t **reply, int32_t timeout) in dhcp_ipc_recv_reply() argument 284 if (timeout == DHCP_IPC_WAIT_DEFAULT) in dhcp_ipc_recv_reply() 285 timeout = DHCP_IPC_DEFAULT_WAIT; in dhcp_ipc_recv_reply() 286 if (timeout != DHCP_IPC_WAIT_FOREVER && timeout < INT_MAX / 1000 - 2) in dhcp_ipc_recv_reply() 287 timeout = (timeout + 2) * 1000; in dhcp_ipc_recv_reply() 289 timeout = -1; in dhcp_ipc_recv_reply() 291 timeout)); in dhcp_ipc_recv_reply() 370 int32_t timeout) in dhcp_ipc_make_request() argument 401 request->timeout = timeout; in dhcp_ipc_make_request() 405 retval = dhcp_ipc_recv_reply(fd, reply, timeout); in dhcp_ipc_make_request() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/ |
| H A D | Socket.pm | 109 my $timeout = ${*$sock}{'io_socket_timeout'}; 113 $blocking = $sock->blocking(0) if $timeout; 115 if (defined $timeout && $!{EINPROGRESS}) { 120 if (!$sel->can_write($timeout)) { 167 my $timeout = ${*$sock}{'io_socket_timeout'}; 168 my $new = $pkg->new(Timeout => $timeout); 171 if(defined $timeout) { 176 unless ($sel->can_read($timeout)) { 273 sub timeout { subroutine
|
| /onnv-gate/usr/src/cmd/agents/snmp/snmprelayd/conf/ |
| H A D | dispatcher.conf | 67 timeout = 2000000 102 timeout = 4000000 126 timeout = 4000000 134 timeout = 2000000 141 timeout = 2000000
|
| /onnv-gate/usr/src/cmd/tip/aculib/ |
| H A D | biz22.c | 22 static int timeout = 0; variable 71 if (timeout) { in biz_dialer() 79 if (timeout) in biz_dialer() 120 timeout = 1; in sigALRM() 152 timeout = 0; in detect() 166 return (timeout == 0); in detect()
|