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
141
#define
YEARSPERREPEAT
400
/src/lib/libc/time/
private.h
1129
YEARSPERREPEAT
= 400 /* years before a Gregorian repeat */
1137
#define AVGSECSPERYEAR (SECSPERREPEAT /
YEARSPERREPEAT
)
1150
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
4167
/* dayoff = floor((wantedy - y) /
YEARSPERREPEAT
) * DAYSPERREPEAT,
4169
yrem = wantedy %
YEARSPERREPEAT
- y %
YEARSPERREPEAT
;
4170
dayoff = ((wantedy /
YEARSPERREPEAT
- y /
YEARSPERREPEAT
4171
+ yrem /
YEARSPERREPEAT
- (yrem %
YEARSPERREPEAT
< 0))
4173
/* wantedy = y + ((wantedy - y) mod
YEARSPERREPEAT
), sans overflow. */
4174
wantedy = y + (yrem + 2 *
YEARSPERREPEAT
) %
YEARSPERREPEAT
;
[
all
...]
localtime.c
1843
&& EPOCH_YEAR -
YEARSPERREPEAT
/ 2 < yearbeg);
2229
*
YEARSPERREPEAT
);
2231
years +=
YEARSPERREPEAT
;
2500
+ floor((tdays + dayoff) / DAYSPERREPEAT) *
YEARSPERREPEAT
),
2502
YEARSPERREPEAT
) instead of against 1970 so that things work
2506
y = (time_t)(EPOCH_YEAR -
YEARSPERREPEAT
2510
*
YEARSPERREPEAT
));
Completed in 28 milliseconds
Indexes created Fri Jun 19 00:25:02 UTC 2026