Searched refs:time (Results 1 - 25 of 2197) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/jemalloc/src/
H A Dnstime.c6 nstime_init(nstime_t *time, uint64_t ns) argument
9 time->ns = ns;
13 nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec) argument
16 time->ns = sec * BILLION + nsec;
20 nstime_ns(const nstime_t *time) argument
23 return (time->ns);
27 nstime_sec(const nstime_t *time) argument
30 return (time->ns / BILLION);
34 nstime_nsec(const nstime_t *time) argument
37 return (time
41 nstime_copy(nstime_t *time, const nstime_t *source) argument
55 nstime_add(nstime_t *time, const nstime_t *addend) argument
64 nstime_subtract(nstime_t *time, const nstime_t *subtrahend) argument
73 nstime_imultiply(nstime_t *time, uint64_t multiplier) argument
83 nstime_idivide(nstime_t *time, uint64_t divisor) argument
92 nstime_divide(const nstime_t *time, const nstime_t *divisor) argument
105 nstime_update(nstime_t *time) argument
[all...]
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dgettimeofday.c4 #include <time.h>
7 #include <sys/time.h>
14 Writes the current time to @var{tp}. This implementation requires
27 if (time (&tp->tv_sec) == (time_t) -1)
/freebsd-11-stable/contrib/libstdc++/include/c/
H A Dstd_ctime.h31 // ISO C++ 14882: 20.5 Date and time
39 #include_next <time.h>
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.clearavg2.d49 @time = avg(0);
55 printa(" %@d\n", @time);
56 clear(@time);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Drand.c44 srandom(time(NULL));
46 srand (time(NULL));
H A Dtm2time.c37 #include <sys/time.h>
38 #include <time.h>
40 #include <sys/time.h>
42 #include <time.h>
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dparse-duration.h1 /* Parse a time duration and return a seconds count
23 At the time of writing, this worked:
80 #include <time.h>
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_time.h34 #include <sys/time.h>
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dnstime.h27 void nstime_init(nstime_t *time, uint64_t ns);
28 void nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec);
29 uint64_t nstime_ns(const nstime_t *time);
30 uint64_t nstime_sec(const nstime_t *time);
31 uint64_t nstime_nsec(const nstime_t *time);
32 void nstime_copy(nstime_t *time, const nstime_t *source);
34 void nstime_add(nstime_t *time, const nstime_t *addend);
35 void nstime_subtract(nstime_t *time, const nstime_t *subtrahend);
36 void nstime_imultiply(nstime_t *time, uint64_t multiplier);
37 void nstime_idivide(nstime_t *time, uint64_
[all...]
/freebsd-11-stable/stand/usb/test/
H A Dbsd_usbloader_test.c30 #include <time.h>
80 uint32_t time; local
84 time = 0;
92 if (++time >= (1000 / hz)) {
93 time = 0;
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_time.c53 #include <sys/time.h>
74 LIN_SDT_PROBE_DEFINE2(time, native_to_linux_timespec, entry,
76 LIN_SDT_PROBE_DEFINE0(time, native_to_linux_timespec, return);
77 LIN_SDT_PROBE_DEFINE2(time, linux_to_native_timespec, entry,
79 LIN_SDT_PROBE_DEFINE1(time, linux_to_native_timespec, return, "int");
80 LIN_SDT_PROBE_DEFINE2(time, linux_to_native_clockid, entry, "clockid_t *",
82 LIN_SDT_PROBE_DEFINE1(time, linux_to_native_clockid, unsupported_clockid,
84 LIN_SDT_PROBE_DEFINE1(time, linux_to_native_clockid, unknown_clockid,
86 LIN_SDT_PROBE_DEFINE1(time, linux_to_native_clockid, return, "int");
87 LIN_SDT_PROBE_DEFINE2(time, linux_clock_gettim
[all...]
H A Dcheck_error.d64 linuxulator*:time:linux_clock_gettime:conversion_error,
65 linuxulator*:time:linux_clock_gettime:gettime_error,
66 linuxulator*:time:linux_clock_gettime:copyout_error,
67 linuxulator*:time:linux_clock_settime:conversion_error,
68 linuxulator*:time:linux_clock_settime:settime_error,
69 linuxulator*:time:linux_clock_settime:copyin_error,
70 linuxulator*:time:linux_clock_getres:conversion_error,
71 linuxulator*:time:linux_clock_getres:getres_error,
72 linuxulator*:time:linux_clock_getres:copyout_error,
73 linuxulator*:time
[all...]
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-cn3010-evb-hs5.h65 int cvmx_rtc_ds1337_write(uint32_t time);
H A Dcvmx-rtc.h49 * This file provides support for real time clocks on some boards
112 * Read time from RTC device.
133 * Write time to the RTC device
135 * @param time Number of seconds from epoch (Jan 1 1970 at 00:00:00 UTC)
139 static inline uint32_t cvmx_rtc_write(uint32_t time) argument
144 return cvmx_rtc_ds1374_write(time);
148 return cvmx_rtc_ds1337_write(time);
/freebsd-11-stable/lib/libc/include/isc/
H A Dplatform.h30 #include <time.h> /* For time_t */
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dstdtime.c22 #include <time.h>
36 (void)time((time_t *)t);
/freebsd-11-stable/contrib/blacklist/port/
H A Dclock_gettime.c5 #include <time.h>
6 #include <sys/time.h>
/freebsd-11-stable/libexec/bootpd/
H A Dtzone.c11 /* This is in <time.h> but only visible if (__STDC__ == 1). */
15 # include <time.h>
40 (void)time(&now);
/freebsd-11-stable/lib/libc/gen/
H A Dclock_getcpuclockid.c31 #include <time.h>
33 #include <sys/time.h>
/freebsd-11-stable/stand/uboot/lib/
H A Dtime.c29 __FBSDID("$FreeBSD: stable/11/stand/uboot/lib/time.c 329010 2018-02-08 02:44:21Z kevans $");
36 * Return the time in seconds since the beginning of the day.
39 time(time_t *tloc) function
54 return (time(NULL));
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_ctime.h35 * This is the C++ version of the Standard C Library header @c time.h,
42 // ISO C++ 14882: 20.5 Date and time
51 #include <time.h>
53 // Get rid of those macros defined in <time.h> in lieu of real functions.
57 #undef time macro
73 using ::time;
/freebsd-11-stable/stand/efi/libefi/
H A Dtime.c42 __FBSDID("$FreeBSD: stable/11/stand/efi/libefi/time.c 329114 2018-02-11 02:27:50Z kevans $");
47 #include <time.h>
48 #include <sys/time.h>
108 to_efi_time(EFI_TIME *efi_time, time_t time) argument
113 if (time >= 0) {
118 while (time > seconds) {
119 time -= seconds;
126 while (time >
132 time -= CumulativeDays[lyear][month] * SECSPERDAY;
134 for (efi_time->Day = 0; time > SECSPERDA
266 time(time_t *tloc) function
[all...]
/freebsd-11-stable/contrib/mdocml/
H A Dtest-strptime.c5 #include <time.h>
/freebsd-11-stable/contrib/file/src/
H A Dasctime_r.c7 #include <time.h>
H A Dctime_r.c7 #include <time.h>

Completed in 335 milliseconds

1234567891011>>