/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_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_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.pass.cpp | 41 ms Tolerance = ms(50); variable 43 ms Tolerance = ms(50 * 5); variable 57 assert(d < Tolerance); // within tolerance in f() 69 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/ |
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/protobuf/src/google/protobuf/util/ |
D | field_comparator.h | 158 struct Tolerance { struct 161 Tolerance() in Tolerance() argument 164 Tolerance(double f, double m) in Tolerance() argument 170 typedef map<const FieldDescriptor*, Tolerance> ToleranceMap; 246 Tolerance default_tolerance_;
|
D | field_comparator.cc | 135 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/ |
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/abi-compliance-checker/ |
D | abi-compliance-checker.pl | 91 $ExtraInfo, $ExtraDump, $Force, $Tolerance, $Tolerant, $SkipSymbolsListPath, 260 "tolerance=s" => \$Tolerance, 6140 if(defined $Tolerance and $Tolerance=~/3/) 6536 if(defined $Tolerance and $Tolerance=~/4/) 6695 if(defined $Tolerance and $Tolerance=~/4/) 19735 if($Tolerance=~/2/) 19779 if($Tolerance=~/1/) 19806 if(defined $Tolerance and $Tolerance=~/1|2/) 23066 $Tolerance = 1234;
|