OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:years
(Results
1 - 6
of
6
) sorted by relevancy
/src/tests/bin/date/
t_date.sh
39
years
="1 10 100 1000 10000 100000 1000000 10000000 \
42
for year in $
years
; do
46
yyy=$(date -d "$year
years
" +%Y) || continue
/src/usr.bin/quota/
printquota.c
102
time_t
years
, months, weeks, days, hours, minutes;
local
112
years
= (seconds + YEAR / 2) / YEAR;
116
if (
years
>= 2) {
117
(void)snprintf(buf, len, "%" PRId64 "
years
",
years
);
/src/lib/libc/time/
zdump.c
668
intmax_t myy, seconds,
years
;
local
679
years
= diff400 * 400;
682
years
= 1;
684
myy +=
years
;
695
years
= diff400 * 400;
698
years
= 1;
700
myy -=
years
;
localtime.c
1633
**
years
.
1634
** In non-leap
years
, or if the day number is 59 or less, just
2269
register time_t
years
;
local
2278
years
= (time_t)(seconds / SECSPERREPEAT
2280
seconds = (time_t)(
years
* AVGSECSPERYEAR);
2281
years
+= YEARSPERREPEAT;
2297
result->tm_year,
years
)
2299
result->tm_year,
years
))
2306
newy -=
years
;
2307
else newy +=
years
;
[
all
...]
/src/usr.bin/make/unit-tests/
varmod-gmtime.mk
56
# 1970. Going back 50
years
in the past is not a practical use case for
directive-for-escape.mk
41
# loop, allowing this edge case to go unnoticed for
years
.
Completed in 22 milliseconds
Indexes created Sat Feb 21 08:20:20 UTC 2026