Searched refs:comparefn (Results 1 – 1 of 1) sorted by relevance
/external/chromium_org/v8/src/ |
D | array.js | 821 function ArraySort(comparefn) { argument 827 if (!IS_SPEC_FUNCTION(comparefn)) { 828 comparefn = function (x, y) { function in ArraySort 839 var receiver = %GetDefaultReceiver(comparefn); 846 var order = %_CallFunction(receiver, tmp, element, comparefn); 865 return %_CallFunction(receiver, a[1], b[1], comparefn) } ); 887 var c01 = %_CallFunction(receiver, v0, v1, comparefn); 894 var c02 = %_CallFunction(receiver, v0, v2, comparefn); 903 var c12 = %_CallFunction(receiver, v1, v2, comparefn); 924 var order = %_CallFunction(receiver, element, pivot, comparefn); [all …]
|