Searched refs:timeVal (Results 1 – 2 of 2) sorted by relevance
256 struct timeval timeVal = {0}; in PrintDefaultStatus() local257 gettimeofday(&timeVal, NULL); in PrintDefaultStatus()258 char *notice = timeVal.tv_sec <= YEAR_TIME_2022 ? "(please check the system time)" : ""; in PrintDefaultStatus()
70 struct timeval timeVal = {0}; in SetUpTestCase() local71 gettimeofday(&timeVal, nullptr); in SetUpTestCase()72 if (timeVal.tv_sec <= yearTimeLeast) { in SetUpTestCase()73 timeVal.tv_sec = yearTimeValid; in SetUpTestCase()74 settimeofday(&timeVal, nullptr); in SetUpTestCase()