Searched refs:time (Results 276 - 300 of 2364) sorted by relevance

<<11121314151617181920>>

/freebsd-current/crypto/openssl/apps/
H A Ds_time.c62 {"new", OPT_NEW, '-', "Just time new connections"},
63 {"reuse", OPT_REUSE, '-', "Just time connection reuse"},
85 {"time", OPT_TIME, 'p', "Seconds to collect data, default " SECONDSSTR},
271 /* Loop and time how long it takes to make connections */
274 finishtime = (long)time(NULL) + maxtime;
277 if (finishtime < (long)time(NULL))
312 totalTime += tm_Time_F(STOP); /* Add the time for this iteration */
314 i = (int)((long)time(NULL) - finishtime + maxtime);
320 nConn, (long)time(NULL) - finishtime + maxtime,
324 * Now loop and time connection
[all...]
/freebsd-current/crypto/openssl/crypto/ct/
H A Dct_policy.c16 #include <time.h>
22 * without being considered invalid. This is added to time() when setting a
48 /* time(NULL) shouldn't ever fail, so don't bother checking for -1. */
49 ctx->epoch_time_in_ms = (uint64_t)(time(NULL) + SCT_CLOCK_DRIFT_TOLERANCE) *
/freebsd-current/sys/compat/linux/
H A Dtrace_futexes.d35 * - execution time (wallclock) of futex related functions
149 self->time[probefunc] = timestamp;
154 /self->time[probefunc] != 0/
156 this->timediff = self->time[probefunc] - timestamp;
161 self->time[probefunc] = 0;
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dreadmmap.c48 #include <time.h>
96 seed = (uint_t)time(NULL);
/freebsd-current/contrib/libevent/sample/
H A Dtime-test.c8 * cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
20 #include <time.h>
22 #include <sys/time.h>
/freebsd-current/usr.bin/find/
H A Dls.c44 #include <time.h>
91 lnow = time(NULL);
H A Dmain.c46 #include <time.h>
51 time_t now; /* time find was run */
75 (void)time(&now); /* initialize the time-of-day */
/freebsd-current/tests/sys/cddl/zfs/bin/
H A Dreadmmap.c44 #include <time.h>
96 seed = time(NULL);
/freebsd-current/sys/rpc/
H A Dauthunix_prot.c60 xdr_authunix_parms(XDR *xdrs, uint32_t *time, struct xucred *cred) argument
80 if (!xdr_uint32_t(xdrs, time)
H A Dauth_unix.c132 uint32_t time; local
192 time = now.tv_sec;
199 if (! xdr_authunix_parms(&xdrs, &time, &xcr))
298 uint32_t time; local
312 stat = xdr_authunix_parms(&xdrs, &time, &xcr);
316 /* update the time and serialize in place */
318 time = now.tv_sec;
322 stat = xdr_authunix_parms(&xdrs, &time, &xcr);
/freebsd-current/include/rpcsvc/
H A Dbootparam_prot.x44 %#include <sys/time.h>
/freebsd-current/crypto/openssl/fuzz/
H A Dclient.c11 #include <time.h>
31 * current time instead of the fixed time. This will just result
36 time_t time(time_t *t) TIME_IMPL(t)
/freebsd-current/contrib/netbsd-tests/dev/clock_subr/
H A Dt_clock_subr.c46 { .time = (ti), .clock = { .dt_year = (ye), .dt_mon = (mo), .dt_day = (da), \
50 time_t time; member in struct:clock_test
267 ATF_CHECK_EQ_MSG(clock_tests[i].time, secs, "%jd != %jd",
268 (intmax_t)clock_tests[i].time, (intmax_t)secs);
287 (intmax_t)clock_tests[i].time)
290 clock_secs_to_ymdhms(clock_tests[i].time, &ymdhms);
/freebsd-current/sys/dev/aic7xxx/
H A Daic_osm_lib.h164 uint64_t time; local
166 time = msec;
167 time *= hz;
168 time /= 1000;
169 callout_reset(timer, time, func, arg);
181 uint64_t time; local
183 time = msec;
184 time *= hz;
185 time /= 1000;
186 callout_reset(&scb->io_timer, time, aic_platform_timeou
[all...]
/freebsd-current/contrib/ntp/util/
H A Dntptime.c52 * These constants are used to round the time stamps computed from
56 #define TS_MASK_US 0xfffff000 /* mask to usec, for time stamps */
102 long time_frac; /* ntv.time.tv_frac_sec (us/ns) */
181 -c display the time taken to call ntp_gettime (us)\n\
187 -r print the unix and NTP time raw\n\
189 -t timeconstant log2 of PLL time constant (0 .. %d)\n",
255 times[c] = ntv.time.tv_frac_sec;
297 time_frac = ntv.time.tv_frac_sec;
300 ntv.time.tv_frac_sec /= 1000;
306 tv.tv_sec = ntv.time
[all...]
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_perfmgr_db.c135 cur_time = time(NULL);
138 rc->ports[i].err_previous.time = cur_time;
139 rc->ports[i].dc_previous.time = cur_time;
375 epi_pe_data.time_diff_s = (reading->time - previous->time);
423 /* mark the time this total was updated */
424 p_port->err_total.time = reading->time;
469 node->ports[port].err_previous.time = time(NUL
[all...]
/freebsd-current/crypto/openssl/ssl/
H A Dssl_asn1.c25 int64_t time; member in struct:__anon4207
56 ASN1_EXP_OPT_EMBED(SSL_SESSION_ASN1, time, ZINT64, 1),
166 as.time = (int64_t)in->time;
304 if (as->time != 0)
305 ret->time = (time_t)as->time;
307 ret->time = time(NULL);
/freebsd-current/tests/atf_python/
H A Dktest.py2 import time namespace
126 self._start_time = time.time()
129 epoch_time = time.time() - self._start_time + epoch_ktime
/freebsd-current/contrib/sendmail/libsm/
H A Ddebug.c23 #include <sm/time.h>
24 #include <time.h>
123 "@(#)$Debug: sm_trace_pid_time - print pid and time in debug $");
177 currt = time((time_t *)0);
/freebsd-current/contrib/ofed/opensm/include/opensm/
H A Dosm_perfmgr_db.h42 #include <time.h>
94 time_t time; member in struct:__anon5812
109 time_t time; member in struct:__anon5813
/freebsd-current/contrib/netbsd-tests/sys/uvm/
H A Dt_uvm_physseg_load.c66 #include <time.h>
342 srandom((unsigned)time(NULL));
371 srandom((unsigned)time(NULL));
400 srandom((unsigned)time(NULL));
429 srandom((unsigned)time(NULL));
458 srandom((unsigned)time(NULL));
487 srandom((unsigned)time(NULL));
516 srandom((unsigned)time(NULL));
558 srandom((unsigned)time(NULL));
607 srandom((unsigned)time(NUL
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_trunc.c40 #include <sys/time.h>
45 #include <time.h>
108 seed = (uint_t)time(NULL);
/freebsd-current/sys/contrib/zstd/programs/
H A Dtimefn.c95 /* time must be initialized, othersize it may fail msan test.
97 UTIL_time_t time = UTIL_TIME_INITIALIZER; local
98 if (timespec_get(&time, TIME_UTC) != TIME_UTC) {
102 return time;
148 /* returns time span in microseconds */
155 /* returns time span in microseconds */
/freebsd-current/contrib/llvm-project/lldb/source/Utility/
H A DTraceIntelPTGDBRemotePackets.cpp83 uint64_t time = nanos - time_zero.value; local
84 uint64_t quot = time / time_mult;
85 uint64_t rem = time % time_mult;
/freebsd-current/contrib/googletest/googletest/test/
H A Dgtest_xml_test_utils.py53 Exceptions are any attribute named "time", which needs only be
192 * The "time" attribute of <testsuites>, <testsuite> and <testcase>
220 time = element.getAttributeNode('time')
223 time.value = re.sub(r'^\d+\.(\d+)?$', '*', time.value)

Completed in 408 milliseconds

<<11121314151617181920>>