/external/libcxx/test/std/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, "");
|
/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;
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
try_lock_until.pass.cpp | 31 typedef std::chrono::milliseconds ms; typedef 32 assert(Clock::now() - abs_time < ms(5));
|
try_lock_for.pass.cpp | 26 typedef std::chrono::milliseconds ms; typedef 33 assert(rel_time == ms(5)); 48 assert(lk.try_lock_for(ms(5)) == true); 53 lk.try_lock_for(ms(5)); 61 assert(lk.try_lock_for(ms(5)) == false); 67 lk.try_lock_for(ms(5));
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
try_lock_until.pass.cpp | 29 typedef std::chrono::milliseconds ms; typedef 30 assert(Clock::now() - abs_time < ms(5));
|
try_lock_for.pass.cpp | 24 typedef std::chrono::milliseconds ms; typedef 31 assert(rel_time == ms(5)); 43 assert(lk.try_lock_for(ms(5)) == true); 48 lk.try_lock_for(ms(5)); 56 assert(lk.try_lock_for(ms(5)) == false); 62 lk.try_lock_for(ms(5));
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
adafruitms1438-stepper.cxx | 36 // Instantiate an Adafruit MS 1438 on I2C bus 0 38 upm::AdafruitMS1438 *ms = local 47 ms->disableStepper(AdafruitMS1438::STEPMOTOR_M12); 50 ms->stepConfig(AdafruitMS1438::STEPMOTOR_M12, 200); 53 ms->setStepperSpeed(AdafruitMS1438::STEPMOTOR_M12, 10); 54 ms->setStepperDirection(AdafruitMS1438::STEPMOTOR_M12, 59 ms->enableStepper(AdafruitMS1438::STEPMOTOR_M12); 62 ms->stepperSteps(AdafruitMS1438::STEPMOTOR_M12, 200); 69 ms->setStepperDirection(AdafruitMS1438::STEPMOTOR_M12, 71 ms->stepperSteps(AdafruitMS1438::STEPMOTOR_M12, 100) [all...] |
adafruitms1438.cxx | 36 // Instantiate an Adafruit MS 1438 on I2C bus 0 38 upm::AdafruitMS1438 *ms = local 45 ms->setPWMPeriod(50); 48 ms->disableMotor(AdafruitMS1438::MOTOR_M3); 51 ms->setMotorSpeed(AdafruitMS1438::MOTOR_M3, 50); 52 ms->setMotorDirection(AdafruitMS1438::MOTOR_M3, AdafruitMS1438::DIR_CW); 57 ms->enableMotor(AdafruitMS1438::MOTOR_M3); 62 ms->setMotorDirection(AdafruitMS1438::MOTOR_M3, AdafruitMS1438::DIR_CCW); 67 ms->disableMotor(AdafruitMS1438::MOTOR_M3); 73 delete ms; [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
try_lock_until.pass.cpp | 29 typedef std::chrono::milliseconds ms; typedef 30 assert(Clock::now() - abs_time < ms(5));
|
try_lock_for.pass.cpp | 24 typedef std::chrono::milliseconds ms; typedef 31 assert(rel_time == ms(5)); 46 assert(lk.try_lock_for(ms(5)) == true); 51 lk.try_lock_for(ms(5)); 59 assert(lk.try_lock_for(ms(5)) == false); 65 lk.try_lock_for(ms(5));
|
/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));
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
GetAllocationTest.java | 32 ScriptC_get_allocation ms = local 39 ms.bind_pointer(mTemp); 40 ms.set_alloc_out(mOut); 41 ms.invoke_start();
|
/external/libcxx/test/std/thread/futures/futures.async/ |
async_race.pass.cpp | 33 typedef std::chrono::milliseconds ms; typedef 34 std::this_thread::sleep_for(ms(200));
|
/external/libcxx/test/std/thread/thread.condition/ |
notify_all_at_thread_exit.pass.cpp | 26 typedef std::chrono::milliseconds ms; typedef 33 std::this_thread::sleep_for(ms(300)); 43 assert(t1-t0 > ms(250));
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/ |
adopt_lock.pass.cpp | 28 typedef std::chrono::milliseconds ms; typedef 40 ns d = t1 - t0 - ms(250); 41 assert(d < ms(50)); // within 50ms 48 std::this_thread::sleep_for(ms(250));
|
mutex.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));
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
mutex.pass.cpp | 31 typedef std::chrono::milliseconds ms; typedef 42 ns d = t1 - t0 - ms(250); 43 assert(d < ms(50)); // within 50ms 55 assert(d < ms(50)); // within 50ms 67 std::this_thread::sleep_for(ms(250)); 75 std::this_thread::sleep_for(ms(250));
|
mutex_duration.pass.cpp | 32 typedef std::chrono::milliseconds ms; typedef 38 std::shared_lock<std::shared_timed_mutex> lk(m, ms(300)); 41 ns d = t1 - t0 - ms(250); 42 assert(d < ms(50)); // within 50ms 48 std::shared_lock<std::shared_timed_mutex> lk(m, ms(250)); 51 ns d = t1 - t0 - ms(250); 52 assert(d < ms(50)); // within 50ms 65 std::this_thread::sleep_for(ms(250)) [all...] |
mutex_time_point.pass.cpp | 32 typedef std::chrono::milliseconds ms; typedef 38 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + ms(300)); 41 ns d = t1 - t0 - ms(250); 42 assert(d < ns(50000000)); // within 50ms 48 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + ms(250)); 51 ns d = t1 - t0 - ms(250); 52 assert(d < ms(50)); // within 50ms 65 std::this_thread::sleep_for(ms(250)); 75 std::this_thread::sleep_for(ms(300)) [all...] |
mutex_try_to_lock.pass.cpp | 31 typedef std::chrono::milliseconds ms; typedef 56 ns d = t1 - t0 - ms(250); 57 assert(d < ms(200)); // within 200ms 69 std::this_thread::sleep_for(ms(250));
|