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

123

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DBytes.java32 private boolean swap; field in class:Bytes
35 swap = !machDesc.isBigEndian();
38 /** Should only swap if the hardware's underlying byte order is
41 if (!swap)
47 /** Should only swap if the hardware's underlying byte order is
50 if (!swap)
56 /** Should only swap if the hardware's underlying byte order is
59 if (!swap)
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftAudioBuffer.java51 public void swap(SoftAudioBuffer swap) argument
60 size = swap.size;
61 buffer = swap.buffer;
62 empty = swap.empty;
63 format = swap.format;
64 converter = swap.converter;
65 converter_buffer = swap.converter_buffer;
67 swap.size = bak_size;
68 swap
[all...]
H A DSoftMainMixer.java460 buffers[CHANNEL_LEFT].swap(buffers[CHANNEL_DELAY_LEFT]);
464 buffers[CHANNEL_RIGHT].swap(buffers[CHANNEL_DELAY_RIGHT]);
468 buffers[CHANNEL_MONO].swap(buffers[CHANNEL_DELAY_MONO]);
472 buffers[CHANNEL_EFFECT1].swap(buffers[CHANNEL_DELAY_EFFECT1]);
476 buffers[CHANNEL_EFFECT2].swap(buffers[CHANNEL_DELAY_EFFECT2]);
572 buffers[CHANNEL_LEFT].swap(buffers[CHANNEL_DELAY_LEFT]);
576 buffers[CHANNEL_RIGHT].swap(buffers[CHANNEL_DELAY_RIGHT]);
580 buffers[CHANNEL_MONO].swap(buffers[CHANNEL_DELAY_MONO]);
/openjdk7/jdk/test/com/sun/management/OperatingSystemMXBean/
H A DTestTotalSwap.sh35 # This test tests the actual swap size on linux and solaris.
68 for i in `/usr/sbin/swap -l | awk '{print $4}' | grep -v blocks`
70 # swap -l returns size in blocks of 512 bytes.
83 total_swap=`free -b | grep -i swap | awk '{print $2}'`
89 swap=`/usr/sbin/sysctl -n vm.swapusage | awk '{ print $3 }' | awk -F . '{ print $1 }'` || exit 2
90 total_swap=`expr $swap \* 1024 \* 1024` || exit 2
/openjdk7/jdk/src/share/classes/sun/misc/
H A DSort.java37 private static void swap(Object arr[], int i, int j) { method in class:Sort
59 swap(arr, left, (left+right) / 2);
63 swap(arr, ++last, i);
66 swap(arr, left, last);
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/util/
H A DArraySorter.java75 static private void swap(Object[] arr, int a, int b) { method in class:ArraySorter
94 swap(arr, mid, from);
128 swap(arr, low, high);
142 swap(arr, from, highestBelowPivot);
H A DVectorSorter.java76 static private void swap(Vector<Object> v, int a, int b) { method in class:VectorSorter
95 swap(v, mid, from);
130 swap(v, low, high);
143 swap(v, from, highestBelowPivot);
/openjdk7/jdk/src/share/classes/java/text/
H A DRBCollationTables.java103 * @param swap The value for SE Asian swapping rule
113 boolean swap,
121 seAsianSwapping = swap;
251 char swap;
255 swap = result.charAt(i);
257 result.setCharAt(j, swap);
112 fillInTables(boolean f2ary, boolean swap, UCompactIntArray map, Vector cTbl, Vector eTbl, IntHashtable cFlgs, short mso, short mto) argument
/openjdk7/hotspot/src/share/vm/utilities/
H A DquickSort.hpp36 static void swap(T* array, int x, int y) { function in class:QuickSort
43 // We swap in these three values at the right place in the array. This
56 swap(array, 0, middle_index);
59 swap(array, 0, last_index);
62 swap(array, middle_index, last_index);
85 swap(array, left_index, right_index);
/openjdk7/jdk/test/java/util/Collections/
H A DSwap.java27 * @summary Basic test for newly public swap algorithm
40 Collections.swap(l, i, i+1);
/openjdk7/jdk/src/share/demo/applets/SortDemo/
H A DQSortAlgorithm.java102 // if the indexes have not crossed, swap
104 swap(a, lo, hi);
127 private void swap(int a[], int i, int j) { method in class:QSortAlgorithm
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dc1_FpuStackSim_x86.hpp56 void swap(int offset); // exchange tos with tos + offset
H A Dc1_MacroAssembler_x86.hpp54 int lock_object (Register swap, Register obj, Register disp_hdr, Register scratch, Label& slow_case);
60 void unlock_object(Register swap, Register obj, Register lock, Label& slow_case);
H A Dc1_FpuStackSim_x86.cpp92 void FpuStackSim::swap(int offset) { function in class:FpuStackSim
93 if (TraceFPUStack) { tty->print("FPU-swap %d", offset); print(); tty->cr(); }
/openjdk7/jdk/test/java/util/Arrays/
H A DCorrect.java82 swap(a1, x, lowestIndex);
87 static void swap(Object x[], int a, int b) { method in class:Correct
/openjdk7/jdk/src/share/classes/java/nio/
H A DDirect-X-Buffer-bin.java.template37 return $fromBits$(nativeByteOrder ? x : Bits.swap(x));
56 unsafe.put$Memtype$(a, (nativeByteOrder ? y : Bits.swap(y)));
H A DDirect-X-Buffer.java.template249 return $fromBits$($swap$(unsafe.get$Swaptype$(ix(nextGetIndex()))));
253 return $fromBits$($swap$(unsafe.get$Swaptype$(ix(checkIndex(i)))));
291 unsafe.put$Swaptype$(ix(nextPutIndex()), $swap$($toBits$(x)));
300 unsafe.put$Swaptype$(ix(checkIndex(i)), $swap$($toBits$(x)));
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DMotifDnDDragSourceProtocol.java135 t = MotifDnDConstants.Swapper.swap(t);
149 flags = MotifDnDConstants.Swapper.swap(flags);
166 tx = MotifDnDConstants.Swapper.swap(tx);
167 ty = MotifDnDConstants.Swapper.swap(ty);
219 proxy = MotifDnDConstants.Swapper.swap(proxy);
H A DMotifDnDConstants.java238 public static short swap(short s) { method in class:MotifDnDConstants.Swapper
241 public static int swap(int i) { method in class:MotifDnDConstants.Swapper
249 return swap(s);
257 return swap(i);
303 numTargetLists = Swapper.swap(numTargetLists);
318 numTargets = Swapper.swap(numTargets);
338 // NOTE: don't need to swap, since we read it in the proper
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/agent/
H A DSnmpMibNode.java303 // if the indexes have not crossed, swap
305 swap(a, lo, hi);
388 final static private void swap(int a[], int i, int j) { method in class:SnmpMibNode
/openjdk7/jdk/test/java/util/TimSort/
H A DArrayBuilder.java64 swap(result, rnd.nextInt(result.length),
135 private static void swap(Object[] a, int i, int j) { method in class:ArrayBuilder
/openjdk7/jdk/make/java/nio/
H A DgenBuffer.sh95 echo "swap=`if [ x$BO = xS ]; then echo Bits.swap; fi`"
124 -Dswap=$swap \
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DTableSorter.java195 // if the indexes have not crossed, swap
198 swap(lo, hi, key);
229 private void swap(int i, int j, int column) { method in class:TableSorter
/openjdk7/jdk/src/share/demo/jfc/TableExample/
H A DTableSorter.java239 swap(i, j);
294 public void swap(int i, int j) { method in class:TableSorter
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DByteCodes.java137 swap = 95, field in interface:ByteCodes

Completed in 41 milliseconds

123