Searched refs:seconds (Results 1 - 25 of 77) sorted by relevance

1234

/barrelfish-2018-10-04/lib/posixcompat/
H A Dalarm.c16 * \brief Arrange to deliver SIGALARM to the calling process in 'seconds'
17 * seconds.
19 * \returns Number of seconds previously scheduled alarm would have generated
22 unsigned int alarm(unsigned int seconds) argument
24 if (seconds == 0) { // Cancel any previous alarm.
H A Dsleep.c14 unsigned int sleep(unsigned int seconds) argument
16 return usleep((useconds_t)seconds * 1000000);
/barrelfish-2018-10-04/lib/libc/gen/
H A Dsleep.c48 __sleep(unsigned int seconds) argument
54 * Avoid overflow when `seconds' is huge. This assumes that
57 if (seconds > INT_MAX)
58 return (seconds - INT_MAX + __sleep(INT_MAX));
60 time_to_sleep.tv_sec = seconds;
67 return (seconds); /* best guess */
/barrelfish-2018-10-04/lib/cxx/cxx/
H A Dchrono.cpp41 return time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec));
43 return time_point(seconds(0) + microseconds(0));
50 return time_t(duration_cast<seconds>(t.time_since_epoch()).count());
57 return system_clock::time_point(seconds(t));
59 return system_clock::time_point(seconds(t) + microseconds(0));
152 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec));
155 return time_point(seconds(0) + nanoseconds(0));
H A Dcondition_variable.cpp57 seconds s = duration_cast<seconds>(d);
H A Dthread.cpp123 seconds s = duration_cast<seconds>(ns);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ts/
H A Dts_rsp_utils.c230 int TS_ACCURACY_set_seconds(TS_ACCURACY *a, const ASN1_INTEGER *seconds) argument
234 if (a->seconds == seconds)
236 new_seconds = ASN1_INTEGER_dup(seconds);
242 ASN1_INTEGER_free(a->seconds);
243 a->seconds = new_seconds;
249 return a->seconds;
H A Dts_rsp_print.c266 const ASN1_INTEGER *seconds = TS_ACCURACY_get_seconds(accuracy); local
270 if (seconds != NULL)
271 TS_ASN1_INTEGER_print_bio(bio, seconds);
274 BIO_printf(bio, " seconds, ");
H A Dts_rsp_sign.c132 /* Use the time function call that provides only seconds precision. */
195 ASN1_INTEGER_free(ctx->seconds);
290 ASN1_INTEGER_free(ctx->seconds); \
291 ctx->seconds = NULL; \
302 if (secs && (!(ctx->seconds = ASN1_INTEGER_new())
303 || !ASN1_INTEGER_set(ctx->seconds, secs)))
631 if ((ctx->seconds || ctx->millis || ctx->micros)
635 if (ctx->seconds && !TS_ACCURACY_set_seconds(accuracy, ctx->seconds))
969 * NOT include fractional seconds") an
[all...]
H A Dts.h140 seconds INTEGER OPTIONAL,
147 ASN1_INTEGER *seconds; member in struct:TS_accuracy_st
439 int TS_ACCURACY_set_seconds(TS_ACCURACY *a, const ASN1_INTEGER *seconds);
491 /* This must return the seconds and microseconds since Jan 1, 1970 in
511 ASN1_INTEGER *seconds; /* accuracy, 0 means not specified. */ member in struct:TS_resp_ctx
514 unsigned clock_precision_digits; /* fraction of seconds in
/barrelfish-2018-10-04/tools/harness/tests/
H A Dproc_mgmt_test.py23 self.test_timeout_delta = datetime.timedelta(seconds=15*60)
H A Dcommon.py17 DEFAULT_TEST_TIMEOUT = datetime.timedelta(seconds=360)
18 DEFAULT_BOOT_TIMEOUT = datetime.timedelta(seconds=240)
19 AFTER_FINISH_TIMEOUT = datetime.timedelta(seconds=30)
100 test_timeout_secs = datetime.timedelta(seconds=test_timeout_secs)
142 + datetime.timedelta(seconds=timeout_secs))
203 timeout = datetime.timedelta(seconds=1) + datetime.datetime.now()
301 self.boot_timeout = DEFAULT_BOOT_TIMEOUT.seconds
304 self.test_timeout = DEFAULT_TEST_TIMEOUT.seconds
357 secs = delta.seconds + delta.microseconds / 1000000.0
H A DbasicNetwork.py18 WEBSERVER_TIMEOUT=5 # seconds
25 # desired duration of an httperf test run (seconds)
28 # sleep time between runs (seconds)
32 HTTPERF_TIMEOUT = datetime.timedelta(seconds=(HTTPERF_DURATION + 30))
/barrelfish-2018-10-04/usr/tests/cxx/
H A Dstl_chrono.cpp49 auto d = std::chrono::duration_cast<std::chrono::seconds>(std::chrono::steady_clock::now() - s);
/barrelfish-2018-10-04/lib/tzcode/zic/
H A Dzdump.c444 register long seconds; local
451 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
453 if (t > absolute_max_time - seconds) {
457 t += seconds;
460 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
461 if (t < absolute_min_time + seconds) {
465 t -= seconds;
/barrelfish-2018-10-04/lib/tzcode/stdtime/
H A Dlocaltime.c121 long tt_gmtoff; /* UTC offset in seconds */
755 ** Given a pointer into a time zone string, extract a number of seconds,
759 ** of seconds.
787 /* `SECSPERMIN' allows for leap seconds. */
1357 register time_t seconds; local
1362 seconds = sp->ats[0] - t;
1363 else seconds = t - sp->ats[sp->timecnt - 1];
1364 --seconds;
1365 tcycles = seconds / YEARSPERREPEAT / AVGSECSPERYEAR;
1370 seconds
1668 register long seconds; local
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/lib/
H A Dremote_tools.pl176 complete the connection by waiting at most TimeOut seconds for the
190 seconds for the remote tools to connect. In these cases, the server
202 % if tktools can be run from a shell. It will wait 10 seconds before
219 fail_if: " Development tools already attached, or waiting TimeOut seconds
H A Dhttp_client.pl60 http_grammar.pl compiled traceable 25048 bytes in 0.38 seconds
61 http_client.pl compiled traceable 5916 bytes in 0.47 seconds
62 http_server.pl compiled traceable 5304 bytes in 0.07 seconds
63 http.pl compiled traceable 0 bytes in 0.57 seconds
H A Dhttp_server.pl349 http_grammar.pl compiled traceable 25048 bytes in 0.27 seconds
350 http_client.pl compiled traceable 6052 bytes in 0.28 seconds
351 http_server.pl compiled traceable 5564 bytes in 0.03 seconds
352 http.pl compiled traceable 0 bytes in 0.35 seconds
/barrelfish-2018-10-04/lib/libc/resolv/
H A Dres_send.c837 int resplen, seconds, n, s; local
931 seconds = (statp->retrans << tries);
933 seconds /= statp->nscount;
934 if (seconds <= 0)
935 seconds = 1;
937 timeout = evConsTime(seconds, 0);
/barrelfish-2018-10-04/include/openssl/
H A Dts.h140 seconds INTEGER OPTIONAL,
147 ASN1_INTEGER *seconds; member in struct:TS_accuracy_st
439 int TS_ACCURACY_set_seconds(TS_ACCURACY *a, const ASN1_INTEGER *seconds);
491 /* This must return the seconds and microseconds since Jan 1, 1970 in
511 ASN1_INTEGER *seconds; /* accuracy, 0 means not specified. */ member in struct:TS_resp_ctx
514 unsigned clock_precision_digits; /* fraction of seconds in
/barrelfish-2018-10-04/usr/arrakismon/
H A Dlpc.c398 uint8_t sec = bcd2bin(l->rtc_prim_ram.u.seconds);
434 l->rtc_prim_ram.u.seconds = bin2bcd(sec);
784 *sec = l->rtc_prim_ram.u.seconds;
H A Dlpc.h205 uint8_t seconds; member in struct:lpc_rtc_prim_ram::__anon1448
/barrelfish-2018-10-04/usr/vmkitmon/
H A Dlpc.c406 uint8_t sec = bcd2bin(l->rtc_prim_ram.u.seconds);
442 l->rtc_prim_ram.u.seconds = bin2bcd(sec);
795 *sec = l->rtc_prim_ram.u.seconds;
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/src/
H A Dos_support.c134 static double start_time; /* in seconds */
137 static time_t start_time; /* in seconds */
989 * The elapsed time in seconds can be computed as
1025 * Time in seconds since birth of UNIX
1038 all_times(double *user, double *sys, double *elapsed) /* in seconds */
1287 ec_sleep(double seconds) argument
1290 (void) SleepEx((DWORD) (seconds*1000.0), TRUE);
1296 sleep_time.tv_sec = (long) seconds;
1297 sleep_time.tv_usec = (long) ((seconds - floor(seconds)) * 1000000.
[all...]

Completed in 157 milliseconds

1234