Home
last modified time | relevance | path

Searched refs:swap (Results 1 – 25 of 89) sorted by relevance

1234

/reactos/sdk/lib/3rdparty/stlport/test/unit/
H A Dstack_allocator.h148 void swap(StackAllocator &other) { in swap() function
149 __STD swap(m_state, other.m_state); in swap()
155 void _M_swap_workaround(StackAllocator& __x) { swap(__x); } in _M_swap_workaround()
185 inline void swap(StackAllocator<_Tp>& __a, StackAllocator<_Tp>& __b) in swap() function
186 { __a.swap(__b); } in swap()
191 inline void swap(StackAllocator<int>& __a, StackAllocator<int>& __b) in swap() function
192 { __a.swap(__b); } in swap()
193 inline void swap(StackAllocator<char>& __a, StackAllocator<char>& __b) in swap() function
194 { __a.swap(__b); } in swap()
195 inline void swap(StackAllocator<pair<const int, int> >& __a, in swap() function
[all …]
H A Dlist_test.cpp30 CPPUNIT_TEST(swap);
45 void swap();
168 l1.swap(l2); in list4()
289 lint1.swap(lint2); in allocator_with_state()
311 lint1.swap(lint2); in allocator_with_state()
333 lint1.swap(lint2); in allocator_with_state()
422 void ListTest::swap() in swap() function in ListTest
430 lst1.swap( lst2 ); in swap()
H A Dswap_test.cpp49 swap(a, b); in swap1()
108 swap( v1, v2 ); // this shouldn't try make it as v1.swap( v2 ), no queue::swap method! in swap_container_non_spec()
153 swap( v1, v2 ); // this should has effect v1.swap( v2 ) in swap_container_spec()
H A Dstring_test.cpp284 long_str1.swap(long_str2); in short_string()
286 long_str1.swap(long_str2); in short_string()
290 short_str1.swap(long_str1); in short_string()
292 short_str1.swap(long_str1); in short_string()
296 long_str1.swap(short_str1); in short_string()
298 long_str1.swap(short_str1); in short_string()
306 swap(a, b); in short_string()
1318 str1.swap(str2); in allocator_with_state()
1339 str1.swap(str2); in allocator_with_state()
1361 str1.swap(str2); in allocator_with_state()
[all …]
H A Dset_test.cpp82 s2.swap(s); in set2()
87 s3.swap(s); in set2()
88 s3.swap(s2); in set2()
299 sint1.swap(sint2); in allocator_with_state()
322 sint1.swap(sint2); in allocator_with_state()
345 sint1.swap(sint2); in allocator_with_state()
/reactos/sdk/lib/3rdparty/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
/reactos/sdk/include/c++/stlport/stl/
H A D_string_base.h172 _STLP_STD::swap(_M_buffers, __s._M_buffers);
177 _M_start_of_storage.swap(__s._M_start_of_storage);
191 _M_start_of_storage.swap(__s._M_start_of_storage);
199 _STLP_STD::swap(_M_buffers._M_end_of_storage, __s._M_buffers._M_end_of_storage);
200 _M_start_of_storage.swap(__s._M_start_of_storage);
201 _STLP_STD::swap(_M_finish, __s._M_finish);
204 _STLP_STD::swap(_M_end_of_storage, __s._M_end_of_storage);
205 _M_start_of_storage.swap(__s._M_start_of_storage);
206 _STLP_STD::swap(_M_finish, __s._M_finish);
H A D_relops_hash_cont.h9 swap(_STLP_TEMPLATE_CONTAINER& __hm1, _STLP_TEMPLATE_CONTAINER& __hm2) { in swap() function
10 __hm1.swap(__hm2); in swap()
H A D_relops_cont.h25 inline void _STLP_CALL swap(_STLP_TEMPLATE_CONTAINER& __x, in _STLP_RELOPS_OPERATORS()
27 __x.swap(__y); in _STLP_RELOPS_OPERATORS()
H A D_hashtable.h367 void swap(_Self& __ht) {
368 _STLP_STD::swap(_M_hash, __ht._M_hash);
369 _STLP_STD::swap(_M_equals, __ht._M_equals);
370 _M_elems.swap(__ht._M_elems);
371 _M_buckets.swap(__ht._M_buckets);
372 _STLP_STD::swap(_M_num_elements, __ht._M_num_elements);
373 _STLP_STD::swap(_M_max_load_factor, __ht._M_max_load_factor);
H A D_map.h182 void swap(_Self& __x) { _M_t.swap(__x._M_t); } in _STLP_CREATE_ITERATOR_TRAITS()
184 void _M_swap_workaround(_Self& __x) { swap(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
360 void swap(_Self& __x) { _M_t.swap(__x._M_t); } in _STLP_CREATE_ITERATOR_TRAITS()
362 void _M_swap_workaround(_Self& __x) { swap(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
H A D_set.h162 void swap(_Self& __x) { _M_t.swap(__x._M_t); } in _STLP_CREATE_ITERATOR_TRAITS()
164 void _M_swap_workaround(_Self& __x) { swap(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
333 void swap(_Self& __x) { _M_t.swap(__x._M_t); } in _STLP_CREATE_ITERATOR_TRAITS()
335 void _M_swap_workaround(_Self& __x) { swap(__x); } in _STLP_CREATE_ITERATOR_TRAITS()
H A D_unordered_set.h117 void swap(_Self& __hs) { _M_ht.swap(__hs._M_ht); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
119 void _M_swap_workaround(_Self& __x) { swap(__x); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
267 void swap(_Self& hs) { _M_ht.swap(hs._M_ht); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
269 void _M_swap_workaround(_Self& __x) { swap(__x); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
H A D_unordered_map.h123 void swap(_Self& __hs) { _M_ht.swap(__hs._M_ht); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
125 void _M_swap_workaround(_Self& __x) { swap(__x); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
291 void swap(_Self& __hs) { _M_ht.swap(__hs._M_ht); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
293 void _M_swap_workaround(_Self& __x) { swap(__x); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
H A D_slist.c197 __carry.swap(__counter[__i]); in _Slist_sort()
200 __carry.swap(__counter[__i]); in _Slist_sort()
212 __that.swap(__counter[__fill-1]); in _Slist_sort()
/reactos/dll/opengl/glu32/src/libnurbs/nurbtess/
H A Dquicksort.cc42 static void swap(void *v[], int i, int j) in swap() function
69 swap(v, left, (left+right)/2); in quicksort()
73 swap(v, ++last, i); in quicksort()
74 swap(v, left, last); in quicksort()
/reactos/sdk/lib/crt/stdlib/
H A Dqsort.c63 #define swap(a, b) \ macro
105 swap(pl, pl - es); in qsort()
120 swap(a, pm); in qsort()
128 swap(pa, pb); in qsort()
136 swap(pc, pd); in qsort()
143 swap(pb, pc); in qsort()
152 swap(pl, pl - es); in qsort()
/reactos/sdk/lib/3rdparty/freetype/src/autofit/
H A Dafangles.c191 FT_Pos swap; in af_sort_pos() local
201 swap = table[j]; in af_sort_pos()
203 table[j - 1] = swap; in af_sort_pos()
218 AF_WidthRec swap; in af_sort_and_quantize_widths() local
232 swap = table[j]; in af_sort_and_quantize_widths()
234 table[j - 1] = swap; in af_sort_and_quantize_widths()
/reactos/sdk/lib/ucrt/stdlib/
H A Dqsort.cpp50 static void __fileDECL swap(_Inout_updates_(width) char* a, _Inout_updates_(width) char* b, size_t … in swap() function
113 swap(max, hi, width);
218 swap(lo, mid, width); in qsort_s()
221 swap(lo, hi, width); in qsort_s()
224 swap(mid, hi, width); in qsort_s()
283 swap(loguy, higuy, width); in qsort_s()
/reactos/dll/opengl/glu32/src/libnurbs/internals/
H A Dtrimline.cc90 Trimline::swap() in swap() function in Trimline
117 reset(); swap(); append( tinterp ); in getNextPts()
139 reset(); swap(); append( tinterp ); in getPrevPts()
161 reset(); swap(); append( tinterp ); in getNextPts()
178 reset(); swap(); append( tinterp ); in getPrevPts()
/reactos/sdk/include/c++/stlport/
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;
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/
H A Drdpsnd_sun.c228 uint8 swap; in wave_out_play() local
260 swap = *(out->p + i); in wave_out_play()
262 *(out->p + i + 1) = swap; in wave_out_play()
H A Drdpsnd_sgi.c286 uint8 swap; in wave_out_play() local
307 swap = *(out->p + i); in wave_out_play()
309 *(out->p + i + 1) = swap; in wave_out_play()
/reactos/sdk/lib/crt/misc/
H A Dgetopt.c110 char *swap; local
127 swap = nargv[pos];
131 ((char **)nargv)[cstart] = swap;

1234