OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:test_and_set
(Results
1 - 25
of
45
) sorted by null
1
2
/external/libcxx/test/std/atomics/atomics.flag/
test_and_set.pass.cpp
16
// bool
test_and_set
(memory_order = memory_order_seq_cst);
17
// bool
test_and_set
(memory_order = memory_order_seq_cst) volatile;
27
assert(f.
test_and_set
() == 0);
28
assert(f.
test_and_set
() == 1);
33
assert(f.
test_and_set
(std::memory_order_relaxed) == 0);
34
assert(f.
test_and_set
(std::memory_order_relaxed) == 1);
39
assert(f.
test_and_set
(std::memory_order_consume) == 0);
40
assert(f.
test_and_set
(std::memory_order_consume) == 1);
45
assert(f.
test_and_set
(std::memory_order_acquire) == 0);
46
assert(f.
test_and_set
(std::memory_order_acquire) == 1)
[
all
...]
clear.pass.cpp
26
f.
test_and_set
();
28
assert(f.
test_and_set
() == 0);
32
f.
test_and_set
();
34
assert(f.
test_and_set
() == 0);
38
f.
test_and_set
();
40
assert(f.
test_and_set
() == 0);
44
f.
test_and_set
();
46
assert(f.
test_and_set
() == 0);
50
f.
test_and_set
();
52
assert(f.
test_and_set
() == 0)
[
all
...]
atomic_flag_clear_explicit.pass.cpp
26
f.
test_and_set
();
28
assert(f.
test_and_set
() == 0);
32
f.
test_and_set
();
34
assert(f.
test_and_set
() == 0);
38
f.
test_and_set
();
40
assert(f.
test_and_set
() == 0);
44
f.
test_and_set
();
46
assert(f.
test_and_set
() == 0);
50
f.
test_and_set
();
52
assert(f.
test_and_set
() == 0)
[
all
...]
atomic_flag_test_and_set_explicit.pass.cpp
28
assert(f.
test_and_set
() == 1);
34
assert(f.
test_and_set
() == 1);
40
assert(f.
test_and_set
() == 1);
46
assert(f.
test_and_set
() == 1);
52
assert(f.
test_and_set
() == 1);
58
assert(f.
test_and_set
() == 1);
64
assert(f.
test_and_set
() == 1);
70
assert(f.
test_and_set
() == 1);
76
assert(f.
test_and_set
() == 1);
82
assert(f.
test_and_set
() == 1)
[
all
...]
atomic_flag_clear.pass.cpp
26
f.
test_and_set
();
28
assert(f.
test_and_set
() == 0);
32
f.
test_and_set
();
34
assert(f.
test_and_set
() == 0);
atomic_flag_test_and_set.pass.cpp
28
assert(f.
test_and_set
() == 1);
34
assert(f.
test_and_set
() == 1);
default.pass.cpp
26
assert(f.
test_and_set
() == 0);
31
assert(!zero.
test_and_set
());
init.pass.cpp
24
assert(f.
test_and_set
() == 0);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.flag/
test_and_set.pass.cpp
14
// bool
test_and_set
(memory_order = memory_order_seq_cst);
15
// bool
test_and_set
(memory_order = memory_order_seq_cst) volatile;
25
assert(f.
test_and_set
() == 0);
26
assert(f.
test_and_set
() == 1);
31
assert(f.
test_and_set
(std::memory_order_relaxed) == 0);
32
assert(f.
test_and_set
(std::memory_order_relaxed) == 1);
37
assert(f.
test_and_set
(std::memory_order_consume) == 0);
38
assert(f.
test_and_set
(std::memory_order_consume) == 1);
43
assert(f.
test_and_set
(std::memory_order_acquire) == 0);
44
assert(f.
test_and_set
(std::memory_order_acquire) == 1)
[
all
...]
atomic_flag_clear_explicit.pass.cpp
24
f.
test_and_set
();
26
assert(f.
test_and_set
() == 0);
30
f.
test_and_set
();
32
assert(f.
test_and_set
() == 0);
36
f.
test_and_set
();
38
assert(f.
test_and_set
() == 0);
42
f.
test_and_set
();
44
assert(f.
test_and_set
() == 0);
48
f.
test_and_set
();
50
assert(f.
test_and_set
() == 0)
[
all
...]
clear.pass.cpp
24
f.
test_and_set
();
26
assert(f.
test_and_set
() == 0);
30
f.
test_and_set
();
32
assert(f.
test_and_set
() == 0);
36
f.
test_and_set
();
38
assert(f.
test_and_set
() == 0);
42
f.
test_and_set
();
44
assert(f.
test_and_set
() == 0);
48
f.
test_and_set
();
50
assert(f.
test_and_set
() == 0)
[
all
...]
atomic_flag_test_and_set_explicit.pass.cpp
26
assert(f.
test_and_set
() == 1);
32
assert(f.
test_and_set
() == 1);
38
assert(f.
test_and_set
() == 1);
44
assert(f.
test_and_set
() == 1);
50
assert(f.
test_and_set
() == 1);
56
assert(f.
test_and_set
() == 1);
62
assert(f.
test_and_set
() == 1);
68
assert(f.
test_and_set
() == 1);
74
assert(f.
test_and_set
() == 1);
80
assert(f.
test_and_set
() == 1)
[
all
...]
atomic_flag_clear.pass.cpp
24
f.
test_and_set
();
26
assert(f.
test_and_set
() == 0);
30
f.
test_and_set
();
32
assert(f.
test_and_set
() == 0);
atomic_flag_test_and_set.pass.cpp
26
assert(f.
test_and_set
() == 1);
32
assert(f.
test_and_set
() == 1);
default.pass.cpp
28
assert(!zero.
test_and_set
());
init.pass.cpp
22
assert(f.
test_and_set
() == 0);
/external/llvm/unittests/ADT/
SparseBitVectorTest.cpp
29
EXPECT_TRUE(Vec.
test_and_set
(17));
30
EXPECT_FALSE(Vec.
test_and_set
(17));
/external/libcxx/include/
atomic
51
bool
test_and_set
(memory_order m = memory_order_seq_cst) volatile noexcept;
52
bool
test_and_set
(memory_order m = memory_order_seq_cst) noexcept;
[
all
...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
atomic
51
bool
test_and_set
(memory_order m = memory_order_seq_cst) volatile noexcept;
52
bool
test_and_set
(memory_order m = memory_order_seq_cst) noexcept;
[
all
...]
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libcxx/include/
atomic
51
bool
test_and_set
(memory_order m = memory_order_seq_cst) volatile noexcept;
52
bool
test_and_set
(memory_order m = memory_order_seq_cst) noexcept;
[
all
...]
/ndk/sources/cxx-stl/stlport/stlport/stl/
_threads.h
67
# define __test_and_set(__l,__v)
test_and_set
(__l,__v)
71
# define _STLP_ATOMIC_EXCHANGE(__p, __q)
test_and_set
(__p, __q)
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/
atomic_base.h
285
test_and_set
(memory_order __m = memory_order_seq_cst) noexcept
291
test_and_set
(memory_order __m = memory_order_seq_cst) volatile noexcept
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/
atomic_base.h
285
test_and_set
(memory_order __m = memory_order_seq_cst) noexcept
291
test_and_set
(memory_order __m = memory_order_seq_cst) volatile noexcept
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/
atomic_base.h
285
test_and_set
(memory_order __m = memory_order_seq_cst) noexcept
291
test_and_set
(memory_order __m = memory_order_seq_cst) volatile noexcept
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/
atomic_base.h
289
test_and_set
(memory_order __m = memory_order_seq_cst) noexcept
295
test_and_set
(memory_order __m = memory_order_seq_cst) volatile noexcept
Completed in 5315 milliseconds
1
2