/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cons/ |
convert_inexact.fail.cpp | 24 std::chrono::milliseconds ms = us; local
|
convert_inexact.pass.cpp | 26 std::chrono::duration<double, std::milli> ms = us; local 27 assert(ms.count() == 1./1000); 32 constexpr std::chrono::duration<double, std::milli> ms = us; local 33 static_assert(ms.count() == 1./1000, "");
|
/external/clang/test/Index/Inputs/ |
t2.c | 9 struct MyStruct *ms; local 10 ms->field_var = 10;
|
t1.c | 24 struct MyStruct ms; local 25 ms.field_var = 10;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
try_lock_until.pass.cpp | 27 typedef std::chrono::milliseconds ms; typedef 28 assert(Clock::now() - abs_time < ms(5));
|
try_lock_for.pass.cpp | 22 typedef std::chrono::milliseconds ms; typedef 29 assert(rel_time == ms(5)); 41 assert(lk.try_lock_for(ms(5)) == true); 46 lk.try_lock_for(ms(5)); 54 assert(lk.try_lock_for(ms(5)) == false); 60 lk.try_lock_for(ms(5));
|
lock.pass.cpp | 26 typedef std::chrono::milliseconds ms; typedef 36 ns d = t1 - t0 - ms(250); 37 assert(d < ms(25)); // within 25ms 64 std::this_thread::sleep_for(ms(250));
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
GetAllocationTest.java | 33 ScriptC_get_allocation ms = local 40 ms.bind_pointer(mTemp); 41 ms.set_script(ms); 42 ms.set_alloc_out(mOut); 43 ms.invoke_start();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
EnumMultisetTest.java | 43 Multiset<Color> ms = EnumMultiset.create(Color.class); local 44 ms.add(Color.RED); 45 ms.add(Color.YELLOW); 46 ms.add(Color.RED); 47 assertEquals(0, ms.count(Color.BLUE)); 48 assertEquals(1, ms.count(Color.YELLOW)); 49 assertEquals(2, ms.count(Color.RED)); 53 Multiset<Color> ms = EnumMultiset.create( local 55 assertEquals(0, ms.count(Color.BLUE)); 56 assertEquals(1, ms.count(Color.YELLOW)) 69 Multiset<Color> ms = EnumMultiset.create(Color.class); local 78 Multiset<Color> ms = EnumMultiset.create( local 84 Multiset<Color> ms = EnumMultiset.create(Color.class); local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
event.cc | 85 DWORD ms = (cms == kForever)? INFINITE : cms; local 90 return (WaitForSingleObject(event_handle_, ms) == WAIT_OBJECT_0);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
mount_node_pipe.cc | 35 int ms = attr.IsBlocking() ? read_timeout_ : 0; local 38 Error err = wait.WaitOnEvent(POLLIN, ms); 50 int ms = attr.IsBlocking() ? write_timeout_ : 0; local 53 Error err = wait.WaitOnEvent(POLLOUT, ms);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
event.cc | 67 DWORD ms = (cms == kForever)? INFINITE : cms; local 68 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 50ms 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 200ms 45 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 50ms 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 50ms 43 std::unique_lock<std::timed_mutex> lk(m, ms(250)); 46 ns d = t1 - t0 - ms(250); 47 assert(d < ms(50)); // within 50ms 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 50ms 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 50ms 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 200ms 59 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 50ms 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 200ms 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 200ms 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 200ms 49 std::this_thread::sleep_for(ms(250));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
lock.pass.cpp | 28 typedef std::chrono::milliseconds ms; typedef 37 ns d = t1 - t0 - ms(250); 38 assert(d < ms(50)); // within 50ms 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 200ms 47 std::this_thread::sleep_for(ms(250));
|