OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:WaitTime
(Results
1 - 25
of
29
) sorted by null
1
2
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
try_lock_for.pass.cpp
38
ms
WaitTime
= ms(250);
52
assert(m.try_lock_for(
WaitTime
+ Tolerance) == true);
55
ns d = t1 - t0 -
WaitTime
;
62
assert(m.try_lock_for(
WaitTime
) == false);
64
ns d = t1 - t0 -
WaitTime
;
73
std::this_thread::sleep_for(
WaitTime
);
80
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
try_lock_until.pass.cpp
38
ms
WaitTime
= ms(250);
52
assert(m.try_lock_until(Clock::now() +
WaitTime
+ Tolerance) == true);
55
ns d = t1 - t0 -
WaitTime
;
62
assert(m.try_lock_until(Clock::now() +
WaitTime
) == false);
64
ns d = t1 - t0 -
WaitTime
;
73
std::this_thread::sleep_for(
WaitTime
);
80
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
try_lock_shared_for.pass.cpp
38
ms
WaitTime
= ms(250);
52
assert(m.try_lock_shared_for(
WaitTime
+ Tolerance) == true);
55
ns d = t1 - t0 -
WaitTime
;
62
assert(m.try_lock_shared_for(
WaitTime
) == false);
64
ns d = t1 - t0 -
WaitTime
;
75
std::this_thread::sleep_for(
WaitTime
);
85
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
try_lock_shared_until.pass.cpp
38
ms
WaitTime
= ms(250);
52
assert(m.try_lock_shared_until(Clock::now() +
WaitTime
+ Tolerance) == true);
55
ns d = t1 - t0 -
WaitTime
;
62
assert(m.try_lock_shared_until(Clock::now() +
WaitTime
) == false);
64
ns d = t1 - t0 -
WaitTime
;
75
std::this_thread::sleep_for(
WaitTime
);
85
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
lock_shared.pass.cpp
38
ms
WaitTime
= ms(250);
56
ns d = t1 - t0 -
WaitTime
;
77
std::this_thread::sleep_for(
WaitTime
);
85
std::this_thread::sleep_for(
WaitTime
);
lock.pass.cpp
37
ms
WaitTime
= ms(250);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
try_lock_for.pass.cpp
36
ms
WaitTime
= ms(250);
50
assert(m.try_lock_for(
WaitTime
+ Tolerance) == true);
53
ns d = t1 - t0 -
WaitTime
;
60
assert(m.try_lock_for(
WaitTime
) == false);
62
ns d = t1 - t0 -
WaitTime
;
71
std::this_thread::sleep_for(
WaitTime
);
78
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
try_lock_until.pass.cpp
36
ms
WaitTime
= ms(250);
50
assert(m.try_lock_until(Clock::now() +
WaitTime
+ Tolerance) == true);
53
ns d = t1 - t0 -
WaitTime
;
60
assert(m.try_lock_until(Clock::now() +
WaitTime
) == false);
62
ns d = t1 - t0 -
WaitTime
;
71
std::this_thread::sleep_for(
WaitTime
);
78
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
try_lock_shared_for.pass.cpp
36
ms
WaitTime
= ms(250);
50
assert(m.try_lock_shared_for(
WaitTime
+ Tolerance) == true);
53
ns d = t1 - t0 -
WaitTime
;
60
assert(m.try_lock_shared_for(
WaitTime
) == false);
62
ns d = t1 - t0 -
WaitTime
;
73
std::this_thread::sleep_for(
WaitTime
);
83
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
try_lock_shared_until.pass.cpp
36
ms
WaitTime
= ms(250);
50
assert(m.try_lock_shared_until(Clock::now() +
WaitTime
+ Tolerance) == true);
53
ns d = t1 - t0 -
WaitTime
;
60
assert(m.try_lock_shared_until(Clock::now() +
WaitTime
) == false);
62
ns d = t1 - t0 -
WaitTime
;
73
std::this_thread::sleep_for(
WaitTime
);
83
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
lock_shared.pass.cpp
36
ms
WaitTime
= ms(250);
54
ns d = t1 - t0 -
WaitTime
;
75
std::this_thread::sleep_for(
WaitTime
);
83
std::this_thread::sleep_for(
WaitTime
);
lock.pass.cpp
35
ms
WaitTime
= ms(250);
/device/linaro/bootloader/edk2/SecurityPkg/Library/TpmCommLib/
TisPc.c
57
UINT32
WaitTime
;
59
for (
WaitTime
= 0;
WaitTime
< TimeOut;
WaitTime
+= 30){
86
UINT32
WaitTime
;
94
WaitTime
= 0;
107
WaitTime
+= 30;
108
} while (
WaitTime
< TIS_TIMEOUT_D);
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex_duration.pass.cpp
38
ms
WaitTime
= ms(250);
53
std::shared_lock<std::shared_timed_mutex> lk(m,
WaitTime
+ Tolerance);
56
ns d = t1 - t0 -
WaitTime
;
63
std::shared_lock<std::shared_timed_mutex> lk(m,
WaitTime
);
66
ns d = t1 - t0 -
WaitTime
;
77
std::this_thread::sleep_for(
WaitTime
);
87
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
mutex_time_point.pass.cpp
38
ms
WaitTime
= ms(250);
52
std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() +
WaitTime
+ Tolerance);
55
ns d = t1 - t0 -
WaitTime
;
62
std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() +
WaitTime
);
65
ns d = t1 - t0 -
WaitTime
;
76
std::this_thread::sleep_for(
WaitTime
);
86
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
mutex.pass.cpp
35
ms
WaitTime
= ms(250);
56
ns d = t1 - t0 -
WaitTime
;
79
std::this_thread::sleep_for(
WaitTime
);
89
std::this_thread::sleep_for(
WaitTime
);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex_duration.pass.cpp
36
ms
WaitTime
= ms(250);
51
std::shared_lock<std::shared_timed_mutex> lk(m,
WaitTime
+ Tolerance);
54
ns d = t1 - t0 -
WaitTime
;
61
std::shared_lock<std::shared_timed_mutex> lk(m,
WaitTime
);
64
ns d = t1 - t0 -
WaitTime
;
75
std::this_thread::sleep_for(
WaitTime
);
85
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
mutex_time_point.pass.cpp
36
ms
WaitTime
= ms(250);
50
std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() +
WaitTime
+ Tolerance);
53
ns d = t1 - t0 -
WaitTime
;
60
std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() +
WaitTime
);
63
ns d = t1 - t0 -
WaitTime
;
74
std::this_thread::sleep_for(
WaitTime
);
84
std::this_thread::sleep_for(
WaitTime
+ Tolerance);
mutex.pass.cpp
33
ms
WaitTime
= ms(250);
54
ns d = t1 - t0 -
WaitTime
;
77
std::this_thread::sleep_for(
WaitTime
);
87
std::this_thread::sleep_for(
WaitTime
);
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
lock.pass.cpp
36
ms
WaitTime
= ms(250);
53
ns d = t1 - t0 -
WaitTime
;
61
std::this_thread::sleep_for(
WaitTime
);
lock_shared.pass.cpp
37
ms
WaitTime
= ms(250);
54
ns d = t1 - t0 -
WaitTime
;
75
std::this_thread::sleep_for(
WaitTime
);
83
std::this_thread::sleep_for(
WaitTime
);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
lock.pass.cpp
34
ms
WaitTime
= ms(250);
51
ns d = t1 - t0 -
WaitTime
;
59
std::this_thread::sleep_for(
WaitTime
);
lock_shared.pass.cpp
35
ms
WaitTime
= ms(250);
52
ns d = t1 - t0 -
WaitTime
;
73
std::this_thread::sleep_for(
WaitTime
);
81
std::this_thread::sleep_for(
WaitTime
);
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
lock.pass.cpp
35
ms
WaitTime
= ms(250);
54
ns d = t1 - t0 -
WaitTime
;
88
std::this_thread::sleep_for(
WaitTime
);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
lock.pass.cpp
36
ms
WaitTime
= ms(250);
55
ns d = t1 - t0 -
WaitTime
;
85
std::this_thread::sleep_for(
WaitTime
);
Completed in 245 milliseconds
1
2