Searched refs:swap (Results 1 - 25 of 548) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/parse/
H A Dnamespace11.C5 void swap ();
7 template std::swap // { dg-error "" }
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/
H A D24805.cc27 // swap
30 using std::swap;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/modifiers/
H A D24805.cc26 // swap
29 using std::tr1::swap;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/25_algorithms/swap/
H A Ddr809.cc33 swap(W<T>& x, W<T>& y) function
35 using std::swap;
36 swap(x.data, y.data);
39 // DR 809. std::swap should be overloaded for array types.
44 using std::swap;
45 swap(w1, w2);
H A Dnoexcept.cc23 static_assert(noexcept(std::swap(std::declval<int&>(),
25 static_assert(noexcept(std::swap(std::declval<int(&)[5]>(),
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/lookup/
H A Dstrong-using-1.C8 template <class T> void swap(T, T);
10 template <class T> void swap(T);
15 fool::swap(1, 1);
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dpr64718.c2 swap (int x) function
13 if (swap (a) != 0x3412)
15 if (swap (b) != 0x3412)
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ipa/
H A Dipa-icf-12.c12 int swap; local
19 swap = x;
21 y = swap;
30 swap = x;
32 y = swap;
44 int swap; local
51 swap = x;
53 y = swap;
62 swap = x;
64 y = swap;
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Ddecltype58.C6 friend void swap(A&,A&) {} function in struct:A
14 friend auto swap(T& x, T& y) -> decltype(swap(x.a,y.a)) function in class:B
16 swap(x.a,y.a);
23 swap(x, y);
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dsms-11.c11 int i, j, k = 0, swap; local
18 swap = j;
20 if (swap != i)
21 tmp[i][k] = tmp[swap][k];
/haiku-buildtools/gcc/libstdc++-v3/include/ext/pb_ds/detail/hash_fn/
H A Dlinear_probe_fn_imp.hpp44 swap(PB_DS_CLASS_C_DEC& other) function in class:PB_DS_CLASS_C_DEC
H A Dquadratic_probe_fn_imp.hpp44 swap(PB_DS_CLASS_C_DEC& other) function in class:PB_DS_CLASS_C_DEC
H A Dmod_based_range_hashing.hpp56 swap(mod_based_range_hashing& other) function in class:__gnu_pbds::detail::mod_based_range_hashing
57 { std::swap(m_size, other.m_size); }
H A Ddirect_mask_range_hashing_imp.hpp44 swap(PB_DS_CLASS_C_DEC& other) function in class:PB_DS_CLASS_C_DEC
45 { mask_based_base::swap(other); }
/haiku-buildtools/gcc/libstdc++-v3/include/ext/pb_ds/detail/list_update_policy/
H A Dsample_update_policy.hpp57 swap(sample_update_policy& other);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/25_algorithms/swap/requirements/explicit_instantiation/
H A D2.cc32 template void swap(value_type&, value_type&);
H A Dpod.cc33 template void swap(value_type&, value_type&);
/haiku-buildtools/binutils/gas/testsuite/gas/mips/
H A Dmicromips@branch-swap-4.d4 #source: branch-swap-3.s
5 #dump: micromips@branch-swap-3.d
H A Dmips16@branch-swap-4.d4 #source: branch-swap-3.s
5 #dump: mips16@branch-swap-3.d
H A Dbranch-swap-4.d4 #source: branch-swap-3.s
5 #dump: branch-swap-3.d
H A Dmips16e@branch-swap-4.d4 #source: branch-swap-3.s
5 #dump: mips16e@branch-swap-3.d
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/pair/
H A Dnoexcept_swap.cc52 static_assert(noexcept(std::declval<tt1&>().swap(std::declval<tt1&>())),
54 static_assert(noexcept(std::declval<tt2&>().swap(std::declval<tt2&>())),
56 static_assert(noexcept(std::declval<tt4&>().swap(std::declval<tt4&>())),
58 static_assert(!noexcept(std::declval<tt6&>().swap(std::declval<tt6&>())),
60 static_assert(!noexcept(std::declval<tt9&>().swap(std::declval<tt9&>())),
62 static_assert(!noexcept(std::declval<tt10&>().swap(std::declval<tt10&>())),
64 static_assert(noexcept(std::declval<tt11&>().swap(std::declval<tt11&>())),
66 static_assert(noexcept(std::declval<tt12&>().swap(std::declval<tt12&>())),
68 static_assert(noexcept(std::declval<tt13&>().swap(std::declval<tt13&>())),
70 static_assert(!noexcept(std::declval<tt14&>().swap(st
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dusing1.C9 void swap () {} function in namespace:A
14 using A::swap;
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dinterface_22.f9022 interface swap
24 end interface swap
/haiku-buildtools/gcc/gcc/testsuite/go.test/test/fixedbugs/
H A Dbug064.go10 swap(x, y int) (u, v int) { func
18 a, b = swap(swap(a, b));
20 panic("bad swap");

Completed in 406 milliseconds

1234567891011>>