/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_atomic.cc | 36 static bool IsLoadOrder(morder mo) { in IsLoadOrder() argument 37 return mo == mo_relaxed || mo == mo_consume in IsLoadOrder() 38 || mo == mo_acquire || mo == mo_seq_cst; in IsLoadOrder() 41 static bool IsStoreOrder(morder mo) { in IsStoreOrder() argument 42 return mo == mo_relaxed || mo == mo_release || mo == mo_seq_cst; in IsStoreOrder() 45 static bool IsReleaseOrder(morder mo) { in IsReleaseOrder() argument 46 return mo == mo_release || mo == mo_acq_rel || mo == mo_seq_cst; in IsReleaseOrder() 49 static bool IsAcquireOrder(morder mo) { in IsAcquireOrder() argument 50 return mo == mo_consume || mo == mo_acquire in IsAcquireOrder() 51 || mo == mo_acq_rel || mo == mo_seq_cst; in IsAcquireOrder() [all …]
|
D | tsan_interface.h | 171 a8 __tsan_atomic8_load(const volatile a8 *a, morder mo); 173 a16 __tsan_atomic16_load(const volatile a16 *a, morder mo); 175 a32 __tsan_atomic32_load(const volatile a32 *a, morder mo); 177 a64 __tsan_atomic64_load(const volatile a64 *a, morder mo); 180 a128 __tsan_atomic128_load(const volatile a128 *a, morder mo); 184 void __tsan_atomic8_store(volatile a8 *a, a8 v, morder mo); 186 void __tsan_atomic16_store(volatile a16 *a, a16 v, morder mo); 188 void __tsan_atomic32_store(volatile a32 *a, a32 v, morder mo); 190 void __tsan_atomic64_store(volatile a64 *a, a64 v, morder mo); 193 void __tsan_atomic128_store(volatile a128 *a, a128 v, morder mo); [all …]
|
/external/compiler-rt/include/sanitizer/ |
D | tsan_interface_atomic.h | 45 __tsan_memory_order mo); 47 __tsan_memory_order mo); 49 __tsan_memory_order mo); 51 __tsan_memory_order mo); 54 __tsan_memory_order mo); 58 __tsan_memory_order mo); 60 __tsan_memory_order mo); 62 __tsan_memory_order mo); 64 __tsan_memory_order mo); 67 __tsan_memory_order mo); [all …]
|
/external/libcxx/test/std/containers/associative/multiset/multiset.cons/ |
D | copy.pass.cpp | 41 std::multiset<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 42 std::multiset<int, C, A> m = mo; in main() 57 assert(mo.get_allocator() == A(7)); in main() 58 assert(mo.key_comp() == C(5)); in main() 59 assert(mo.size() == 9); in main() 60 assert(distance(mo.begin(), mo.end()) == 9); in main() 61 assert(*next(mo.begin(), 0) == 1); in main() 62 assert(*next(mo.begin(), 1) == 1); in main() 63 assert(*next(mo.begin(), 2) == 1); in main() 64 assert(*next(mo.begin(), 3) == 2); in main() [all …]
|
D | copy_assign.pass.cpp | 40 std::multiset<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main() local 42 m = mo; in main() 57 assert(mo.get_allocator() == A(2)); in main() 58 assert(mo.key_comp() == C(5)); in main() 59 assert(mo.size() == 9); in main() 60 assert(distance(mo.begin(), mo.end()) == 9); in main() 61 assert(*next(mo.begin(), 0) == 1); in main() 62 assert(*next(mo.begin(), 1) == 1); in main() 63 assert(*next(mo.begin(), 2) == 1); in main() 64 assert(*next(mo.begin(), 3) == 2); in main() [all …]
|
D | copy_alloc.pass.cpp | 39 std::multiset<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 40 std::multiset<int, C, A> m(mo, A(3)); in main() 55 assert(mo.get_allocator() == A(7)); in main() 56 assert(mo.key_comp() == C(5)); in main() 57 assert(mo.size() == 9); in main() 58 assert(distance(mo.begin(), mo.end()) == 9); in main() 59 assert(*next(mo.begin(), 0) == 1); in main() 60 assert(*next(mo.begin(), 1) == 1); in main() 61 assert(*next(mo.begin(), 2) == 1); in main() 62 assert(*next(mo.begin(), 3) == 2); in main() [all …]
|
D | move.pass.cpp | 30 std::multiset<int, C, A> mo(C(5), A(7)); in main() local 31 std::multiset<int, C, A> m = std::move(mo); in main() 37 assert(mo.get_allocator() == A(7)); in main() 38 assert(mo.key_comp() == C(5)); in main() 39 assert(mo.size() == 0); in main() 40 assert(distance(mo.begin(), mo.end()) == 0); in main() 58 std::multiset<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 59 std::multiset<int, C, A> m = std::move(mo); in main() 74 assert(mo.get_allocator() == A(7)); in main() 75 assert(mo.key_comp() == C(5)); in main() [all …]
|
/external/libcxx/test/std/containers/associative/map/map.cons/ |
D | copy_alloc.pass.cpp | 41 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 42 std::map<int, double, C, A> m(mo, A(3)); in main() 51 assert(mo.get_allocator() == A(7)); in main() 52 assert(mo.key_comp() == C(5)); in main() 53 assert(mo.size() == 3); in main() 54 assert(distance(mo.begin(), mo.end()) == 3); in main() 55 assert(*mo.begin() == V(1, 1)); in main() 56 assert(*next(mo.begin()) == V(2, 1)); in main() 57 assert(*next(mo.begin(), 2) == V(3, 1)); in main() 76 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A()); in main() local [all …]
|
D | copy.pass.cpp | 42 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 43 std::map<int, double, C, A> m = mo; in main() 52 assert(mo.get_allocator() == A(7)); in main() 53 assert(mo.key_comp() == C(5)); in main() 54 assert(mo.size() == 3); in main() 55 assert(distance(mo.begin(), mo.end()) == 3); in main() 56 assert(*mo.begin() == V(1, 1)); in main() 57 assert(*next(mo.begin()) == V(2, 1)); in main() 58 assert(*next(mo.begin(), 2) == V(3, 1)); in main() 77 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local [all …]
|
D | move.pass.cpp | 30 std::map<int, double, C, A> mo(C(5), A(7)); in main() local 31 std::map<int, double, C, A> m = std::move(mo); in main() 37 assert(mo.get_allocator() == A(7)); in main() 38 assert(mo.key_comp() == C(5)); in main() 39 assert(mo.size() == 0); in main() 40 assert(distance(mo.begin(), mo.end()) == 0); in main() 57 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 58 std::map<int, double, C, A> m = std::move(mo); in main() 67 assert(mo.get_allocator() == A(7)); in main() 68 assert(mo.key_comp() == C(5)); in main() [all …]
|
D | copy_assign.pass.cpp | 130 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main() local 132 m = mo; in main() 141 assert(mo.get_allocator() == A(2)); in main() 142 assert(mo.key_comp() == C(5)); in main() 143 assert(mo.size() == 3); in main() 144 assert(distance(mo.begin(), mo.end()) == 3); in main() 145 assert(*mo.begin() == V(1, 1)); in main() 146 assert(*next(mo.begin()) == V(2, 1)); in main() 147 assert(*next(mo.begin(), 2) == V(3, 1)); in main() 180 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main() local [all …]
|
/external/python/cpython2/Lib/lib2to3/pgen2/ |
D | conv.py | 71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line) 72 if not mo and line.strip(): 76 symbol, number = mo.groups() 132 mo = re.match(r"static arc arcs_(\d+)_(\d+)\[(\d+)\] = {$", 134 assert mo, (lineno, line) 135 n, m, k = map(int, mo.groups()) 139 mo = re.match(r"\s+{(\d+), (\d+)},$", line) 140 assert mo, (lineno, line) 141 i, j = map(int, mo.groups()) 147 mo = re.match(r"static state states_(\d+)\[(\d+)\] = {$", line) [all …]
|
/external/libcxx/test/std/containers/associative/set/set.cons/ |
D | copy.pass.cpp | 41 std::set<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 42 std::set<int, C, A> m = mo; in main() 51 assert(mo.get_allocator() == A(7)); in main() 52 assert(mo.key_comp() == C(5)); in main() 53 assert(mo.size() == 3); in main() 54 assert(distance(mo.begin(), mo.end()) == 3); in main() 55 assert(*mo.begin() == 1); in main() 56 assert(*next(mo.begin()) == 2); in main() 57 assert(*next(mo.begin(), 2) == 3); in main() 76 std::set<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local [all …]
|
D | move.pass.cpp | 30 std::set<int, C, A> mo(C(5), A(7)); in main() local 31 std::set<int, C, A> m = std::move(mo); in main() 37 assert(mo.get_allocator() == A(7)); in main() 38 assert(mo.key_comp() == C(5)); in main() 39 assert(mo.size() == 0); in main() 40 assert(distance(mo.begin(), mo.end()) == 0); in main() 58 std::set<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 59 std::set<int, C, A> m = std::move(mo); in main() 68 assert(mo.get_allocator() == A(7)); in main() 69 assert(mo.key_comp() == C(5)); in main() [all …]
|
D | copy_assign.pass.cpp | 40 std::set<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main() local 42 m = mo; in main() 51 assert(mo.get_allocator() == A(2)); in main() 52 assert(mo.key_comp() == C(5)); in main() 53 assert(mo.size() == 3); in main() 54 assert(distance(mo.begin(), mo.end()) == 3); in main() 55 assert(*mo.begin() == 1); in main() 56 assert(*next(mo.begin()) == 2); in main() 57 assert(*next(mo.begin(), 2) == 3); in main() 90 std::set<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main() local [all …]
|
D | copy_alloc.pass.cpp | 39 std::set<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 40 std::set<int, C, A> m(mo, A(3)); in main() 49 assert(mo.get_allocator() == A(7)); in main() 50 assert(mo.key_comp() == C(5)); in main() 51 assert(mo.size() == 3); in main() 52 assert(distance(mo.begin(), mo.end()) == 3); in main() 53 assert(*mo.begin() == 1); in main() 54 assert(*next(mo.begin()) == 2); in main() 55 assert(*next(mo.begin(), 2) == 3); in main()
|
/external/libcxx/test/std/containers/associative/multimap/multimap.cons/ |
D | move.pass.cpp | 30 std::multimap<int, double, C, A> mo(C(5), A(7)); in main() local 31 std::multimap<int, double, C, A> m = std::move(mo); in main() 37 assert(mo.get_allocator() == A(7)); in main() 38 assert(mo.key_comp() == C(5)); in main() 39 assert(mo.size() == 0); in main() 40 assert(distance(mo.begin(), mo.end()) == 0); in main() 57 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 58 std::multimap<int, double, C, A> m = std::move(mo); in main() 73 assert(mo.get_allocator() == A(7)); in main() 74 assert(mo.key_comp() == C(5)); in main() [all …]
|
D | copy.pass.cpp | 42 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 43 std::multimap<int, double, C, A> m = mo; in main() 44 assert(m == mo); in main() 48 assert(mo.get_allocator() == A(7)); in main() 49 assert(mo.key_comp() == C(5)); in main() 68 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 69 std::multimap<int, double, C, A> m = mo; in main() 70 assert(m == mo); in main() 74 assert(mo.get_allocator() == A(7)); in main() 75 assert(mo.key_comp() == C(5)); in main() [all …]
|
D | copy_alloc.pass.cpp | 41 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 42 std::multimap<int, double, C, A> m(mo, A(3)); in main() 43 assert(m == mo); in main() 47 assert(mo.get_allocator() == A(7)); in main() 48 assert(mo.key_comp() == C(5)); in main() 67 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A()); in main() local 68 std::multimap<int, double, C, A> m(mo, A()); in main() 69 assert(m == mo); in main() 73 assert(mo.get_allocator() == A()); in main() 74 assert(mo.key_comp() == C(5)); in main() [all …]
|
D | copy_assign.pass.cpp | 41 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main() local 43 m = mo; in main() 44 assert(m == mo); in main() 48 assert(mo.get_allocator() == A(2)); in main() 49 assert(mo.key_comp() == C(5)); in main() 87 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main() local 89 m = mo; in main() 90 assert(m == mo); in main() 94 assert(mo.get_allocator() == A(2)); in main() 95 assert(mo.key_comp() == C(5)); in main() [all …]
|
/external/skia/include/private/ |
D | SkAtomics.h | 56 T load(sk_memory_order mo = default_memory_order) const { 57 return sk_atomic_load(&fVal, mo); 60 void store(const T& val, sk_memory_order mo = default_memory_order) { 61 sk_atomic_store(&fVal, val, mo); 75 T fetch_add(const T& val, sk_memory_order mo = default_memory_order) { 76 return sk_atomic_fetch_add(&fVal, val, mo); 79 T fetch_sub(const T& val, sk_memory_order mo = default_memory_order) { 80 return sk_atomic_fetch_sub(&fVal, val, mo); 95 T sk_atomic_load(const T* ptr, sk_memory_order mo) { in sk_atomic_load() argument 96 SkASSERT(mo == sk_memory_order_relaxed || in sk_atomic_load() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_atomic_msvc.h | 82 const volatile T *a, memory_order mo) { in atomic_load() argument 83 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load() 88 if (mo == memory_order_relaxed) { in atomic_load() 99 INLINE void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store() argument 100 DCHECK(mo & (memory_order_relaxed | memory_order_release in atomic_store() 104 if (mo == memory_order_relaxed) { in atomic_store() 111 if (mo == memory_order_seq_cst) in atomic_store() 116 u32 v, memory_order mo) { in atomic_fetch_add() argument 117 (void)mo; in atomic_fetch_add() 124 uptr v, memory_order mo) { in atomic_fetch_add() argument [all …]
|
D | sanitizer_atomic_clang_x86.h | 29 const volatile T *a, memory_order mo) { in atomic_load() argument 30 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load() 37 if (mo == memory_order_relaxed) { in atomic_load() 39 } else if (mo == memory_order_consume) { in atomic_load() 45 } else if (mo == memory_order_acquire) { in atomic_load() 75 INLINE void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store() argument 76 DCHECK(mo & (memory_order_relaxed | memory_order_release in atomic_store() 82 if (mo == memory_order_relaxed) { in atomic_store() 84 } else if (mo == memory_order_release) { in atomic_store() 109 if (mo == memory_order_seq_cst) in atomic_store()
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
D | 2011-03-10-DAGCombineCrash.ll | 5 %struct.mo = type { i32, %struct.mo_pops* } 6 …mo*)*, void (%struct.mo*)*, i32 (%struct.mo*, i32*, i32)*, i32 (%struct.mo*)*, i32 (%struct.mo*, i… 7 %struct.ui = type { %struct.mo*, i32*, i32, i32*, i32*, i64, i32*, i32*, i32* } 21 store %struct.mo* undef, %struct.mo** %1, align 4 24 %4 = call i32 @mo_create_nnm(%struct.mo* undef, i64 %3, i32** undef) nounwind 45 declare i32 @mo_create_nnm(%struct.mo*, i64, i32**)
|
/external/llvm/test/CodeGen/ARM/ |
D | 2011-03-10-DAGCombineCrash.ll | 5 %struct.mo = type { i32, %struct.mo_pops* } 6 …mo*)*, void (%struct.mo*)*, i32 (%struct.mo*, i32*, i32)*, i32 (%struct.mo*)*, i32 (%struct.mo*, i… 7 %struct.ui = type { %struct.mo*, i32*, i32, i32*, i32*, i64, i32*, i32*, i32* } 21 store %struct.mo* undef, %struct.mo** %1, align 4 24 %4 = call i32 @mo_create_nnm(%struct.mo* undef, i64 %3, i32** undef) nounwind 45 declare i32 @mo_create_nnm(%struct.mo*, i64, i32**)
|