Home
last modified time | relevance | path

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

/art/runtime/base/
Dhash_set.h262 HashSet(std::move(other)).swap(*this);
267 HashSet(other).swap(*this); // NOLINT(runtime/explicit) - a case of lint gone mad.
406 void swap(HashSet& other) { in swap() function
408 using std::swap; in swap()
409 swap(allocfn_, other.allocfn_); in swap()
410 swap(hashfn_, other.hashfn_); in swap()
411 swap(emptyfn_, other.emptyfn_); in swap()
412 swap(pred_, other.pred_); in swap()
413 std::swap(data_, other.data_); in swap()
414 std::swap(num_buckets_, other.num_buckets_); in swap()
[all …]
Ddchecked_vector.h149 void swap(dchecked_vector& other) { Base::swap(other); } in swap() function
198 void swap(dchecked_vector<T, Alloc>& lhs, dchecked_vector<T, Alloc>& rhs) { in swap() function
199 lhs.swap(rhs); in swap()
Dtiming_logger.h109 std::swap(data_, other.data_); in TimingData()
112 std::swap(data_, other.data_);
Dvariant_map.h365 storage_map_.swap(other.storage_map_);
Dhash_set_test.cc152 std::swap(hash_seta, hash_setb); in TEST_F()
/art/test/439-swap-double/
Dinfo.txt1 Test for the optimizing compiler's parallel swap support in
/art/compiler/utils/
Dintrusive_forward_list.h147 tmp.swap(*this);
175 tmp.swap(*this); in assign()
207 void swap(IntrusiveForwardList& other) { in swap() function
208 std::swap(first_.next_hook, other.first_.next_hook); in swap()
362 reversed.swap(*this); in reverse()
390 void swap(IntrusiveForwardList<T, HookTraits>& lhs, IntrusiveForwardList<T, HookTraits>& rhs) { in swap() function
391 lhs.swap(rhs); in swap()
Dintrusive_forward_list_test.cc274 ref1.swap(ref2); in TEST()
275 ifl1.swap(ifl2); in TEST()
282 swap(ref1, ref2); in TEST()
283 swap(ifl1, ifl2); in TEST()
Dassembler.h329 result.first.swap(opcodes_); in ReleaseStreamAndPrepareForDelayedAdvancePC()
330 result.second.swap(delayed_advance_pcs_); in ReleaseStreamAndPrepareForDelayedAdvancePC()
/art/runtime/gc/space/
Dspace.cc98 std::swap(live_bitmap, mark_bitmap); in Sweep()
134 live_bitmap_.swap(mark_bitmap_); in SwapBitmaps()
Dlarge_object_space_test.cc70 std::swap(requests[j], requests[test_rand(&rand_seed) % requests.size()]); in LargeObjectTest()
Dlarge_object_space.cc103 live_bitmap_.swap(mark_bitmap_); in SwapBitmaps()
605 std::swap(live_bitmap, mark_bitmap); in Sweep()
/art/runtime/
Dsafe_map.h70 void swap(Self& other) { map_.swap(other.map_); } in swap() function
Ddex_file_verifier_test.cc1516 std::swap(const_cast<uint32_t&>(proto1.parameters_off_), in TEST_F()
1518 std::swap(const_cast<uint32_t&>(proto1.shorty_idx_), in TEST_F()
Druntime.cc1172 boot_class_path.swap(*runtime_options.GetOrDefault(Opt::BootClassPathDexList)); in Init()
/art/test/046-reflect/
Dexpected.txt99 private static void java.util.Collections.swap(java.lang.Object[],int,int) accessible=false
100 private static void java.util.Collections.swap(java.lang.Object[],int,int) accessible=true
/art/runtime/gc/
Dtask_processor_test.cc130 std::swap(orderings[i], orderings[(i * 87654231 + 12345) % orderings.size()]); in TEST_F()
Dheap.cc2584 std::swap(bump_pointer_space_, temp_space_); in SwapSemiSpaces()
3230 allocation_stack_.swap(live_stack_); in SwapStacks()
/art/runtime/gc/collector/
Dmark_sweep.cc1220 std::swap(live_bitmap, mark_bitmap); in SweepArray()
1260 std::swap(large_live_objects, large_mark_objects); in SweepArray()
/art/compiler/optimizing/
Dinduction_var_analysis.cc52 scc->swap(*new_scc); in RotateEntryPhiFirst()
Dinstruction_builder.cc564 std::swap(first, second); in Binop_22s()
575 std::swap(first, second); in Binop_22b()
Dinstruction_simplifier.cc688 std::swap(true_value, false_value); in VisitSelect()
Dnodes.h962 std::swap(predecessors_[0], predecessors_[1]); in SwapPredecessors()
967 std::swap(successors_[0], successors_[1]); in SwapSuccessors()
Dcode_generator_arm.cc3169 std::swap(in_reg_hi, in_reg_lo); in HandleLongRotate()