Home
last modified time | relevance | path

Searched refs:bias (Results 1 – 3 of 3) sorted by relevance

/trunk/main/sal/osl/os2/
H A Dtime.c130 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()
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()
186 if ( (sal_Int64) pSystemTimeVal->Seconds > bias ) in osl_getLocalTimeFromSystemTime()
205 time_t bias; in osl_getSystemTimeFromLocalTime() local
222 bias = 0 - pLocalTime->tm_gmtoff; in osl_getSystemTimeFromLocalTime()
[all …]
/trunk/main/sal/osl/unx/
H A Dtime.c129 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()
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()
185 if ( (sal_Int64) pSystemTimeVal->Seconds > bias ) in osl_getLocalTimeFromSystemTime()
204 time_t bias; in osl_getSystemTimeFromLocalTime() local
221 bias = 0 - pLocalTime->tm_gmtoff; in osl_getSystemTimeFromLocalTime()
[all …]
/trunk/main/sal/osl/w32/
H A Dtime.c137 sal_Int64 bias; in osl_getLocalTimeFromSystemTime() local
142 bias=aTimeZoneInformation.Bias; in osl_getLocalTimeFromSystemTime()
146 bias+=aTimeZoneInformation.DaylightBias; in osl_getLocalTimeFromSystemTime()
148 if ( (sal_Int64) pSystemTimeVal->Seconds > ( bias * 60 ) ) in osl_getLocalTimeFromSystemTime()
150 pLocalTimeVal->Seconds = (sal_uInt32) (pSystemTimeVal->Seconds - ( bias * 60) ); in osl_getLocalTimeFromSystemTime()
168 sal_Int64 bias; in osl_getSystemTimeFromLocalTime() local
173 bias=aTimeZoneInformation.Bias; in osl_getSystemTimeFromLocalTime()
177 bias+=aTimeZoneInformation.DaylightBias; in osl_getSystemTimeFromLocalTime()
179 if ( (sal_Int64) pLocalTimeVal->Seconds + ( bias * 60 ) > 0 ) in osl_getSystemTimeFromLocalTime()
181 pSystemTimeVal->Seconds = (sal_uInt32) ( pLocalTimeVal->Seconds + ( bias * 60) ); in osl_getSystemTimeFromLocalTime()

Completed in 11 milliseconds