Home
last modified time | relevance | path

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

12

/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.h147 void swap(dchecked_vector& other) { Base::swap(other); } in swap() function
196 void swap(dchecked_vector<T, Alloc>& lhs, dchecked_vector<T, Alloc>& rhs) { in swap() function
197 lhs.swap(rhs); in swap()
Dtiming_logger.h109 std::swap(data_, other.data_); in TimingData()
112 std::swap(data_, other.data_);
Dvariant_map.h367 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.h157 tmp.swap(*this);
185 tmp.swap(*this); in assign()
217 void swap(IntrusiveForwardList& other) { in swap() function
218 std::swap(first_.next_hook, other.first_.next_hook); in swap()
372 reversed.swap(*this); in reverse()
400 void swap(IntrusiveForwardList<T, HookTraits>& lhs, IntrusiveForwardList<T, HookTraits>& rhs) { in swap() function
401 lhs.swap(rhs); in swap()
Dassembler.h333 result.first.swap(opcodes_); in ReleaseStreamAndPrepareForDelayedAdvancePC()
334 result.second.swap(delayed_advance_pcs_); in ReleaseStreamAndPrepareForDelayedAdvancePC()
Dintrusive_forward_list_test.cc423 ref1.swap(ref2); in SwapClear()
424 ifl1.swap(ifl2); in SwapClear()
431 swap(ref1, ref2); in SwapClear()
432 swap(ifl1, ifl2); in SwapClear()
/art/runtime/gc/space/
Dspace.cc99 std::swap(live_bitmap, mark_bitmap); in Sweep()
135 live_bitmap_.swap(mark_bitmap_); in SwapBitmaps()
Dlarge_object_space_test.cc77 std::swap(requests[j], requests[test_rand(&rand_seed) % requests.size()]); in LargeObjectTest()
Dlarge_object_space.cc105 live_bitmap_.swap(mark_bitmap_); in SwapBitmaps()
598 std::swap(live_bitmap, mark_bitmap); in Sweep()
/art/runtime/
Dsafe_map.h71 void swap(Self& other) { map_.swap(other.map_); } in swap() function
Dcommon_runtime_test.cc172 std::swap(filename_, other.filename_); in operator =()
173 std::swap(file_, other.file_); in operator =()
Ddex_file_verifier_test.cc1448 std::swap(const_cast<uint32_t&>(proto1.parameters_off_), in TEST_F()
1450 std::swap(const_cast<dex::StringIndex&>(proto1.shorty_idx_), in TEST_F()
Druntime.cc1359 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.cc2465 std::swap(bump_pointer_space_, temp_space_); in SwapSemiSpaces()
3116 allocation_stack_.swap(live_stack_); in SwapStacks()
/art/compiler/optimizing/
Dnodes.cc1580 new_block->successors_.swap(successors_); in SplitBefore()
1597 new_block->predecessors_.swap(predecessors_); in CreateImmediateDominator()
1625 new_block->successors_.swap(successors_); in SplitBeforeForInlining()
1631 new_block->dominated_blocks_.swap(dominated_blocks_); in SplitBeforeForInlining()
1652 new_block->successors_.swap(successors_); in SplitAfterForInlining()
1658 new_block->dominated_blocks_.swap(dominated_blocks_); in SplitAfterForInlining()
2005 successors_.swap(other->successors_); in MergeWith()
2044 successors_.swap(other->successors_); in MergeWithInlined()
Dcode_generator_arm_vixl.cc1825 std::swap(cond, opposite); in GenerateLongTestConstant()
1935 std::swap(cond, opposite); in GenerateLongTest()
1976 std::swap(left, right); in GenerateLongTest()
2004 std::swap(cond, opposite); in GenerateTest()
2114 std::swap(left_low, left_high); in GenerateEqualLong()
2115 std::swap(right_low, right_high); in GenerateEqualLong()
3348 std::swap(in, temp); in GenerateConditionWithZero()
3467 std::swap(left, right); in HandleCondition()
4974 std::swap(in_reg_hi, in_reg_lo); in HandleLongRotate()
Dinstruction_builder.cc587 std::swap(first, second); in Binop_22s()
598 std::swap(first, second); in Binop_22b()
Dinduction_var_analysis.cc52 scc->swap(*new_scc); in RotateEntryPhiFirst()
Dregister_allocator_graph_color.cc1704 std::swap(from, into); in Coalesce()
/art/runtime/gc/collector/
Dmark_sweep.cc1219 std::swap(live_bitmap, mark_bitmap); in SweepArray()
1259 std::swap(large_live_objects, large_mark_objects); in SweepArray()

12