Searched refs:swap (Results 1 - 23 of 23) sorted by relevance

/art/runtime/base/
H A 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) { function in class:art::HashSet
407 // Use argument-dependent lookup with fall-back to std::swap() for function objects.
408 using std::swap;
409 swap(allocfn_, other.allocfn_);
410 swap(hashfn_, other.hashfn_);
411 swap(emptyfn_, other.emptyfn_);
412 swap(pred_, other.pred_);
413 std::swap(data
678 void swap(HashSet<T, EmptyFn, HashFn, Pred, Alloc>& lhs, function in namespace:art
[all...]
H A Dtiming_logger.h109 std::swap(data_, other.data_);
112 std::swap(data_, other.data_);
H A Ddchecked_vector.h148 // Modifiers: swap(). Swap only with another dchecked_vector instead of a plain vector.
149 void swap(dchecked_vector& other) { Base::swap(other); } function in class:art::dchecked_vector
196 // Non-member swap(), found by argument-dependent lookup for an unqualified call.
198 void swap(dchecked_vector<T, Alloc>& lhs, dchecked_vector<T, Alloc>& rhs) {
199 lhs.swap(rhs);
H A Dvariant_map.h365 storage_map_.swap(other.storage_map_);
H A Dhash_set_test.cc152 std::swap(hash_seta, hash_setb);
/art/runtime/gc/space/
H A Dspace.cc98 std::swap(live_bitmap, mark_bitmap);
134 live_bitmap_.swap(mark_bitmap_);
H A Dlarge_object_space_test.cc70 std::swap(requests[j], requests[test_rand(&rand_seed) % requests.size()]);
H A Dlarge_object_space.cc103 live_bitmap_.swap(mark_bitmap_);
586 // If the bitmaps aren't swapped we need to clear the bits since the GC isn't going to re-swap
605 std::swap(live_bitmap, mark_bitmap);
/art/compiler/utils/
H A Dintrusive_forward_list.h147 tmp.swap(*this);
175 tmp.swap(*this);
207 void swap(IntrusiveForwardList& other) { function in class:art::IntrusiveForwardList
208 std::swap(first_.next_hook, other.first_.next_hook);
362 reversed.swap(*this);
390 void swap(IntrusiveForwardList<T, HookTraits>& lhs, IntrusiveForwardList<T, HookTraits>& rhs) { function in namespace:art
391 lhs.swap(rhs);
H A Dintrusive_forward_list_test.cc274 ref1.swap(ref2);
275 ifl1.swap(ifl2);
282 swap(ref1, ref2);
283 swap(ifl1, ifl2);
H A Dassembler.h329 result.first.swap(opcodes_);
330 result.second.swap(delayed_advance_pcs_);
/art/runtime/
H A Dsafe_map.h70 void swap(Self& other) { map_.swap(other.map_); } function in class:art::SafeMap
H A Dcommon_runtime_test.cc100 std::swap(filename_, other.filename_);
101 std::swap(file_, other.file_);
H A Ddex_file_verifier_test.cc1516 std::swap(const_cast<uint32_t&>(proto1.parameters_off_),
1518 std::swap(const_cast<uint32_t&>(proto1.shorty_idx_),
H A Druntime.cc1201 boot_class_path.swap(*runtime_options.GetOrDefault(Opt::BootClassPathDexList));
/art/runtime/gc/
H A Dtask_processor_test.cc130 std::swap(orderings[i], orderings[(i * 87654231 + 12345) % orderings.size()]);
H A Dheap.cc2192 // Compact to the main space from the bump pointer space, don't need to swap semispaces.
2584 std::swap(bump_pointer_space_, temp_space_);
2592 // Don't swap spaces since this isn't a typical semi space collection.
3231 allocation_stack_.swap(live_stack_);
/art/runtime/gc/collector/
H A Dmark_sweep.cc1222 std::swap(live_bitmap, mark_bitmap);
1262 std::swap(large_live_objects, large_mark_objects);
/art/compiler/optimizing/
H A Dinstruction_builder.cc564 std::swap(first, second);
575 std::swap(first, second);
H A Dinduction_var_analysis.cc52 scc->swap(*new_scc);
H A Dinstruction_simplifier.cc688 std::swap(true_value, false_value);
H A Dnodes.h962 std::swap(predecessors_[0], predecessors_[1]);
967 std::swap(successors_[0], successors_[1]);
H A Dcode_generator_arm.cc3168 // (e.g. 34 bits == in_reg swap + 2 bits right.)
3171 std::swap(in_reg_hi, in_reg_lo);

Completed in 320 milliseconds