Home
last modified time | relevance | path

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

12

/frameworks/compile/linkloader/utils/
Dserialize.h41 std::swap(array[0], array[1]); in swap_byte_order()
45 std::swap(array[0], array[3]); in swap_byte_order()
46 std::swap(array[1], array[2]); in swap_byte_order()
50 std::swap(array[0], array[7]); in swap_byte_order()
51 std::swap(array[1], array[6]); in swap_byte_order()
52 std::swap(array[2], array[5]); in swap_byte_order()
53 std::swap(array[3], array[4]); in swap_byte_order()
/frameworks/base/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 …]
Dmatrix.cpp541 int i, j, k, swap; in invert() local
549 swap = i; in invert()
552 swap = j; in invert()
556 if (swap != i) { in invert()
560 tmp[i][k] = tmp[swap][k]; in invert()
561 tmp[swap][k] = t; in invert()
564 inverse[i*4+k] = inverse[swap*4+k]; in invert()
565 inverse[swap*4+k] = t; in invert()
/frameworks/base/opengl/libs/GLES2_dbg/src/
Ddebugger_message.pb.cpp1416 std::swap(context_id_, other->context_id_); in Swap()
1417 std::swap(function_, other->function_); in Swap()
1418 std::swap(type_, other->type_); in Swap()
1419 std::swap(expect_response_, other->expect_response_); in Swap()
1420 std::swap(ret_, other->ret_); in Swap()
1421 std::swap(arg0_, other->arg0_); in Swap()
1422 std::swap(arg1_, other->arg1_); in Swap()
1423 std::swap(arg2_, other->arg2_); in Swap()
1424 std::swap(arg3_, other->arg3_); in Swap()
1425 std::swap(arg4_, other->arg4_); in Swap()
[all …]
/frameworks/base/core/java/android/text/
DAndroidBidi.java149 boolean swap; in directions()
152 swap = maxLevel > minLevel; in directions()
154 swap = runCount > 1; in directions()
156 if (swap) { in directions()
DLayout.java1012 int swap = (dirs.mDirections[i+1] & RUN_RTL_FLAG) != 0 ? -1 : 1; in getOffsetForHorizontal() local
1022 if (getPrimaryHorizontal(adguess) * swap >= horiz * swap) in getOffsetForHorizontal()
/frameworks/base/test-runner/src/junit/runner/
DSorter.java15 public void swap(Vector values, int left, int right); in swap() method
28 swapper.swap(values, left, right); in sortStrings()
/frameworks/base/media/libmedia/
DMemoryLeakTrackUtil.cpp123 bool swap = e1->size < e2->size; in dumpMemoryAddresses() local
129 swap = e1->backtrace[j] < e2->backtrace[j]; in dumpMemoryAddresses()
133 if (swap) { in dumpMemoryAddresses()
/frameworks/base/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/base/services/surfaceflinger/
Dclz.h55 void swap(T& a, T& b) { in swap() function
DTransform.cpp144 swap(w, h); in set()
DLayer.cpp481 swap(bufWidth, bufHeight); in lockPageFlip()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp47 std::vector<Type*>().swap(TypeList); in FreeState()
51 std::vector<AttrListPtr>().swap(MAttributes); in FreeState()
52 std::vector<BasicBlock*>().swap(FunctionBBs); in FreeState()
53 std::vector<Function*>().swap(FunctionsWithBodies); in FreeState()
1155 GlobalInitWorklist.swap(GlobalInits); in ResolveGlobalAndAliasInits()
1156 AliasInitWorklist.swap(AliasInits); in ResolveGlobalAndAliasInits()
1571 std::vector<std::pair<GlobalVariable*, unsigned> >().swap(GlobalInits); in ParseModule()
1572 std::vector<std::pair<GlobalAlias*, unsigned> >().swap(AliasInits); in ParseModule()
1573 std::vector<Function*>().swap(FunctionsWithBodies); in ParseModule()
2764 std::vector<BasicBlock*>().swap(FunctionBBs); in ParseFunctionBody()
[all …]
/frameworks/base/docs/html/resources/articles/
Dmultitasking-android-way.jd32 …<p>Mobile devices don't have the luxury of swap space, so have fairly hard limits on memory use. …
41 …ailable; a desktop computer, with swap, in contrast will simply start slowing down as it needs to …
49 <p>In some ways, Android's process management can be seen as a form of swap space: application proc…
/frameworks/base/libs/rs/
Drs_hal.h63 void (*swap)(const Context *); member
DrsContext.cpp277 rsc->mHal.funcs.swap(rsc); in threadProc()
/frameworks/base/core/jni/android/graphics/
DRegion.cpp146 dst->swap(tmp); in scale_rgn()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java1102 public boolean swap() { in swap() method in GLSurfaceView.EglHelper
1449 if (!mEglHelper.swap()) { in guardedRun()
/frameworks/base/libs/hwui/
DOpenGLRenderer.h257 void composeLayerRect(Layer* layer, const Rect& rect, bool swap = false);
DOpenGLRenderer.cpp684 void OpenGLRenderer::composeLayerRect(Layer* layer, const Rect& rect, bool swap) { in composeLayerRect() argument
698 if (!swap) { in composeLayerRect()
712 GL_TRIANGLE_STRIP, gMeshCount, swap, swap || simpleTransform); in composeLayerRect()
/frameworks/compile/libbcc/runtime/BlocksRuntime/
Druntime.c82 #error unknown atomic compare-and-swap primitive
/frameworks/base/docs/html/guide/tutorials/views/
Dhello-tabwidget.jd57 …in our code, and swap the views in the FrameLayout. We've also defined our own IDs for each TextVi…
/frameworks/base/include/private/opengles/
Dgl_context.h57 static inline void swap(T& a, T& b) { in swap() function
/frameworks/base/docs/html/guide/topics/ui/
Dlayout-objects.jd28 later fill with a single object &mdash; for example, a picture that you'll swap in and out.
285 can be set to swap items at timed intervals, like a slide show. </td>

12