Searched defs:swap (Results 1 - 25 of 29) sorted by relevance

12

/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/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/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/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...]
/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/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/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/Arrays/
H A DCorrect.java82 swap(a1, x, lowestIndex);
87 static void swap(Object x[], int a, int b) { method in class:Correct
H A DSorting.java565 swap(a, random.nextInt(a.length), random.nextInt(a.length));
571 swap(a, random.nextInt(a.length), random.nextInt(a.length));
577 swap(a, random.nextInt(a.length), random.nextInt(a.length));
581 private static void swap(int[] a, int i, int j) { method in class:Sorting
587 private static void swap(float[] a, int i, int j) { method in class:Sorting
593 private static void swap(double[] a, int i, int j) { method in class:Sorting
/openjdk7/hotspot/src/cpu/x86/vm/
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/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/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/jdk/src/share/classes/java/util/
H A DArrays.java575 swap(dest, j, j-1);
607 private static void swap(Object[] x, int a, int b) { method in class:Arrays
759 swap(dest, j, j-1);
H A DCollections.java425 swap(list, i, j);
500 swap(list, i-1, rnd.nextInt(i));
506 swap(arr, i-1, rnd.nextInt(i));
522 * @param list The list in which to swap elements.
530 public static void swap(List<?> list, int i, int j) { method in class:Collections
538 private static void swap(Object[] arr, int i, int j) { method in class:Collections
/openjdk7/hotspot/src/share/vm/opto/
H A DindexSet.cpp353 //---------------------------- IndexSet::swap() -----------------------------
356 void IndexSet::swap(IndexSet *set) { function in class:IndexSet
358 assert(_max_elements == set->_max_elements, "must have same universe size to swap");
359 check_watch("swap", set->_serial_number);
360 set->check_watch("swap", _serial_number);
/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/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/macosx/classes/com/apple/laf/
H A DAquaFileSystemModel.java299 // if the indexes have not crossed, swap
301 swap(v, lo, hi);
322 private final void swap(final Vector<Object> a, final int i, final int j) { method in class:AquaFileSystemModel.QuickSort
/openjdk7/jdk/src/share/demo/applets/WireFrame/
H A DThreeD.java239 // if the indexes have not crossed, swap
241 swap(a, leftIndex, rightIndex);
264 private void swap(int a[], int i, int j) { method in class:Model3D
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
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/java/nio/
H A DBits.java43 static short swap(short x) { method in class:Bits
47 static char swap(char x) { method in class:Bits
51 static int swap(int x) { method in class:Bits
55 static long swap(long x) { method in class:Bits
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dassembler_sparc.inline.hpp347 inline void Assembler::swap( Register s1, Register s2, Register d) { v9_dep(); emit_long( op(ldst_op) | rd(d) | op3(swap_op3) | rs1(s1) | rs2(s2) ); } function in class:Assembler
348 inline void Assembler::swap( Register s1, int simm13a, Register d) { v9_dep(); emit_data( op(ldst_op) | rd(d) | op3(swap_op3) | rs1(s1) | immed(true) | simm(simm13a, 13)); } function in class:Assembler
350 inline void Assembler::swap( Address& a, Register d, int offset ) { function in class:Assembler
352 if (a.has_index()) { assert(offset == 0, ""); swap( a.base(), a.index(), d ); }
353 else { swap( a.base(), a.disp() + offset, d ); }
/openjdk7/hotspot/src/share/vm/ci/
H A DciTypeFlow.cpp166 JsrRecord* swap = record; local
170 _set->at_put(pos, swap);
171 swap = temp;
173 _set->append(swap);
/openjdk7/hotspot/src/share/vm/code/
H A Ddependencies.cpp201 bool swap = false; local
204 swap = (x->ident() > x2->ident() && x != ctxk);
207 swap = (x->ident() > x2->ident() && x->as_method()->holder() != ctxk);
210 if (swap) { ciObject* t = x; x = x2; x2 = t; }

Completed in 103 milliseconds

12