Searched defs:sort (Results 1 - 25 of 115) sorted by relevance

12345

/external/v8/test/mjsunit/regress/
H A Dregress-98773.js28 // Calling Array.sort on an external array is not supposed to crash.
36 Array.prototype.sort.call(array);
H A Dregress-sort-arguments.js8 Array.prototype.sort.apply(a);
10 Array.prototype.sort.apply(a);
H A Dregress-builtin-array-op.js28 // Test that we invoke the correct sort function in
32 Array.prototype.sort = function(fn) { foo = "fisk"; };
H A Dregress-1131.js29 Array.prototype.sort.call(nonArray);
H A Dregress-326.js29 // Should sort non-array into equivalent of [37,42,undefined,,0]
32 Array.prototype.sort.call(nonArray);
35 assertEquals(37, nonArray[0], "sort smallest first");
36 assertEquals(42, nonArray[1], "sort largest last");
38 assertEquals(undefined, nonArray[2], "sort undefined after largest");
/external/junit/src/org/junit/runner/manipulation/
H A DSortable.java15 public void sort(Sorter sorter); method in interface:Sortable
/external/replicaisland/src/com/replica/replicaisland/
H A DSorter.java22 public abstract void sort(Type[] array, int count, Comparator<Type> comparator); method in class:Sorter
H A DStandardSorter.java25 public void sort(Object[] array, int count, Comparator comparator) { method in class:StandardSorter
26 Arrays.sort(array, 0, count, comparator);
H A DQuickSorter.java22 public void sort(Type[] array, int count, Comparator<Type> comparator) { method in class:QuickSorter
27 // http://www.cs.princeton.edu/introcs/42sort/QuickSort.java.html
H A DShellSorter.java23 * Shell sort implementation based on the one found here:
30 public void sort(Type[] array, int count, Comparator<Type> comparator) { method in class:ShellSorter
33 // Sort by insertion sort at diminishing increments.
49 * Insertion sort modified to sort elements at a
53 * 'if', but I found that it made the sort slower.
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
H A DBubbleSort.java35 static void sort(int[] a) { method in class:BubbleSort
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
H A Dp6.cpp44 template<class T> void sort(Array<T>& v) { /* ... */ } function
50 sort(v); // expected-note{{required}}
52 // sort(Array<T>&), T is String
55 template<> void sort<String>(Array<String>& v); // // expected-error{{after instantiation}}
56 template<> void sort<>(Array<char*>& v); // OK: sort<char*> not yet used
H A Dp1.cpp99 template<class T> void sort(Array<T>& v) { /* ... */ } function
100 template<> void sort<char*>(Array<char*>&) ;
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
H A Dp2.cpp8 template<class T> void sort(Array<T>& v) { /* ... */ } function
9 template void sort(Array<char>&);
H A Dp6.cpp5 template<class T> void sort(Array<T>& v) { } function
7 // instantiate sort(Array<int>&) - template-argument deduced
8 template void sort<>(Array<int>&);
10 template void sort(Array<long>&);
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/
H A DSortAndPruneComposites.java50 int[] sortedArray = sort();
58 private int[] sort() { method in class:SortAndPruneComposites
61 Arrays.sort(sortedArray);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DGraph.java33 * This is only used to topologically sort a list of file dependencies
70 /** DFS-based topological sort. A valid sort is the reverse of
81 public List<Object> sort() { method in class:Graph
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/
H A DGeometryList.java130 public void sort() { method in class:GeometryList
132 // sort the spatial list using the comparator
135 // Arrays.sort(geometries, 0, size, comparator);
/external/selinux/sepolgen/src/sepolgen/
H A Dmatching.py91 def sort(self): member in class:MatchList
92 self.children.sort()
93 self.bastards.sort()
253 match_list.sort()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
H A DNodeSorter.java35 * This class can sort vectors of DOM nodes according to a select pattern.
65 * Given a vector of nodes, sort each node according to
73 public void sort(DTMIterator v, Vector keys, XPathContext support) method in class:NodeSorter
119 * @param kIndex Index of NodeSortKey to use for sort
283 * sort for our purpose than the Quicksort because it
285 * the order isn't changed by the sort.
424 // must now sort the left partition.
431 // must now sort the right partition.
458 * node against the sort key(s).
477 /** Value from first sort ke
[all...]
/external/junit/src/junit/framework/
H A DJUnit4TestAdapter.java82 public void sort(Sorter sorter) { method in class:JUnit4TestAdapter
/external/nanopb-c/generator/google/protobuf/internal/
H A Dcontainers.py81 def sort(self, *args, **kwargs): member in class:BaseContainer
87 self._values.sort(*args, **kwargs)
/external/protobuf/python/google/protobuf/internal/
H A Dcontainers.py81 def sort(self, *args, **kwargs): member in class:BaseContainer
87 self._values.sort(*args, **kwargs)
/external/v8/tools/
H A Dprofile_view.js118 * Sorts the profile view using the specified sort function.
122 * functions. Must comply with Array.sort sorting function requirements.
124 ProfileView.prototype.sort = function(sortFunc) {
196 * functions. Must comply with Array.sort sorting function requirements.
200 this.children.sort(sortFunc);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1Set.java251 this.sort();
269 this.sort();
397 derSet.sort();
497 protected void sort() method in class:ASN1Set

Completed in 698 milliseconds

12345