OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ms
(Results
26 - 50
of
558
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
mutex_duration.pass.cpp
31
typedef std::chrono::milliseconds
ms
;
typedef
37
std::unique_lock<std::timed_mutex> lk(m,
ms
(300));
40
ns d = t1 - t0 -
ms
(250);
41
assert(d <
ms
(50)); // within 50
ms
47
std::unique_lock<std::timed_mutex> lk(m,
ms
(250));
50
ns d = t1 - t0 -
ms
(250);
51
assert(d <
ms
(50)); // within 50
ms
59
std::this_thread::sleep_for(
ms
(250))
[
all
...]
mutex_time_point.pass.cpp
31
typedef std::chrono::milliseconds
ms
;
typedef
37
std::unique_lock<std::timed_mutex> lk(m, Clock::now() +
ms
(300));
40
ns d = t1 - t0 -
ms
(250);
41
assert(d < ns(50000000)); // within 50
ms
47
std::unique_lock<std::timed_mutex> lk(m, Clock::now() +
ms
(250));
50
ns d = t1 - t0 -
ms
(250);
51
assert(d <
ms
(50)); // within 50
ms
59
std::this_thread::sleep_for(
ms
(250));
66
std::this_thread::sleep_for(
ms
(300))
[
all
...]
mutex_try_to_lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
53
ns d = t1 - t0 -
ms
(250);
54
assert(d <
ms
(200)); // within 200
ms
61
std::this_thread::sleep_for(
ms
(250));
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
lock.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
40
ns d = t1 - t0 -
ms
(250);
41
assert(d <
ms
(25)); // within 25
ms
72
std::this_thread::sleep_for(
ms
(250));
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
lock.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
39
ns d = t1 - t0 -
ms
(250);
40
assert(d <
ms
(50)); // within 50
ms
47
std::this_thread::sleep_for(
ms
(250));
try_lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
41
ns d = t1 - t0 -
ms
(250);
42
assert(d <
ms
(200)); // within 200
ms
49
std::this_thread::sleep_for(
ms
(250));
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
lock.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
41
ns d = t1 - t0 -
ms
(250);
42
assert(d <
ms
(200)); // within 200
ms
49
std::this_thread::sleep_for(
ms
(250));
try_lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
43
ns d = t1 - t0 -
ms
(250);
44
assert(d <
ms
(200)); // within 200
ms
51
std::this_thread::sleep_for(
ms
(250));
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
try_lock.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
42
ns d = t1 - t0 -
ms
(250);
43
assert(d <
ms
(200)); // within 200
ms
50
std::this_thread::sleep_for(
ms
(250));
try_lock_shared.pass.cpp
32
typedef std::chrono::milliseconds
ms
;
typedef
45
ns d = t1 - t0 -
ms
(250);
46
assert(d <
ms
(200)); // within 200
ms
56
std::this_thread::sleep_for(
ms
(250));
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
try_lock.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
42
ns d = t1 - t0 -
ms
(250);
43
assert(d <
ms
(200)); // within 200
ms
50
std::this_thread::sleep_for(
ms
(250));
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
lock.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
39
ns d = t1 - t0 -
ms
(250);
40
assert(d <
ms
(50)); // within 50
ms
47
std::this_thread::sleep_for(
ms
(250));
try_lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
41
ns d = t1 - t0 -
ms
(250);
42
assert(d <
ms
(200)); // within 200
ms
49
std::this_thread::sleep_for(
ms
(250));
try_lock_for.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
35
assert(m.try_lock_for(
ms
(300)) == true);
38
ns d = t1 - t0 -
ms
(250);
39
assert(d <
ms
(50)); // within 50
ms
45
assert(m.try_lock_for(
ms
(250)) == false);
47
ns d = t1 - t0 -
ms
(250);
48
assert(d <
ms
(50)); // within 50
ms
56
std::this_thread::sleep_for(
ms
(250))
[
all
...]
try_lock_until.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
35
assert(m.try_lock_until(Clock::now() +
ms
(300)) == true);
38
ns d = t1 - t0 -
ms
(250);
39
assert(d <
ms
(50)); // within 50
ms
45
assert(m.try_lock_until(Clock::now() +
ms
(250)) == false);
47
ns d = t1 - t0 -
ms
(250);
48
assert(d <
ms
(50)); // within 50
ms
56
std::this_thread::sleep_for(
ms
(250))
[
all
...]
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
lock.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
41
ns d = t1 - t0 -
ms
(250);
42
assert(d <
ms
(50)); // within 50
ms
49
std::this_thread::sleep_for(
ms
(250));
try_lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
43
ns d = t1 - t0 -
ms
(250);
44
assert(d <
ms
(200)); // within 200
ms
51
std::this_thread::sleep_for(
ms
(250));
try_lock_for.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
35
assert(m.try_lock_for(
ms
(300)) == true);
40
ns d = t1 - t0 -
ms
(250);
41
assert(d < ns(50000000)); // within 50
ms
47
assert(m.try_lock_for(
ms
(250)) == false);
49
ns d = t1 - t0 -
ms
(250);
50
assert(d < ns(50000000)); // within 50
ms
58
std::this_thread::sleep_for(
ms
(250));
65
std::this_thread::sleep_for(
ms
(300));
try_lock_until.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
35
assert(m.try_lock_until(Clock::now() +
ms
(300)) == true);
40
ns d = t1 - t0 -
ms
(250);
41
assert(d <
ms
(50)); // within 50
ms
47
assert(m.try_lock_until(Clock::now() +
ms
(250)) == false);
49
ns d = t1 - t0 -
ms
(250);
50
assert(d <
ms
(50)); // within 50
ms
58
std::this_thread::sleep_for(
ms
(250))
[
all
...]
/external/webrtc/webrtc/base/
event.cc
50
DWORD
ms
= (milliseconds == kForever) ? INFINITE : milliseconds;
local
51
return (WaitForSingleObject(event_handle_,
ms
) == WAIT_OBJECT_0);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.async/
async_race.pass.cpp
33
typedef std::chrono::milliseconds
ms
;
typedef
34
std::this_thread::sleep_for(
ms
(200));
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.condition/
notify_all_at_thread_exit.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
37
std::this_thread::sleep_for(
ms
(300));
47
assert(t1-t0 >
ms
(250));
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/
adopt_lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
40
ns d = t1 - t0 -
ms
(250);
41
assert(d <
ms
(50)); // within 50
ms
48
std::this_thread::sleep_for(
ms
(250));
mutex.pass.cpp
33
typedef std::chrono::milliseconds
ms
;
typedef
44
ns d = t1 - t0 -
ms
(250);
45
assert(d <
ms
(200)); // within 200
ms
52
std::this_thread::sleep_for(
ms
(250));
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex_try_to_lock.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
55
ns d = t1 - t0 -
ms
(250);
56
assert(d <
ms
(200)); // within 200
ms
65
std::this_thread::sleep_for(
ms
(250));
Completed in 148 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>