/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
mutex_duration.pass.cpp | 35 typedef std::chrono::milliseconds ms; typedef 38 ms WaitTime = ms(250); 44 ms Tolerance = ms(50); 46 ms Tolerance = ms(50 * 5); 57 assert(d < Tolerance); // within 50ms 67 assert(d < Tolerance); // within 50ms
|
mutex_time_point.pass.cpp | 35 typedef std::chrono::milliseconds ms; typedef 38 ms WaitTime = ms(250); 44 ms Tolerance = ms(50); 46 ms Tolerance = ms(50 * 5); 56 assert(d < Tolerance); // within 50ms 66 assert(d < Tolerance); // within 50ms
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
lock.pass.cpp | 32 typedef std::chrono::milliseconds ms; typedef 35 ms WaitTime = ms(250); 41 ms Tolerance = ms(25); 43 ms Tolerance = ms(25 * 5);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ |
lock.pass.cpp | 33 typedef std::chrono::milliseconds ms; typedef 36 ms WaitTime = ms(250); 42 ms Tolerance = ms(50); 44 ms Tolerance = ms(50 * 5);
|
lock_shared.pass.cpp | 34 typedef std::chrono::milliseconds ms; typedef 37 ms WaitTime = ms(250); 43 ms Tolerance = ms(50); 45 ms Tolerance = ms(50 * 5);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
lock.pass.cpp | 33 typedef std::chrono::milliseconds ms; typedef 37 ms WaitTime = ms(250); 43 ms Tolerance = ms(50); 45 ms Tolerance = ms(100); 55 ns d = t1 - t0 - ms(250); 56 assert(d < ms(50)); // within 50ms [all...] |
lock_shared.pass.cpp | 34 typedef std::chrono::milliseconds ms; typedef 38 ms WaitTime = ms(250); 44 ms Tolerance = ms(50); 46 ms Tolerance = ms(50 * 5);
|
try_lock_for.pass.cpp | 34 typedef std::chrono::milliseconds ms; typedef 38 ms WaitTime = ms(250); 44 ms Tolerance = ms(50); 46 ms Tolerance = ms(50 * 5);
|
try_lock_shared.pass.cpp | 34 typedef std::chrono::milliseconds ms; typedef 39 ms Tolerance = ms(200); 41 ms Tolerance = ms(200 * 5); 54 ns d = t1 - t0 - ms(250); 64 std::this_thread::sleep_for(ms(250));
|
try_lock_shared_for.pass.cpp | 35 typedef std::chrono::milliseconds ms; typedef 38 ms WaitTime = ms(250); 44 ms Tolerance = ms(50); 46 ms Tolerance = ms(50 * 5); 56 assert(d < Tolerance); // within 50ms 65 assert(d < Tolerance); // within 50ms
|
try_lock_shared_until.pass.cpp | 35 typedef std::chrono::milliseconds ms; typedef 38 ms WaitTime = ms(250); 44 ms Tolerance = ms(50); 46 ms Tolerance = ms(50 * 5); 56 assert(d < Tolerance); // within 50ms
|
try_lock_until.pass.cpp | 34 typedef std::chrono::milliseconds ms; typedef 38 ms WaitTime = ms(250); 44 ms Tolerance = ms(50); 46 ms Tolerance = ms(50 * 5);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/time.duration.literals/ |
literals.pass.cpp | 25 static_assert ( std::is_same<decltype( 3ms ), std::chrono::milliseconds>::value, "" ); 44 std::chrono::milliseconds ms = 247ms; local 45 assert ( ms == std::chrono::milliseconds(247)); 46 auto ms2 = 247.0ms; 47 assert ( ms == ms2 );
|
literals1.pass.cpp | 34 milliseconds ms = 247ms; local 35 assert ( ms == milliseconds(247)); 36 auto ms2 = 247.0ms; 37 assert ( ms == ms2 );
|
literals2.pass.cpp | 36 std::chrono::milliseconds ms = 247ms; local 37 assert ( ms == std::chrono::milliseconds(247)); 38 auto ms2 = 247.0ms; 39 assert ( ms == ms2 );
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
TreeMultisetTest.java | 67 Multiset<String> ms = TreeMultiset.create(); local 68 ms.add("a", 3); 69 ms.add("c", 1); 70 ms.add("b", 2); 72 assertEquals("[a x 3, b x 2, c]", ms.toString()); 76 TreeMultiset<String> ms = TreeMultiset.create(); local 77 ms.add("c", 1); 78 ms.add("a", 3); 79 ms.add("b", 2); 80 SortedSet<String> elementSet = ms.elementSet() 92 TreeMultiset<String> ms = TreeMultiset.create(); local 117 TreeMultiset<String> ms = TreeMultiset.create(); local 137 TreeMultiset<String> ms = TreeMultiset.create(); local 157 TreeMultiset<String> ms = TreeMultiset.create(); local 183 TreeMultiset<String> ms = TreeMultiset.create(comparator); local 201 TreeMultiset<String> ms = TreeMultiset.create(comparator); local 231 TreeMultiset<String> ms = TreeMultiset.create(DEGENERATE_COMPARATOR); local 257 TreeMultiset<String> ms = TreeMultiset.create(); local [all...] |
/external/libcxx/test/std/thread/futures/futures.shared_future/ |
wait_until.pass.cpp | 26 typedef std::chrono::milliseconds ms; typedef 73 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 80 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 86 assert(t1-t0 < ms(5)); 94 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 101 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 107 assert(t1-t0 < ms(5)); 115 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 122 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 128 assert(t1-t0 < ms(5)) [all...] |
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
wait_until.pass.cpp | 26 typedef std::chrono::milliseconds ms; typedef 73 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 80 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 86 assert(t1-t0 < ms(5)); 94 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 101 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 107 assert(t1-t0 < ms(5)); 115 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 122 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 128 assert(t1-t0 < ms(5)) [all...] |
/external/libopus/celt/mips/ |
vq_mipsr1.h | 45 opus_val16 ms; local 48 ms = NEG16(s); 55 *Xptr++ = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x1), ms, x2), 15)); 64 *Xptr-- = EXTRACT16(PSHR32(MAC16_16(MULT16_16(c, x1), ms, x2), 15));
|
/external/ltp/testcases/kernel/fs/fs_fill/ |
fs_fill.c | 79 unsigned int i, ms; local 85 for (ms = 0; ; ms++) { 88 if (ms >= 1000 && enospc_cnt) 99 tst_res(TPASS, "Got %i ENOSPC runtime %ims", enospc_cnt, ms);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.shared_future/ |
wait_until.pass.cpp | 26 typedef std::chrono::milliseconds ms; typedef 73 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 80 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 86 assert(t1-t0 < ms(5)); 94 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 101 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 107 assert(t1-t0 < ms(5)); 115 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 122 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 128 assert(t1-t0 < ms(5)) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.unique_future/ |
wait_until.pass.cpp | 26 typedef std::chrono::milliseconds ms; typedef 73 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 80 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 86 assert(t1-t0 < ms(5)); 94 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 101 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 107 assert(t1-t0 < ms(5)); 115 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 122 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 128 assert(t1-t0 < ms(5)) [all...] |
/art/test/155-java-set-resolved-type/src/ |
Main.java | 43 Method[] ms = tpc.getDeclaredMethods(); local 44 if (ms == null || ms.length != 1) { throw new Error("Unexpected methods"); }; 50 ms[0].getParameterTypes();
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
Timeout.java | 43 * @param initialValue initial timeout value, in ms. 45 * @param maxValue max timeout value (in ms) set by {@link #increase()}. 70 * Gets the current timeout, in ms. 72 public long ms() { method in class:Timeout 77 * Gets the max timeout, in ms. 107 Log.w(TAG, mName + " increased from " + oldValue + "ms to " + mCurrentValue + "ms at " 115 * {@link #ms()}. 132 * {@link #ms()}. 152 throw new IllegalArgumentException("need to sleep at least 1ms, right?") [all...] |
/cts/tests/tests/security/jni/ |
android_security_cts_EncryptionTest.cpp | 34 #define TEST_THRESHOLD 2000 /* ms */ 128 unsigned long ms = (unsigned long)(t / 1000000); local 130 (double)(TEST_ITERATIONS * TEST_BUFSIZE / (1024 * 1024)) * 1000.0 / ms; 132 ALOGE("EncryptionTest::aesIsFast: %u iterations in %lu ms (%.01lf MiB/s) " 133 "(threshold %u ms)", TEST_ITERATIONS, ms, speed, TEST_THRESHOLD); 135 return ms < TEST_THRESHOLD;
|