Home
last modified time | relevance | path

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

123

/art/test/439-swap-double/
DAndroid.bp3 // Build rules for ART run-test `439-swap-double`.
16 name: "art-run-test-439-swap-double",
21 ":art-run-test-439-swap-double-expected-stdout",
22 ":art-run-test-439-swap-double-expected-stderr",
28 name: "art-run-test-439-swap-double-expected-stdout",
29 out: ["art-run-test-439-swap-double-expected-stdout.txt"],
36 name: "art-run-test-439-swap-double-expected-stderr",
37 out: ["art-run-test-439-swap-double-expected-stderr.txt"],
Dinfo.txt1 Test for the optimizing compiler's parallel swap support in
/art/test/1972-jni-id-swap-indices/
DAndroid.bp3 // Build rules for ART run-test `1972-jni-id-swap-indices`.
16 name: "art-run-test-1972-jni-id-swap-indices",
21 ":art-run-test-1972-jni-id-swap-indices-expected-stdout",
22 ":art-run-test-1972-jni-id-swap-indices-expected-stderr",
28 name: "art-run-test-1972-jni-id-swap-indices-expected-stdout",
29 out: ["art-run-test-1972-jni-id-swap-indices-expected-stdout.txt"],
36 name: "art-run-test-1972-jni-id-swap-indices-expected-stderr",
37 out: ["art-run-test-1972-jni-id-swap-indices-expected-stderr.txt"],
Dinfo.txt3 Also tests that WellKnownClasses jmethodIDs are indices after swap.
/art/test/1973-jni-id-swap-pointer/
DAndroid.bp3 // Build rules for ART run-test `1973-jni-id-swap-pointer`.
16 name: "art-run-test-1973-jni-id-swap-pointer",
21 ":art-run-test-1973-jni-id-swap-pointer-expected-stdout",
22 ":art-run-test-1973-jni-id-swap-pointer-expected-stderr",
28 name: "art-run-test-1973-jni-id-swap-pointer-expected-stdout",
29 out: ["art-run-test-1973-jni-id-swap-pointer-expected-stdout.txt"],
36 name: "art-run-test-1973-jni-id-swap-pointer-expected-stderr",
37 out: ["art-run-test-1973-jni-id-swap-pointer-expected-stderr.txt"],
/art/runtime/native/
Dlibcore_io_Memory.cc110 if (swap) { \
129 jboolean swap) { in Memory_peekCharArray() argument
139 jboolean swap) { in Memory_peekDoubleArray() argument
149 jboolean swap) { in Memory_peekFloatArray() argument
159 jboolean swap) { in Memory_peekIntArray() argument
169 jboolean swap) { in Memory_peekLongArray() argument
179 jboolean swap) { in Memory_peekShortArray() argument
/art/libartbase/base/
Dhash_set.h376 HashSet(std::move(other)).swap(*this); // NOLINT [runtime/explicit] [5]
381 HashSet(other).swap(*this); // NOLINT(runtime/explicit) - a case of lint gone mad.
561 void swap(HashSet& other) { in swap() function
563 using std::swap; in swap()
564 swap(allocfn_, other.allocfn_); in swap()
565 swap(hashfn_, other.hashfn_); in swap()
566 swap(emptyfn_, other.emptyfn_); in swap()
567 swap(pred_, other.pred_); in swap()
568 std::swap(data_, other.data_); in swap()
569 std::swap(num_buckets_, other.num_buckets_); in swap()
[all …]
Dmem_map.h74 swap(other);
82 void swap(MemMap& other);
434 inline void swap(MemMap& lhs, MemMap& rhs) { in swap() function
435 lhs.swap(rhs); in swap()
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()
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.cc614 swap(other); in MemMap()
667 void MemMap::swap(MemMap& other) { in swap() function in art::MemMap
692 name_.swap(other.name_); in SwapMembers()
693 std::swap(begin_, other.begin_); in SwapMembers()
694 std::swap(size_, other.size_); in SwapMembers()
695 std::swap(base_begin_, other.base_begin_); in SwapMembers()
696 std::swap(base_size_, other.base_size_); in SwapMembers()
697 std::swap(prot_, other.prot_); in SwapMembers()
698 std::swap(reuse_, other.reuse_); in SwapMembers()
699 std::swap(already_unmapped_, other.already_unmapped_); in SwapMembers()
[all …]
Dsafe_map.h74 void swap(Self& other) { map_.swap(other.map_); } in swap() function
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()
Dcommon_art_test.cc112 std::swap(filename_, other.filename_); in operator =()
113 std::swap(file_, other.file_); in operator =()
/art/runtime/gc/space/
Dspace.cc99 std::swap(live_bitmap, mark_bitmap); in Sweep()
129 std::swap(live_bitmap_, mark_bitmap_); in SwapBitmaps()
Dlarge_object_space_test.cc78 std::swap(requests[j], requests[test_rand(&rand_seed) % requests.size()]); in LargeObjectTest()
Dimage_space_test.cc184 std::swap(bcp[bcp.size() - 2u], bcp[bcp.size() - 1u]); in TEST_F()
185 std::swap(bcp_locations[bcp_locations.size() - 2u], bcp_locations[bcp_locations.size() - 1u]); in TEST_F()
Dlarge_object_space.cc105 std::swap(live_bitmap_, mark_bitmap_); in SwapBitmaps()
636 std::swap(live_bitmap, mark_bitmap); in Sweep()
/art/dexlayout/
Ddex_container.h81 temp.swap(data_); in ReleaseData()
/art/openjdkjvmti/
Dobject_tagging.cc62 to_send.swap(null_tags_); in SendDelayedFreeEvents()
/art/dex2oat/
Dcommon_compiler_driver_test.cc88 compiler_options_->image_classes_.swap(*GetImageClasses()); in CreateCompilerDriver()
/art/cmdline/
Dcmdline_parser.h387 help_.swap(sv); in SetHelp()
391 metavar_.swap(sv); in SetMetavar()
395 category_.swap(sv); in SetCategory()
458 category_order_.swap(categories); in OrderCategories()
/art/compiler/utils/
Dassembler.h333 result.first.swap(opcodes_); in ReleaseStreamAndPrepareForDelayedAdvancePC()
334 result.second.swap(delayed_advance_pcs_); in ReleaseStreamAndPrepareForDelayedAdvancePC()
/art/test/046-reflect/
Dexpected-stdout.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()

123