Home
last modified time | relevance | path

Searched refs:timespec (Results 151 – 175 of 23284) sorted by relevance

12345678910>>...932

/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/kvm/include/
H A Dtest_util.h63 int64_t timespec_to_ns(struct timespec ts);
64 struct timespec timespec_add_ns(struct timespec ts, int64_t ns);
65 struct timespec timespec_add(struct timespec ts1, struct timespec ts2);
66 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
67 struct timespec timespec_elapsed(struct timespec start);
68 struct timespec timespec_div(struct timespec ts, int divisor);
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/kvm/include/
H A Dtest_util.h63 int64_t timespec_to_ns(struct timespec ts);
64 struct timespec timespec_add_ns(struct timespec ts, int64_t ns);
65 struct timespec timespec_add(struct timespec ts1, struct timespec ts2);
66 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
67 struct timespec timespec_elapsed(struct timespec start);
68 struct timespec timespec_div(struct timespec ts, int divisor);
/dports/net/ntp/ntp-4.2.8p15/libntp/
H A Dtimespecops.c43 struct timespec
45 struct timespec x in normalize_tspec()
87 struct timespec
89 struct timespec a in abs_tspec()
92 struct timespec c; in abs_tspec()
114 struct timespec b in cmp_tspec()
133 struct timespec a in test_tspec()
152 struct timespec x in tspec_intv_to_lfp()
166 struct timespec
191 struct timespec
[all …]
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/gnulib-tests/
H A Dtest-timespec.c60 valid (struct timespec a) in valid()
72 cmp (struct timespec a, struct timespec b) in cmp()
78 eq (struct timespec a, struct timespec b) in eq()
84 extremal (struct timespec a) in extremal()
95 struct timespec test[nprototypes + 1]; in main()
98 struct timespec prevroundtrip; in main()
120 struct timespec a = test[i]; in main()
132 struct timespec b = test[j]; in main()
135 struct timespec sum = timespec_add (a, b); in main()
136 struct timespec diff = timespec_sub (a, b); in main()
[all …]
/dports/sysutils/coreutils/coreutils-8.32/gnulib-tests/
H A Dtest-timespec.c60 valid (struct timespec a) in valid()
72 cmp (struct timespec a, struct timespec b) in cmp()
78 eq (struct timespec a, struct timespec b) in eq()
84 extremal (struct timespec a) in extremal()
95 struct timespec test[nprototypes + 1]; in main()
98 struct timespec prevroundtrip; in main()
120 struct timespec a = test[i]; in main()
132 struct timespec b = test[j]; in main()
135 struct timespec sum = timespec_add (a, b); in main()
136 struct timespec diff = timespec_sub (a, b); in main()
[all …]
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/gnulib-tests/
H A Dtest-timespec.c60 valid (struct timespec a) in valid()
72 cmp (struct timespec a, struct timespec b) in cmp()
78 eq (struct timespec a, struct timespec b) in eq()
84 extremal (struct timespec a) in extremal()
95 struct timespec test[nprototypes + 1]; in main()
98 struct timespec prevroundtrip; in main()
120 struct timespec a = test[i]; in main()
132 struct timespec b = test[j]; in main()
135 struct timespec sum = timespec_add (a, b); in main()
136 struct timespec diff = timespec_sub (a, b); in main()
[all …]
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/gnulib-tests/
H A Dtest-timespec.c60 valid (struct timespec a) in valid()
72 cmp (struct timespec a, struct timespec b) in cmp()
78 eq (struct timespec a, struct timespec b) in eq()
84 extremal (struct timespec a) in extremal()
95 struct timespec test[nprototypes + 1]; in main()
98 struct timespec prevroundtrip; in main()
120 struct timespec a = test[i]; in main()
132 struct timespec b = test[j]; in main()
135 struct timespec sum = timespec_add (a, b); in main()
136 struct timespec diff = timespec_sub (a, b); in main()
[all …]
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/gnulib-tests/
H A Dtest-timespec.c60 valid (struct timespec a) in valid()
72 cmp (struct timespec a, struct timespec b) in cmp()
78 eq (struct timespec a, struct timespec b) in eq()
84 extremal (struct timespec a) in extremal()
95 struct timespec test[nprototypes + 1]; in main()
98 struct timespec prevroundtrip; in main()
120 struct timespec a = test[i]; in main()
132 struct timespec b = test[j]; in main()
135 struct timespec sum = timespec_add (a, b); in main()
136 struct timespec diff = timespec_sub (a, b); in main()
[all …]
/dports/misc/gnuls/coreutils-8.30/gnulib-tests/
H A Dtest-timespec.c60 valid (struct timespec a) in valid()
72 cmp (struct timespec a, struct timespec b) in cmp()
78 eq (struct timespec a, struct timespec b) in eq()
84 extremal (struct timespec a) in extremal()
95 struct timespec test[nprototypes + 1]; in main()
98 struct timespec prevroundtrip; in main()
120 struct timespec a = test[i]; in main()
132 struct timespec b = test[j]; in main()
135 struct timespec sum = timespec_add (a, b); in main()
136 struct timespec diff = timespec_sub (a, b); in main()
[all …]
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/
H A Dtest-timespec.c60 valid (struct timespec a) in valid()
72 cmp (struct timespec a, struct timespec b) in cmp()
78 eq (struct timespec a, struct timespec b) in eq()
84 extremal (struct timespec a) in extremal()
95 struct timespec test[nprototypes + 1]; in main()
98 struct timespec prevroundtrip; in main()
120 struct timespec a = test[i]; in main()
132 struct timespec b = test[j]; in main()
135 struct timespec sum = timespec_add (a, b); in main()
136 struct timespec diff = timespec_sub (a, b); in main()
[all …]
/dports/security/oath-toolkit/oath-toolkit-2.6.2/oathtool/gl/tests/
H A Dtest-timespec.c60 valid (struct timespec a) in valid()
72 cmp (struct timespec a, struct timespec b) in cmp()
78 eq (struct timespec a, struct timespec b) in eq()
84 extremal (struct timespec a) in extremal()
95 struct timespec test[nprototypes + 1]; in main()
98 struct timespec prevroundtrip; in main()
120 struct timespec a = test[i]; in main()
132 struct timespec b = test[j]; in main()
135 struct timespec sum = timespec_add (a, b); in main()
136 struct timespec diff = timespec_sub (a, b); in main()
[all …]
/dports/misc/findutils/findutils-4.8.0/gnulib-tests/
H A Dtest-timespec.c60 valid (struct timespec a) in valid()
72 cmp (struct timespec a, struct timespec b) in cmp()
78 eq (struct timespec a, struct timespec b) in eq()
84 extremal (struct timespec a) in extremal()
95 struct timespec test[nprototypes + 1]; in main()
98 struct timespec prevroundtrip; in main()
120 struct timespec a = test[i]; in main()
132 struct timespec b = test[j]; in main()
135 struct timespec sum = timespec_add (a, b); in main()
136 struct timespec diff = timespec_sub (a, b); in main()
[all …]
/dports/textproc/diffutils/diffutils-3.8/gnulib-tests/
H A Dtest-timespec.c60 valid (struct timespec a) in valid()
72 cmp (struct timespec a, struct timespec b) in cmp()
78 eq (struct timespec a, struct timespec b) in eq()
84 extremal (struct timespec a) in extremal()
95 struct timespec test[nprototypes + 1]; in main()
98 struct timespec prevroundtrip; in main()
120 struct timespec a = test[i]; in main()
132 struct timespec b = test[j]; in main()
135 struct timespec sum = timespec_add (a, b); in main()
136 struct timespec diff = timespec_sub (a, b); in main()
[all …]
/dports/dns/dnstable/dnstable-0.12.0/libmy/
H A Dmy_time.h11 my_gettime(clockid_t clk_id, struct timespec *ts) in my_gettime()
19 my_gettime(int clk_id __attribute__((unused)), struct timespec *ts) in my_gettime()
33 my_timespec_add(const struct timespec *a, struct timespec *b) { in my_timespec_add()
43 my_timespec_sub(const struct timespec *a, struct timespec *b) in my_timespec_sub()
60 my_timespec_cmp(const struct timespec *a, const struct timespec *b) in my_timespec_cmp()
75 my_timespec_to_double(const struct timespec *ts) in my_timespec_to_double()
81 my_timespec_from_double(double seconds, struct timespec *ts) { in my_timespec_from_double()
87 my_nanosleep(const struct timespec *ts) in my_nanosleep()
89 struct timespec rqt, rmt; in my_nanosleep()
/dports/devel/mtbl/mtbl-1.4.0/libmy/
H A Dmy_time.h11 my_gettime(clockid_t clk_id, struct timespec *ts) in my_gettime()
19 my_gettime(int clk_id __attribute__((unused)), struct timespec *ts) in my_gettime()
33 my_timespec_add(const struct timespec *a, struct timespec *b) { in my_timespec_add()
43 my_timespec_sub(const struct timespec *a, struct timespec *b) in my_timespec_sub()
60 my_timespec_cmp(const struct timespec *a, const struct timespec *b) in my_timespec_cmp()
75 my_timespec_to_double(const struct timespec *ts) in my_timespec_to_double()
81 my_timespec_from_double(double seconds, struct timespec *ts) { in my_timespec_from_double()
87 my_nanosleep(const struct timespec *ts) in my_nanosleep()
89 struct timespec rqt, rmt; in my_nanosleep()
/dports/mail/avenger/avenger-0.8.5/libasync/
H A Damisc.h200 operator== (const timespec &a, const timespec &b)
205 operator!= (const timespec &a, const timespec &b)
211 tscmp (const timespec &a, const timespec &b)
222 operator< (const timespec &a, const timespec &b)
227 operator<= (const timespec &a, const timespec &b)
232 operator> (const timespec &a, const timespec &b)
237 operator>= (const timespec &a, const timespec &b)
243 operator+ (const timespec &a, const timespec &b)
245 timespec ts;
255 operator- (const timespec &a, const timespec &b)
[all …]
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/yanix/src/
H A Dclock.rs24 pub fn clock_getres(clock_id: ClockId) -> Result<libc::timespec> { in clock_getres() argument
25 let mut timespec = MaybeUninit::<libc::timespec>::uninit(); in clock_getres() localVariable
26 from_success_code(unsafe { libc::clock_getres(clock_id.as_raw(), timespec.as_mut_ptr()) })?; in clock_getres()
27 Ok(unsafe { timespec.assume_init() }) in clock_getres()
30 pub fn clock_gettime(clock_id: ClockId) -> Result<libc::timespec> { in clock_gettime() argument
31 let mut timespec = MaybeUninit::<libc::timespec>::uninit(); in clock_gettime() localVariable
32 from_success_code(unsafe { libc::clock_gettime(clock_id.as_raw(), timespec.as_mut_ptr()) })?; in clock_gettime()
33 Ok(unsafe { timespec.assume_init() }) in clock_gettime()
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/include/linux/
H A Dtime.h52 getrawmonotonic(struct timespec *ts) in getrawmonotonic()
64 timespec_valid(const struct timespec *ts) in timespec_valid()
73 static inline struct timespec
76 struct timespec ts; in ns_to_timespec()
89 timespec_to_ns(const struct timespec *ts) in timespec_to_ns()
97 struct timespec ts; in ns_to_timeval()
112 static inline struct timespec
113 timespec_sub(struct timespec a, struct timespec b) in timespec_sub()
115 struct timespec d; in timespec_sub()
123 set_normalized_timespec(struct timespec *ts, time_t sec, int64_t nsec) in set_normalized_timespec()
/dports/devel/p5-Time-Duration-Parse/Time-Duration-Parse-0.16/lib/Time/Duration/
H A DParse.pm22 my $timespec = shift;
25 $timespec =~ s/^\s*\+\s*//;
28 if ($timespec =~ /^\s*(-?\d+(?:[.,]\d+)?)\s*$/) {
29 $timespec = "$1s";
33 $timespec =~ s/\b(\d+):(\d\d):(\d\d(\.\d+)?)\b/$1h $2m $3s/g;
34 $timespec =~ s/\b(\d+):(\d\d)\b/$1h $2m/g;
37 while ($timespec =~ s/^\s*(-?\d+(?:[.,]\d+)?)\s*([a-zA-Z]+)(?:\s*(?:,|and)\s*)*//i) {
49 if ($timespec =~ /\S/) {
50 Carp::croak "Unknown timespec: $timespec";
/dports/devel/py-period/period-0.6.1/period/
H A Dmain.py263 if timespec[0:2] == 'Yr':
265 elif timespec[0:2] == 'Hr':
267 elif timespec[0:3] == 'Min':
269 elif timespec[0:3] == 'Day':
271 elif timespec in WEEK_MAP:
274 elif timespec[0:4] == 'Week':
279 elif timespec in MONTH_MAP:
281 elif timespec == 'Always':
283 elif timespec == 'Never':
285 elif '-' in timespec:
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/dbcon/joblist/
H A Dtimeset.h49 typedef std::map<std::string, timespec > TimerMap;
73 void timespec_add(const struct timespec& tv1,
74 const struct timespec& tv2,
154 struct timespec tSum = {0, 0}; in totalTime()
217 struct timespec tEnd; in holdTimer()
218 struct timespec tDiff; in holdTimer()
227 struct timespec tElapsed = fElapsed[key]; in holdTimer()
240 struct timespec ts; in startTimer()
263 struct timespec tEnd; in stopTimer()
264 struct timespec tDiff; in stopTimer()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/dbcon/joblist/
H A Dtimeset.h49 typedef std::map<std::string, timespec > TimerMap;
73 void timespec_add(const struct timespec& tv1,
74 const struct timespec& tv2,
154 struct timespec tSum = {0, 0}; in totalTime()
217 struct timespec tEnd; in holdTimer()
218 struct timespec tDiff; in holdTimer()
227 struct timespec tElapsed = fElapsed[key]; in holdTimer()
240 struct timespec ts; in startTimer()
263 struct timespec tEnd; in stopTimer()
264 struct timespec tDiff; in stopTimer()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/kvm/lib/
H A Dtest_util.c60 int64_t timespec_to_ns(struct timespec ts) in timespec_to_ns()
65 struct timespec timespec_add_ns(struct timespec ts, int64_t ns) in timespec_add_ns()
67 struct timespec res; in timespec_add_ns()
76 struct timespec timespec_add(struct timespec ts1, struct timespec ts2) in timespec_add()
80 return timespec_add_ns((struct timespec){0}, ns1 + ns2); in timespec_add()
83 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub()
87 return timespec_add_ns((struct timespec){0}, ns1 - ns2); in timespec_sub()
90 struct timespec timespec_elapsed(struct timespec start) in timespec_elapsed()
92 struct timespec end; in timespec_elapsed()
98 struct timespec timespec_div(struct timespec ts, int divisor) in timespec_div()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/kvm/lib/
H A Dtest_util.c60 int64_t timespec_to_ns(struct timespec ts) in timespec_to_ns()
65 struct timespec timespec_add_ns(struct timespec ts, int64_t ns) in timespec_add_ns()
67 struct timespec res; in timespec_add_ns()
76 struct timespec timespec_add(struct timespec ts1, struct timespec ts2) in timespec_add()
80 return timespec_add_ns((struct timespec){0}, ns1 + ns2); in timespec_add()
83 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub()
87 return timespec_add_ns((struct timespec){0}, ns1 - ns2); in timespec_sub()
90 struct timespec timespec_elapsed(struct timespec start) in timespec_elapsed()
92 struct timespec end; in timespec_elapsed()
98 struct timespec timespec_div(struct timespec ts, int divisor) in timespec_div()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/kvm/lib/
H A Dtest_util.c60 int64_t timespec_to_ns(struct timespec ts) in timespec_to_ns()
65 struct timespec timespec_add_ns(struct timespec ts, int64_t ns) in timespec_add_ns()
67 struct timespec res; in timespec_add_ns()
76 struct timespec timespec_add(struct timespec ts1, struct timespec ts2) in timespec_add()
80 return timespec_add_ns((struct timespec){0}, ns1 + ns2); in timespec_add()
83 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub()
87 return timespec_add_ns((struct timespec){0}, ns1 - ns2); in timespec_sub()
90 struct timespec timespec_elapsed(struct timespec start) in timespec_elapsed()
92 struct timespec end; in timespec_elapsed()
98 struct timespec timespec_div(struct timespec ts, int divisor) in timespec_div()
[all …]

12345678910>>...932