Home
last modified time | relevance | path

Searched refs:exchange (Results 1 – 19 of 19) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/exchange/
Dexchange.pass.cpp23 assert ( std::exchange ( v, 23 ) == 12 ); in main()
25 assert ( std::exchange ( v, 67.2 ) == 23 ); in main()
28 assert ((std::exchange<int, float> ( v, {} )) == 67 ); in main()
35 assert ( !std::exchange ( b, true )); in main()
43 assert ( std::exchange ( s3, s2 ) == s1 ); in main()
45 assert ( std::exchange ( s3, "Hi Mom!" ) == s2 ); in main()
49 assert ( std::exchange ( s3, {} ) == s2 ); in main()
53 assert ( std::exchange ( s3, "" ) == s2 ); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.generic/
Dbool.pass.cpp73 assert(obj.exchange(false) == true); in main()
75 assert(obj.exchange(true, std::memory_order_relaxed) == false); in main()
128 assert(obj.exchange(false) == true); in main()
130 assert(obj.exchange(true, std::memory_order_relaxed) == false); in main()
183 assert(obj.exchange(false) == true); in main()
185 assert(obj.exchange(true, std::memory_order_relaxed) == false); in main()
Daddress.pass.cpp91 assert(obj.exchange(T(2)) == T(1)); in do_test()
93 assert(obj.exchange(T(3), std::memory_order_relaxed) == T(2)); in do_test()
Dintegral.pass.cpp108 assert(obj.exchange(T(2)) == T(1)); in do_test()
110 assert(obj.exchange(T(3), std::memory_order_relaxed) == T(2)); in do_test()
/ndk/sources/host-tools/make-3.81/
Dgetopt.c296 static void exchange (char **);
300 exchange (char **argv) in exchange() function
545 exchange ((char **) argv); in _getopt_internal()
567 exchange ((char **) argv); in _getopt_internal()
DCOPYING89 you may at your option offer warranty protection in exchange for a fee.
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Datomic100 T exchange(T desr, memory_order m = memory_order_seq_cst) volatile noexcept;
101 T exchange(T desr, memory_order m = memory_order_seq_cst) noexcept;
138 integral exchange(integral desr,
140 integral exchange(integral desr, memory_order m = memory_order_seq_cst) noexcept;
213 T* exchange(T* desr, memory_order m = memory_order_seq_cst) volatile noexcept;
214 T* exchange(T* desr, memory_order m = memory_order_seq_cst) noexcept;
846 _Tp exchange(_Tp __d, memory_order __m = memory_order_seq_cst) volatile _NOEXCEPT
849 _Tp exchange(_Tp __d, memory_order __m = memory_order_seq_cst) _NOEXCEPT
1181 return __o->exchange(__d);
1189 return __o->exchange(__d);
[all …]
Dutility151 T exchange(T& obj, U&& new_value);
758 _T1 exchange(_T1& __obj, _T2 && __new_value)
/ndk/tests/build/test-stlport_static-exception-force-rebuild/
DCOPYING88 you may at your option offer warranty protection in exchange for a fee.
/ndk/sources/host-tools/make-3.81/tests/
DCOPYING88 you may at your option offer warranty protection in exchange for a fee.
/ndk/tests/device/test-stlport_static-exception/
DCOPYING88 you may at your option offer warranty protection in exchange for a fee.
/ndk/build/tools/toolchain-licenses/
DCOPYING88 you may at your option offer warranty protection in exchange for a fee.
/ndk/tests/build/lambda-defarg3/
DCOPYING88 you may at your option offer warranty protection in exchange for a fee.
/ndk/tests/abcc/jni/mman-win32/
DLICENSE.TXT88 you may at your option offer warranty protection in exchange for a fee.
/ndk/tests/device/test-stlport_shared-exception/
DCOPYING88 you may at your option offer warranty protection in exchange for a fee.
/ndk/sources/host-tools/make-3.81/doc/
Dfdl.texi140 compensation in exchange for copies. If you distribute a large enough
Dmake.info-22974 you may accept compensation in exchange for copies. If you
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk4512 $(call gen-test, utilities/utility/exchange/exchange)
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk4521 $(call gen-test, utilities/utility/exchange/exchange)