OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:YEARSPERREPEAT
(Results
1 - 5
of
5
) sorted by relevancy
/src/include/
tzfile.h
139
#define
YEARSPERREPEAT
400
/src/lib/libc/time/
private.h
1114
YEARSPERREPEAT
= 400 /* years before a Gregorian repeat */
1122
#define AVGSECSPERYEAR (SECSPERREPEAT /
YEARSPERREPEAT
)
1135
enum { years_of_observations =
YEARSPERREPEAT
+ 2 };
zdump.c
760
int cycles = (newp->tm_year - oldy) /
YEARSPERREPEAT
;
762
int tmy = oldp->tm_year + cycles *
YEARSPERREPEAT
;
zic.c
4118
/* dayoff = floor((wantedy - y) /
YEARSPERREPEAT
) * DAYSPERREPEAT,
4120
yrem = wantedy %
YEARSPERREPEAT
- y %
YEARSPERREPEAT
;
4121
dayoff = ((wantedy /
YEARSPERREPEAT
- y /
YEARSPERREPEAT
4122
+ yrem /
YEARSPERREPEAT
- (yrem %
YEARSPERREPEAT
< 0))
4124
/* wantedy = y + ((wantedy - y) mod
YEARSPERREPEAT
), sans overflow. */
4125
wantedy = y + (yrem + 2 *
YEARSPERREPEAT
) %
YEARSPERREPEAT
;
[
all
...]
localtime.c
1819
&& EPOCH_YEAR -
YEARSPERREPEAT
/ 2 < yearbeg);
2279
*
YEARSPERREPEAT
);
2281
years +=
YEARSPERREPEAT
;
2521
+ floor((tdays + dayoff) / DAYSPERREPEAT) *
YEARSPERREPEAT
),
2523
YEARSPERREPEAT
) instead of against 1970 so that things work
2527
y = (time_t)(EPOCH_YEAR -
YEARSPERREPEAT
2531
*
YEARSPERREPEAT
));
Completed in 84 milliseconds
Indexes created Mon Feb 23 16:20:21 UTC 2026