Home
last modified time | relevance | path

Searched refs:Tolerance (Results 1 – 25 of 28) sorted by relevance

12

/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dtry_lock_for.pass.cpp44 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()
Dtry_lock_until.pass.cpp44 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()
Dtry_lock_shared_for.pass.cpp44 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()
Dtry_lock_shared_until.pass.cpp44 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()
Dlock_shared.pass.cpp44 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()
Dtry_lock_shared.pass.cpp39 ms Tolerance = ms(200); variable
41 ms Tolerance = ms(200 * 5); variable
55 assert(d < Tolerance); // within tolerance in f()
Dlock.pass.cpp43 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/
Dmutex_duration.pass.cpp44 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()
Dmutex_time_point.pass.cpp44 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()
Dmutex.pass.cpp44 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/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
Dlock_shared.pass.cpp43 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()
Dlock.pass.cpp42 ms Tolerance = ms(50); variable
44 ms Tolerance = ms(50 * 5); variable
54 assert(d < Tolerance); // within tolerance in f()
/external/protobuf/src/google/protobuf/util/
Dfield_comparator.h158 struct Tolerance { struct
161 Tolerance() in Tolerance() function
164 Tolerance(double f, double m) in Tolerance() function
170 typedef map<const FieldDescriptor*, Tolerance> ToleranceMap;
246 Tolerance default_tolerance_;
Dfield_comparator.cc135 default_tolerance_ = Tolerance(fraction, margin); in SetDefaultFractionAndMargin()
146 map_tolerance_[field] = Tolerance(fraction, margin); in SetFractionAndMargin()
184 Tolerance* tolerance = FindOrNull(map_tolerance_, &field); in CompareDoubleOrFloat()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dlock.pass.cpp41 ms Tolerance = ms(25); variable
43 ms Tolerance = ms(25 * 5); variable
55 assert(d < Tolerance); // within tolerance in f()
/external/gemmlowp/test/
Dtest_fixedpoint.cc96 std::int32_t Tolerance() const { return 0; } in Tolerance() function in gemmlowp::__anon5af3726d0111::UnaryOpBase
139 std::int32_t Tolerance() const { return 500; } in Tolerance() function in gemmlowp::__anon5af3726d0111::ExpOnIntervalBetweenNegativeOneQuarterAnd0ExclOp
160 std::int32_t Tolerance() const { return 500; } in Tolerance() function in gemmlowp::__anon5af3726d0111::ExpOnNegativeValuesOp
180 std::int32_t Tolerance() const { return 12; } in Tolerance() function in gemmlowp::__anon5af3726d0111::OneMinusXOverOnePlusXForXIn01Op
199 std::int32_t Tolerance() const { return 310; } in Tolerance() function in gemmlowp::__anon5af3726d0111::TanhOp
219 std::int32_t Tolerance() const { return 6; } in Tolerance() function in gemmlowp::__anon5af3726d0111::OneOverOnePlusXForXIn01Op
238 std::int32_t Tolerance() const { return 155; } in Tolerance() function in gemmlowp::__anon5af3726d0111::LogisticOp
277 Check(std::abs(diff) <= unary_op.Tolerance()); in TestUnaryOp()
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dztypes_linux_sparc64.go45 Tolerance int64 member
Dztypes_linux_s390x.go45 Tolerance int64 member
Dztypes_linux_386.go43 Tolerance int32 member
Dztypes_linux_mips.go43 Tolerance int32 member
Dztypes_linux_amd64.go45 Tolerance int64 member
Dztypes_linux_ppc64.go45 Tolerance int64 member
Dztypes_linux_mips64.go45 Tolerance int64 member
Dztypes_linux_mipsle.go43 Tolerance int32 member
Dztypes_linux_arm.go43 Tolerance int32 member

12