OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:YEARSPERREPEAT
(Results
1 - 5
of
5
) sorted by relevancy
/src/include/
tzfile.h
135
#define
YEARSPERREPEAT
400
/src/lib/libc/time/
private.h
1057
YEARSPERREPEAT
= 400 /* years before a Gregorian repeat */
1065
#define AVGSECSPERYEAR (SECSPERREPEAT /
YEARSPERREPEAT
)
1078
enum { years_of_observations =
YEARSPERREPEAT
+ 2 };
zdump.c
767
int cycles = (newp->tm_year - oldy) /
YEARSPERREPEAT
;
769
int tmy = oldp->tm_year + cycles *
YEARSPERREPEAT
;
zic.c
3871
/* dayoff = floor((wantedy - y) /
YEARSPERREPEAT
) * DAYSPERREPEAT,
3873
yrem = wantedy %
YEARSPERREPEAT
- y %
YEARSPERREPEAT
;
3874
dayoff = ((wantedy /
YEARSPERREPEAT
- y /
YEARSPERREPEAT
3875
+ yrem /
YEARSPERREPEAT
- (yrem %
YEARSPERREPEAT
< 0))
3877
/* wantedy = y + ((wantedy - y) mod
YEARSPERREPEAT
), sans overflow. */
3878
wantedy = y + (yrem + 2 *
YEARSPERREPEAT
) %
YEARSPERREPEAT
;
[
all
...]
localtime.c
1362
&& EPOCH_YEAR -
YEARSPERREPEAT
/ 2 < yearbeg);
1719
*
YEARSPERREPEAT
);
1721
years +=
YEARSPERREPEAT
;
1962
+ floor((tdays + dayoff) / DAYSPERREPEAT) *
YEARSPERREPEAT
),
1964
YEARSPERREPEAT
) instead of against 1970 so that things work
1968
y = (time_t)(EPOCH_YEAR -
YEARSPERREPEAT
1972
*
YEARSPERREPEAT
));
Completed in 19 milliseconds
Indexes created Sun Oct 19 18:09:56 GMT 2025