Lines Matching refs:epoch
869 time_t epoch = GetOSXEpoch();
870 epoch = epoch + (time_t)date_value;
871 tm *tm_date = gmtime(&epoch);
1102 // POSIX has an epoch on Jan-1-1970, but Cocoa prefers Jan-1-2001
1103 // this call gives the POSIX equivalent of the Cocoa epoch
1105 static time_t epoch = 0;
1106 if (!epoch) {
1119 epoch = timegm(&tm_epoch);
1122 return epoch;