Home
last modified time | relevance | path

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

123456

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dshared_ptr.h142 swap(me);
151 swap(me);
190 tmp.swap(*this);
201 void swap(shared_ptr<T>& r) {
202 using std::swap; // http://go/using-std-swap
203 swap(ptr_, r.ptr_);
204 swap(control_block_, r.control_block_);
278 template <typename T> void swap(shared_ptr<T>& r, shared_ptr<T>& s) {
279 r.swap(s);
338 tmp.swap(*this);
[all …]
Dscoped_ptr.h107 void swap(scoped_ptr& p2) { in swap() function
196 void swap(scoped_array& p2) { in swap() function
Dint128_unittest.cc373 swap(q, b); in TEST()
379 swap(b, q); in TEST()
382 swap(a, b); in TEST()
388 swap(a, q); in TEST()
394 swap(q, a); in TEST()
395 swap(b, a); in TEST()
/frameworks/av/services/audioflinger/
DPatchPanel.h86 Endpoint(Endpoint&& other) noexcept { swap(other); } in Endpoint()
88 swap(other);
134 void swap(Endpoint &other) noexcept { in swap() function
135 using std::swap; in swap()
136 swap(mThread, other.mThread); in swap()
137 swap(mCloseThread, other.mCloseThread); in swap()
138 swap(mHandle, other.mHandle); in swap()
139 swap(mTrack, other.mTrack); in swap()
142 friend void swap(Endpoint &a, Endpoint &b) noexcept { in swap() function
143 a.swap(b); in swap()
/frameworks/native/libs/vr/libvrflinger/
Dacquired_buffer.cpp44 using std::swap; in operator =()
45 swap(buffer_, other.buffer_); in operator =()
46 swap(acquire_fence_, other.acquire_fence_); in operator =()
47 swap(slot_, other.slot_); in operator =()
Dhardware_composer.cpp1346 using std::swap; in operator =()
1347 swap(composer_, other.composer_); in operator =()
1348 swap(display_params_, other.display_params_); in operator =()
1349 swap(hardware_composer_layer_, other.hardware_composer_layer_); in operator =()
1350 swap(z_order_, other.z_order_); in operator =()
1351 swap(blending_, other.blending_); in operator =()
1352 swap(composition_type_, other.composition_type_); in operator =()
1353 swap(target_composition_type_, other.target_composition_type_); in operator =()
1354 swap(source_, other.source_); in operator =()
1355 swap(acquire_fence_, other.acquire_fence_); in operator =()
[all …]
/frameworks/native/opengl/libagl/
Ddxt.cpp100 static uint32_t swap(uint32_t x) { in swap() function
155 colors = swap(colors); in DXT1HasAlpha()
219 colors = swap(colors); in decodeDXT1()
220 bits = swap(bits); in decodeDXT1()
331 alphahi = swap(alphahi); in decodeDXT3()
332 alphalo = swap(alphalo); in decodeDXT3()
342 colors = swap(colors); in decodeDXT3()
343 bits = swap(bits); in decodeDXT3()
455 alphahi = swap(alphahi); in decodeDXT5()
456 alphalo = swap(alphalo); in decodeDXT5()
[all …]
/frameworks/base/cmds/incident_helper/tests/
DCpuInfoParser_test.cpp70 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/base/core/proto/android/os/
Dprocrank.proto47 // swap size, unit KB
48 optional int64 swap = 6; field
50 // proportional swap size, unit KB
53 // unique swap size, unit KB
/frameworks/base/cmds/incident_helper/testdata/
Dprocrank.txt7 ZRAM: 6828K physical used for 31076K in swap (524284K total swap)
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp464 SwapHistory& swap = mSwapHistory.next(); in draw() local
465 swap.damage = windowDirty; in draw()
466 swap.swapCompletedTime = systemTime(CLOCK_MONOTONIC); in draw()
467 swap.vsyncTime = mRenderThread.timeLord().latestVsync(); in draw()
474 swap.dequeueDuration = 0; in draw()
477 swap.dequeueDuration = us2ns(durationUs); in draw()
480 swap.queueDuration = us2ns(durationUs); in draw()
482 swap.dequeueDuration = 0; in draw()
483 swap.queueDuration = 0; in draw()
485 mCurrentFrameInfo->set(FrameInfoIndex::DequeueBufferDuration) = swap.dequeueDuration; in draw()
[all …]
/frameworks/base/core/java/android/text/
DAndroidBidi.java197 boolean swap; in directions()
200 swap = maxLevel > minLevel; in directions()
202 swap = runCount > 1; in directions()
204 if (swap) { in directions()
/frameworks/native/services/sensorservice/
Dmat.h339 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/
Dsorttable.js308 var swap = true;
310 while(swap) {
311 swap = false;
315 swap = true;
320 if (!swap) break;
325 swap = true;
/frameworks/native/libs/input/
DTouchVideoFrame.cpp81 std::swap(mHeight, mWidth); in rotateQuarterTurn()
96 std::swap(mData[i], mData[mHeight * mWidth - 1 - i]); in rotate180()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageView.java251 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/base/packages/SystemUI/src/com/android/systemui/globalactions/
DListGridLayout.java72 public void setSwapRowsAndColumns(boolean swap) { in setSwapRowsAndColumns() argument
73 mSwapRowsAndColumns = swap; in setSwapRowsAndColumns()
/frameworks/native/services/surfaceflinger/
DLayerRejecter.cpp54 std::swap(bufWidth, bufHeight); in reject()
60 std::swap(bufWidth, bufHeight); in reject()
/frameworks/base/libs/androidfw/include/androidfw/
DUtil.h90 inline void swap(unique_cptr& o) { std::swap(ptr_, o.ptr_); } in swap() function
/frameworks/compile/mclinker/lib/MC/
DSymbolCategory.cpp78 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/
Dstatus.h59 std::swap(other.value_, empty);
71 std::swap(value_, empty); in SetError()
/frameworks/native/libs/math/include/math/
DTMatHelpers.h89 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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dduration.pb.cc370 std::swap(seconds_, other->seconds_); in InternalSwap()
371 std::swap(nanos_, other->nanos_); in InternalSwap()
373 std::swap(_cached_size_, other->_cached_size_); in InternalSwap()
Ddescriptor.pb.cc1136 std::swap(_has_bits_[0], other->_has_bits_[0]); in InternalSwap()
1138 std::swap(_cached_size_, other->_cached_size_); in InternalSwap()
1950 std::swap(options_, other->options_); in InternalSwap()
1951 std::swap(source_code_info_, other->source_code_info_); in InternalSwap()
1953 std::swap(_has_bits_[0], other->_has_bits_[0]); in InternalSwap()
1955 std::swap(_cached_size_, other->_cached_size_); in InternalSwap()
2743 std::swap(start_, other->start_); in InternalSwap()
2744 std::swap(end_, other->end_); in InternalSwap()
2745 std::swap(_has_bits_[0], other->_has_bits_[0]); in InternalSwap()
2747 std::swap(_cached_size_, other->_cached_size_); in InternalSwap()
[all …]
Dtimestamp.pb.cc396 std::swap(seconds_, other->seconds_); in InternalSwap()
397 std::swap(nanos_, other->nanos_); in InternalSwap()
399 std::swap(_cached_size_, other->_cached_size_); in InternalSwap()

123456