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