Lines Matching refs:bias
130 time_t bias; in osl_getTimeValueFromDateTime() local
137 bias = 0 - aTime.tm_gmtoff; in osl_getTimeValueFromDateTime()
141 bias = aTime.tm_isdst > 0 ? altzone : timezone; in osl_getTimeValueFromDateTime()
144 bias = aTime.tm_isdst > 0 ? timezone - 3600 : timezone; in osl_getTimeValueFromDateTime()
150 if ( nSeconds > bias ) in osl_getTimeValueFromDateTime()
151 pTimeVal->Seconds -= bias; in osl_getTimeValueFromDateTime()
168 time_t bias; in osl_getLocalTimeFromSystemTime() local
176 bias = 0 - pLocalTime->tm_gmtoff; in osl_getLocalTimeFromSystemTime()
180 bias = pLocalTime->tm_isdst > 0 ? altzone : timezone; in osl_getLocalTimeFromSystemTime()
183 bias = pLocalTime->tm_isdst > 0 ? timezone - 3600 : timezone; in osl_getLocalTimeFromSystemTime()
186 if ( (sal_Int64) pSystemTimeVal->Seconds > bias ) in osl_getLocalTimeFromSystemTime()
188 pLocalTimeVal->Seconds = pSystemTimeVal->Seconds - bias; in osl_getLocalTimeFromSystemTime()
205 time_t bias; in osl_getSystemTimeFromLocalTime() local
222 bias = 0 - pLocalTime->tm_gmtoff; in osl_getSystemTimeFromLocalTime()
226 bias = pLocalTime->tm_isdst > 0 ? altzone : timezone; in osl_getSystemTimeFromLocalTime()
229 bias = pLocalTime->tm_isdst > 0 ? timezone - 3600 : timezone; in osl_getSystemTimeFromLocalTime()
232 if ( (sal_Int64) pLocalTimeVal->Seconds + bias > 0 ) in osl_getSystemTimeFromLocalTime()
234 pSystemTimeVal->Seconds = pLocalTimeVal->Seconds + bias; in osl_getSystemTimeFromLocalTime()