Lines Matching refs:bias
129 time_t bias; in osl_getTimeValueFromDateTime() local
136 bias = 0 - aTime.tm_gmtoff; in osl_getTimeValueFromDateTime()
140 bias = aTime.tm_isdst > 0 ? altzone : timezone; in osl_getTimeValueFromDateTime()
143 bias = aTime.tm_isdst > 0 ? timezone - 3600 : timezone; in osl_getTimeValueFromDateTime()
149 if ( nSeconds > bias ) in osl_getTimeValueFromDateTime()
150 pTimeVal->Seconds -= bias; in osl_getTimeValueFromDateTime()
167 time_t bias; in osl_getLocalTimeFromSystemTime() local
175 bias = 0 - pLocalTime->tm_gmtoff; in osl_getLocalTimeFromSystemTime()
179 bias = pLocalTime->tm_isdst > 0 ? altzone : timezone; in osl_getLocalTimeFromSystemTime()
182 bias = pLocalTime->tm_isdst > 0 ? timezone - 3600 : timezone; in osl_getLocalTimeFromSystemTime()
185 if ( (sal_Int64) pSystemTimeVal->Seconds > bias ) in osl_getLocalTimeFromSystemTime()
187 pLocalTimeVal->Seconds = pSystemTimeVal->Seconds - bias; in osl_getLocalTimeFromSystemTime()
204 time_t bias; in osl_getSystemTimeFromLocalTime() local
221 bias = 0 - pLocalTime->tm_gmtoff; in osl_getSystemTimeFromLocalTime()
225 bias = pLocalTime->tm_isdst > 0 ? altzone : timezone; in osl_getSystemTimeFromLocalTime()
228 bias = pLocalTime->tm_isdst > 0 ? timezone - 3600 : timezone; in osl_getSystemTimeFromLocalTime()
231 if ( (sal_Int64) pLocalTimeVal->Seconds + bias > 0 ) in osl_getSystemTimeFromLocalTime()
233 pSystemTimeVal->Seconds = pLocalTimeVal->Seconds + bias; in osl_getSystemTimeFromLocalTime()