OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ms
(Results
51 - 75
of
429
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
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);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/
notify_all_at_thread_exit.pass.cpp
24
typedef std::chrono::milliseconds
ms
;
typedef
31
std::this_thread::sleep_for(
ms
(300));
41
assert(t1-t0 >
ms
(250));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/
adopt_lock.pass.cpp
26
typedef std::chrono::milliseconds
ms
;
typedef
38
ns d = t1 - t0 -
ms
(250);
39
assert(d <
ms
(50)); // within 50
ms
46
std::this_thread::sleep_for(
ms
(250));
mutex.pass.cpp
26
typedef std::chrono::milliseconds
ms
;
typedef
37
ns d = t1 - t0 -
ms
(250);
38
assert(d <
ms
(200)); // within 200
ms
45
std::this_thread::sleep_for(
ms
(250));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
40
ns d = t1 - t0 -
ms
(250);
41
assert(d <
ms
(50)); // within 50
ms
53
assert(d <
ms
(50)); // within 50
ms
65
std::this_thread::sleep_for(
ms
(250));
73
std::this_thread::sleep_for(
ms
(250));
mutex_duration.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
36
std::shared_lock<std::shared_timed_mutex> lk(m,
ms
(300));
39
ns d = t1 - t0 -
ms
(250);
40
assert(d <
ms
(50)); // within 50
ms
46
std::shared_lock<std::shared_timed_mutex> lk(m,
ms
(250));
49
ns d = t1 - t0 -
ms
(250);
50
assert(d <
ms
(50)); // within 50
ms
63
std::this_thread::sleep_for(
ms
(250))
[
all
...]
mutex_time_point.pass.cpp
30
typedef std::chrono::milliseconds
ms
;
typedef
36
std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() +
ms
(300));
39
ns d = t1 - t0 -
ms
(250);
40
assert(d < ns(50000000)); // within 50
ms
46
std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() +
ms
(250));
49
ns d = t1 - t0 -
ms
(250);
50
assert(d <
ms
(50)); // within 50
ms
63
std::this_thread::sleep_for(
ms
(250));
73
std::this_thread::sleep_for(
ms
(300))
[
all
...]
mutex_try_to_lock.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
54
ns d = t1 - t0 -
ms
(250);
55
assert(d <
ms
(200)); // within 200
ms
67
std::this_thread::sleep_for(
ms
(250));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
lock.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
39
ns d = t1 - t0 -
ms
(250);
40
assert(d <
ms
(25)); // within 25
ms
72
std::this_thread::sleep_for(
ms
(250));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
mutex.pass.cpp
26
typedef std::chrono::milliseconds
ms
;
typedef
37
ns d = t1 - t0 -
ms
(250);
38
assert(d <
ms
(50)); // within 50
ms
45
std::this_thread::sleep_for(
ms
(250));
mutex_duration.pass.cpp
27
typedef std::chrono::milliseconds
ms
;
typedef
33
std::unique_lock<std::timed_mutex> lk(m,
ms
(300));
36
ns d = t1 - t0 -
ms
(250);
37
assert(d <
ms
(50)); // within 50
ms
43
std::unique_lock<std::timed_mutex> lk(m,
ms
(250));
46
ns d = t1 - t0 -
ms
(250);
47
assert(d <
ms
(50)); // within 50
ms
55
std::this_thread::sleep_for(
ms
(250))
[
all
...]
mutex_time_point.pass.cpp
27
typedef std::chrono::milliseconds
ms
;
typedef
33
std::unique_lock<std::timed_mutex> lk(m, Clock::now() +
ms
(300));
36
ns d = t1 - t0 -
ms
(250);
37
assert(d < ns(50000000)); // within 50
ms
43
std::unique_lock<std::timed_mutex> lk(m, Clock::now() +
ms
(250));
46
ns d = t1 - t0 -
ms
(250);
47
assert(d <
ms
(50)); // within 50
ms
55
std::this_thread::sleep_for(
ms
(250));
62
std::this_thread::sleep_for(
ms
(300))
[
all
...]
mutex_try_to_lock.pass.cpp
26
typedef std::chrono::milliseconds
ms
;
typedef
51
ns d = t1 - t0 -
ms
(250);
52
assert(d <
ms
(200)); // within 200
ms
59
std::this_thread::sleep_for(
ms
(250));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
lock.pass.cpp
26
typedef std::chrono::milliseconds
ms
;
typedef
36
ns d = t1 - t0 -
ms
(250);
37
assert(d <
ms
(25)); // within 25
ms
64
std::this_thread::sleep_for(
ms
(250));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
37
ns d = t1 - t0 -
ms
(250);
38
assert(d <
ms
(50)); // within 50
ms
45
std::this_thread::sleep_for(
ms
(250));
try_lock.pass.cpp
26
typedef std::chrono::milliseconds
ms
;
typedef
39
ns d = t1 - t0 -
ms
(250);
40
assert(d <
ms
(200)); // within 200
ms
47
std::this_thread::sleep_for(
ms
(250));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
39
ns d = t1 - t0 -
ms
(250);
40
assert(d <
ms
(200)); // within 200
ms
47
std::this_thread::sleep_for(
ms
(250));
try_lock.pass.cpp
26
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));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
lock.pass.cpp
28
typedef std::chrono::milliseconds
ms
;
typedef
37
ns d = t1 - t0 -
ms
(250);
38
assert(d <
ms
(50)); // within 50
ms
48
std::this_thread::sleep_for(
ms
(250));
lock_shared.pass.cpp
29
typedef std::chrono::milliseconds
ms
;
typedef
38
ns d = t1 - t0 -
ms
(250);
39
assert(d <
ms
(50)); // within 50
ms
49
assert(d <
ms
(50)); // within 50
ms
61
std::this_thread::sleep_for(
ms
(250));
69
std::this_thread::sleep_for(
ms
(250));
Completed in 425 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>