Home
last modified time | relevance | path

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

12

/art/libartbase/base/
Dhash_set.h310 HashSet(std::move(other)).swap(*this); // NOLINT [runtime/explicit] [5]
315 HashSet(other).swap(*this); // NOLINT(runtime/explicit) - a case of lint gone mad.
467 void swap(HashSet& other) { in swap() function
469 using std::swap; in swap()
470 swap(allocfn_, other.allocfn_); in swap()
471 swap(hashfn_, other.hashfn_); in swap()
472 swap(emptyfn_, other.emptyfn_); in swap()
473 swap(pred_, other.pred_); in swap()
474 std::swap(data_, other.data_); in swap()
475 std::swap(num_buckets_, other.num_buckets_); in swap()
[all …]
Dmem_map.h74 swap(other);
82 void swap(MemMap& other);
412 inline void swap(MemMap& lhs, MemMap& rhs) { in swap() function
413 lhs.swap(rhs); in swap()
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()
Dmem_map.cc591 swap(other); in MemMap()
635 void MemMap::swap(MemMap& other) { in swap() function in art::MemMap
660 name_.swap(other.name_); in SwapMembers()
661 std::swap(begin_, other.begin_); in SwapMembers()
662 std::swap(size_, other.size_); in SwapMembers()
663 std::swap(base_begin_, other.base_begin_); in SwapMembers()
664 std::swap(base_size_, other.base_size_); in SwapMembers()
665 std::swap(prot_, other.prot_); in SwapMembers()
666 std::swap(reuse_, other.reuse_); in SwapMembers()
667 std::swap(already_unmapped_, other.already_unmapped_); in SwapMembers()
[all …]
Dsafe_map.h70 void swap(Self& other) { map_.swap(other.map_); } in swap() function
Dcommon_art_test.cc82 std::swap(filename_, other.filename_); in operator =()
83 std::swap(file_, other.file_); in operator =()
Dvariant_map.h375 storage_map_.swap(other.storage_map_);
Dhash_set_test.cc154 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.h158 tmp.swap(*this);
186 tmp.swap(*this); in assign()
218 void swap(IntrusiveForwardList& other) { in swap() function
219 std::swap(first_.next_hook, other.first_.next_hook); in swap()
373 reversed.swap(*this); in reverse()
401 void swap(IntrusiveForwardList<T, HookTraits>& lhs, IntrusiveForwardList<T, HookTraits>& rhs) { in swap() function
402 lhs.swap(rhs); in swap()
Dassembler.h334 result.first.swap(opcodes_); in ReleaseStreamAndPrepareForDelayedAdvancePC()
335 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.cc101 std::swap(live_bitmap, mark_bitmap); in Sweep()
136 live_bitmap_.swap(mark_bitmap_); in SwapBitmaps()
Dlarge_object_space_test.cc78 std::swap(requests[j], requests[test_rand(&rand_seed) % requests.size()]); in LargeObjectTest()
Dlarge_object_space.cc104 live_bitmap_.swap(mark_bitmap_); in SwapBitmaps()
618 std::swap(live_bitmap, mark_bitmap); in Sweep()
/art/runtime/base/
Dtiming_logger.h129 std::swap(data_, other.data_); in TimingData()
132 std::swap(data_, other.data_);
/art/openjdkjvmti/
Dobject_tagging.cc62 to_send.swap(null_tags_); in SendDelayedFreeEvents()
Dti_class_definition.cc69 source.swap(temp_mmap_); in InitializeMemory()
/art/dex2oat/
Dcommon_compiler_driver_test.cc91 compiler_options_->image_classes_.swap(*GetImageClasses()); in CreateCompilerDriver()
/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()
/art/libdexfile/external/include/art_api/
Ddex_file_support.h54 std::swap(ext_string_, dex_str.ext_string_);
/art/compiler/optimizing/
Dnodes.cc1859 new_block->successors_.swap(successors_); in SplitBefore()
1876 new_block->predecessors_.swap(predecessors_); in CreateImmediateDominator()
1904 new_block->successors_.swap(successors_); in SplitBeforeForInlining()
1910 new_block->dominated_blocks_.swap(dominated_blocks_); in SplitBeforeForInlining()
1931 new_block->successors_.swap(successors_); in SplitAfterForInlining()
1937 new_block->dominated_blocks_.swap(dominated_blocks_); in SplitAfterForInlining()
2298 successors_.swap(other->successors_); in MergeWith()
2337 successors_.swap(other->successors_); in MergeWithInlined()
/art/libdexfile/dex/
Ddex_file_verifier_test.cc1427 std::swap(const_cast<uint32_t&>(proto1.parameters_off_), in TEST_F()
1429 std::swap(const_cast<dex::StringIndex&>(proto1.shorty_idx_), in TEST_F()
/art/runtime/gc/collector/
Dmark_sweep.cc1243 std::swap(live_bitmap, mark_bitmap); in SweepArray()
1283 std::swap(large_live_objects, large_mark_objects); in SweepArray()

12