/frameworks/av/services/audioflinger/ |
D | PatchPanel.h | 92 Endpoint(Endpoint&& other) noexcept { swap(other); } in Endpoint() 94 swap(other); 141 void swap(Endpoint &other) noexcept { in swap() function 142 using std::swap; in swap() 143 swap(mThread, other.mThread); in swap() 144 swap(mCloseThread, other.mCloseThread); in swap() 145 swap(mClearPeerProxy, other.mClearPeerProxy); in swap() 146 swap(mHandle, other.mHandle); in swap() 147 swap(mTrack, other.mTrack); in swap() 150 friend void swap(Endpoint &a, Endpoint &b) noexcept { in swap() function [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | QuickSelect.java | 101 swap(list, right, pivotIndex); in partition() 105 swap(list, storeIndex, i); in partition() 109 swap(list, right, storeIndex); in partition() 115 swap(array, right, pivotIndex); in partition() 119 swap(array, storeIndex, i); in partition() 123 swap(array, right, storeIndex); in partition() 129 swap(array, right, pivotIndex); in partition() 133 swap(array, storeIndex, i); in partition() 137 swap(array, right, storeIndex); in partition() 144 swap(array, right, pivotIndex); in partition() [all …]
|
/frameworks/native/libs/binder/ |
D | UtilsHost.h | 55 std::swap(exitCode, other.exitCode); 56 std::swap(signal, other.signal); 57 std::swap(pid, other.pid); 58 std::swap(stdoutStr, other.stdoutStr); 59 std::swap(stderrStr, other.stderrStr);
|
/frameworks/native/include/input/ |
D | RingBuffer.h | 171 void swap(RingBuffer& other) noexcept { in swap() function 172 using std::swap; in swap() 173 swap(mBuffer, other.mBuffer); in swap() 174 swap(mCapacity, other.mCapacity); in swap() 175 swap(mBegin, other.mBegin); in swap() 176 swap(mSize, other.mSize); in swap() 179 friend void swap(RingBuffer& lhs, RingBuffer& rhs) noexcept { lhs.swap(rhs); } in swap() function
|
/frameworks/base/cmds/incident_helper/tests/ |
D | CpuInfoParser_test.cpp | 70 CpuInfoProto::MemStats* swap = expected.mutable_swap(); in TEST_F() local 71 swap->set_total(524284); in TEST_F() 72 swap->set_used(25892); in TEST_F() 73 swap->set_free(498392); in TEST_F() 74 swap->set_cached(1316952); in TEST_F()
|
/frameworks/native/include/ftl/ |
D | static_vector.h | 127 StaticVector(StaticVector&& other) { swap<true>(other); } in StaticVector() 167 std::swap(size_, other.size_); in StaticVector() 214 swap(copy); 220 swap<true>(other); 226 void swap(StaticVector&); 390 void StaticVector<T, N>::swap(StaticVector& other) { in swap() function 402 std::swap(from, to); in swap() 403 std::swap(min, max); in swap() 418 std::swap(size_, other.size_); in swap() 422 inline void swap(StaticVector<T, N>& lhs, StaticVector<T, N>& rhs) { in swap() function [all …]
|
D | small_vector.h | 112 void swap(SmallVector& other) { vector_.swap(other.vector_); } in swap() function 335 swap(other); 339 void swap(SmallVector& other) { Impl::swap(other); } in swap() function 445 inline void swap(SmallVector<T, N>& lhs, SmallVector<T, N>& rhs) { 446 lhs.swap(rhs);
|
/frameworks/base/core/proto/android/os/ |
D | procrank.proto | 47 // swap size, unit KB 48 optional int64 swap = 6; field 50 // proportional swap size, unit KB 53 // unique swap size, unit KB
|
/frameworks/base/core/java/android/text/ |
D | AndroidBidi.java | 167 boolean swap; in directions() 170 swap = maxLevel > minLevel; in directions() 172 swap = runCount > 1; in directions() 174 if (swap) { in directions()
|
/frameworks/base/cmds/incident_helper/testdata/ |
D | procrank.txt | 7 ZRAM: 6828K physical used for 31076K in swap (524284K total swap)
|
/frameworks/libs/net/common/netd/libnetdutils/include/netdutils/ |
D | UniqueFd.h | 49 UniqueFd(UniqueFd&& other) { std::swap(mFd, other.mFd); } in UniqueFd() 51 std::swap(mFd, other.mFd);
|
D | MockSyscalls.h | 76 ScopedMockSyscalls() : mOld(sSyscalls.swap(*this)) { assert((mRefcount++) == 1); } in ScopedMockSyscalls() 78 sSyscalls.swap(mOld); in ~ScopedMockSyscalls()
|
/frameworks/base/startop/apps/test/src/ |
D | CPUIntensiveBenchmarks.java | 41 int swap = mArray[mThreadNumber][j]; in run() local 43 mArray[mThreadNumber][(j + i) % arrayLength] = swap; in run()
|
/frameworks/native/services/sensorservice/ |
D | mat.h | 339 size_t swap; in invert() local 345 swap = i; in invert() 348 swap = j; in invert() 352 if (swap != i) { in invert() 356 tmp[i][k] = tmp[swap][k]; in invert() 357 tmp[swap][k] = t; in invert() 360 inverse[i][k] = inverse[swap][k]; in invert() 361 inverse[swap][k] = t; in invert()
|
/frameworks/base/tools/preload/ |
D | sorttable.js | 308 var swap = true; 310 while(swap) { 311 swap = false; 315 swap = true; 320 if (!swap) break; 325 swap = true;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageView.java | 251 final boolean swap = !(rotation % 180 == 0); in positionFromMatrix() 252 final int width = swap ? mRenderer.source.getImageHeight() in positionFromMatrix() 254 final int height = swap ? mRenderer.source.getImageWidth() in positionFromMatrix() 275 mRenderer.centerX = swap ? cy : cx; in positionFromMatrix() 276 mRenderer.centerY = swap ? cx : cy; in positionFromMatrix()
|
/frameworks/native/libs/input/ |
D | TouchVideoFrame.cpp | 85 std::swap(mHeight, mWidth); in rotateQuarterTurn() 100 std::swap(mData[i], mData[mHeight * mWidth - 1 - i]); in rotate180()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.cpp | 659 SwapHistory& swap = mSwapHistory.next(); in draw() local 661 swap.damage = windowDirty; in draw() 664 swap.damage = SkRect::MakeWH(max, max); in draw() 666 swap.swapCompletedTime = systemTime(SYSTEM_TIME_MONOTONIC); in draw() 667 swap.vsyncTime = mRenderThread.timeLord().latestVsync(); in draw() 674 swap.dequeueDuration = 0; in draw() 676 swap.dequeueDuration = in draw() 679 swap.queueDuration = in draw() 682 swap.dequeueDuration = 0; in draw() 683 swap.queueDuration = 0; in draw() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | ListGridLayout.java | 72 public void setSwapRowsAndColumns(boolean swap) { in setSwapRowsAndColumns() argument 73 mSwapRowsAndColumns = swap; in setSwapRowsAndColumns()
|
/frameworks/libs/net/common/netd/libnetdutils/ |
D | UniqueFd.cpp | 27 std::swap(fd, mFd); in reset()
|
/frameworks/compile/mclinker/lib/MC/ |
D | SymbolCategory.cpp | 78 std::swap(m_OutputSymbols[current->begin], in add() 158 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]); in arrange() 177 std::swap(m_OutputSymbols[current->begin], m_OutputSymbols[pos]); in arrange() 208 std::swap(m_OutputSymbols[pos], m_OutputSymbols[m_pDynamic->end - 1]); in changeCommonsToGlobal()
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | status.h | 59 std::swap(other.value_, empty); 71 std::swap(value_, empty); in SetError()
|
/frameworks/native/libs/math/include/math/ |
D | TMatHelpers.h | 89 size_t swap = i; in gaussJordanInverse() local 94 swap = j; in gaussJordanInverse() 99 if (swap != i) { in gaussJordanInverse() 101 std::swap(tmp[i], tmp[swap]); in gaussJordanInverse() 102 std::swap(inverted[i], inverted[swap]); in gaussJordanInverse()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | CallOrderStateMachineHelper.h | 118 std::swap(instance, mInstance); in nextState()
|
/frameworks/av/media/module/libmediatranscoding/transcoder/ |
D | MediaSampleQueue.cpp | 59 std::swap(mSampleQueue, empty); in abort()
|