Searched refs:comparefn (Results 1 – 2 of 2) sorted by relevance
/external/v8/src/js/ |
D | array.js | 929 function InnerArraySort(array, length, comparefn) { argument 933 if (!IS_CALLABLE(comparefn)) { 934 comparefn = function (x, y) { function in anonymousFunction42a36d3b0100.InnerArraySort 950 var order = comparefn(tmp, element); 973 return comparefn(a[1], b[1]); 996 var c01 = comparefn(v0, v1); 1003 var c02 = comparefn(v0, v2); 1012 var c12 = comparefn(v1, v2); 1033 var order = comparefn(element, pivot); 1043 order = comparefn(top_elem, pivot); [all …]
|
D | typedarray.js | 587 function TypedArraySort(comparefn) { argument 592 if (IS_UNDEFINED(comparefn)) { 593 comparefn = TypedArrayComparefn; 596 return InnerArraySort(this, length, comparefn);
|