Searched refs:localTM (Results 1 – 4 of 4) sorted by relevance
/external/webkit/Source/JavaScriptCore/wtf/ |
D | CurrentTime.h | 50 inline void getLocalTime(const time_t* localTime, struct tm* localTM) in getLocalTime() argument 53 *localTM = *localtime(localTime); in getLocalTime() 55 localtime_s(localTM, localTime); in getLocalTime() 57 localtime_r(localTime, localTM); in getLocalTime()
|
D | DateMath.cpp | 446 tm localTM; in calculateDSTOffsetSimple() local 447 getLocalTime(&localTime, &localTM); in calculateDSTOffsetSimple() 449 …double diff = ((localTM.tm_hour - offsetHour) * secondsPerHour) + ((localTM.tm_min - offsetMinute)… in calculateDSTOffsetSimple()
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | DateConstructor.cpp | 143 tm localTM; in callDate() local 144 getLocalTime(&localTime, &localTM); in callDate() 145 GregorianDateTime ts(exec, localTM); in callDate()
|
D | DatePrototype.cpp | 211 struct tm localTM = gdt; in formatLocaleDate() local 215 localTM.tm_year = equivalentYearForDST(year) - 1900; in formatLocaleDate() 232 size_t ret = strftime(timebuffer, bufsize, formatString, &localTM); in formatLocaleDate() 235 size_t ret = strftime(timebuffer, bufsize, formatStrings[format], &localTM); in formatLocaleDate() 246 snprintf(yearString, yearLen, "%d", localTM.tm_year + 1900); in formatLocaleDate()
|