/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | try_lock_for.pass.cpp | 49 ms Tolerance = ms(50); variable 51 ms Tolerance = ms(50 * 5); variable 57 assert(m.try_lock_for(WaitTime + Tolerance) == true); in f1() 61 assert(d < Tolerance); // within tolerance in f1() 70 assert(d < Tolerance); // within tolerance in f2() 85 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_until.pass.cpp | 49 ms Tolerance = ms(50); variable 51 ms Tolerance = ms(50 * 5); variable 57 assert(m.try_lock_until(Clock::now() + WaitTime + Tolerance) == true); in f1() 61 assert(d < Tolerance); // within tolerance in f1() 70 assert(d < Tolerance); // within tolerance in f2() 85 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_shared_for.pass.cpp | 49 ms Tolerance = ms(50); variable 51 ms Tolerance = ms(50 * 5); variable 57 assert(m.try_lock_shared_for(WaitTime + Tolerance) == true); in f1() 61 assert(d < Tolerance); // within 50ms in f1() 70 assert(d < Tolerance); // within 50ms in f2() 90 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_shared.pass.cpp | 44 ms Tolerance = ms(200); variable 46 ms Tolerance = ms(200 * 5); variable 60 assert(d < Tolerance); // within tolerance in f()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | try_lock_for.pass.cpp | 44 ms Tolerance = ms(50); variable 46 ms Tolerance = ms(50 * 5); variable 52 assert(m.try_lock_for(WaitTime + Tolerance) == true); in f1() 56 assert(d < Tolerance); // within tolerance in f1() 65 assert(d < Tolerance); // within tolerance in f2() 80 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_until.pass.cpp | 44 ms Tolerance = ms(50); variable 46 ms Tolerance = ms(50 * 5); variable 52 assert(m.try_lock_until(Clock::now() + WaitTime + Tolerance) == true); in f1() 56 assert(d < Tolerance); // within tolerance in f1() 65 assert(d < Tolerance); // within tolerance in f2() 80 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_shared_for.pass.cpp | 44 ms Tolerance = ms(50); variable 46 ms Tolerance = ms(50 * 5); variable 52 assert(m.try_lock_shared_for(WaitTime + Tolerance) == true); in f1() 56 assert(d < Tolerance); // within 50ms in f1() 65 assert(d < Tolerance); // within 50ms in f2() 85 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_shared_until.pass.cpp | 44 ms Tolerance = ms(50); variable 46 ms Tolerance = ms(50 * 5); variable 52 assert(m.try_lock_shared_until(Clock::now() + WaitTime + Tolerance) == true); in f1() 56 assert(d < Tolerance); // within 50ms in f1() 65 assert(d < Tolerance); // within tolerance in f2() 85 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | lock_shared.pass.cpp | 44 ms Tolerance = ms(50); variable 46 ms Tolerance = ms(50 * 5); variable 57 assert(d < Tolerance); // within tolerance in f() 67 assert(d < Tolerance); // within tolerance in g()
|
D | try_lock_shared.pass.cpp | 39 ms Tolerance = ms(200); variable 41 ms Tolerance = ms(200 * 5); variable 55 assert(d < Tolerance); // within tolerance in f()
|
D | lock.pass.cpp | 43 ms Tolerance = ms(50); variable 45 ms Tolerance = ms(100); variable
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | mutex_time_point.pass.cpp | 44 ms Tolerance = ms(50); variable 46 ms Tolerance = ms(50 * 5); variable 52 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + WaitTime + Tolerance); in f1() 56 assert(d < Tolerance); // within 50ms in f1() 66 assert(d < Tolerance); // within 50ms in f2() 86 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | mutex_duration.pass.cpp | 44 ms Tolerance = ms(50); variable 46 ms Tolerance = ms(50 * 5); variable 53 std::shared_lock<std::shared_timed_mutex> lk(m, WaitTime + Tolerance); in f1() 57 assert(d < Tolerance); // within 50ms in f1() 67 assert(d < Tolerance); // within 50ms in f2() 87 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | mutex.pass.cpp | 44 ms Tolerance = ms(50); variable 46 ms Tolerance = ms(50 * 5); variable 60 assert(d < Tolerance); // within tolerance in f() 72 assert(d < Tolerance); // within tolerance in g()
|
/external/protobuf/src/google/protobuf/util/ |
D | field_comparator.h | 163 struct Tolerance { struct 166 Tolerance() : fraction(0.0), margin(0.0) {} in Tolerance() function 167 Tolerance(double f, double m) : fraction(f), margin(m) {} in Tolerance() argument 171 typedef std::map<const FieldDescriptor*, Tolerance> ToleranceMap; 245 Tolerance default_tolerance_;
|
D | field_comparator.cc | 140 default_tolerance_ = Tolerance(fraction, margin); in SetDefaultFractionAndMargin() 151 map_tolerance_[field] = Tolerance(fraction, margin); in SetFractionAndMargin() 189 Tolerance* tolerance = FindOrNull(map_tolerance_, &field); in CompareDoubleOrFloat()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ |
D | lock_shared.pass.cpp | 43 ms Tolerance = ms(50); variable 45 ms Tolerance = ms(50 * 5); variable 55 assert(d < Tolerance); // within tolerance in f() 65 assert(d < Tolerance); // within tolerance in g()
|
D | lock.pass.cpp | 42 ms Tolerance = ms(50); variable 44 ms Tolerance = ms(50 * 5); variable 54 assert(d < Tolerance); // within tolerance in f()
|
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ |
D | lock_shared.pass.cpp | 48 ms Tolerance = ms(50); variable 50 ms Tolerance = ms(50 * 5); variable 60 assert(d < Tolerance); // within tolerance in f() 70 assert(d < Tolerance); // within tolerance in g()
|
D | lock.pass.cpp | 47 ms Tolerance = ms(50); variable 49 ms Tolerance = ms(50 * 5); variable 59 assert(d < Tolerance); // within tolerance in f()
|
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | mutex.pass.cpp | 49 ms Tolerance = ms(50); variable 51 ms Tolerance = ms(50 * 5); variable 65 assert(d < Tolerance); // within tolerance in f() 77 assert(d < Tolerance); // within tolerance in g()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
D | lock.pass.cpp | 41 ms Tolerance = ms(25); variable 43 ms Tolerance = ms(25 * 5); variable 55 assert(d < Tolerance); // within tolerance in f()
|
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
D | lock.pass.cpp | 48 ms Tolerance = ms(25); variable 50 ms Tolerance = ms(25 * 5); variable 62 assert(d < Tolerance); // within tolerance in f()
|
/external/gemmlowp/test/ |
D | test_fixedpoint.cc | 165 ScalarType Tolerance() const { return 0; } in Tolerance() function in gemmlowp::__anon6f94b9cb0111::TestFixedPoint::UnaryOpBase 208 ScalarType Tolerance() const { return kScalarTypeBits == 32 ? 500 : 1; } in Tolerance() function in gemmlowp::__anon6f94b9cb0111::TestFixedPoint::ExpOnIntervalBetweenNegativeOneQuarterAnd0ExclOp 229 ScalarType Tolerance() const { return kScalarTypeBits == 32 ? 500 : 2; } in Tolerance() function in gemmlowp::__anon6f94b9cb0111::TestFixedPoint::ExpOnNegativeValuesOp 249 ScalarType Tolerance() const { return kScalarTypeBits == 32 ? 12 : 11; } in Tolerance() function in gemmlowp::__anon6f94b9cb0111::TestFixedPoint::OneMinusXOverOnePlusXForXIn01Op 268 ScalarType Tolerance() const { return kScalarTypeBits == 32 ? 310 : 12; } in Tolerance() function in gemmlowp::__anon6f94b9cb0111::TestFixedPoint::TanhOp 288 ScalarType Tolerance() const { return kScalarTypeBits == 32 ? 6 : 5; } in Tolerance() function in gemmlowp::__anon6f94b9cb0111::TestFixedPoint::OneOverOnePlusXForXIn01Op 307 ScalarType Tolerance() const { return kScalarTypeBits == 32 ? 155 : 6; } in Tolerance() function in gemmlowp::__anon6f94b9cb0111::TestFixedPoint::LogisticOp 346 if (std::abs(diff) > unary_op.Tolerance()) { in TestUnaryOp() 348 unary_op.Tolerance()); in TestUnaryOp() 350 Check(std::abs(diff) <= unary_op.Tolerance()); in TestUnaryOp()
|
/external/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/ |
D | vector-reductions.ll | 66 define i32 @TestVectorsEqual(i32* noalias %Vec0, i32* noalias %Vec1, i32 %Tolerance) { 122 %cmp5 = icmp sle i32 %sum.0, %Tolerance 128 define i32 @TestVectorsEqual_alt(i32* noalias %Vec0, i32* noalias %Vec1, i32 %Tolerance) { 169 %cmp3 = icmp ule i32 %sum.0, %Tolerance 175 define i32 @TestVectorsEqualFP(float* noalias %Vec0, float* noalias %Vec1, float %Tolerance) { 229 %cmp4 = fcmp fast ole float %sum.0, %Tolerance 235 define i32 @TestVectorsEqualFP_alt(float* noalias %Vec0, float* noalias %Vec1, float %Tolerance) { 276 %cmp3 = fcmp fast ole float %sum.0, %Tolerance
|