Lines Matching refs:i32
16 tm_sec: i32,
17 tm_min: i32,
18 tm_hour: i32,
19 tm_mday: i32,
20 tm_mon: i32,
21 tm_wday: i32,
22 tm_yday: i32,
23 tm_year: i32,
85 pub fn time_to_calendar(totalsecs: PosixTimeT, offset: i32) -> CalendarTime { in time_to_calendar()
103 result.tm_hour = (rem / SECS_PER_HOUR) as i32; in time_to_calendar()
107 result.tm_min = (rem / 60) as i32; in time_to_calendar()
111 result.tm_sec = rem as i32; in time_to_calendar()
115 result.tm_wday = ((4 + days) % 7) as i32; in time_to_calendar()
125 result.tm_year = (year - 1900) as i32; in time_to_calendar()
126 result.tm_yday = days as i32; in time_to_calendar()
139 result.tm_mon = (mon - 1) as i32; in time_to_calendar()
140 result.tm_mday = (days + 1) as i32; in time_to_calendar()