/system/core/toolbox/ |
swapoff.c | 4 #include <sys/swap.h>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.assign/ |
member_swap.pass.cpp | 15 // void swap(basic_stringbuf& rhs); 25 buf.swap(buf1); 32 buf.swap(buf1); 39 buf.swap(buf1); 46 buf.swap(buf1); 53 buf.swap(buf1); 60 buf.swap(buf1);
|
nonmember_swap.pass.cpp | 16 // void swap(basic_stringbuf<charT, traits, Allocator>& x, 27 swap(buf, buf1); 34 swap(buf, buf1); 41 swap(buf, buf1); 48 swap(buf, buf1); 55 swap(buf, buf1); 62 swap(buf, buf1);
|
/external/marisa-trie/lib/marisa/ |
intvector.cc | 33 units_.swap(&temp_units); 49 temp_mapper.swap(mapper); 63 temp.swap(this); 94 temp.swap(this); 127 IntVector().swap(this); 130 void IntVector::swap(IntVector *rhs) { function in class:marisa::IntVector 132 units_.swap(&rhs->units_); 133 Swap(&num_bits_per_int_, &rhs->num_bits_per_int_); 134 Swap(&mask_, &rhs->mask_); 135 Swap(&size_, &rhs->size_) [all...] |
reader.cc | 53 Reader().swap(this); 56 void Reader::swap(Reader *rhs) { function in class:marisa::Reader 58 Swap(&file_, &rhs->file_); 59 Swap(&fd_, &rhs->fd_); 60 Swap(&stream_, &rhs->stream_); 61 Swap(&needs_fclose_, &rhs->needs_fclose_);
|
writer.cc | 65 Writer().swap(this); 68 void Writer::swap(Writer *rhs) { function in class:marisa::Writer 70 Swap(&file_, &rhs->file_); 71 Swap(&fd_, &rhs->fd_); 72 Swap(&stream_, &rhs->stream_); 73 Swap(&needs_fclose_, &rhs->needs_fclose_);
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
intvector.cc | 33 units_.swap(&temp_units); 49 temp_mapper.swap(mapper); 63 temp.swap(this); 94 temp.swap(this); 127 IntVector().swap(this); 130 void IntVector::swap(IntVector *rhs) { function in class:marisa_alpha::IntVector 132 units_.swap(&rhs->units_); 133 Swap(&num_bits_per_int_, &rhs->num_bits_per_int_); 134 Swap(&mask_, &rhs->mask_); 135 Swap(&size_, &rhs->size_) [all...] |
reader.cc | 53 Reader().swap(this); 56 void Reader::swap(Reader *rhs) { function in class:marisa_alpha::Reader 58 Swap(&file_, &rhs->file_); 59 Swap(&fd_, &rhs->fd_); 60 Swap(&stream_, &rhs->stream_); 61 Swap(&needs_fclose_, &rhs->needs_fclose_);
|
writer.cc | 65 Writer().swap(this); 68 void Writer::swap(Writer *rhs) { function in class:marisa_alpha::Writer 70 Swap(&file_, &rhs->file_); 71 Swap(&fd_, &rhs->fd_); 72 Swap(&stream_, &rhs->stream_); 73 Swap(&needs_fclose_, &rhs->needs_fclose_);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
__split_buffer | 142 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...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/ |
swap.pass.cpp | 13 // void swap(vector& x); 25 v1.swap(v2); 35 swap(v1, v2); 47 swap(v1, v2); 60 using std::swap; 61 swap(r1, r2); 69 v1.swap(v2); 79 swap(v1, v2); 92 using std::swap; 93 swap(r1, r2) [all...] |
swap_noexcept.pass.cpp | 12 // void swap(vector& c) 41 static_assert(noexcept(swap(c1, c2)), ""); 46 static_assert(noexcept(swap(c1, c2)), ""); 51 static_assert(noexcept(swap(c1, c2)), ""); 56 static_assert(!noexcept(swap(c1, c2)), "");
|
/external/chromium_org/sync/internal_api/public/util/ |
immutable.h | 43 // state, incurs only the cost of a swap of LargeObjectLists, which is 50 // find a swap() function for T, falling back to std::swap() when 51 // necessary. If you overload swap() for your type in its namespace, 52 // or if you specialize std::swap() for your type, (see 56 // Alternatively, you could explicitly control which swap function is 67 // For std::swap(). 92 Traits::Swap(Traits::UnwrapMutable(&wrapper_), t); 117 // your own swap method. First, consider the pre-defined traits 121 // everything else) and provide your own Swap() method [all...] |
/libcore/luni/src/main/java/libcore/io/ |
Memory.java | 36 byte[] src, int srcOffset, int sizeofElements, boolean swap); 43 Object src, int srcOffset, int sizeofElements, boolean swap); 154 public static native int peekInt(long address, boolean swap); 155 public static native long peekLong(long address, boolean swap); 156 public static native short peekShort(long address, boolean swap); 159 public static native void peekCharArray(long address, char[] dst, int dstOffset, int charCount, boolean swap); 160 public static native void peekDoubleArray(long address, double[] dst, int dstOffset, int doubleCount, boolean swap); 161 public static native void peekFloatArray(long address, float[] dst, int dstOffset, int floatCount, boolean swap); 162 public static native void peekIntArray(long address, int[] dst, int dstOffset, int intCount, boolean swap); 163 public static native void peekLongArray(long address, long[] dst, int dstOffset, int longCount, boolean swap); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/multiset.special/ |
swap_noexcept.pass.cpp | 12 // void swap(multiset& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/set.special/ |
swap_noexcept.pass.cpp | 12 // void swap(set& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.special/ |
swap_noexcept.pass.cpp | 12 // void swap(deque& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.spec/ |
swap_noexcept.pass.cpp | 12 // void swap(forward_list& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.special/ |
swap_noexcept.pass.cpp | 12 // void swap(list& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.special/ |
swap_noexcept.pass.cpp | 12 // void swap(vector& c) 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/frameworks/av/media/libeffects/loudness/common/core/ |
byte_swapper.h | 42 static T Swap(const T &val) { 56 static T Swap(const T &val) { 63 static T Swap(const T &val) { 75 static T Swap(const T &val) { 89 static T Swap(const T &val) { 109 return ByteSwapper<T, sizeof(T)>::Swap(val); 117 return ByteSwapper<T, sizeof(T)>::Swap(val); 128 writeable_vals[i] = ByteSwapper<T, sizeof(T)>::Swap(vals[i]); 140 writeable_vals[i] = ByteSwapper<T, sizeof(T)>::Swap(vals[i]);
|
/libcore/luni/src/main/native/ |
libcore_io_Memory.cpp | 69 // Byte-swap 2 jshort values packed in a jint. 92 // ...with one last 16-bit swap if necessary. 167 // - For swapped access, we use GetXArrayElements and our own copy-and-swap routines. 173 if (swap) { \ 186 static void Memory_peekCharArray(JNIEnv* env, jclass, jlong srcAddress, jcharArray dst, jint dstOffset, jint count, jboolean swap) { 190 static void Memory_peekDoubleArray(JNIEnv* env, jclass, jlong srcAddress, jdoubleArray dst, jint dstOffset, jint count, jboolean swap) { 194 static void Memory_peekFloatArray(JNIEnv* env, jclass, jlong srcAddress, jfloatArray dst, jint dstOffset, jint count, jboolean swap) { 198 static void Memory_peekIntArray(JNIEnv* env, jclass, jlong srcAddress, jintArray dst, jint dstOffset, jint count, jboolean swap) { 202 static void Memory_peekLongArray(JNIEnv* env, jclass, jlong srcAddress, jlongArray dst, jint dstOffset, jint count, jboolean swap) { 206 static void Memory_peekShortArray(JNIEnv* env, jclass, jlong srcAddress, jshortArray dst, jint dstOffset, jint count, jboolean swap) { [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/ |
swap.pass.cpp | 15 // void swap(basic_streambuf& rhs); 29 void swap(test& t) function in struct:test 33 base::swap(t); 67 swap(t2, t); 72 swap(t2, t); 80 swap(t2, t); 88 swap(t2, t); 94 swap(t2, t); 99 swap(t2, t);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/ |
shared_array.hpp | 32 #include <algorithm> // for std::swap 88 this_type( r ).swap( *this ); 95 this_type(p).swap(*this); 100 this_type(p, d).swap(*this); 128 void swap(shared_array<T> & other) // never throws function in class:boost::shared_array 130 std::swap(px, other.px); 131 pn.swap(other.pn); 161 template<class T> void swap(shared_array<T> & a, shared_array<T> & b) // never throws function in namespace:boost 163 a.swap(b);
|
/external/kernel-headers/original/linux/ |
swap.h | 13 #define SWAP_FLAG_PREFER 0x8000 /* set if swap priority specified */ 24 * be swapped to. The swap type and the offset into that swap type are 34 /* Use last two entries for page migration swap entries */ 41 * Magic header for a swap area. The first part of the union is 42 * what the swap magic looks like for the old (limited to 128MB) 43 * swap area format, the second part of the union adds - in the 47 * Having the magic at the end of the PAGE_SIZE makes detecting swap 55 char magic[10]; /* SWAP-SPACE or SWAPSPACE2 */ 69 /* A swap entry has to fit into a "unsigned long", a [all...] |