Home
last modified time | relevance | path

Searched refs:swap (Results 1 – 25 of 1797) sorted by relevance

12345678910>>...72

/external/clang/www/
Dlibstdc++4.4-clang0x.patch16 - swap(forward_list&& __list)
17 + swap(forward_list& __list)
18 { _Node_base::swap(this->_M_impl._M_head, __list._M_impl._M_head); }
68 - swap(__shared_ptr<_Tp, _Lp>&& __other) // never throws
69 + swap(__shared_ptr<_Tp, _Lp>& __other) // never throws
71 std::swap(_M_ptr, __other._M_ptr);
74 swap(__shared_ptr<_Tp, _Lp>& __a, __shared_ptr<_Tp, _Lp>& __b)
75 { __a.swap(__b); }
79 - swap(__shared_ptr<_Tp, _Lp>&& __a, __shared_ptr<_Tp, _Lp>& __b)
80 - { __a.swap(__b); }
[all …]
/external/libcxx/test/utilities/optional/optional.specalg/
Dswap.pass.cpp48 friend void swap(Y& x, Y& y) {std::swap(x.i_, y.i_);} in swap() function
61 friend void swap(Z& x, Z& y) {throw 6;} in swap() function
73 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
76 swap(opt1, opt2); in main()
83 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
87 swap(opt1, opt2); in main()
95 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
99 swap(opt1, opt2); in main()
107 static_assert(noexcept(swap(opt1, opt2)) == true, ""); in main()
112 swap(opt1, opt2); in main()
[all …]
/external/libcxx/test/utilities/optional/optional.object/optional.object.swap/
Dswap.pass.cpp49 friend void swap(Y& x, Y& y) {std::swap(x.i_, y.i_);} in swap() function
62 friend void swap(Z& x, Z& y) {throw 6;} in swap() function
74 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main()
77 opt1.swap(opt2); in main()
84 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main()
88 opt1.swap(opt2); in main()
96 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main()
100 opt1.swap(opt2); in main()
108 static_assert(noexcept(opt1.swap(opt2)) == true, ""); in main()
113 opt1.swap(opt2); in main()
[all …]
/external/eigen/test/eigen2/
Deigen2_swap.cpp25 template<typename MatrixType> void swap(const MatrixType& m) in swap() function
44 m1.swap(m2); in swap()
51 m1.swap(m3); in swap()
58 m1.swap(m2.block(0,0,rows,cols)); in swap()
65 m1.transpose().swap(m3.transpose()); in swap()
72 VERIFY_RAISES_ASSERT(m1.swap(m1.row(0))); in swap()
74 VERIFY_RAISES_ASSERT(m1.row(0).swap(m1)); in swap()
79 CALL_SUBTEST_1( swap(Matrix3f()) ); // fixed size, no vectorization in test_eigen2_swap()
80 CALL_SUBTEST_1( swap(Matrix4d()) ); // fixed size, possible vectorization in test_eigen2_swap()
81 CALL_SUBTEST_1( swap(MatrixXd(3,3)) ); // dyn size, no vectorization in test_eigen2_swap()
[all …]
/external/eigen/test/
Dswap.cpp25 template<typename MatrixType> void swap(const MatrixType& m) in swap() function
44 m1.swap(m2); in swap()
51 m1.swap(m3); in swap()
58 m1.swap(m2.block(0,0,rows,cols)); in swap()
65 m1.transpose().swap(m3.transpose()); in swap()
72 VERIFY_RAISES_ASSERT(m1.swap(m1.row(0))); in swap()
74 VERIFY_RAISES_ASSERT(m1.row(0).swap(m1)); in swap()
79 CALL_SUBTEST_1( swap(Matrix3f()) ); // fixed size, no vectorization in test_swap()
80 CALL_SUBTEST_2( swap(Matrix4d()) ); // fixed size, possible vectorization in test_swap()
81 CALL_SUBTEST_3( swap(MatrixXd(3,3)) ); // dyn size, no vectorization in test_swap()
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dcmpxchg-03.ll1 ; Test 32-bit compare and swap.
6 define i32 @f1(i32 %cmp, i32 %swap, i32 *%src) {
10 %pair = cmpxchg i32 *%src, i32 %cmp, i32 %swap seq_cst seq_cst
16 define i32 @f2(i32 %cmp, i32 %swap, i32 *%src) {
21 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst
27 define i32 @f3(i32 %cmp, i32 %swap, i32 *%src) {
32 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst
38 define i32 @f4(i32 %cmp, i32 %swap, i32 *%src) {
43 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst
50 define i32 @f5(i32 %cmp, i32 %swap, i32 *%src) {
[all …]
Dcmpxchg-04.ll1 ; Test 64-bit compare and swap.
6 define i64 @f1(i64 %cmp, i64 %swap, i64 *%src) {
10 %pairval = cmpxchg i64 *%src, i64 %cmp, i64 %swap seq_cst seq_cst
16 define i64 @f2(i64 %cmp, i64 %swap, i64 *%src) {
21 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst
28 define i64 @f3(i64 %cmp, i64 %swap, i64 *%src) {
34 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst
40 define i64 @f4(i64 %cmp, i64 %swap, i64 *%src) {
45 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst
51 define i64 @f5(i64 %cmp, i64 %swap, i64 *%src) {
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/perlasm/
Dcbc.pl28 local($name,$enc_func,$dec_func,$swap,$iv_off,$enc_off,$p1,$p2,$p3)=@_;
119 &bswap("eax") if $swap;
120 &bswap("ebx") if $swap;
130 &bswap("eax") if $swap;
131 &bswap("ebx") if $swap;
182 &bswap("eax") if $swap;
183 &bswap("ebx") if $swap;
193 &bswap("eax") if $swap;
194 &bswap("ebx") if $swap;
215 &bswap("eax") if $swap;
[all …]
/external/openssl/crypto/perlasm/
Dcbc.pl28 local($name,$enc_func,$dec_func,$swap,$iv_off,$enc_off,$p1,$p2,$p3)=@_;
119 &bswap("eax") if $swap;
120 &bswap("ebx") if $swap;
130 &bswap("eax") if $swap;
131 &bswap("ebx") if $swap;
182 &bswap("eax") if $swap;
183 &bswap("ebx") if $swap;
193 &bswap("eax") if $swap;
194 &bswap("ebx") if $swap;
215 &bswap("eax") if $swap;
[all …]
/external/chromium_org/components/history/core/browser/
Durl_row.cc42 std::swap(id_, other->id_); in Swap()
44 title_.swap(other->title_); in Swap()
45 std::swap(visit_count_, other->visit_count_); in Swap()
46 std::swap(typed_count_, other->typed_count_); in Swap()
47 std::swap(last_visit_, other->last_visit_); in Swap()
48 std::swap(hidden_, other->hidden_); in Swap()
85 std::swap(visit_time_, other->visit_time_); in SwapResult()
87 title_match_positions_.swap(other->title_match_positions_); in SwapResult()
88 std::swap(blocked_visit_, other->blocked_visit_); in SwapResult()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/
DSorterTemplate.java24 abstract protected void swap(int i, int j); in swap() method in SorterTemplate
40 swap(lo, i); in quickSortHelper()
43 swap(lo, hi); in quickSortHelper()
46 swap(i, hi); in quickSortHelper()
49 swap(i, j); in quickSortHelper()
62 swap(i, j); in quickSortHelper()
64 swap(i, hi - 1); in quickSortHelper()
79 swap(j - 1, j); in insertionSort()
105 swap(pivot, lo); in merge()
132 swap(lot++, hit--); in rotate()
[all …]
/external/mesa3d/docs/
DMESA_swap_frame_usage.spec36 swap period has elapsed since the last swap operation completed. The
44 where td is the time measured from the last completed buffer swap (or
45 call to enable the statistic) to when the next buffer swap completes, tf
47 depending on the swap interval as set by the GLX_SGI_swap_control or
52 buffer swap occurred within the time period required to maintain a
59 is taken from the completion of one swap to the issuance of the next.
62 issuance of a swap and the swap actually occurring.
64 There is also a mechanism to determine whether a frame swap was
112 The frame usage is measured as the percentage of the swap period elapsed
113 between two buffer-swap operations being committed. In unextended GLX the
[all …]
/external/chromium_org/third_party/mesa/src/docs/
DMESA_swap_frame_usage.spec36 swap period has elapsed since the last swap operation completed. The
44 where td is the time measured from the last completed buffer swap (or
45 call to enable the statistic) to when the next buffer swap completes, tf
47 depending on the swap interval as set by the GLX_SGI_swap_control or
52 buffer swap occurred within the time period required to maintain a
59 is taken from the completion of one swap to the issuance of the next.
62 issuance of a swap and the swap actually occurring.
64 There is also a mechanism to determine whether a frame swap was
112 The frame usage is measured as the percentage of the swap period elapsed
113 between two buffer-swap operations being committed. In unextended GLX the
[all …]
/external/clang/test/Analysis/
Dunions-region.m22 union u_testA swap;
23 swap.f = f;
25 if (testA_aux(swap.i)) // no-warning
26 swap.i = ((swap.i & 0xffff0000) >> 16) | ((swap.i & 0x0000fffff) << 16);
28 testA_aux_2(swap); // no-warning
30 return swap.f;
/external/libcxx/test/containers/sequences/vector.bool/
Dswap.pass.cpp25 v1.swap(v2); in main()
35 swap(v1, v2); in main()
47 swap(v1, v2); in main()
60 using std::swap; in main()
61 swap(r1, r2); in main()
69 v1.swap(v2); in main()
79 swap(v1, v2); in main()
92 using std::swap; in main()
93 swap(r1, r2); in main()
/external/eigen/Eigen/src/Core/
DDenseStorage.h129 inline void swap(DenseStorage& other) { std::swap(m_data,other.m_data); }
145 inline void swap(DenseStorage& ) {}
175 inline void swap(DenseStorage& other)
176 …{ std::swap(m_data,other.m_data); std::swap(m_rows,other.m_rows); std::swap(m_cols,other.m_cols); }
195 …inline void swap(DenseStorage& other) { std::swap(m_data,other.m_data); std::swap(m_rows,other.m_r…
214 …inline void swap(DenseStorage& other) { std::swap(m_data,other.m_data); std::swap(m_cols,other.m_c…
237 inline void swap(DenseStorage& other)
238 …{ std::swap(m_data,other.m_data); std::swap(m_rows,other.m_rows); std::swap(m_cols,other.m_cols); }
276 …inline void swap(DenseStorage& other) { std::swap(m_data,other.m_data); std::swap(m_cols,other.m_c…
312 …inline void swap(DenseStorage& other) { std::swap(m_data,other.m_data); std::swap(m_rows,other.m_r…
/external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/
Dswap.pass.cpp29 void swap(test& t) in swap() function
33 base::swap(t); in swap()
67 swap(t2, t); in main()
72 swap(t2, t); in main()
80 swap(t2, t); in main()
88 swap(t2, t); in main()
94 swap(t2, t); in main()
99 swap(t2, t); in main()
/external/llvm/include/llvm/IR/
DPassManager.h74 friend void swap(PreservedAnalyses &LHS, PreservedAnalyses &RHS) { in swap() function
75 using std::swap; in swap()
76 swap(LHS.PreservedPassIDs, RHS.PreservedPassIDs); in swap()
79 swap(*this, RHS);
219 friend void swap(PassModel &LHS, PassModel &RHS) {
220 using std::swap;
221 swap(LHS.Pass, RHS.Pass);
224 swap(*this, RHS);
245 friend void swap(PassModel &LHS, PassModel &RHS) {
246 using std::swap;
[all …]
/external/stlport/test/unit/
Dstack_allocator.h148 void swap(StackAllocator &other) { in swap() function
149 __STD swap(m_state, other.m_state); in swap()
155 void _M_swap_workaround(StackAllocator& __x) { swap(__x); } in _M_swap_workaround()
185 inline void swap(StackAllocator<_Tp>& __a, StackAllocator<_Tp>& __b) in swap() function
186 { __a.swap(__b); } in swap()
191 inline void swap(StackAllocator<int>& __a, StackAllocator<int>& __b) in swap() function
192 { __a.swap(__b); } in swap()
193 inline void swap(StackAllocator<char>& __a, StackAllocator<char>& __b) in swap() function
194 { __a.swap(__b); } in swap()
195 inline void swap(StackAllocator<pair<const int, int> >& __a, in swap() function
[all …]
/external/llvm/test/Instrumentation/AddressSanitizer/X86/
Dasm_swap_intel.s4 .globl swap symbol
6 .type swap,@function
7 # CHECK-LABEL: swap:
32 swap: # @swap label
54 .size swap, .Ltmp2-swap
/external/libcxx/include/
D__split_buffer142 void swap(__split_buffer& __x)
171 using _VSTD::swap;
172 swap(__x, __y);
263 swap(__buf);
426 __split_buffer<_Tp, _Allocator>::swap(__split_buffer& __x)
430 _VSTD::swap(__first_, __x.__first_);
431 _VSTD::swap(__begin_, __x.__begin_);
432 _VSTD::swap(__end_, __x.__end_);
433 _VSTD::swap(__end_cap(), __x.__end_cap());
446 _VSTD::swap(__first_, __t.__first_);
[all …]
/external/libcxx/test/utilities/utility/utility.swap/
DAndroid.mk17 test_makefile := external/libcxx/test/utilities/utility/utility.swap/Android.mk
19 test_name := utilities/utility/utility.swap/swap
20 test_src := swap.pass.cpp
23 test_name := utilities/utility/utility.swap/swap_array
/external/libcxx/test/input.output/string.streams/stringbuf/stringbuf.assign/
Dmember_swap.pass.cpp25 buf.swap(buf1); in main()
32 buf.swap(buf1); in main()
39 buf.swap(buf1); in main()
46 buf.swap(buf1); in main()
53 buf.swap(buf1); in main()
60 buf.swap(buf1); in main()
Dnonmember_swap.pass.cpp27 swap(buf, buf1); in main()
34 swap(buf, buf1); in main()
41 swap(buf, buf1); in main()
48 swap(buf, buf1); in main()
55 swap(buf, buf1); in main()
62 swap(buf, buf1); in main()
/external/llvm/lib/Target/Mips/
DMipsSubtarget.cpp258 InstrInfoSE.swap(InstrInfo); in setHelperClassesMips16()
259 FrameLoweringSE.swap(FrameLowering); in setHelperClassesMips16()
260 TLInfoSE.swap(TLInfo); in setHelperClassesMips16()
266 InstrInfo16.swap(InstrInfo); in setHelperClassesMips16()
267 FrameLowering16.swap(FrameLowering); in setHelperClassesMips16()
268 TLInfo16.swap(TLInfo); in setHelperClassesMips16()
276 InstrInfo16.swap(InstrInfo); in setHelperClassesMipsSE()
277 FrameLowering16.swap(FrameLowering); in setHelperClassesMipsSE()
278 TLInfo16.swap(TLInfo); in setHelperClassesMipsSE()
284 InstrInfoSE.swap(InstrInfo); in setHelperClassesMipsSE()
[all …]

12345678910>>...72