Searched refs:ms (Results 26 - 50 of 526) sorted by relevance

1234567891011>>

/external/libcxx/test/thread/thread.threads/thread.thread.this/
H A Dsleep_until.pass.cpp24 std::chrono::milliseconds ms(500);
26 std::this_thread::sleep_until(t0 + ms);
28 std::chrono::nanoseconds ns = (t1 - t0) - ms;
29 std::chrono::nanoseconds err = 5 * ms / 100;
30 // The time slept is within 5% of 500ms
/external/libcxx/test/utilities/time/time.duration/time.duration.cons/
H A Dconvert_inexact.fail.cpp24 std::chrono::milliseconds ms = us; local
/external/chromium_org/tools/traceline/traceline/scripts/
H A Dalloc.py15 delta = e['done'] - e['ms']
17 ms = e['ms']
19 delta, ms, tid)
/external/clang/test/Index/Inputs/
H A Dt1.c24 struct MyStruct ms; local
25 ms.field_var = 10;
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
H A Dmutex_time_point.pass.cpp27 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(30
[all...]
H A Dmutex.pass.cpp26 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));
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dlstrlib.c213 static const char *match (MatchState *ms, const char *s, const char *p);
226 static int check_capture (MatchState *ms, int l) { argument
228 if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED)
229 return luaL_error(ms->L, "invalid capture index %%%d", l + 1);
234 static int capture_to_close (MatchState *ms) { argument
235 int level = ms->level;
237 if (ms->capture[level].len == CAP_UNFINISHED) return level;
238 return luaL_error(ms->L, "invalid pattern capture");
242 static const char *classend (MatchState *ms, cons argument
309 singlematch(MatchState *ms, const char *s, const char *p, const char *ep) argument
325 matchbalance(MatchState *ms, const char *s, const char *p) argument
346 max_expand(MatchState *ms, const char *s, const char *p, const char *ep) argument
361 min_expand(MatchState *ms, const char *s, const char *p, const char *ep) argument
374 start_capture(MatchState *ms, const char *s, const char *p, int what) argument
388 end_capture(MatchState *ms, const char *s, const char *p) argument
399 match_capture(MatchState *ms, const char *s, int l) argument
410 match(MatchState *ms, const char *s, const char *p) argument
536 push_onecapture(MatchState *ms, int i, const char *s, const char *e) argument
555 push_captures(MatchState *ms, const char *s, const char *e) argument
598 MatchState ms; local
640 MatchState ms; local
678 add_s(MatchState *ms, luaL_Buffer *b, const char *s, const char *e) argument
704 add_value(MatchState *ms, luaL_Buffer *b, const char *s, const char *e, int tr) argument
743 MatchState ms; local
[all...]
/external/libcxx/test/utilities/time/time.duration/time.duration.literals/
H A Dliterals1.pass.cpp33 milliseconds ms = 247ms; local
34 assert ( ms == milliseconds(247));
35 auto ms2 = 247.0ms;
36 assert ( ms == ms2 );
/external/libcxx/test/thread/futures/futures.shared_future/
H A Dwait_for.pass.cpp21 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(
[all...]
/external/libcxx/test/thread/futures/futures.unique_future/
H A Dwait_for.pass.cpp21 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(5
[all...]
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
H A Dtry_lock_for.pass.cpp27 typedef std::chrono::milliseconds ms; typedef
33 assert(m.try_lock_for(ms(300)) == true);
38 ns d = t1 - t0 - ms(250);
39 assert(d < ns(50000000)); // within 50ms
45 assert(m.try_lock_for(ms(250)) == false);
47 ns d = t1 - t0 - ms(250);
48 assert(d < ns(50000000)); // within 50ms
56 std::this_thread::sleep_for(ms(250));
63 std::this_thread::sleep_for(ms(300));
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
H A Dmutex_duration.pass.cpp30 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 50ms
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 50ms
63 std::this_thread::sleep_for(ms(25
[all...]
/external/valgrind/main/drd/tests/
H A Drwlock_race.c20 static void sleep_ms(const int ms) argument
22 struct timespec delay = { ms / 1000, (ms % 1000) * 1000 * 1000 };
/external/chromium_org/v8/test/mjsunit/
H A Dto_number_order.js65 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/chromium_org/base/profiler/
H A Dtracked_time.h37 static Duration FromMilliseconds(int ms);
59 static TrackedTime FromMilliseconds(int32 ms) { return TrackedTime(ms); } argument
63 explicit TrackedTime(int32 ms);
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/
H A Dadopt_lock.pass.cpp26 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));
H A Dmutex.pass.cpp26 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));
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
H A Dlock.pass.cpp28 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));
H A Dtry_lock.pass.cpp26 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));
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
H A Dlock.pass.cpp28 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));
H A Dtry_lock.pass.cpp26 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));
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
H A Dlock.pass.cpp28 typedef std::chrono::milliseconds ms; typedef
37 ns d = t1 - t0 - ms(250);
38 assert(d < ms(50)); // within 50ms
48 std::this_thread::sleep_for(ms(250));
H A Dtry_lock.pass.cpp28 typedef std::chrono::milliseconds ms; typedef
41 ns d = t1 - t0 - ms(250);
42 assert(d < ms(200)); // within 200ms
52 std::this_thread::sleep_for(ms(250));
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
H A Dlock.pass.cpp28 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));
H A Dtry_lock.pass.cpp26 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));

Completed in 295 milliseconds

1234567891011>>