Searched refs:swap (Results 1 - 25 of 1727) sorted by last modified time

1234567891011>>

/external/yaffs2/yaffs2/
H A Dyaffs_qsort.c59 #define swap(a, b) \ macro
91 swap(pl, pl - es);
106 swap(a, pm);
114 swap(pa, pb);
122 swap(pc, pd);
129 swap(pb, pc);
138 swap(pl, pl - es);
/external/zlib/src/contrib/puff/
H A Dpufftest.c63 void *buf, *swap; local
76 if (size == *len || (swap = realloc(buf, size)) == NULL) {
81 buf = swap;
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng_util.cpp245 filterTypes.swap(passes[0]);
/external/zopfli/src/zopflipng/
H A Dzopflipng_lib.cc262 if (out2.size() < out->size()) out->swap(out2);
414 (*resultpng).swap(temp); // Store best result so far in the output.
/external/webrtc/src/system_wrappers/interface/
H A Dscoped_ptr.h84 void swap(scoped_ptr & b) { function in class:webrtc::scoped_ptr
110 void swap(scoped_ptr<T>& a, scoped_ptr<T>& b) { function in namespace:webrtc
111 a.swap(b);
162 void swap(scoped_array & b) { function in class:webrtc::scoped_array
184 void swap(scoped_array<T>& a, scoped_array<T>& b) { function in namespace:webrtc
185 a.swap(b);
230 void swap(scoped_ptr_malloc & b) { function in class:webrtc::scoped_ptr_malloc
252 void swap(scoped_ptr_malloc<T,FF>& a, scoped_ptr_malloc<T,FF>& b) { function in namespace:webrtc
253 a.swap(b);
H A Dscoped_refptr.h46 // b.swap(a);
122 void swap(T** pp) { function in class:webrtc::scoped_refptr
128 void swap(scoped_refptr<T>& r) { function in class:webrtc::scoped_refptr
129 swap(&r.ptr_);
/external/valgrind/main/perf/
H A Dtinycc.c6313 /* swap the stack if needed so that t1 is the register and t2 is
10097 void swap(int *p, int *q)
11041 swap(&c1, &c2);
11267 swap(&t1, &t2);
10095 void swap(int *p, int *q) function
/external/valgrind/main/VEX/priv/
H A Dguest_arm64_toIR.c1214 /* Now swap them. */
1625 /* Generates a 64-bit byte swap. */
1635 /* Generates a 64-bit bit swap. */
6293 Bool swap = True; local
6304 swap = False;
6335 IRExpr* res = swap ? binop(opCMP, argM, argN)
H A Dguest_arm_toIR.c1076 /* Now swap them. */
2763 0:1:2:3 (aka byte-swap). */
2784 2:3:0:1 (swap within lo and hi halves). */
19576 Bool swap = False; local
19583 swap = True; break;
19599 assign(res, swap
19610 if (swap)
H A Dhost_x86_defs.c2670 /* Do we need to swap in %eax? */
2782 temporarily swap the source into, so the store can
2785 HReg swap = INVALID_HREG; local
2800 if (a_ok) swap = eax;
2801 if (b_ok) swap = ebx;
2802 if (c_ok) swap = ecx;
2803 if (d_ok) swap = edx;
2804 vassert(! hregIsInvalid(swap));
2805 /* xchgl %source, %swap. Could do better if swap i
[all...]
/external/valgrind/main/callgrind/
H A Ddump.c1003 void swap(BBCC** a, BBCC** b) function
1031 swap(pl, pl-1);
1065 swap(pa,pb); pa++;
1072 swap(pc,pd); pd--;
1077 swap(pb, pc);
1085 if ((s = pa-a)>0) { for(r=0;r<s;r++) swap(a+r, pb+1-s+r); }
1087 if ((s = a+n-1-pd)>0) { for(r=0;r<s;r++) swap(pc+r, a+n-s+r); }
/external/valgrind/main/drd/tests/
H A Dtsan_unittest.cpp3846 // Here we use swap to pass MAP between threads.
3853 // We swap the new empty map 'tmp' with 'MAP'.
3854 MAP.swap(tmp);
5573 swap(a,b);
5574 swap(b,c);
6253 // Here we use swap to pass map between threads.
6268 // We swap the new empty map 'tmp' with 'map'.
6269 map.swap(tmp);
6282 printf("test134: negative (swap)\n");
6441 // Here we use swap t
[all...]
/external/tinyxml/
H A Dtinystr.cpp48 swap(tmp);
61 swap(tmp);
H A Dtinystr.h34 * - added swap(), clear(), size(), capacity(), operator+().
181 // TiXmlString().swap(*this);
196 void swap (TiXmlString& other)
/external/stlport/src/
H A Dsparc_atomic.s18 ! swap [%o0], %o3 ! Do the compare and swap
37 ! swap [%o0], %o3 ! Do the compare and swap
59 ! swap [%o0], %o3 ! Do the compare and swap
H A Dsparc_atomic64.s16 casx [%o0], %o2, %o3 ! Do the compare and swap
35 casx [%o0], %o2, %o3 ! Do the compare and swap
55 casx [%o0], %o2, %o3 ! Do the compare and swap
/external/stlport/stlport/
H A Dfunctional126 void swap(function<Signature, Allocator>& f1, function<Signature, Allocator>& f2);
136 using ::boost::swap;
H A Dmemory82 template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b);
83 template<class T> void swap(shared_ptr<T> & a, shared_ptr<T> & b);
108 using ::boost::swap;
/external/stlport/stlport/stl/
H A D_algo.c382 _STLP_STD::swap(*__first++, *__first2++);
392 _STLP_STD::swap (*__first++, *__first2++);
417 _STLP_STD::swap(*__first++, *--__last);
689 _STLP_STD::swap(*__first, *__next);
H A D_algobase.h79 // swap and iter_swap
81 inline void swap(_Tp& __a, _Tp& __b) { function
108 /* namespace specification breaks access to the right swap template overload (at least for gcc) */
109 /*_STLP_STD::*/ swap(*__i1, *__i2);
H A D_alloc.h494 * swap in this case. For some compilers (VC6) it is a workaround for a
503 _STLP_STD::swap(__base_this, __base_x);
516 /* We need to define the following swap implementation for allocator with state
517 * as those allocators might have implement a special swap function to correctly
520 void swap(_Self& __x) { function in class:_STLP_alloc_proxy
522 _STLP_STD::swap(_M_data, __x._M_data);
H A D_bvector.h85 inline void swap(_STLP_PRIV _Bit_reference& __x, _STLP_PRIV _Bit_reference& __y) { function
676 void swap(__BVECTOR_QUALIFIED& __x) { function in class:__BVECTOR_QUALIFIED
677 _STLP_STD::swap(this->_M_start, __x._M_start);
678 _STLP_STD::swap(this->_M_finish, __x._M_finish);
679 this->_M_end_of_storage.swap(__x._M_end_of_storage);
682 void _M_swap_workaround(__BVECTOR_QUALIFIED& __x) { swap(__x); }
H A D_deque.h571 void swap(_Self& __x) { function in class:deque
572 _STLP_STD::swap(this->_M_start, __x._M_start);
573 _STLP_STD::swap(this->_M_finish, __x._M_finish);
574 this->_M_map.swap(__x._M_map);
575 this->_M_map_size.swap(__x._M_map_size);
578 void _M_swap_workaround(_Self& __x) { swap(__x); }
H A D_hash_map.h169 void swap(_Self& __hs) { _M_ht.swap(__hs._M_ht); } function in class:hash_map
171 void _M_swap_workaround(_Self& __x) { swap(__x); }
360 void swap(_Self& __hs) { _M_ht.swap(__hs._M_ht); } function in class:hash_multimap
362 void _M_swap_workaround(_Self& __x) { swap(__x); }
H A D_hash_set.h170 void swap(_Self& __hs) { _M_ht.swap(__hs._M_ht); } function in class:hash_set
172 void _M_swap_workaround(_Self& __x) { swap(__x); }
352 void swap(_Self& hs) { _M_ht.swap(hs._M_ht); } function in class:hash_multiset
354 void _M_swap_workaround(_Self& __x) { swap(__x); }

Completed in 3534 milliseconds

1234567891011>>