Searched refs:swap (Results 1 - 24 of 24) sorted by relevance

/frameworks/compile/linkloader/utils/
H A Dserialize.h41 std::swap(array[0], array[1]);
45 std::swap(array[0], array[3]);
46 std::swap(array[1], array[2]);
50 std::swap(array[0], array[7]);
51 std::swap(array[1], array[6]);
52 std::swap(array[2], array[5]);
53 std::swap(array[3], array[4]);
/frameworks/base/test-runner/src/junit/runner/
H A DSorter.java8 * A custom quick sort with support to customize the swap behaviour.
15 public void swap(Vector values, int left, int right); method in interface:Sorter.Swapper
28 swapper.swap(values, left, right);
/frameworks/base/core/java/android/text/
H A DAndroidBidi.java139 // See if we need to swap any runs.
141 // direction, we always need to swap (at this point
143 // Otherwise, we don't need to swap the lowest level.
149 boolean swap;
152 swap = maxLevel > minLevel;
154 swap = runCount > 1;
156 if (swap) {
H A DLayout.java1012 int swap = (dirs.mDirections[i+1] & RUN_RTL_FLAG) != 0 ? -1 : 1;
1022 if (getPrimaryHorizontal(adguess) * swap >= horiz * swap)
/frameworks/base/opengl/libs/GLES2_dbg/src/
H A Ddebugger_message.pb.cpp1416 std::swap(context_id_, other->context_id_);
1417 std::swap(function_, other->function_);
1418 std::swap(type_, other->type_);
1419 std::swap(expect_response_, other->expect_response_);
1420 std::swap(ret_, other->ret_);
1421 std::swap(arg0_, other->arg0_);
1422 std::swap(arg1_, other->arg1_);
1423 std::swap(arg2_, other->arg2_);
1424 std::swap(arg3_, other->arg3_);
1425 std::swap(arg4
[all...]
/frameworks/base/media/libmedia/
H A DMemoryLeakTrackUtil.cpp123 bool swap = e1->size < e2->size; local
129 swap = e1->backtrace[j] < e2->backtrace[j];
133 if (swap) {
/frameworks/base/opengl/libagl/
H A Ddxt.cpp100 static uint32_t swap(uint32_t x) { function in namespace:android
155 colors = swap(colors);
162 // There's no need to endian-swap within 'bits'
219 colors = swap(colors);
220 bits = swap(bits);
331 alphahi = swap(alphahi);
332 alphalo = swap(alphalo);
342 colors = swap(colors);
343 bits = swap(bits);
455 alphahi = swap(alphah
[all...]
H A Dmatrix.cpp541 int i, j, k, swap; local
549 swap = i;
552 swap = j;
556 if (swap != i) {
557 /* swap rows. */
560 tmp[i][k] = tmp[swap][k];
561 tmp[swap][k] = t;
564 inverse[i*4+k] = inverse[swap*4+k];
565 inverse[swap*4+k] = t;
H A Darray.cpp683 swap(((winding^=1) ? v1 : v0), v2);
/frameworks/base/services/surfaceflinger/
H A Dclz.h55 void swap(T& a, T& b) { function in namespace:android
H A DTransform.cpp144 swap(w, h);
H A DLayer.cpp461 swap(bufWidth, bufHeight);
/frameworks/base/tools/preload/
H A Dsorttable.js308 var swap = true; variable
310 while(swap) {
311 swap = false;
315 swap = true;
320 if (!swap) break;
325 swap = true;
330 } // while(swap)
/frameworks/base/services/sensorservice/
H A Dmat.h339 size_t swap; local
345 swap = i;
348 swap = j;
352 if (swap != i) {
353 /* swap rows. */
356 tmp[i][k] = tmp[swap][k];
357 tmp[swap][k] = t;
360 inverse[i][k] = inverse[swap][k];
361 inverse[swap][k] = t;
/frameworks/base/libs/rs/
H A Drs_hal.h63 void (*swap)(const Context *); member in struct:android::renderscript::__anon291
H A DrsContext.cpp277 rsc->mHal.funcs.swap(rsc);
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp146 dst->swap(tmp);
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp47 std::vector<Type*>().swap(TypeList);
51 std::vector<AttrListPtr>().swap(MAttributes);
52 std::vector<BasicBlock*>().swap(FunctionBBs);
53 std::vector<Function*>().swap(FunctionsWithBodies);
1155 GlobalInitWorklist.swap(GlobalInits);
1156 AliasInitWorklist.swap(AliasInits);
1571 std::vector<std::pair<GlobalVariable*, unsigned> >().swap(GlobalInits);
1572 std::vector<std::pair<GlobalAlias*, unsigned> >().swap(AliasInits);
1573 std::vector<Function*>().swap(FunctionsWithBodies);
2764 std::vector<BasicBlock*>().swap(FunctionBB
[all...]
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.h257 * @param swap If true, the source and destination are swapped
259 void composeLayerRect(Layer* layer, const Rect& rect, bool swap = false);
H A DOpenGLRenderer.cpp686 void OpenGLRenderer::composeLayerRect(Layer* layer, const Rect& rect, bool swap) { argument
700 if (!swap) {
714 GL_TRIANGLE_STRIP, gMeshCount, swap, swap || simpleTransform);
/frameworks/compile/libbcc/runtime/BlocksRuntime/
H A Druntime.c82 #error unknown atomic compare-and-swap primitive
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java1116 public boolean swap() { method in class:GLSurfaceView.EglHelper
1463 if (!mEglHelper.swap()) {
/frameworks/base/include/private/opengles/
H A Dgl_context.h57 static inline void swap(T& a, T& b) { function in namespace:android::gl
/frameworks/base/services/input/
H A DInputReader.cpp78 inline static void swap(T& a, T& b) { function in namespace:android
5334 swap(heap[parentIndex], heap[childIndex]);
5381 swap(heap[parentIndex], heap[childIndex]);

Completed in 473 milliseconds