Home
last modified time | relevance | path

Searched refs:mu1 (Results 1 – 11 of 11) sorted by relevance

/external/clang/test/SemaCXX/
Dwarn-thread-safety-parsing.cpp63 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 …]
Dwarn-thread-safety-analysis.cpp70 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/clang/test/Sema/
Dwarn-thread-safety-analysis.c42 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/compiler-rt/test/tsan/
Dmutex_cycle2.c13 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()
Dmust_deadlock.cc12 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/tensorflow/tensorflow/contrib/tensor_forest/kernels/
Dtree_utils.cc395 double getDistanceFromLambda3(double lambda3, const std::vector<float>& mu1, in getDistanceFromLambda3() argument
401 int n = mu1.size(); in getDistanceFromLambda3()
408 for (size_t i = 0; i < mu1.size(); i++) { in getDistanceFromLambda3()
409 double diff = (lambda1 + 2.0 * mu1[i]) / (2.0 - 2.0 * lambda3) - mu1[i]; in getDistanceFromLambda3()
420 double getChebyshevEpsilon(const std::vector<float>& mu1, in getChebyshevEpsilon() argument
469 int n = mu1.size(); in getChebyshevEpsilon()
471 for (float m : mu1) { in getChebyshevEpsilon()
491 double dist1 = getDistanceFromLambda3(v1, mu1, mu2); in getChebyshevEpsilon()
492 double dist2 = getDistanceFromLambda3(v2, mu1, mu2); in getChebyshevEpsilon()
523 std::vector<float> mu1; in BestSplitDominatesClassificationChebyshev() local
[all …]
/external/clang/test/SemaObjC/
Dwarn-thread-safety-analysis.m5 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/clang/test/Misc/
Dast-dump-attr.cpp45 } mu1, mu2; variable
46 int TestExpr __attribute__((guarded_by(mu1)));
51 class Mutex TestVariadicExpr __attribute__((acquired_after(mu1, mu2)));
Dast-dump-color.cpp25 } mu1, mu2; variable
26 int TestExpr __attribute__((guarded_by(mu1)));
/external/clang/docs/
DThreadSafetyAnalysis.rst196 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/
DLatn_Bopo.txt200 mu1 ← ㄇㄨ;