Home
last modified time | relevance | path

Searched refs:relaxed (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/external/cronet/stable/third_party/libc++/src/test/std/atomics/atomics.ref/
Dcompare_exchange_weak.pass.cpp84 ….compare_exchange_weak(old_val, new_val, std::memory_order::release, std::memory_order::relaxed)) { in operator ()()
103 auto val = x.load(std::memory_order::relaxed); in operator ()()
104 …hile (!x.compare_exchange_weak(val, val, std::memory_order::acquire, std::memory_order::relaxed)) { in operator ()()
111 auto val = x.load(std::memory_order::relaxed); in operator ()()
123 ….compare_exchange_weak(old_val, new_val, std::memory_order::acq_rel, std::memory_order::relaxed)) { in operator ()()
127 auto val = x.load(std::memory_order::relaxed); in operator ()()
128 …hile (!x.compare_exchange_weak(val, val, std::memory_order::acq_rel, std::memory_order::relaxed)) { in operator ()()
140 auto val = x.load(std::memory_order::relaxed); in operator ()()
152 ….compare_exchange_weak(old_val, new_val, std::memory_order::seq_cst, std::memory_order::relaxed)) { in operator ()()
156 auto val = x.load(std::memory_order::relaxed); in operator ()()
[all …]
Dcompare_exchange_strong.pass.cpp83 ….compare_exchange_strong(old_val, new_val, std::memory_order::release, std::memory_order::relaxed); in operator ()()
102 auto val = x.load(std::memory_order::relaxed); in operator ()()
103 …le (!x.compare_exchange_strong(val, val, std::memory_order::acquire, std::memory_order::relaxed)) { in operator ()()
110 auto val = x.load(std::memory_order::relaxed); in operator ()()
121 ….compare_exchange_strong(old_val, new_val, std::memory_order::acq_rel, std::memory_order::relaxed); in operator ()()
125 auto val = x.load(std::memory_order::relaxed); in operator ()()
126 …le (!x.compare_exchange_strong(val, val, std::memory_order::acq_rel, std::memory_order::relaxed)) { in operator ()()
137 auto val = x.load(std::memory_order::relaxed); in operator ()()
148 ….compare_exchange_strong(old_val, new_val, std::memory_order::seq_cst, std::memory_order::relaxed); in operator ()()
152 auto val = x.load(std::memory_order::relaxed); in operator ()()
[all …]
Dnotify_all.pass.cpp42 started_num.fetch_add(1, std::memory_order::relaxed); in operator ()()
45 wait_done_num.fetch_add(1, std::memory_order::relaxed); in operator ()()
52 while (started_num.load(std::memory_order::relaxed) != number_of_threads) { in operator ()()
63 while (wait_done_num.load(std::memory_order::relaxed) != number_of_threads) { in operator ()()
/external/cronet/tot/third_party/libc++/src/test/std/atomics/atomics.ref/
Dcompare_exchange_weak.pass.cpp84 ….compare_exchange_weak(old_val, new_val, std::memory_order::release, std::memory_order::relaxed)) { in operator ()()
103 auto val = x.load(std::memory_order::relaxed); in operator ()()
104 …hile (!x.compare_exchange_weak(val, val, std::memory_order::acquire, std::memory_order::relaxed)) { in operator ()()
111 auto val = x.load(std::memory_order::relaxed); in operator ()()
123 ….compare_exchange_weak(old_val, new_val, std::memory_order::acq_rel, std::memory_order::relaxed)) { in operator ()()
127 auto val = x.load(std::memory_order::relaxed); in operator ()()
128 …hile (!x.compare_exchange_weak(val, val, std::memory_order::acq_rel, std::memory_order::relaxed)) { in operator ()()
140 auto val = x.load(std::memory_order::relaxed); in operator ()()
152 ….compare_exchange_weak(old_val, new_val, std::memory_order::seq_cst, std::memory_order::relaxed)) { in operator ()()
156 auto val = x.load(std::memory_order::relaxed); in operator ()()
[all …]
Dcompare_exchange_strong.pass.cpp83 ….compare_exchange_strong(old_val, new_val, std::memory_order::release, std::memory_order::relaxed); in operator ()()
102 auto val = x.load(std::memory_order::relaxed); in operator ()()
103 …le (!x.compare_exchange_strong(val, val, std::memory_order::acquire, std::memory_order::relaxed)) { in operator ()()
110 auto val = x.load(std::memory_order::relaxed); in operator ()()
121 ….compare_exchange_strong(old_val, new_val, std::memory_order::acq_rel, std::memory_order::relaxed); in operator ()()
125 auto val = x.load(std::memory_order::relaxed); in operator ()()
126 …le (!x.compare_exchange_strong(val, val, std::memory_order::acq_rel, std::memory_order::relaxed)) { in operator ()()
137 auto val = x.load(std::memory_order::relaxed); in operator ()()
148 ….compare_exchange_strong(old_val, new_val, std::memory_order::seq_cst, std::memory_order::relaxed); in operator ()()
152 auto val = x.load(std::memory_order::relaxed); in operator ()()
[all …]
Dnotify_all.pass.cpp42 started_num.fetch_add(1, std::memory_order::relaxed); in operator ()()
45 wait_done_num.fetch_add(1, std::memory_order::relaxed); in operator ()()
52 while (started_num.load(std::memory_order::relaxed) != number_of_threads) { in operator ()()
63 while (wait_done_num.load(std::memory_order::relaxed) != number_of_threads) { in operator ()()
/external/sdv/vsomeip/third_party/boost/spirit/test/karma/
Drepeat2.cpp84 using boost::spirit::karma::relaxed; in main()
107 BOOST_TEST(test("d", relaxed[repeat[r]], v2)); in main()
113 BOOST_TEST(test("abcefg", relaxed[repeat(6)[r]], v2)); in main()
114 BOOST_TEST(!test("", relaxed[repeat(5)[r]], v2)); in main()
120 BOOST_TEST(test("abd", relaxed[repeat(3)[r]], v2)); in main()
127 BOOST_TEST(test("bcdef", relaxed[repeat(3, 5)[r]], v2)); in main()
128 BOOST_TEST(test("bcd", relaxed[repeat(3, 5)[r]], v3)); in main()
129 BOOST_TEST(!test("", relaxed[repeat(4, 5)[r]], v3)); in main()
142 BOOST_TEST(test("abcde", relaxed[repeat(3, 5)[r]], v2)); in main()
143 BOOST_TEST(test("abcd", relaxed[repeat(3, 5)[r]], v3)); in main()
[all …]
Dkleene.cpp96 using boost::spirit::karma::relaxed; in main()
113 BOOST_TEST(test("a", relaxed[r << *(r << r)], v1)); in main()
119 BOOST_TEST(!test("", relaxed[r << *(r << r)], v1)); in main()
125 BOOST_TEST(test("aaa", relaxed[r << *(r << r)], v1)); in main()
173 using boost::spirit::karma::relaxed; in main()
191 BOOST_TEST(test("d", relaxed[*r], v2)); in main()
196 BOOST_TEST(test("a", relaxed[*r], v2)); in main()
201 BOOST_TEST(test("g", relaxed[*r], v2)); in main()
206 BOOST_TEST(test("abcefg", relaxed[*r], v2)); in main()
211 BOOST_TEST(test("bcdefg", relaxed[*r], v2)); in main()
[all …]
Dplus.cpp84 using boost::spirit::karma::relaxed; in main()
101 BOOST_TEST(!test("", relaxed[r << +(r << r)], v1)); in main()
107 BOOST_TEST(!test("", relaxed[r << +(r << r)], v1)); in main()
113 BOOST_TEST(test("aaa", relaxed[r << +(r << r)], v1)); in main()
161 using boost::spirit::karma::relaxed; in main()
179 BOOST_TEST(test("d", relaxed[+r], v2)); in main()
184 BOOST_TEST(test("a", relaxed[+r], v2)); in main()
189 BOOST_TEST(test("g", relaxed[+r], v2)); in main()
194 BOOST_TEST(test("abcefg", relaxed[+r], v2)); in main()
199 BOOST_TEST(test("bcdefg", relaxed[+r], v2)); in main()
Dlist.cpp94 using boost::spirit::karma::relaxed; in main()
110 BOOST_TEST(test("d", relaxed[r % ','], v2)); in main()
115 BOOST_TEST(test("a", relaxed[r % ','], v2)); in main()
120 BOOST_TEST(test("g", relaxed[r % ','], v2)); in main()
125 BOOST_TEST(test("a,b,c,e,f,g", relaxed[r % ','], v2)); in main()
130 BOOST_TEST(test("b,c,d,e,f,g", relaxed[r % ','], v2)); in main()
135 BOOST_TEST(test("a,b,c,d,e,f", relaxed[r % ','], v2)); in main()
Dsequence1.cpp79 using boost::spirit::karma::relaxed; in main()
85 BOOST_TEST(test("a12", relaxed[char_ << int_], p)); in main()
86 BOOST_TEST(test_delimited("a 12 ", relaxed[char_ << int_], p, char(' '))); in main()
96 BOOST_TEST(test("a12c", relaxed[char_ << int_ << char_('c')], p1)); in main()
98 relaxed[char_ << int_ << char_('c')], p1, char(' '))); in main()
/external/python/cpython3/Python/
Djit.c334 uint64_t relaxed = *(uint64_t *)value; in patch_aarch64_33rx() local
335 if (relaxed < (1UL << 16)) { in patch_aarch64_33rx()
337 loc32[0] = 0xD2800000 | (get_bits(relaxed, 0, 16) << 5) | reg; in patch_aarch64_33rx()
341 if (relaxed < (1ULL << 32)) { in patch_aarch64_33rx()
343 loc32[0] = 0xD2800000 | (get_bits(relaxed, 0, 16) << 5) | reg; in patch_aarch64_33rx()
344 loc32[1] = 0xF2A00000 | (get_bits(relaxed, 16, 16) << 5) | reg; in patch_aarch64_33rx()
347 relaxed = value - (uintptr_t)location; in patch_aarch64_33rx()
348 if ((relaxed & 0x3) == 0 && in patch_aarch64_33rx()
349 (int64_t)relaxed >= -(1L << 19) && in patch_aarch64_33rx()
350 (int64_t)relaxed < (1L << 19)) in patch_aarch64_33rx()
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/karma/directive/
Dstrict_relaxed.hpp28 struct use_directive<karma::domain, tag::relaxed> // enables relaxed[]
37 struct is_modifier_directive<karma::domain, tag::relaxed>
45 , typename enable_if<has_modifier<Current, tag::relaxed> >::type>
56 struct compound_modifier<Current, tag::relaxed
63 compound_modifier(Current const& current, tag::relaxed const&) in compound_modifier()
71 using boost::spirit::relaxed;
/external/jsoup/src/test/java/org/jsoup/safety/
DCleanerTest.java55 String cleanHtml = Jsoup.clean(h, Safelist.relaxed()); in testRelaxed()
75 Safelist safelist = Safelist.relaxed(); in allAttributes()
90 Safelist safelist = Safelist.relaxed(); in removeProtocols()
131 String cleanHtml = Jsoup.clean(h, Safelist.relaxed()); in testDropComments()
137 String cleanHtml = Jsoup.clean(h, Safelist.relaxed()); in testDropXmlProc()
143 String cleanHtml = Jsoup.clean(h, Safelist.relaxed()); in testDropScript()
149 String cleanHtml = Jsoup.clean(h, Safelist.relaxed()); in testDropImageScript()
155 String cleanHtml = Jsoup.clean(h, Safelist.relaxed()); in testCleanJavascriptHref()
164 String cleanHtml = Jsoup.clean(validAnchor, Safelist.relaxed()); in testCleanAnchorProtocol()
167 cleanHtml = Jsoup.clean(invalidAnchor, Safelist.relaxed()); in testCleanAnchorProtocol()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/atomics/atomics.types.generic/atomics.types.float/
Dcompare_exchange_strong.pass.cpp71 testBasic<T, MaybeVolatile>(std::memory_order::relaxed); in test_impl()
72 testBasic<T, MaybeVolatile>(std::memory_order::relaxed, std::memory_order_relaxed); in test_impl()
95 auto val = x.load(std::memory_order::relaxed); in test_impl()
103 auto val = x.load(std::memory_order::relaxed); in test_impl()
118 auto val = x.load(std::memory_order::relaxed); in test_impl()
130 auto val = x.load(std::memory_order::relaxed); in test_impl()
145 auto val = x.load(std::memory_order::relaxed); in test_impl()
157 auto val = x.load(std::memory_order::relaxed); in test_impl()
169 auto result = x.load(std::memory_order::relaxed); in test_impl()
178 auto result = x.load(std::memory_order::relaxed); in test_impl()
[all …]
Dcompare_exchange_weak.pass.cpp80 testBasic<T, MaybeVolatile>(std::memory_order::relaxed); in test_impl()
81 testBasic<T, MaybeVolatile>(std::memory_order::relaxed, std::memory_order_relaxed); in test_impl()
106 auto val = x.load(std::memory_order::relaxed); in test_impl()
114 auto val = x.load(std::memory_order::relaxed); in test_impl()
130 auto val = x.load(std::memory_order::relaxed); in test_impl()
143 auto val = x.load(std::memory_order::relaxed); in test_impl()
159 auto val = x.load(std::memory_order::relaxed); in test_impl()
172 auto val = x.load(std::memory_order::relaxed); in test_impl()
184 auto result = x.load(std::memory_order::relaxed); in test_impl()
193 auto result = x.load(std::memory_order::relaxed); in test_impl()
[all …]
Dwait.pass.cpp42 a.wait(T(1.1), std::memory_order::relaxed); in test_impl()
58 started.store(true, std::memory_order::relaxed); in test_impl()
66 while (!started.load(std::memory_order::relaxed)) { in test_impl()
84 auto result = x.load(std::memory_order::relaxed); in test_impl()
95 auto result = x.load(std::memory_order::relaxed); in test_impl()
100 auto result = x.load(std::memory_order::relaxed); in test_impl()
/external/cronet/tot/third_party/libc++/src/test/std/atomics/atomics.types.generic/atomics.types.float/
Dcompare_exchange_strong.pass.cpp71 testBasic<T, MaybeVolatile>(std::memory_order::relaxed); in test_impl()
72 testBasic<T, MaybeVolatile>(std::memory_order::relaxed, std::memory_order_relaxed); in test_impl()
95 auto val = x.load(std::memory_order::relaxed); in test_impl()
103 auto val = x.load(std::memory_order::relaxed); in test_impl()
118 auto val = x.load(std::memory_order::relaxed); in test_impl()
130 auto val = x.load(std::memory_order::relaxed); in test_impl()
145 auto val = x.load(std::memory_order::relaxed); in test_impl()
157 auto val = x.load(std::memory_order::relaxed); in test_impl()
169 auto result = x.load(std::memory_order::relaxed); in test_impl()
178 auto result = x.load(std::memory_order::relaxed); in test_impl()
[all …]
Dcompare_exchange_weak.pass.cpp80 testBasic<T, MaybeVolatile>(std::memory_order::relaxed); in test_impl()
81 testBasic<T, MaybeVolatile>(std::memory_order::relaxed, std::memory_order_relaxed); in test_impl()
106 auto val = x.load(std::memory_order::relaxed); in test_impl()
114 auto val = x.load(std::memory_order::relaxed); in test_impl()
130 auto val = x.load(std::memory_order::relaxed); in test_impl()
143 auto val = x.load(std::memory_order::relaxed); in test_impl()
159 auto val = x.load(std::memory_order::relaxed); in test_impl()
172 auto val = x.load(std::memory_order::relaxed); in test_impl()
184 auto result = x.load(std::memory_order::relaxed); in test_impl()
193 auto result = x.load(std::memory_order::relaxed); in test_impl()
[all …]
Dwait.pass.cpp42 a.wait(T(1.1), std::memory_order::relaxed); in test_impl()
58 started.store(true, std::memory_order::relaxed); in test_impl()
66 while (!started.load(std::memory_order::relaxed)) { in test_impl()
84 auto result = x.load(std::memory_order::relaxed); in test_impl()
95 auto result = x.load(std::memory_order::relaxed); in test_impl()
100 auto result = x.load(std::memory_order::relaxed); in test_impl()
Dnotify_all.pass.cpp52 started_num.fetch_add(1, std::memory_order::relaxed); in test_impl()
55 wait_done_num.fetch_add(1, std::memory_order::relaxed); in test_impl()
62 while (started_num.load(std::memory_order::relaxed) != number_of_threads) { in test_impl()
73 while (wait_done_num.load(std::memory_order::relaxed) != number_of_threads) { in test_impl()
/external/llvm/include/llvm/Support/
DAtomicOrdering.h30 relaxed = 0, enumerator
46 return (Int)AtomicOrderingCABI::relaxed <= I && in isValidAtomicOrderingCABI()
139 /* NotAtomic */ AtomicOrderingCABI::relaxed, in toCABI()
140 /* Unordered */ AtomicOrderingCABI::relaxed, in toCABI()
141 /* relaxed */ AtomicOrderingCABI::relaxed, in toCABI()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAtomicOrdering.h29 relaxed = 0, enumerator
45 return (Int)AtomicOrderingCABI::relaxed <= I && in isValidAtomicOrderingCABI()
137 /* NotAtomic */ AtomicOrderingCABI::relaxed, in toCABI()
138 /* Unordered */ AtomicOrderingCABI::relaxed, in toCABI()
139 /* relaxed */ AtomicOrderingCABI::relaxed, in toCABI()
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/
DAtomicOrdering.h29 relaxed = 0, enumerator
45 return (Int)AtomicOrderingCABI::relaxed <= I && in isValidAtomicOrderingCABI()
148 /* NotAtomic */ AtomicOrderingCABI::relaxed, in toCABI()
149 /* Unordered */ AtomicOrderingCABI::relaxed, in toCABI()
150 /* relaxed */ AtomicOrderingCABI::relaxed, in toCABI()
/external/deqp/android/cts/main/vk-main-2019-03-01/
Dssbo.txt1527 dEQP-VK.ssbo.layout.random.16bit.relaxed.0
1528 dEQP-VK.ssbo.layout.random.16bit.relaxed.1
1529 dEQP-VK.ssbo.layout.random.16bit.relaxed.10
1530 dEQP-VK.ssbo.layout.random.16bit.relaxed.11
1531 dEQP-VK.ssbo.layout.random.16bit.relaxed.12
1532 dEQP-VK.ssbo.layout.random.16bit.relaxed.13
1533 dEQP-VK.ssbo.layout.random.16bit.relaxed.14
1534 dEQP-VK.ssbo.layout.random.16bit.relaxed.15
1535 dEQP-VK.ssbo.layout.random.16bit.relaxed.16
1536 dEQP-VK.ssbo.layout.random.16bit.relaxed.17
[all …]

12345678910>>...12