Searched refs:delay (Results 1 - 25 of 400) sorted by relevance

1234567891011>>

/macosx-10.10.1/tcl-105/tcl84/tcl/unix/
H A DtclUnixEvent.c38 struct timeval delay;
57 delay.tv_sec = after.sec - before.sec;
58 delay.tv_usec = after.usec - before.usec;
59 if (delay.tv_usec < 0) {
60 delay.tv_usec += 1000000;
61 delay.tv_sec -= 1;
65 * Special note: must convert delay.tv_sec to int before comparing
66 * to zero, since delay.tv_usec is unsigned on some platforms.
69 if ((((int) delay.tv_sec) < 0)
70 || ((delay
37 struct timeval delay; local
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-bdb/
H A Dtrans.c35 int delay = 0; local
48 delay = 16384 * (key * (double) pow_retries / (double) max_key);
49 delay = delay ? delay : 1;
51 Debug( LDAP_DEBUG_TRACE, "delay = %d, num_retries = %d\n", delay, num_retries, 0 );
53 timeout.tv_sec = delay / 1000000;
54 timeout.tv_usec = delay % 1000000;
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Ddoze.c44 void doze(unsigned delay) argument
50 tv.tv_sec = delay / MILLION;
51 tv.tv_usec = delay % MILLION;
63 unsigned delay; local
65 if (argc != 2 || (delay = atol(argv[1])) == 0)
67 doze(delay);
H A Drand_sleep.c9 /* void rand_sleep(delay, variation)
10 /* unsigned delay;
14 /* pseudo-randomly chosen from the interval (delay +- variation/2).
17 /* .IP delay
20 /* Variation in microseconds; must not be larger than delay.
49 void rand_sleep(unsigned delay, unsigned variation) argument
57 if (delay == 0)
58 msg_panic("%s: bad delay %d", myname, delay);
59 if (variation > delay)
75 int delay; local
[all...]
H A Dmsg_rate_delay.c9 /* void msg_rate_delay(stamp, delay, log_fn, fmt, ...)
11 /* int delay;
16 /* more than one message per 'delay' seconds. It discards log
28 /* or when the delay value is zero.
29 /* .IP delay
71 void msg_rate_delay(time_t *stamp, int delay, argument
84 if (delay < 0)
85 msg_panic("%s: bad message rate delay: %d", myname, delay);
93 if (msg_verbose == 0 && delay >
[all...]
H A Dsane_time.c108 int delay = 1000000; local
113 if (argc == 2 && (delay = atol(argv[1]) * 1000) > 0)
116 msg_fatal("usage: %s [delay in ms (default 1 second)]", argv[0]);
124 doze(delay);
/macosx-10.10.1/tcl-105/tcl/tcl/unix/
H A DtclUnixEvent.c39 struct timeval delay;
73 delay.tv_sec = vdelay.sec;
74 delay.tv_usec = vdelay.usec;
77 * Special note: must convert delay.tv_sec to int before comparing to
78 * zero, since delay.tv_usec is unsigned on some platforms.
81 if ((((int) delay.tv_sec) < 0)
82 || ((delay.tv_usec == 0) && (delay.tv_sec == 0))) {
86 (SELECT_MASK *) 0, &delay);
38 struct timeval delay; local
/macosx-10.10.1/emacs-93/emacs/lisp/gnus/
H A Dgnus-delay.el1 ;;; gnus-delay.el --- Delayed posting of articles
31 ;; * `gnus-delay-send-queue' barfs when group does not exist.
32 ;; * Integrate gnus-delay.el into the rest of Gnus automatically. How
34 ;; `gnus-delay-initialize' does. But in which files?
42 (defgroup gnus-delay nil
47 (defcustom gnus-delay-group "delayed"
50 :group 'gnus-delay)
52 (defcustom gnus-delay-header "X-Gnus-Delayed"
55 :group 'gnus-delay)
57 (defcustom gnus-delay
[all...]
H A Dgnus-diary.el67 (defcustom gnus-diary-delay-format-function 'gnus-diary-delay-format-english
68 "*Function called to format a diary delay string.
69 It is passed two arguments. The first one is non-nil if the delay is in
76 `gnus-diary-delay-format-english' (the default)
77 `gnus-diary-delay-format-french'"
78 :type '(choice (const :tag "english" gnus-diary-delay-format-english)
79 (const :tag "french" gnus-diary-delay-format-french)
100 (defun gnus-diary-delay-format-french (past delay)
[all...]
/macosx-10.10.1/IOFireWireFamily-456/IOFireWireFamily.kmodproj/
H A DIOFWDelayCommand.cpp46 UInt32 delay, FWBusCallback completion, void *refcon)
50 fTimeout = delay;
58 IOReturn IOFWDelayCommand::reinit(UInt32 delay, FWBusCallback completion, void *refcon) argument
64 fTimeout = delay;
45 initWithDelay(IOFireWireController *control, UInt32 delay, FWBusCallback completion, void *refcon) argument
/macosx-10.10.1/top-100.1.2/
H A Duserinput_sleep.c32 int delay = 0; local
46 user_input_set_error_state("not a valid sleep delay");
52 user_input_set_error_state("not a valid sleep delay");
56 delay = atoi(s->buf);
58 if(delay < 0) {
59 user_input_set_error_state("delay is negative");
63 top_prefs_set_sleep(delay);
/macosx-10.10.1/tcl-105/tcl_ext/tls/tls/tests/oldTests/
H A DtlsAuto.tcl26 proc doit {chan count {delay 1000}} {
36 after $delay doit $chan $count $delay
H A DtlsUpload.tcl26 proc doit {chan count {delay 1000}} {
36 after $delay doit $chan $count $delay
/macosx-10.10.1/ntp-92/libsntp/
H A Dlibsntp.h52 * @param delay
65 typedef bool (^sntp_query_result_handler_t) (sntp_query_result_t query_result, struct timeval time, double delay, double dispersion, bool more_servers); variable
80 * @param delay
102 typedef bool (^sntp_query_extended_result_handler_t) (sntp_query_result_t query_result, uint64_t mach_timestamp, struct timeval time, double delay, double dispersion, bool more_servers, const char *ip_addr, const char *port, int retry_attempts); variable
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/virtchannel_core/
H A Devents.tcl25 # TODO :: set/get accessor methods for the timer delay
44 set delay 10
91 variable timer allowed requested posting delay
98 # delay = Millisec interval between posts.
132 set timer [after $delay \
145 set timer [after $delay \
/macosx-10.10.1/dcerpc-61/dcerpc/perf/
H A Dperf_c.h143 struct timespec delay; \
144 delay.tv_sec = (secs); \
145 delay.tv_nsec = 0; \
146 pthread_delay_np(&delay); \
/macosx-10.10.1/webdavfs-367/mount.tproj/
H A Dwebdav_requestqueue.h46 extern int requestqueue_enqueue_server_ping(u_int32_t delay);
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/nns/
H A Dnns_auto.tcl173 variable delay
175 set timer [after $delay ::nameserv::auto::Reconnect]
356 variable delay
361 return [linsert [nameserv::configure] 0 -delay $delay]
367 -delay { return $delay }
376 return -code error "[string map {{expected } {expected -delay, }} $v]"
384 -delay {
388 set delay [linde
[all...]
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/
H A DSCPUnlock.c90 reportDelay(SCPreferencesRef prefs, struct timeval *delay) argument
104 (int)delay->tv_sec,
105 delay->tv_usec / 1000);
111 (int)delay->tv_sec,
112 delay->tv_usec / 1000);
/macosx-10.10.1/ntp-92/scripts/monitoring/
H A Dntploopstat29 $delay = 60; # default sampling rate
62 $0 [-d<delay>] [-t<timeout>] [-l <logfile>] [-v] [ntpserver]
70 ($1 ne '') && ($delay = $1,1) && next;
71 @ARGV || die("$0: delay value missing after -d\n$usage");
72 $delay = shift;
73 ($delay >= 0) || die("$0: bad delay value \"$delay\"\n$usage");
322 ;#$time = ($stime + $etime) / 2; # symmetric delay assumed
381 &msg("Sleeping " . ($lostpacket ? ($delay /
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/tests/progs/
H A Dslapd-modrdn.c43 char *entry, int maxloop, int maxretries, int delay,
59 "[-t <delay>] "
79 int delay = 0; local
146 case 't': /* delay in seconds */
147 if ( lutil_atoi( &delay, optarg ) != 0 ) {
173 loops, retries, delay, friendly, chaserefs );
183 int delay, int friendly, int chaserefs )
237 if ( delay > 0) {
238 sleep( delay );
181 do_modrdn( char *uri, char *manager, struct berval *passwd, char *entry, int maxloop, int maxretries, int delay, int friendly, int chaserefs ) argument
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/
H A Dexp_simple.c239 static struct timeval delay;
258 delay.tv_sec = after.sec - before.sec;
259 delay.tv_usec = after.usec - before.usec;
260 if (delay.tv_usec < 0) {
261 delay.tv_usec += 1000000;
262 delay.tv_sec -= 1;
266 * Special note: must convert delay.tv_sec to int before comparing
267 * to zero, since delay.tv_usec is unsigned on some platforms.
270 if ((((int) delay.tv_sec) < 0)
271 || ((delay
235 static struct timeval delay; local
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/memchan/memchan/generic/
H A Dnull.c98 int delay; /* fileevent notification interval (in ms) */
281 chan->timer = Tcl_CreateTimerHandler(chan->delay, ChannelReady,
398 CONST char *options = "delay";
401 if (!strcmp("-delay", optionName)) {
402 int delay = DELAY;
403 result = Tcl_GetInt(interp, (CONST84 char *)newValue, &delay);
405 chan->delay = delay;
406 Tcl_SetObjResult(interp, Tcl_NewIntObj(delay));
449 * -delay
97 int delay; /* fileevent notification interval (in ms) */ member in struct:ChannelInstance
393 int delay = DELAY; local
[all...]
H A Drandom.c102 int delay; /* fileevent notification interval (in ms) */
305 chan->timer = Tcl_CreateTimerHandler(chan->delay, ChannelReady,
422 CONST char *options = "delay";
425 if (!strcmp("-delay", optionName)) {
426 int delay = DELAY;
427 result = Tcl_GetInt(interp, (CONST84 char *)newValue, &delay);
429 chan->delay = delay;
430 Tcl_SetObjResult(interp, Tcl_NewIntObj(delay));
473 * -delay
101 int delay; /* fileevent notification interval (in ms) */ member in struct:ChannelInstance
417 int delay = DELAY; local
[all...]
H A Dzero.c105 int delay; /* fileevent notification interval (in ms) */
284 chan->timer = Tcl_CreateTimerHandler(chan->delay, ChannelReady,
401 CONST char *options = "delay";
404 if (!strcmp("-delay", optionName)) {
405 int delay = DELAY;
406 result = Tcl_GetInt(interp, (CONST84 char *)newValue, &delay);
408 chan->delay = delay;
409 Tcl_SetObjResult(interp, Tcl_NewIntObj(delay));
452 * -delay
104 int delay; /* fileevent notification interval (in ms) */ member in struct:ChannelInstance
396 int delay = DELAY; local
[all...]

Completed in 292 milliseconds

1234567891011>>