/external/clang/test/Sema/ |
D | warn-thread-safety-analysis.c | 42 struct Mutex mu1; variable 43 struct Mutex mu2 ACQUIRED_AFTER(mu1); 44 struct Foo foo_ = {&mu1}; 51 int Foo_fun1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1) { in Foo_fun1() 55 int Foo_fun2(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1) { in Foo_fun2() 59 int Foo_func3(int i) LOCKS_EXCLUDED(mu1, mu2) { in Foo_func3() 63 static int Bar_fun1(int i) EXCLUSIVE_LOCKS_REQUIRED(mu1) { in Bar_fun1() 80 mutex_exclusive_lock(&mu1); in main() 84 mutex_shared_lock(&mu1); // expected-warning{{acquiring mutex 'mu1' that is already held}} \ in main() 86 mutex_unlock(&mu1); in main() [all …]
|
/external/clang/test/SemaCXX/ |
D | warn-thread-safety-parsing.cpp | 63 Mutex mu1; variable 70 Mutex& muRef = mu1; 308 int gb_var_arg GUARDED_BY(mu1); 312 int gb_var_args __attribute__((guarded_by(mu1, mu2))); // \ 322 int gb_field_args GUARDED_BY(mu1); 325 class GUARDED_BY(mu1) GB { // \ in GUARDED_BY() argument 329 void gb_function() GUARDED_BY(mu1); // \ 332 void gb_function_params(int gv_lvar GUARDED_BY(mu1)); // \ 336 int x GUARDED_BY(mu1) = y; // \ in gb_testfn() 348 int gb_var_arg_5 GUARDED_BY(&mu1); [all …]
|
D | warn-thread-safety-analysis.cpp | 70 DoubleMutexLock(Mutex *mu1, Mutex *mu2) 71 __attribute__((exclusive_lock_function(mu1, mu2))); 930 Mutex mu1; variable 931 Mutex mu2 ACQUIRED_AFTER(mu1); 935 int method1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1); 943 int foo(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1); 948 static int bar(int i) EXCLUSIVE_LOCKS_REQUIRED(mu1); 956 mu1.Lock(); in main() 962 mu1.Unlock(); in main() 1093 int method1(int i) SHARED_LOCKS_REQUIRED(mu1, mu, mu2); [all …]
|
/external/compiler-rt/test/tsan/ |
D | mutex_cycle2.c | 13 pthread_mutex_t mu1, mu2; in main() local 14 pthread_mutex_init(&mu1, NULL); in main() 18 pthread_mutex_lock(&mu1); in main() 21 pthread_mutex_unlock(&mu1); in main() 25 pthread_mutex_lock(&mu1); in main() 29 pthread_mutex_unlock(&mu1); in main() 32 pthread_mutex_destroy(&mu1); in main()
|
D | must_deadlock.cc | 12 pthread_mutex_t mu1, mu2; variable 19 pthread_mutex_lock(&mu1); in Thread() 21 pthread_mutex_unlock(&mu1); in Thread() 27 pthread_mutex_init(&mu1, NULL); in main() 38 pthread_mutex_lock(&mu1); in main() 42 pthread_mutex_unlock(&mu1); in main() 46 pthread_mutex_destroy(&mu1); in main()
|
/external/opencv3/samples/cpp/tutorial_code/gpu/gpu-basics-similarity/ |
D | gpu-basics-similarity.cpp | 40 cuda::GpuMat mu1, mu2; member 265 Mat mu1, mu2; // PRELIMINARY COMPUTING in getMSSIM() local 266 GaussianBlur(I1, mu1, Size(11, 11), 1.5); in getMSSIM() 269 Mat mu1_2 = mu1.mul(mu1); in getMSSIM() 271 Mat mu1_mu2 = mu1.mul(mu2); in getMSSIM() 332 cuda::GpuMat mu1, mu2; // PRELIMINARY COMPUTING in getMSSIM_CUDA() local 333 gauss->apply(vI1[i], mu1); in getMSSIM_CUDA() 337 cuda::multiply(mu1, mu1, mu1_2); in getMSSIM_CUDA() 339 cuda::multiply(mu1, mu2, mu1_mu2); in getMSSIM_CUDA() 400 gauss->apply(b.vI1[i], b.mu1, stream); in getMSSIM_CUDA_optimized() [all …]
|
/external/clang/test/SemaObjC/ |
D | warn-thread-safety-analysis.m | 5 struct Mutex mu1; 7 int Foo_fun1(int i) __attribute__ ((exclusive_locks_required((mu1)))) { 16 …Foo_fun1(1); // expected-warning{{calling function 'Foo_fun1' requires holding mutex 'mu1' exclusi…
|
/external/opencv3/samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/ |
D | video-input-psnr-ssim.cpp | 173 Mat mu1, mu2; // PRELIMINARY COMPUTING in getMSSIM() local 174 GaussianBlur(I1, mu1, Size(11, 11), 1.5); in getMSSIM() 177 Mat mu1_2 = mu1.mul(mu1); in getMSSIM() 179 Mat mu1_mu2 = mu1.mul(mu2); in getMSSIM()
|
/external/clang/test/Misc/ |
D | ast-dump-attr.cpp | 45 } mu1, mu2; variable 46 int TestExpr __attribute__((guarded_by(mu1))); 51 class Mutex TestVariadicExpr __attribute__((acquired_after(mu1, mu2)));
|
D | ast-dump-color.cpp | 25 } mu1, mu2; variable 26 int TestExpr __attribute__((guarded_by(mu1)));
|
/external/opencv3/modules/calib3d/src/ |
D | p3p.cpp | 60 double mu1, double mv1, double X1, double Y1, double Z1, in solve() argument 66 int n = solve(Rs, ts, mu0, mv0, X0, Y0, Z0, mu1, mv1, X1, Y1, Z1, mu2, mv2, X2, Y2, Z2); in solve() 97 double mu1, double mv1, double X1, double Y1, double Z1, in solve() argument 108 mu1 = inv_fx * mu1 - cx_fx; in solve() 110 norm = sqrt(mu1 * mu1 + mv1 * mv1 + 1); in solve() 111 mk1 = 1. / norm; mu1 *= mk1; mv1 *= mk1; in solve() 125 cosines[0] = mu1 * mu2 + mv1 * mv2 + mk1 * mk2; in solve() 127 cosines[2] = mu0 * mu1 + mv0 * mv1 + mk0 * mk1; in solve() 140 M_orig[1][0] = lengths[i][1] * mu1; in solve()
|
D | p3p.h | 16 double mu1, double mv1, double X1, double Y1, double Z1, 20 double mu1, double mv1, double X1, double Y1, double Z1,
|
/external/opencv/cv/src/ |
D | cvthresh.cpp | 211 double mu1 = 0, q1 = 0; in icvGetThreshVal_Otsu() local 253 mu1 = 0; in icvGetThreshVal_Otsu() 261 mu1 *= q1; in icvGetThreshVal_Otsu() 273 mu1 = (mu1 + val_i*p_i)/q1; in icvGetThreshVal_Otsu() 274 mu2 = (mu - q1*mu1)/q2; in icvGetThreshVal_Otsu() 275 sigma = q1*q2*(mu1 - mu2)*(mu1 - mu2); in icvGetThreshVal_Otsu()
|
/external/opencv3/modules/superres/test/ |
D | test_superres.cpp | 164 cv::Mat mu1, mu2; in MSSIM() local 165 cv::GaussianBlur(I1, mu1, cv::Size(11, 11), 1.5); in MSSIM() 168 cv::Mat mu1_2 = mu1.mul(mu1); in MSSIM() 170 cv::Mat mu1_mu2 = mu1.mul(mu2); in MSSIM()
|
/external/opencv3/3rdparty/openexr/Imath/ |
D | ImathMatrixAlgo.cpp | 983 const T mu1 = z - x; in jacobiRotation() local 986 if (std::abs(mu2) <= tol*std::abs(mu1)) in jacobiRotation() 995 const T rho = mu1 / mu2; in jacobiRotation() 1038 const T mu1 = z - x; in jacobiRotation() local 1044 if (std::abs(mu2) <= tol*std::abs(mu1)) in jacobiRotation() 1050 const T rho = mu1 / mu2; in jacobiRotation()
|
/external/opencv3/doc/tutorials/highgui/video-input-psnr-ssim/ |
D | video_input_psnr_ssim.markdown | 196 Mat mu1, mu2; // 197 GaussianBlur(I1, mu1, Size(11, 11), 1.5); 200 Mat mu1_2 = mu1.mul(mu1); 202 Mat mu1_mu2 = mu1.mul(mu2);
|
/external/opencv3/modules/imgproc/src/ |
D | thresh.cpp | 961 double mu1 = 0, q1 = 0; in getThreshVal_Otsu_8u() local 969 mu1 *= q1; in getThreshVal_Otsu_8u() 976 mu1 = (mu1 + i*p_i)/q1; in getThreshVal_Otsu_8u() 977 mu2 = (mu - q1*mu1)/q2; in getThreshVal_Otsu_8u() 978 sigma = q1*q2*(mu1 - mu2)*(mu1 - mu2); in getThreshVal_Otsu_8u()
|
/external/valgrind/drd/tests/ |
D | tsan_unittest.cpp | 5386 Mutex mu1; variable 5401 mu1.Lock(); in Worker() 5405 mu1.Unlock(); in Worker() 6692 Mutex mu1; // This Mutex guards var. variable 6697 MutexLock lock(&mu1); // Correct Mutex. in Thread1() 6989 Mutex mu1; // Protects PTR. variable 6995 MutexLock lock1(&mu1); // Protect PTR. in Writer1() 7001 MutexLock lock1(&mu1); // Protect PTR. in Writer2() 7048 Mutex mu1; // Protects PTR. variable 7054 MutexLock lock1(&mu1); // Protect PTR. in GoodWriter1() [all …]
|
/external/clang/docs/ |
D | ThreadSafetyAnalysis.rst | 196 Mutex mu1, mu2; 197 int a GUARDED_BY(mu1); 200 void foo() REQUIRES(mu1, mu2) { 206 mu1.Lock(); 208 mu1.Unlock();
|
/external/icu/icu4c/source/data/translit/ |
D | Latin_Bopomofo.txt | 202 mu1 ← ㄇㄨ;
|