OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:relyear
(Results
1 - 2
of
2
) sorted by null
/bionic/libc/tzcode/
strptime.c
94
int
relyear
;
member in struct:century_relyear
106
cr.
relyear
= -1;
364
cr->
relyear
= -1;
370
if (!(_conv_num(&bp, &cr->
relyear
, 0, 99)))
396
if (cr->
relyear
!= -1) {
398
if (cr->
relyear
<= 68)
399
tm->tm_year = cr->
relyear
+ 2000 - TM_YEAR_BASE;
401
tm->tm_year = cr->
relyear
+ 1900 - TM_YEAR_BASE;
403
tm->tm_year = cr->
relyear
+ cr->century - TM_YEAR_BASE;
/external/openssh/openbsd-compat/
strptime.c
73
static int century,
relyear
;
local
77
relyear
= -1;
330
relyear
= -1;
336
if (!(_conv_num(&bp, &
relyear
, 0, 99)))
362
if (
relyear
!= -1) {
364
if (
relyear
<= 68)
365
tm->tm_year =
relyear
+ 2000 - TM_YEAR_BASE;
367
tm->tm_year =
relyear
+ 1900 - TM_YEAR_BASE;
369
tm->tm_year =
relyear
+ century - TM_YEAR_BASE;
Completed in 23 milliseconds