Lines Matching refs:result
47 void time64_to_tm(time64_t totalsecs, int offset, struct tm *result) in time64_to_tm() argument
67 result->tm_hour = rem / SECS_PER_HOUR; in time64_to_tm()
69 result->tm_min = rem / 60; in time64_to_tm()
70 result->tm_sec = rem % 60; in time64_to_tm()
73 result->tm_wday = (4 + days) % 7; in time64_to_tm()
74 if (result->tm_wday < 0) in time64_to_tm()
75 result->tm_wday += 7; in time64_to_tm()
136 result->tm_year = (long) (year - 1900); in time64_to_tm()
137 result->tm_mon = (int) month; in time64_to_tm()
138 result->tm_mday = (int) day; in time64_to_tm()
139 result->tm_yday = (int) day_of_year; in time64_to_tm()