HomeSort by relevance Sort by last modified time
    Searched refs:swap (Results 51 - 75 of 3081) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/libcxx/test/std/containers/container.adaptors/stack/stack.special/
swap_noexcept.pass.cpp 12 // void swap(stack& c)
29 static_assert(noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
  /external/libcxx/test/std/containers/sequences/array/array.swap/
swap.fail.cpp 12 // void swap(array& a);
27 // expected-error-re@array:* {{static_assert failed {{.*}}"cannot swap zero-sized array of type 'const T'"}}
28 c.swap(c2); // expected-note {{requested here}}
  /external/syslinux/com32/libutil/
quicksort.c 10 static inline void swap(int *x, int *y) function
42 swap(&nums[l], &nums[randint(l, u)]);
47 swap(&nums[++m], &nums[i]);
50 swap(&nums[l], &nums[m]);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/hash_fn/
sample_probe_fn.hpp 60 swap(sample_probe_fn&);
sample_range_hashing.hpp 61 swap(sample_range_hashing& other);
sample_ranged_hash_fn.hpp 60 swap(sample_ranged_hash_fn&);
sample_ranged_probe_fn.hpp 60 swap(sample_ranged_probe_fn&);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/hash_fn/
sample_probe_fn.hpp 60 swap(sample_probe_fn&);
sample_range_hashing.hpp 61 swap(sample_range_hashing& other);
sample_ranged_hash_fn.hpp 60 swap(sample_ranged_hash_fn&);
sample_ranged_probe_fn.hpp 60 swap(sample_ranged_probe_fn&);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/container.adaptors/priority.queue/priqueue.special/
swap_noexcept.pass.cpp 12 // void swap(priority_queue& c)
30 static_assert(noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/container.adaptors/queue/queue.special/
swap_noexcept.pass.cpp 12 // void swap(queue& c)
29 static_assert(noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/container.adaptors/stack/stack.special/
swap_noexcept.pass.cpp 12 // void swap(stack& c)
29 static_assert(noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
  /external/eigen/test/
swap.cpp 25 template<typename MatrixType> void swap(const MatrixType& m) function
45 m1.swap(m2);
57 m1.swap(m3);
64 m1.swap(m2.block(0,0,rows,cols));
71 m1.transpose().swap(m3.transpose());
80 VERIFY_RAISES_ASSERT(m1.swap(m1.row(0)));
82 VERIFY_RAISES_ASSERT(m1.row(0).swap(m1));
89 CALL_SUBTEST_1( swap(Matrix3f()) ); // fixed size, no vectorization
90 CALL_SUBTEST_2( swap(Matrix4d()) ); // fixed size, possible vectorization
91 CALL_SUBTEST_3( swap(MatrixXd(s,s)) ); // dyn size, no vectorization
    [all...]
  /external/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/
member_swap.pass.cpp 15 // void swap(basic_ifstream& rhs);
25 fs1.swap(fs2);
35 fs1.swap(fs2);
nonmember_swap.pass.cpp 16 // void swap(basic_ifstream<charT, traits>& x, basic_ifstream<charT, traits>& y);
26 swap(fs1, fs2);
36 swap(fs1, fs2);
  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/
member_swap.pass.cpp 17 // void swap(shared_lock& u) noexcept;
34 lk1.swap(lk2);
39 static_assert(noexcept(lk1.swap(lk2)), "member swap must be noexcept");
nonmember_swap.pass.cpp 18 // void swap(shared_lock<Mutex>& x, shared_lock<Mutex>& y) noexcept;
35 swap(lk1, lk2);
40 static_assert(noexcept(swap(lk1, lk2)), "non-member swap must be noexcept");
  /external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
BubbleSort.java 40 swap(a, j, j + 1); method
46 static void swap(int[] a, int i, int j) { method in class:BubbleSort
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/file.streams/fstreams/ifstream.assign/
member_swap.pass.cpp 15 // void swap(basic_ifstream& rhs);
25 fs1.swap(fs2);
35 fs1.swap(fs2);
nonmember_swap.pass.cpp 16 // void swap(basic_ifstream<charT, traits>& x, basic_ifstream<charT, traits>& y);
26 swap(fs1, fs2);
36 swap(fs1, fs2);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/
member_swap.pass.cpp 17 // void swap(shared_lock& u) noexcept;
34 lk1.swap(lk2);
39 static_assert(noexcept(lk1.swap(lk2)), "member swap must be noexcept");
nonmember_swap.pass.cpp 18 // void swap(shared_lock<Mutex>& x, shared_lock<Mutex>& y) noexcept;
35 swap(lk1, lk2);
40 static_assert(noexcept(swap(lk1, lk2)), "non-member swap must be noexcept");
  /external/libcxx/test/libcxx/experimental/memory/memory.resource.global/
global_memory_resource_lifetime.pass.cpp 42 void swap(POSType & L, POSType & R) { function
43 std::swap(L.res, R.res);
44 std::swap(L.ptr, R.ptr);
45 std::swap(L.n, R.n);
59 swap(constructed_after_resources, constructed_before_resources);
60 swap(constructed_before_resources2, constructed_after_resources2);

Completed in 992 milliseconds

1 23 4 5 6 7 8 91011>>