/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_atomic.cpp | 35 static bool IsLoadOrder(morder mo) { in IsLoadOrder() argument 36 return mo == mo_relaxed || mo == mo_consume in IsLoadOrder() 37 || mo == mo_acquire || mo == mo_seq_cst; in IsLoadOrder() 40 static bool IsStoreOrder(morder mo) { in IsStoreOrder() argument 41 return mo == mo_relaxed || mo == mo_release || mo == mo_seq_cst; in IsStoreOrder() 44 static bool IsReleaseOrder(morder mo) { in IsReleaseOrder() argument 45 return mo == mo_release || mo == mo_acq_rel || mo == mo_seq_cst; in IsReleaseOrder() 48 static bool IsAcquireOrder(morder mo) { in IsAcquireOrder() argument 49 return mo == mo_consume || mo == mo_acquire in IsAcquireOrder() 50 || mo == mo_acq_rel || mo == mo_seq_cst; in IsAcquireOrder() [all …]
|
D | tsan_interface.h | 221 a8 __tsan_atomic8_load(const volatile a8 *a, morder mo); 223 a16 __tsan_atomic16_load(const volatile a16 *a, morder mo); 225 a32 __tsan_atomic32_load(const volatile a32 *a, morder mo); 227 a64 __tsan_atomic64_load(const volatile a64 *a, morder mo); 230 a128 __tsan_atomic128_load(const volatile a128 *a, morder mo); 234 void __tsan_atomic8_store(volatile a8 *a, a8 v, morder mo); 236 void __tsan_atomic16_store(volatile a16 *a, a16 v, morder mo); 238 void __tsan_atomic32_store(volatile a32 *a, a32 v, morder mo); 240 void __tsan_atomic64_store(volatile a64 *a, a64 v, morder mo); 243 void __tsan_atomic128_store(volatile a128 *a, a128 v, morder mo); [all …]
|
/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/llvm-project/compiler-rt/include/sanitizer/ |
D | tsan_interface_atomic.h | 44 __tsan_memory_order mo); 46 __tsan_memory_order mo); 48 __tsan_memory_order mo); 50 __tsan_memory_order mo); 53 __tsan_memory_order mo); 57 __tsan_memory_order mo); 59 __tsan_memory_order mo); 61 __tsan_memory_order mo); 63 __tsan_memory_order mo); 66 __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 …]
|
/external/llvm-project/libcxx/test/std/containers/associative/multiset/multiset.cons/ |
D | copy.pass.cpp | 40 std::multiset<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 41 std::multiset<int, C, A> m = mo; in main() 56 assert(mo.get_allocator() == A(7)); in main() 57 assert(mo.key_comp() == C(5)); in main() 58 assert(mo.size() == 9); in main() 59 assert(distance(mo.begin(), mo.end()) == 9); in main() 60 assert(*next(mo.begin(), 0) == 1); in main() 61 assert(*next(mo.begin(), 1) == 1); in main() 62 assert(*next(mo.begin(), 2) == 1); in main() 63 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 …]
|
/external/libfuse/lib/ |
D | mount.c | 186 struct mount_opts *mo = data; in fuse_mount_opt_proc() local 193 set_mount_flag(arg, &mo->flags); in fuse_mount_opt_proc() 197 return fuse_opt_add_opt(&mo->kernel_opts, arg); in fuse_mount_opt_proc() 200 return fuse_opt_add_opt_escaped(&mo->fusermount_opts, arg); in fuse_mount_opt_proc() 203 return fuse_opt_add_opt(&mo->subtype_opt, arg); in fuse_mount_opt_proc() 206 return fuse_opt_add_opt(&mo->mtab_opts, arg); in fuse_mount_opt_proc() 307 static int fuse_mount_fusermount(const char *mountpoint, struct mount_opts *mo, in fuse_mount_fusermount() argument 367 if (!mo->auto_unmount) { in fuse_mount_fusermount() 384 static int fuse_mount_sys(const char *mnt, struct mount_opts *mo, in fuse_mount_sys() argument 407 if (mo->auto_unmount) { in fuse_mount_sys() [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 | 31 std::map<int, double, C, A> mo(C(5), A(7)); in main() local 32 std::map<int, double, C, A> m = std::move(mo); in main() 38 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main() 39 assert(mo.key_comp() == C(5)); in main() 40 assert(mo.size() == 0); in main() 41 assert(distance(mo.begin(), mo.end()) == 0); in main() 58 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 59 std::map<int, double, C, A> m = std::move(mo); in main() 68 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main() 69 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/llvm-project/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 | 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; 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(7)); in main() local [all …]
|
D | move.pass.cpp | 31 std::map<int, double, C, A> mo(C(5), A(7)); in main() local 32 std::map<int, double, C, A> m = std::move(mo); in main() 38 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main() 39 assert(mo.key_comp() == C(5)); in main() 40 assert(mo.size() == 0); in main() 41 assert(distance(mo.begin(), mo.end()) == 0); in main() 58 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 59 std::map<int, double, C, A> m = std::move(mo); in main() 68 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main() 69 assert(mo.key_comp() == C(5)); in main() [all …]
|
D | copy_assign.pass.cpp | 135 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main() local 137 m = mo; in main() 146 assert(mo.get_allocator() == A(2)); in main() 147 assert(mo.key_comp() == C(5)); in main() 148 assert(mo.size() == 3); in main() 149 assert(distance(mo.begin(), mo.end()) == 3); in main() 150 assert(*mo.begin() == V(1, 1)); in main() 151 assert(*next(mo.begin()) == V(2, 1)); in main() 152 assert(*next(mo.begin(), 2) == V(3, 1)); in main() 185 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main() local [all …]
|
/external/python/cpython3/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 = list(map(int, mo.groups())) 139 mo = re.match(r"\s+{(\d+), (\d+)},$", line) 140 assert mo, (lineno, line) 141 i, j = list(map(int, mo.groups())) 147 mo = re.match(r"static state states_(\d+)\[(\d+)\] = {$", line) [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 | 31 std::set<int, C, A> mo(C(5), A(7)); in main() local 32 std::set<int, C, A> m = std::move(mo); in main() 38 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main() 39 assert(mo.key_comp() == C(5)); in main() 40 assert(mo.size() == 0); in main() 41 assert(distance(mo.begin(), mo.end()) == 0); in main() 59 std::set<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 60 std::set<int, C, A> m = std::move(mo); in main() 69 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main() 70 assert(mo.key_comp() == C(5)); in main() [all …]
|
/external/llvm-project/libcxx/test/std/containers/associative/set/set.cons/ |
D | copy.pass.cpp | 40 std::set<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 41 std::set<int, C, A> m = mo; in main() 50 assert(mo.get_allocator() == A(7)); in main() 51 assert(mo.key_comp() == C(5)); in main() 52 assert(mo.size() == 3); in main() 53 assert(distance(mo.begin(), mo.end()) == 3); in main() 54 assert(*mo.begin() == 1); in main() 55 assert(*next(mo.begin()) == 2); in main() 56 assert(*next(mo.begin(), 2) == 3); in main() 75 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 | 31 std::set<int, C, A> mo(C(5), A(7)); in main() local 32 std::set<int, C, A> m = std::move(mo); in main() 38 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main() 39 assert(mo.key_comp() == C(5)); in main() 40 assert(mo.size() == 0); in main() 41 assert(distance(mo.begin(), mo.end()) == 0); in main() 59 std::set<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(7)); in main() local 60 std::set<int, C, A> m = std::move(mo); in main() 69 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main() 70 assert(mo.key_comp() == C(5)); in main() [all …]
|