Lines Matching defs:epoch
990 time_t epoch = GetOSXEpoch();
991 epoch = epoch + static_cast<time_t>(std::floor(date_value));
992 tm *tm_date = gmtime(&epoch);
1224 // POSIX has an epoch on Jan-1-1970, but Cocoa prefers Jan-1-2001
1225 // this call gives the POSIX equivalent of the Cocoa epoch
1227 static time_t epoch = 0;
1228 if (!epoch) {
1241 epoch = timegm(&tm_epoch);
1244 return epoch;