Searched refs:comparefn (Results 1 – 2 of 2) sorted by relevance
/external/v8/src/js/ |
D | array.js | 709 function InnerArraySort(array, length, comparefn) { argument 713 if (!IS_CALLABLE(comparefn)) { 714 comparefn = function (x, y) { function in anonymousFunction54571dda0100.InnerArraySort 730 var order = comparefn(tmp, element); 753 return comparefn(a[1], b[1]); 776 var c01 = comparefn(v0, v1); 783 var c02 = comparefn(v0, v2); 792 var c12 = comparefn(v1, v2); 813 var order = comparefn(element, pivot); 823 order = comparefn(top_elem, pivot); [all …]
|
D | typedarray.js | 521 function TypedArraySort(comparefn) { argument 526 if (IS_UNDEFINED(comparefn)) { 530 return InnerArraySort(this, length, comparefn);
|