Lines Matching refs:result
52 *smb_gmtime_r(time_t *clock, struct tm *result);
1043 * to result.
1051 smb_gmtime_r(time_t *clock, struct tm *result)
1058 if (clock == 0 || result == 0)
1061 bzero(result, sizeof (struct tm));
1065 result->tm_wday = tsec / SECSPERDAY;
1066 result->tm_wday = (result->tm_wday + TM_THURSDAY) % DAYSPERWEEK;
1079 result->tm_year = year - TM_YEAR_BASE;
1080 result->tm_yday = tsec / SECSPERDAY;
1094 result->tm_mon = month;
1095 result->tm_mday = (tsec / SECSPERDAY) + 1;
1097 result->tm_sec = tsec % 60;
1099 result->tm_min = tsec % 60;
1101 result->tm_hour = (int)tsec;
1103 return (result);