Home
last modified time | relevance | path

Searched refs:mo (Results 1 – 25 of 192) sorted by relevance

12345678

/external/compiler-rt/lib/tsan/rtl/
Dtsan_interface_atomic.cc59 static bool IsLoadOrder(morder mo) { in IsLoadOrder() argument
60 return mo == mo_relaxed || mo == mo_consume in IsLoadOrder()
61 || mo == mo_acquire || mo == mo_seq_cst; in IsLoadOrder()
64 static bool IsStoreOrder(morder mo) { in IsStoreOrder() argument
65 return mo == mo_relaxed || mo == mo_release || mo == mo_seq_cst; in IsStoreOrder()
68 static bool IsReleaseOrder(morder mo) { in IsReleaseOrder() argument
69 return mo == mo_release || mo == mo_acq_rel || mo == mo_seq_cst; in IsReleaseOrder()
72 static bool IsAcquireOrder(morder mo) { in IsAcquireOrder() argument
73 return mo == mo_consume || mo == mo_acquire in IsAcquireOrder()
74 || mo == mo_acq_rel || mo == mo_seq_cst; in IsAcquireOrder()
[all …]
/external/compiler-rt/include/sanitizer/
Dtsan_interface_atomic.h45 __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/
Dcopy.pass.cpp40 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 …]
Dcopy_assign.pass.cpp40 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 …]
Dcopy_alloc.pass.cpp39 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 …]
Dmove.pass.cpp30 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/
Dcopy_assign.pass.cpp41 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main() local
43 m = mo; in main()
52 assert(mo.get_allocator() == A(2)); 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()
91 std::map<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main() local
[all …]
Dcopy.pass.cpp41 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 …]
Dmove.pass.cpp30 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 …]
Dcopy_alloc.pass.cpp41 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 …]
/external/v8/src/base/
Datomicops_internals_tsan.h44 __tsan_memory_order mo);
46 __tsan_memory_order mo);
48 __tsan_memory_order mo);
50 __tsan_memory_order mo);
52 __tsan_memory_order mo);
55 __tsan_memory_order mo);
57 __tsan_memory_order mo);
59 __tsan_memory_order mo);
61 __tsan_memory_order mo);
63 __tsan_memory_order mo);
[all …]
/external/libcxx/test/std/containers/associative/set/set.cons/
Dcopy.pass.cpp40 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 …]
Dmove.pass.cpp30 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 …]
Dcopy_assign.pass.cpp40 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 …]
Dcopy_alloc.pass.cpp39 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/
Dmove.pass.cpp30 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 …]
Dcopy.pass.cpp41 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; 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(7)); in main() local
68 std::multimap<int, double, C, A> m = mo; in main()
69 assert(m == mo); in main()
73 assert(mo.get_allocator() == A(7)); in main()
74 assert(mo.key_comp() == C(5)); in main()
[all …]
Dcopy_assign.pass.cpp41 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 …]
Dcopy_alloc.pass.cpp41 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()
/external/skia/include/ports/
DSkAtomics_atomic.h12 T sk_atomic_load(const T* ptr, sk_memory_order mo) { in sk_atomic_load() argument
13 SkASSERT(mo == sk_memory_order_relaxed || in sk_atomic_load()
14 mo == sk_memory_order_seq_cst || in sk_atomic_load()
15 mo == sk_memory_order_acquire || in sk_atomic_load()
16 mo == sk_memory_order_consume); in sk_atomic_load()
17 return __atomic_load_n(ptr, mo); in sk_atomic_load()
21 void sk_atomic_store(T* ptr, T val, sk_memory_order mo) { in sk_atomic_store() argument
22 SkASSERT(mo == sk_memory_order_relaxed || in sk_atomic_store()
23 mo == sk_memory_order_seq_cst || in sk_atomic_store()
24 mo == sk_memory_order_release); in sk_atomic_store()
[all …]
DSkAtomics_std.h16 T sk_atomic_load(const T* ptr, sk_memory_order mo) { in sk_atomic_load() argument
17 SkASSERT(mo == sk_memory_order_relaxed || in sk_atomic_load()
18 mo == sk_memory_order_seq_cst || in sk_atomic_load()
19 mo == sk_memory_order_acquire || in sk_atomic_load()
20 mo == sk_memory_order_consume); in sk_atomic_load()
22 return std::atomic_load_explicit(ap, (std::memory_order)mo); in sk_atomic_load()
26 void sk_atomic_store(T* ptr, T val, sk_memory_order mo) { in sk_atomic_store() argument
27 SkASSERT(mo == sk_memory_order_relaxed || in sk_atomic_store()
28 mo == sk_memory_order_seq_cst || in sk_atomic_store()
29 mo == sk_memory_order_release); in sk_atomic_store()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_atomic_msvc.h69 const volatile T *a, memory_order mo) { in atomic_load() argument
70 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load()
75 if (mo == memory_order_relaxed) { in atomic_load()
86 INLINE void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store() argument
87 DCHECK(mo & (memory_order_relaxed | memory_order_release in atomic_store()
91 if (mo == memory_order_relaxed) { in atomic_store()
98 if (mo == memory_order_seq_cst) in atomic_store()
103 u32 v, memory_order mo) { in atomic_fetch_add() argument
104 (void)mo; in atomic_fetch_add()
111 uptr v, memory_order mo) { in atomic_fetch_add() argument
[all …]
/external/llvm/test/CodeGen/ARM/
D2011-03-10-DAGCombineCrash.ll5 %struct.mo = type { i32, %struct.mo_pops* }
6mo*)*, 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/lldb/examples/python/
Djump.py23 mo = re.match("^([0-9]+)$", linespec)
24 if (mo != None):
27 line_number = int(mo.group(1))
35 mo = re.match("^\+([0-9]+)$", linespec)
36 if (mo != None):
39 line_number = int(mo.group(1))
47 mo = re.match("^\-([0-9]+)$", linespec)
48 if (mo != None):
51 line_number = int(mo.group(1))
59 mo = re.match("^(.*):([0-9]+)$", linespec)
[all …]
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/
DMakefile50 MOS=$(POS:%.po=%/LC_MESSAGES/options.mo)
53 .PHONY: all clean pot po mo
64 options.h: t_options.h mo
68 mo: target
69 @for mo in $(MOS); do \
70 lang=$${mo%%/*}; \
71 echo "Updating $$mo from $$lang.po."; \
72 mkdir -p $${mo%/*}; \
73 msgfmt -o $$mo $$lang.po; \

12345678