Home
last modified time | relevance | path

Searched refs:localTM (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/JavaScriptCore/wtf/
DCurrentTime.h50 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()
DDateMath.cpp446 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/
DDateConstructor.cpp143 tm localTM; in callDate() local
144 getLocalTime(&localTime, &localTM); in callDate()
145 GregorianDateTime ts(exec, localTM); in callDate()
DDatePrototype.cpp211 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()