/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()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | try_lock_for.pass.cpp | 45 ms Tolerance = ms(50); variable 47 ms Tolerance = ms(50 * 5); variable 53 assert(m.try_lock_for(WaitTime + Tolerance) == true); in f1() 57 assert(d < Tolerance); // within tolerance in f1() 66 assert(d < Tolerance); // within tolerance in f2() 81 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_until.pass.cpp | 46 ms Tolerance = ms(50); variable 48 ms Tolerance = ms(50 * 5); variable 54 assert(m.try_lock_until(Clock::now() + WaitTime + Tolerance) == true); in f1() 58 assert(d < Tolerance); // within tolerance in f1() 67 assert(d < Tolerance); // within tolerance in f2() 82 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_shared_for.pass.cpp | 46 ms Tolerance = ms(50); variable 48 ms Tolerance = ms(50 * 5); variable 54 assert(m.try_lock_shared_for(WaitTime + Tolerance) == true); in f1() 58 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 | try_lock_shared.pass.cpp | 45 ms Tolerance = ms(200); variable 47 ms Tolerance = ms(200 * 5); variable 61 assert(d < Tolerance); // within tolerance in f()
|
/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/tensorflow/tensorflow/core/framework/ |
D | tensor_testutil.cc | 50 static ::testing::AssertionResult IsEqual(float x, float y, Tolerance t) { in IsEqual() 54 if (t == Tolerance::kNone) { in IsEqual() 62 static ::testing::AssertionResult IsEqual(double x, double y, Tolerance t) { in IsEqual() 66 if (t == Tolerance::kNone) { in IsEqual() 75 Tolerance t) { in IsEqual() 94 if (t == Tolerance::kNone) { in IsEqual() 104 static ::testing::AssertionResult IsEqual(const T& x, const T& y, Tolerance t) { in IsEqual() 112 Tolerance t) { in IsEqual() 120 Tolerance t = Tolerance::kDefault) { in ExpectEqual() 188 void ExpectEqual(const Tensor& x, const Tensor& y, Tolerance t) { in ExpectEqual()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ |
D | lock_shared.pass.cpp | 46 ms Tolerance = ms(50); variable 48 ms Tolerance = ms(50 * 5); variable 58 assert(d < Tolerance); // within tolerance in f() 68 assert(d < Tolerance); // within tolerance in g()
|
D | lock.pass.cpp | 45 ms Tolerance = ms(50); variable 47 ms Tolerance = ms(50 * 5); variable 57 assert(d < Tolerance); // within tolerance in f()
|
D | try_lock_shared.pass.cpp | 45 ms Tolerance = ms(200); variable 47 ms Tolerance = ms(200 * 5); variable 61 assert(d < Tolerance); // within tolerance in f()
|
/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/flatbuffers/tests/annotated_binary/ |
D | annotated_binary.fbs | 25 Tolerance, Dimension 28 struct Tolerance { 33 Bar, Tolerance 38 tolerances:[Tolerance:3];
|
D | annotated_binary_old.fbs | 25 Tolerance, Dimension 28 struct Tolerance { 33 Bar, Tolerance 38 tolerances:[Tolerance:3];
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | mutex.pass.cpp | 46 ms Tolerance = ms(50); variable 48 ms Tolerance = ms(50 * 5); variable 62 assert(d < Tolerance); // within tolerance in f() 74 assert(d < Tolerance); // within tolerance in g()
|
/external/cronet/third_party/protobuf/src/google/protobuf/util/ |
D | field_comparator.h | 176 struct Tolerance { struct 179 Tolerance() : fraction(0.0), margin(0.0) {} in Tolerance() function 180 Tolerance(double f, double m) : fraction(f), margin(m) {} in Tolerance() argument 184 typedef std::map<const FieldDescriptor*, Tolerance> ToleranceMap; 255 Tolerance default_tolerance_;
|
/external/protobuf/src/google/protobuf/util/ |
D | field_comparator.h | 176 struct Tolerance { struct 179 Tolerance() : fraction(0.0), margin(0.0) {} in Tolerance() argument 180 Tolerance(double f, double m) : fraction(f), margin(m) {} in Tolerance() argument 184 typedef std::map<const FieldDescriptor*, Tolerance> ToleranceMap; 255 Tolerance default_tolerance_;
|
/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()
|