Searched refs:g_current_time (Results 1 – 2 of 2) sorted by relevance
19 int32_t g_current_time = 0; variable22 void SetTimeInMilliseconds(int32_t time) { g_current_time = time; } in SetTimeInMilliseconds()24 int32_t TimeInMilliseconds() { return g_current_time; } in TimeInMilliseconds()
2236 static timeval g_current_time; variable2239 *out_clock = g_current_time; in CurrentTimeCallback()2321 g_current_time.tv_sec = kStartTime; in TEST_P()2347 g_current_time.tv_sec += timeout - 1; in TEST_P()2354 g_current_time.tv_sec++; in TEST_P()2361 g_current_time.tv_sec = kStartTime - 1; in TEST_P()2369 g_current_time.tv_sec = new_start_time; in TEST_P()2385 ASSERT_EQ(session_time, g_current_time.tv_sec); in TEST_P()2390 g_current_time.tv_sec = new_start_time + timeout - 1; in TEST_P()2396 g_current_time.tv_sec = new_start_time + timeout + 1; in TEST_P()[all …]