Lines Matching defs:ts
296 struct timespec ts = {0};
298 GetDelayedTime(&ts, 100);
299 EXPECT_EQ(pthread_rwlock_timedrdlock(&g_rwlock7, &ts), 0) << "> return errno";
342 struct timespec ts = {0};
345 GetDelayedTime(&ts, 100);
346 EXPECT_EQ(pthread_rwlock_timedrdlock(&g_rwlock8, &ts), ETIMEDOUT) << "> return errno";
349 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different
392 struct timespec ts = {0};
395 GetDelayedTime(&ts, 100);
396 EXPECT_EQ(pthread_rwlock_timedwrlock(&g_rwlock9, &ts), ETIMEDOUT) << "> return errno";
399 int timeDiff = GetTimeDiff(tsNow, ts); // calculate time different
440 struct timespec ts = {0};
442 GetDelayedTime(&ts, 100);
443 EXPECT_EQ(pthread_rwlock_timedwrlock(&g_rwlockA, &ts), 0) << "> return errno";