/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.shared_future/ |
wait.pass.cpp | 43 typedef std::chrono::duration<double, std::milli> ms; typedef 56 assert(t1-t0 < ms(5)); 70 assert(t1-t0 < ms(5)); 84 assert(t1-t0 < ms(5));
|
wait_for.pass.cpp | 21 typedef std::chrono::milliseconds ms; typedef 25 std::this_thread::sleep_for(ms(500)); 33 std::this_thread::sleep_for(ms(500)); 40 std::this_thread::sleep_for(ms(500)); 53 assert(f.wait_for(ms(300)) == std::future_status::timeout); 55 assert(f.wait_for(ms(300)) == std::future_status::ready); 61 assert(t1-t0 < ms(5)); 69 assert(f.wait_for(ms(300)) == std::future_status::timeout); 71 assert(f.wait_for(ms(300)) == std::future_status::ready); 77 assert(t1-t0 < ms(5)) [all...] |
wait_until.pass.cpp | 21 typedef std::chrono::milliseconds ms; typedef 25 std::this_thread::sleep_for(ms(500)); 33 std::this_thread::sleep_for(ms(500)); 40 std::this_thread::sleep_for(ms(500)); 53 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); 55 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); 61 assert(t1-t0 < ms(5)); 69 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); 71 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); 77 assert(t1-t0 < ms(5)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/ |
wait.pass.cpp | 43 typedef std::chrono::duration<double, std::milli> ms; typedef 56 assert(t1-t0 < ms(5)); 70 assert(t1-t0 < ms(5)); 84 assert(t1-t0 < ms(5));
|
wait_for.pass.cpp | 21 typedef std::chrono::milliseconds ms; typedef 25 std::this_thread::sleep_for(ms(500)); 33 std::this_thread::sleep_for(ms(500)); 40 std::this_thread::sleep_for(ms(500)); 53 assert(f.wait_for(ms(300)) == std::future_status::timeout); 55 assert(f.wait_for(ms(300)) == std::future_status::ready); 61 assert(t1-t0 < ms(50)); 69 assert(f.wait_for(ms(300)) == std::future_status::timeout); 71 assert(f.wait_for(ms(300)) == std::future_status::ready); 77 assert(t1-t0 < ms(50)) [all...] |
wait_until.pass.cpp | 21 typedef std::chrono::milliseconds ms; typedef 25 std::this_thread::sleep_for(ms(500)); 33 std::this_thread::sleep_for(ms(500)); 40 std::this_thread::sleep_for(ms(500)); 53 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); 55 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); 61 assert(t1-t0 < ms(5)); 69 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); 71 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); 77 assert(t1-t0 < ms(5)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/ |
mutex.fail.cpp | 26 typedef std::chrono::milliseconds ms; typedef 37 ns d = t1 - t0 - ms(250); 38 assert(d < ns(2500000)); // within 2.5ms 45 std::this_thread::sleep_for(ms(250));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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 | 33 milliseconds ms = 247ms; local 34 assert ( ms == milliseconds(247)); 35 auto ms2 = 247.0ms; 36 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 | 25 typedef std::chrono::milliseconds ms; typedef 72 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 79 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 85 assert(t1-t0 < ms(5)); 93 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 100 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 106 assert(t1-t0 < ms(5)); 114 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 121 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 127 assert(t1-t0 < ms(5)) [all...] |
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
wait_until.pass.cpp | 25 typedef std::chrono::milliseconds ms; typedef 72 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 79 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 85 assert(t1-t0 < ms(5)); 93 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 100 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 106 assert(t1-t0 < ms(5)); 114 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); 121 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); 127 assert(t1-t0 < ms(5)) [all...] |
/cts/tests/tests/security/jni/ |
android_security_cts_EncryptionTest.cpp | 34 #define TEST_THRESHOLD 2000 /* ms */ 192 unsigned long ms = (unsigned long)(t / 1000000); local 194 (double)(TEST_ITERATIONS * TEST_BUFSIZE / (1024 * 1024)) * 1000.0 / ms; 196 ALOGE("EncryptionTest::aesIsFast: %u iterations in %lu ms (%.01lf MiB/s) " 197 "(threshold %u ms)", TEST_ITERATIONS, ms, speed, TEST_THRESHOLD); 199 return ms < TEST_THRESHOLD;
|
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
DebugHandler.java | 73 final int ms=_date.lastMs(); local 76 _print.println(d+(ms>99?".":(ms>9?".0":".00"))+ms+":"+name+" RETRY"); 78 _print.println(d+(ms>99?".":(ms>9?".0":".00"))+ms+":"+name+" "+baseRequest.getRemoteAddr()+" "+request.getMethod()+" "+baseRequest.getHeader("Cookie")+"; "+baseRequest.getHeader("User-Agent")); 107 final int ms=_date.lastMs(); local 112 _print.println(d+(ms>99?".":(ms>9?".0":".00"))+ms+":"+name+" SUSPEND") [all...] |
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/ |
IsoDate.java | 66 int ms = c.get(Calendar.MILLISECOND); local 67 buf.append((char) (((int) '0') + (ms / 100))); 68 dd(buf, ms % 100); 117 int ms = 0; local 123 ms += (d - '0') * f; 126 c.set(Calendar.MILLISECOND, ms);
|
/external/libevent/ |
iocp-internal.h | 86 long ms; member in struct:event_iocp_port
|
/external/mdnsresponder/mDNSShared/ |
PlatformCommon.c | 165 int ms = ((t < 0) ? -t : t) % 1000; local 172 fprintf(stderr,"%8d.%03d: %s\n", (int)(t/1000), ms, buffer); 199 syslog(syslog_level, "%8d.%03d: %s", (int)(t/1000), ms, buffer);
|
/external/v8/src/ |
compilation-statistics.cc | 64 double ms = stats.delta_.InMillisecondsF(); local 72 name, ms, percent, stats.total_allocated_bytes_, 92 os << " Turbonfan phase Time (ms) "
|
/external/v8/test/mjsunit/ |
to_number_order.js | 65 var ms = { valueOf: function() { x += 7; return 999; } }; 68 new Date(year, month, date, hours, minutes, seconds, ms); 73 Date(year, month, date, hours, minutes, seconds, ms); 77 Date.UTC(year, month, date, hours, minutes, seconds, ms); 82 new Date().setSeconds(seconds, ms); 86 new Date().setSeconds(seconds, ms); 90 new Date().setUTCSeconds(seconds, ms); 94 new Date().setMinutes(minutes, seconds, ms); 98 new Date().setUTCMinutes(minutes, seconds, ms); 102 new Date().setHours(hours, minutes, seconds, ms); [all...] |
/external/v8/test/webkit/ |
date-constructor.js | 83 var ms = { valueOf: function() { testStr += 7; return 999; } }; 86 new Date(year, month, date, hours, minutes, seconds, ms); 90 Date.UTC(year, month, date, hours, minutes, seconds, ms);
|
/frameworks/base/services/core/java/com/android/server/ |
MountServiceIdler.java | 70 MountService ms = MountService.sSelf; local 71 if (ms != null) { 75 ms.runIdleMaintenance(mFinishCallback); 77 return ms != null;
|
/hardware/akm/AK8975_FS/libsensors/ |
KionixSensor.cpp | 127 int ms; local 136 ms = delay_ns / 1000000; 137 if (ioctl(dev_fd, KIONIX_IOCTL_UPDATE_ODR, &ms)) {
|
/hardware/bsp/intel/peripheral/libupm/src/st7735/ |
st7735.cxx | 97 uint16_t ms; local 103 ms = numArgs & DELAY; // If hibit set, delay follows args 109 if(ms) { 110 ms = *(addr++); // Read post-command delay time (ms) 111 if (ms == 255) { 112 ms = 500; // If 255, delay for 500 ms 114 usleep (ms * 1000);
|
/system/bt/btif/src/ |
btif_debug_conn.c | 41 const uint64_t ms = ts / 1000; local 42 const time_t secs = ms / 1000; 47 snprintf(buffer, len, "%s.%03u", tempbuff, (uint16_t)(ms % 1000));
|