HomeSort by relevance Sort by last modified time
    Searched refs:Swap (Results 1 - 25 of 193) sorted by null

1 2 3 4 5 6 7 8

  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
swap.h 23 //! Custom swap() to avoid dependency on C++ <algorith> header
24 /*! \tparam T Type of the arguments to swap, should be instantiated with primitive C++ types only.
25 \note This has the same semantics as std::swap().
28 inline void Swap(T& a, T& b) RAPIDJSON_NOEXCEPT {
stack.h 19 #include "swap.h"
85 void Swap(Stack& rhs) RAPIDJSON_NOEXCEPT {
86 internal::Swap(allocator_, rhs.allocator_);
87 internal::Swap(ownAllocator_, rhs.ownAllocator_);
88 internal::Swap(stack_, rhs.stack_);
89 internal::Swap(stackTop_, rhs.stackTop_);
90 internal::Swap(stackEnd_, rhs.stackEnd_);
91 internal::Swap(initialCapacity_, rhs.initialCapacity_);
  /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]);
  /external/google-breakpad/src/processor/
minidump.cc 113 static inline void Swap(uint8_t* value) {
124 static inline void Swap(uint16_t* value) {
130 static inline void Swap(uint32_t* value) {
138 static inline void Swap(uint64_t* value) {
140 Swap(&value32[0]);
141 Swap(&value32[1]);
162 static void Swap(uint128_struct* value) {
163 Swap(&value->low);
164 Swap(&value->high);
168 static inline void Swap(int16_t* value)
    [all...]
  /external/clang/test/SemaCXX/
typo-correction-cxx11.cpp 38 void Swap(A *other);
48 void swap(map &x);
58 new_annotation->Swap(&annotation); // expected-error {{use of undeclared identifier 'new_annotation'; did you mean 'new_anotation'?}}
  /external/libchrome/dbus/
file_descriptor.cc 14 using std::swap;
25 Swap(&other);
34 Swap(&other);
62 void FileDescriptor::Swap(FileDescriptor* other) {
63 swap(value_, other->value_);
64 swap(owner_, other->owner_);
65 swap(valid_, other->valid_);
file_descriptor.h 79 void Swap(FileDescriptor* other);
  /toolchain/binutils/binutils-2.25/elfcpp/
elfcpp_swap.h 32 // This header file defines basic template classes to efficiently swap
219 // Swap is a template based on size and on whether the target is big
227 struct Swap
248 // We need to specialize the 8-bit version of Swap to avoid
253 struct Swap<8, big_endian>
446 { return Swap<size, big_endian>::readval(
451 { Swap<size, big_endian>::writeval(reinterpret_cast<Valtype*>(wv), v); }
462 return ((static_cast<Valtype>(Swap<32, true>::readval(wv)) << 32)
463 | static_cast<Valtype>(Swap<32, true>::readval(wv + 4)));
471 Swap<32, true>::writeval(wv, static_cast<Valtype32>(v >> 32))
    [all...]
  /external/libchrome/base/
pending_task.h 48 // Wrapper around std::queue specialized for PendingTask which adds a Swap
52 void Swap(TaskQueue* queue);
pending_task.cc 52 void TaskQueue::Swap(TaskQueue* queue) {
53 c.swap(queue->c); // Calls std::deque::swap.
  /frameworks/base/libs/hwui/renderstate/
Blend.h 32 // dictates whether to swap src/dst
35 Swap,
  /toolchain/binutils/binutils-2.25/gold/
reloc.h 328 typename elfcpp::Swap<valsize, big_endian>::Valtype value)
330 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
332 Valtype x = elfcpp::Swap<valsize, big_endian>::readval(wv);
333 elfcpp::Swap<valsize, big_endian>::writeval(wv, x + value);
340 typename elfcpp::Swap<valsize, big_endian>::Valtype value)
357 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
359 Valtype x = elfcpp::Swap<valsize, big_endian>::readval(wv);
361 elfcpp::Swap<valsize, big_endian>::writeval(wv, x);
383 typename elfcpp::Swap<valsize, big_endian>::Valtype value,
384 typename elfcpp::Swap<valsize, big_endian>::Valtype addend
    [all...]
sparc.cc 527 typename elfcpp::Swap<size, big_endian>::Valtype value,
528 typename elfcpp::Swap<size, big_endian>::Valtype addend)
530 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
532 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv);
538 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | reloc);
550 typename elfcpp::Swap<valsize, big_endian>::Valtype addend)
552 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
554 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv);
560 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | reloc);
571 typename elfcpp::Swap<size, big_endian>::Valtype addend
    [all...]
nacl.h 211 if ((elfcpp::Swap<32, big_endian>::readval(note_data + 0)
213 && (elfcpp::Swap<32, big_endian>::readval(note_data + 4)
215 && (elfcpp::Swap<32, big_endian>::readval(note_data + 8)
gdb-index.cc     [all...]
  /development/ndk/sources/android/ndk_helper/
GLContext.h 93 EGLint Swap();
  /external/webrtc/webrtc/modules/desktop_capture/
screen_capturer_helper.cc 50 invalid_region->Swap(&invalid_region_);
56 expanded_region.Swap(invalid_region);
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
metadata.h 100 GOOGLE_ATTRIBUTE_ALWAYS_INLINE void Swap(InternalMetadataWithArena* other) {
101 // Semantics here are that we swap only the unknown fields, not the arena
102 // pointer. We cannot simply swap ptr_ with other->ptr_ because we need to
105 // cannot simply swap ptr_ and then restore the arena pointers. We reuse
106 // UFS's swap implementation instead.
108 mutable_unknown_fields()->Swap(other->mutable_unknown_fields());
  /external/libbrillo/brillo/
any.h 170 void Swap(Any& other);
207 // Specialize std::swap() algorithm for brillo::Any class.
208 inline void swap(brillo::Any& lhs, brillo::Any& rhs) { function in namespace:std
209 lhs.Swap(rhs);
any.cc 53 void Any::Swap(Any& other) {
54 std::swap(data_buffer_, other.data_buffer_);
  /art/compiler/utils/
swap_space_test.cc 77 TEST_F(SwapSpaceTest, Swap) {
  /external/dng_sdk/source/
dng_opcode_list.h 111 /// Swap two opcode lists.
113 void Swap (dng_opcode_list &otherList);
  /external/libvncserver/libvncserver/
tableinitcmtemplate.c 41 #define SwapOUT(x) CONCAT2E(Swap,OUT(x))
  /external/protobuf/src/google/protobuf/
repeated_field.cc 58 void RepeatedPtrFieldBase::Swap(RepeatedPtrFieldBase* other) {
  /external/opencv3/modules/highgui/src/
agile_wrl.h 233 Swap(object);
337 Agile(object).Swap(*this);
344 object.Swap(*this);
363 void Swap(Agile& object)
365 std::swap(_object, object._object);
366 std::swap(_contextCallback, object._contextCallback);
367 std::swap(_contextToken, object._contextToken);
369 std::swap(_agileState, object._agileState);
448 Swap(object);
494 object.Swap(*this)
    [all...]

Completed in 830 milliseconds

1 2 3 4 5 6 7 8