Searched refs:ptm (Results 1 – 1 of 1) sorted by relevance
364 struct tm* ptm = localtime_r(&even, &tmResult); in setModWhen() local369 if (ptm->tm_year < 80) { in setModWhen()370 ptm->tm_year = 80; in setModWhen()371 ptm->tm_mon = 0; in setModWhen()372 ptm->tm_mday = 1; in setModWhen()373 ptm->tm_hour = 0; in setModWhen()374 ptm->tm_min = 0; in setModWhen()375 ptm->tm_sec = 0; in setModWhen()379 (ptm->tm_year - 80) << 9 | (ptm->tm_mon + 1) << 5 | ptm->tm_mday); in setModWhen()381 ptm->tm_hour << 11 | ptm->tm_min << 5 | ptm->tm_sec >> 1); in setModWhen()