Home
last modified time | relevance | path

Searched refs:max_diff (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/cons/
Dmake_unique_lock_try_to_lock_pass.cpp33 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
49 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f()
62 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f()
75 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f()
141 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
142 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Dtime_point_pass.cpp42 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
59 BOOST_TEST(d < max_diff); in f2()
77 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
78 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Dduration_pass.cpp43 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
60 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f2()
78 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
79 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Dmutex_pass.cpp43 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
83 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
84 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Danim_diff.c77 static void MinimizeAnimationFrames(AnimatedImage* const img, int max_diff) { in MinimizeAnimationFrames() argument
88 if (max_diff > 0) { in MinimizeAnimationFrames()
90 img->canvas_height, max_diff); in MinimizeAnimationFrames()
168 int max_diff; in CompareAnimatedImagePair() local
178 premultiply, &max_diff, &psnr); in CompareAnimatedImagePair()
186 if (max_diff != 0) { in CompareAnimatedImagePair()
187 fprintf(stderr, "Frame #%d, max pixel diff: %d\n", i, max_diff); in CompareAnimatedImagePair()
217 int max_diff = 0; in main() local
243 max_diff = ExUtilGetInt(argv[++c], 0, &parse_error); in main()
299 MinimizeAnimationFrames(&images[i], max_diff); in main()
/third_party/skia/third_party/externals/libwebp/examples/
Danim_diff.c77 static void MinimizeAnimationFrames(AnimatedImage* const img, int max_diff) { in MinimizeAnimationFrames() argument
88 if (max_diff > 0) { in MinimizeAnimationFrames()
90 img->canvas_height, max_diff); in MinimizeAnimationFrames()
168 int max_diff; in CompareAnimatedImagePair() local
178 premultiply, &max_diff, &psnr); in CompareAnimatedImagePair()
186 if (max_diff != 0) { in CompareAnimatedImagePair()
187 fprintf(stderr, "Frame #%d, max pixel diff: %d\n", i, max_diff); in CompareAnimatedImagePair()
217 int max_diff = 0; in main() local
243 max_diff = ExUtilGetInt(argv[++c], 0, &parse_error); in main()
299 MinimizeAnimationFrames(&images[i], max_diff); in main()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/strict_lock/
Dmake_strict_lock_pass.cpp34 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
44 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f()
65 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
66 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
/third_party/libsnd/tests/
Ddft_cmp.c137 { double orig_max = 0.0, max_diff = 0.0 ; in calc_max_spectral_difference() local
143 if (max_diff < fabs (orig [k] - test [k])) in calc_max_spectral_difference()
144 max_diff = fabs (orig [k] - test [k]) ; in calc_max_spectral_difference()
147 if (max_diff < 1e-25) in calc_max_spectral_difference()
150 return 20.0 * log10 (max_diff / orig_max) ; in calc_max_spectral_difference()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/timed_mutex/
Dtry_lock_for_pass.cpp39 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
55 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f2()
73 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
74 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Dtry_lock_until_pass.cpp39 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
55 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f2()
73 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
74 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Dlock_pass.cpp39 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
76 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
77 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/shared_mutex/
Dtry_lock_for_pass.cpp37 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
53 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f2()
72 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
73 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Dtry_lock_until_pass.cpp37 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
53 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f2()
71 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
72 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/recursive_timed_mutex/
Dtry_lock_for_pass.cpp39 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
57 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f2()
75 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
76 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Dtry_lock_until_pass.cpp39 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
55 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f2()
74 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
75 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/shared_lock/cons/
Dduration_pass.cpp39 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
56 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f2()
74 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
75 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Dtime_point_pass.cpp38 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
55 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f2()
73 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
74 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Dmutex_pass.cpp40 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
80 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
81 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/upgrade_lock/cons/
Dduration_pass.cpp41 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
58 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f2()
76 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
77 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Dtime_point_pass.cpp40 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
57 BOOST_THREAD_TEST_IT(d, ns(max_diff)); in f2()
75 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
76 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Dmutex_pass.cpp42 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
82 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
83 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
/third_party/boost/libs/thread/test/sync/conditions/condition_variable/
Dwait_for_pass.cpp44 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
59 assert(t1 - t0 < max_diff); in f()
66 std::cout << "max_diff= " << max_diff.count() << std::endl; in f()
67 assert( d < max_diff); in f()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/shared_lock_guard/
Ddefault_pass.cpp41 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
81 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
82 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/lock_guard/
Dmake_lock_guard_pass.cpp43 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
72 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
73 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()
Ddefault_pass.cpp39 const ms max_diff(BOOST_THREAD_TEST_TIME_MS);
78 BOOST_THREAD_TEST_IT(d_ms, max_diff); in main()
79 BOOST_THREAD_TEST_IT(d_ns, ns(max_diff)); in main()

1234