/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
member_swap.pass.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 16 #include <mutex> 19 struct mutex struct 25 mutex m; 29 std::unique_lock<mutex> lk1(m); 30 std::unique_lock<mutex> lk2; 32 assert(lk1.mutex() == nullptr); 34 assert(lk2.mutex() == &m);
|
nonmember_swap.pass.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 14 // template <class Mutex> 15 // void swap(unique_lock<Mutex>& x, unique_lock<Mutex>& y); 17 #include <mutex> 20 struct mutex struct 26 mutex m; 30 std::unique_lock<mutex> lk1(m); 31 std::unique_lock<mutex> lk2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
copy_assign.fail.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 16 #include <mutex> 19 std::mutex m0; 20 std::mutex m1; 24 std::unique_lock<std::mutex> lk0(m0); 25 std::unique_lock<std::mutex> lk1(m1); 27 assert(lk1.mutex() == &m0); 29 assert(lk0.mutex() == nullptr);
|
move_assign.pass.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 16 #include <mutex> 19 std::mutex m0; 20 std::mutex m1; 25 std::unique_lock<std::mutex> lk0(m0); 26 std::unique_lock<std::mutex> lk1(m1); 28 assert(lk1.mutex() == &m0); 30 assert(lk0.mutex() == nullptr);
|
default.pass.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 16 #include <mutex> 21 std::unique_lock<std::mutex> ul; 23 assert(ul.mutex() == nullptr);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
member_swap.pass.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 16 #include <mutex> 19 struct mutex struct 25 mutex m; 29 std::unique_lock<mutex> lk1(m); 30 std::unique_lock<mutex> lk2; 32 assert(lk1.mutex() == nullptr); 34 assert(lk2.mutex() == &m);
|
nonmember_swap.pass.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 14 // template <class Mutex> 15 // void swap(unique_lock<Mutex>& x, unique_lock<Mutex>& y); 17 #include <mutex> 20 struct mutex struct 26 mutex m; 30 std::unique_lock<mutex> lk1(m); 31 std::unique_lock<mutex> lk2 [all...] |
/external/valgrind/main/drd/ |
drd_qtcore_intercepts.c | 62 /** Convert a Qt4 mutex type to a DRD mutex type. */ 75 /** Find out the type of a Qt4 mutex (recursive or not). 77 * mutex_type_unknown and let drd_mutex.c look up the real mutex type. 87 void* mutex, 94 mutex, qt_to_drd_mutex_type(mode), 0, 0, 0); 95 CALL_FN_W_WW(ret, fn, mutex, mode); 97 mutex, 0, 0, 0, 0); 102 void* mutex, 109 mutex, qt_to_drd_mutex_type(mode), 0, 0, 0) [all...] |
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/ |
assign.fail.cpp | 10 // <mutex> 12 // template <class Mutex> class lock_guard; 16 #include <mutex> 20 std::mutex m0; 21 std::mutex m1; 22 std::lock_guard<std::mutex> lg0(m0); 23 std::lock_guard<std::mutex> lg(m1);
|
/external/valgrind/main/drd/tests/ |
pth_process_shared_mutex.c | 2 * Test program that locks and unlocks a process-shared mutex. 15 pthread_mutex_t mutex; local 20 pthread_mutex_init(&mutex, &attr); 23 pthread_mutex_lock(&mutex); 24 pthread_mutex_unlock(&mutex); 25 pthread_mutex_destroy(&mutex);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/ |
assign.fail.cpp | 10 // <mutex> 12 // template <class Mutex> class lock_guard; 16 #include <mutex> 20 std::mutex m0; 21 std::mutex m1; 22 std::lock_guard<std::mutex> lg0(m0); 23 std::lock_guard<std::mutex> lg(m1);
|
/development/ndk/platforms/android-3/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
default.pass.cpp | 10 // <mutex> 12 // template <class Mutex> class unique_lock; 16 #include <mutex> 21 std::unique_lock<std::mutex> ul; 23 assert(ul.mutex() == nullptr);
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|