Home
last modified time | relevance | path

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

12

/system/chre/util/include/chre/util/
Dheap_impl.h38 container.swap(parent, current); in siftUp()
67 container.swap(current, child); in siftDown()
89 container.swap(0, container.size() - 1); in pop_heap()
98 container.swap(index, container.size() - 1); in remove_heap()
Dfixed_size_vector.h154 void swap(size_t index0, size_t index1);
Ddynamic_vector.h255 void swap(size_type index0, size_type index1);
/system/nvram/messages/
Dblob.cpp35 swap(*this, other); in Blob()
39 swap(*this, other); in operator =()
43 void swap(Blob& first, Blob& second) { in swap() function
/system/libufdt/sysdeps/
Dlibufdt_sysdeps_vendor.c82 #define swap(a, b) \ macro
109 swap(pl, pl - es); in qsort()
124 swap(a, pm); in qsort()
132 swap(pa, pb); in qsort()
140 swap(pc, pd); in qsort()
146 swap(pb, pc); in qsort()
154 swap(pl, pl - es); in qsort()
/system/extras/showmap/
Dshowmap.cpp22 unsigned swap; member
114 mi->swap = size; in parse_field()
150 current->swap += map->swap; in enqueue_map()
259 mi->private_clean, mi->private_dirty, mi->swap, mi->swap_pss); in print_mi()
285 total.swap += mi->swap; in show_map()
/system/netd/libnetdutils/include/netdutils/
DUniqueFd.h49 UniqueFd(UniqueFd&& other) { std::swap(mFd, other.mFd); } in UniqueFd()
51 std::swap(mFd, other.mFd);
DMockSyscalls.h71 ScopedMockSyscalls() : mOld(sSyscalls.swap(*this)) { assert((mRefcount++) == 1); } in ScopedMockSyscalls()
73 sSyscalls.swap(mOld); in ~ScopedMockSyscalls()
/system/extras/libpagemap/
Dpm_memusage.c41 mu->vss = mu->rss = mu->pss = mu->uss = mu->swap = 0; in pm_memusage_zero()
55 a->swap += b->swap; in pm_memusage_add()
/system/nvram/messages/include/nvram/messages/
Dvector.h54 swap(*this, other); in Vector()
57 swap(*this, other);
60 friend void swap(Vector<ElementType>& first, Vector<ElementType>& second) { in swap() function
Dblob.h45 friend void swap(Blob& first, Blob& second);
/system/libvintf/
DKernelConfigTypedValue.cpp35 std::swap(mStringValue, s); in KernelConfigTypedValue()
45 std::swap(mRangeValue, v); in KernelConfigTypedValue()
/system/update_engine/payload_generator/
Dtarjan.cc46 out->swap(components_[0]); in Execute()
78 component.swap(components_.back()); in Tarjan()
Dgraph_utils_unittest.cc86 graph[2].out_edges[1].write_extents.swap(graph[2].out_edges[1].extents); in TEST()
/system/chre/util/tests/
Dfixed_size_vector_test.cc135 EXPECT_DEATH(vector.swap(0, 2), ""); in TEST()
142 EXPECT_DEATH(vector.swap(2, 3), ""); in TEST()
150 vector.swap(0, 1); in TEST()
275 vector.swap(1, 3); in TEST()
/system/netd/libnetdutils/
DUniqueFd.cpp27 std::swap(fd, mFd); in reset()
/system/extras/procrank/
Dprocrank.cpp54 declare_sort(swap);
284 if (ws != WS_RESET && procs[i].usage.swap) { in main()
391 total_swap += proc.usage.swap; in main()
418 printf("%6zuK ", proc.usage.swap / 1024); in main()
605 create_sort(swap, numcmp) in create_sort()
/system/extras/librank/
Dlibrank.c64 declare_sort(swap);
371 if (map_usage.swap) { in main()
412 printf("%6zdK ", mi->usage.swap / 1024); in main()
490 create_sort(swap, numcmp)
/system/libhidl/base/
DStatus.cpp157 std::swap(mStatus, other.mStatus); in operator =()
158 std::swap(mCheckedStatus, other.mCheckedStatus); in operator =()
/system/update_engine/payload_consumer/
Dbzip_extent_writer.cc79 new_input_buffer.swap(input_buffer_); in Write()
Dpayload_verifier.cc169 out_hash_data->swap(hash_data); in GetRawHashFromSignature()
/system/sepolicy/prebuilts/api/26.0/public/
Dtoolbox.te15 # Read/write block devices used for swap partitions.
/system/sepolicy/public/
Dtoolbox.te15 # Read/write block devices used for swap partitions.
/system/core/libpixelflinger/
Dfixed.cpp248 static inline void swap(T& a, T& b) { in swap() function
330 swap(a, b); in gglMulDivi()
/system/core/logcat/
Dgetopt_long.cpp104 char* swap = nargv[pos]; in permute_args() local
106 const_cast<char**>(nargv)[cstart] = swap; in permute_args()

12