/external/libcxx/test/std/atomics/atomics.flag/ |
D | test_and_set.pass.cpp | 27 assert(f.test_and_set() == 0); in main() 28 assert(f.test_and_set() == 1); in main() 33 assert(f.test_and_set(std::memory_order_relaxed) == 0); in main() 34 assert(f.test_and_set(std::memory_order_relaxed) == 1); in main() 39 assert(f.test_and_set(std::memory_order_consume) == 0); in main() 40 assert(f.test_and_set(std::memory_order_consume) == 1); in main() 45 assert(f.test_and_set(std::memory_order_acquire) == 0); in main() 46 assert(f.test_and_set(std::memory_order_acquire) == 1); in main() 51 assert(f.test_and_set(std::memory_order_release) == 0); in main() 52 assert(f.test_and_set(std::memory_order_release) == 1); in main() [all …]
|
D | clear.pass.cpp | 27 assert(f.test_and_set() == 0); in main() 29 assert(f.test_and_set() == 0); in main() 34 assert(f.test_and_set() == 0); in main() 36 assert(f.test_and_set() == 0); in main() 41 assert(f.test_and_set() == 0); in main() 43 assert(f.test_and_set() == 0); in main() 48 assert(f.test_and_set() == 0); in main() 50 assert(f.test_and_set() == 0); in main() 55 assert(f.test_and_set() == 0); in main() 57 assert(f.test_and_set() == 0); in main() [all …]
|
D | atomic_flag_clear_explicit.pass.cpp | 27 assert(f.test_and_set() == 0); in main() 29 assert(f.test_and_set() == 0); in main() 34 assert(f.test_and_set() == 0); in main() 36 assert(f.test_and_set() == 0); in main() 41 assert(f.test_and_set() == 0); in main() 43 assert(f.test_and_set() == 0); in main() 48 assert(f.test_and_set() == 0); in main() 50 assert(f.test_and_set() == 0); in main() 55 assert(f.test_and_set() == 0); in main() 57 assert(f.test_and_set() == 0); in main() [all …]
|
D | atomic_flag_test_and_set_explicit.pass.cpp | 28 assert(f.test_and_set() == 1); in main() 34 assert(f.test_and_set() == 1); in main() 40 assert(f.test_and_set() == 1); in main() 46 assert(f.test_and_set() == 1); in main() 52 assert(f.test_and_set() == 1); in main() 58 assert(f.test_and_set() == 1); in main() 64 assert(f.test_and_set() == 1); in main() 70 assert(f.test_and_set() == 1); in main() 76 assert(f.test_and_set() == 1); in main() 82 assert(f.test_and_set() == 1); in main() [all …]
|
D | atomic_flag_clear.pass.cpp | 27 f.test_and_set(); in main() 29 assert(f.test_and_set() == 0); in main() 34 f.test_and_set(); in main() 36 assert(f.test_and_set() == 0); in main()
|
D | atomic_flag_test_and_set.pass.cpp | 28 assert(f.test_and_set() == 1); in main() 34 assert(f.test_and_set() == 1); in main()
|
D | default.pass.cpp | 28 assert(f.test_and_set() == 0); in main() 33 assert(!zero.test_and_set()); in main()
|
D | init.pass.cpp | 25 assert(f.test_and_set() == 0); in main()
|
/external/libcxx/test/libcxx/atomics/atomics.flag/ |
D | init_bool.pass.cpp | 26 struct X { X() { global.test_and_set(); }}; in X() 34 assert(global.test_and_set() == 1); in main() 38 assert(f.test_and_set() == 0); in main() 42 assert(f.test_and_set() == 1); in main()
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | SparseBitVectorTest.cpp | 29 EXPECT_TRUE(Vec.test_and_set(17)); in TEST() 30 EXPECT_FALSE(Vec.test_and_set(17)); in TEST()
|
/external/llvm/unittests/ADT/ |
D | SparseBitVectorTest.cpp | 29 EXPECT_TRUE(Vec.test_and_set(17)); in TEST() 30 EXPECT_FALSE(Vec.test_and_set(17)); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | SparseBitVectorTest.cpp | 29 EXPECT_TRUE(Vec.test_and_set(17)); in TEST() 30 EXPECT_FALSE(Vec.test_and_set(17)); in TEST()
|
/external/v8/src/trap-handler/ |
D | handler-shared.cc | 61 while (spinlock_.test_and_set(std::memory_order::memory_order_acquire)) { in MetadataLock()
|
/external/clang/test/CodeGen/ |
D | big-atomic-ops.c | 180 void test_and_set() { in test_and_set() function
|
D | atomic-ops.c | 309 void test_and_set() { in test_and_set() function
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | SparseBitVector.h | 106 bool test_and_set (unsigned Idx) { 551 bool test_and_set (unsigned Idx) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 103 bool test_and_set(unsigned Idx) { in test_and_set() function 527 bool test_and_set(unsigned Idx) { in test_and_set() function
|
/external/libcxx/include/ |
D | atomic | 55 bool test_and_set(memory_order m = memory_order_seq_cst) volatile noexcept; 56 bool test_and_set(memory_order m = memory_order_seq_cst) noexcept; 1725 bool test_and_set(memory_order __m = memory_order_seq_cst) volatile _NOEXCEPT 1728 bool test_and_set(memory_order __m = memory_order_seq_cst) _NOEXCEPT 1763 return __o->test_and_set(); 1770 return __o->test_and_set(); 1777 return __o->test_and_set(__m); 1784 return __o->test_and_set(__m);
|
/external/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 106 bool test_and_set (unsigned Idx) { 540 bool test_and_set (unsigned Idx) {
|
/external/tensorflow/tensorflow/contrib/mpi_collectives/kernels/ |
D | mpi_ops.cc | 801 if (mpi_global.initialized_flag.test_and_set()) return mpi_global.init_status; in InitializeMPIOnce()
|
/external/tensorflow/tensorflow/contrib/mpi_collectives/ |
D | mpi_ops.cc | 802 if (mpi_global.initialized_flag.test_and_set()) return mpi_global.init_status; in InitializeMPIOnce()
|