/system/netd/libnetdutils/ |
H A D | UniqueFd.cpp | 27 std::swap(fd, mFd);
|
/system/netd/libnetdutils/include/netdutils/ |
H A D | UniqueFd.h | 49 UniqueFd(UniqueFd&& other) { std::swap(mFd, other.mFd); } 51 std::swap(mFd, other.mFd);
|
H A D | MockSyscalls.h | 71 ScopedMockSyscalls() : mOld(sSyscalls.swap(*this)) { assert((mRefcount++) == 1); } 73 sSyscalls.swap(mOld);
|
/system/nvram/messages/ |
H A D | blob.cpp | 35 swap(*this, other); 39 swap(*this, other); 43 void swap(Blob& first, Blob& second) { function in namespace:nvram 44 // This does not use std::swap since it needs to work in environments that are
|
/system/chre/util/include/chre/util/ |
H A D | heap_impl.h | 38 container.swap(parent, current); 64 // over it, swap and continue. 67 container.swap(current, child); 89 container.swap(0, container.size() - 1); 98 container.swap(index, container.size() - 1);
|
H A D | fixed_size_vector.h | 154 void swap(size_t index0, size_t index1);
|
H A D | dynamic_vector.h | 255 void swap(size_type index0, size_type index1);
|
/system/libvintf/ |
H A D | KernelConfigTypedValue.cpp | 35 std::swap(mStringValue, s); 45 std::swap(mRangeValue, v);
|
/system/libufdt/sysdeps/ |
H A D | libufdt_sysdeps_vendor.c | 82 #define swap(a, b) \ macro 109 swap(pl, pl - es); 124 swap(a, pm); 132 swap(pa, pb); 140 swap(pc, pd); 146 swap(pb, pc); 154 swap(pl, pl - es);
|
/system/extras/libpagemap/ |
H A D | pm_memusage.c | 32 /* We use an array of int to store the references to a given offset in the swap 33 1 GiB swap means 512KiB size array: offset are the index */ 41 mu->vss = mu->rss = mu->pss = mu->uss = mu->swap = 0; 55 a->swap += b->swap; 65 fprintf(stderr, "Error allocating proportional swap.\n"); 70 fprintf(stderr, "Error allocating proportional swap offset array.\n"); 93 fprintf(stderr, "SWAP offset %d is out of swap bounds.\n", offset);
|
H A D | pm_map.c | 73 usage.swap += map->proc->ker->pagesize;
|
/system/nvram/messages/include/nvram/messages/ |
H A D | blob.h | 45 friend void swap(Blob& first, Blob& second);
|
H A D | vector.h | 54 swap(*this, other); 57 swap(*this, other); 60 friend void swap(Vector<ElementType>& first, Vector<ElementType>& second) { function in class:nvram::Vector 61 // This does not use std::swap since it needs to work in environments that
|
/system/update_engine/payload_generator/ |
H A D | tarjan.cc | 46 out->swap(components_[0]); 78 component.swap(components_.back());
|
H A D | graph_utils_unittest.cc | 86 graph[2].out_edges[1].write_extents.swap(graph[2].out_edges[1].extents);
|
/system/extras/showmap/ |
H A D | showmap.cpp | 22 unsigned swap; member in struct:mapinfo 114 mi->swap = size; 150 current->swap += map->swap; 227 printf("%s size RSS PSS clean dirty clean dirty swap swapPSS", addr2); 259 mi->private_clean, mi->private_dirty, mi->swap, mi->swap_pss); 285 total.swap += mi->swap;
|
/system/libhidl/base/ |
H A D | Status.cpp | 157 std::swap(mStatus, other.mStatus); 158 std::swap(mCheckedStatus, other.mCheckedStatus);
|
/system/chre/util/tests/ |
H A D | fixed_size_vector_test.cc | 135 EXPECT_DEATH(vector.swap(0, 2), ""); 142 EXPECT_DEATH(vector.swap(2, 3), ""); 150 vector.swap(0, 1); 275 vector.swap(1, 3);
|
/system/update_engine/payload_consumer/ |
H A D | bzip_extent_writer.cc | 79 new_input_buffer.swap(input_buffer_);
|
/system/extras/librank/ |
H A D | librank.c | 64 declare_sort(swap); variable 250 {"swap", 0, 0, 's'}, 371 if (map_usage.swap) { 412 printf("%6zdK ", mi->usage.swap / 1024); 433 " -s Sort processes by swap.\n" 440 " -C Only show non-cached (ram/swap backed) pages\n" 490 create_sort(swap, numcmp)
|
/system/extras/procrank/ |
H A D | procrank.cpp | 54 declare_sort(swap); variable 284 if (ws != WS_RESET && procs[i].usage.swap) { 391 total_swap += proc.usage.swap; 418 printf("%6zuK ", proc.usage.swap / 1024); 491 printf("ZRAM: %" PRIu64 "K physical used for %" PRIu64 "K in swap " 492 "(%" PRIu64 "K total swap)\n", 510 " -s Sort by swap.\n" 514 " -C Only show non-cached (ram/swap backed) pages\n" 605 create_sort(swap, numcmp)
|
/system/bt/service/ipc/ |
H A D | ipc_handler_linux.cc | 96 socket_.swap(server_socket);
|
/system/core/libmemunreachable/ |
H A D | Tarjan.h | 98 out.swap(components_);
|
/system/extras/libpagemap/include/pagemap/ |
H A D | pagemap.h | 47 size_t swap; member in struct:pm_memusage 48 /* if non NULL then use swap_offset_list to compute proportional swap */ 63 /* Adds a swap offset */ 65 /* Enable proportional swap computing. */ 67 /* Computes and return the proportional swap */ 70 /* Initialize a proportional swap computing handle: 71 assumes only 1 swap device, total swap size of this device in bytes to be given as argument */
|
/system/extras/zram-perf/ |
H A D | zram-perf.cpp | 9 #include <sys/swap.h>
|