Searched defs:comparefn (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/v8/src/
H A Darray.js880 function ArraySort(comparefn) {
889 if (!IS_SPEC_FUNCTION(comparefn)) { function
890 comparefn = function (x, y) {
901 var receiver = %GetDefaultReceiver(comparefn);
908 var order = %_CallFunction(receiver, tmp, element, comparefn);
927 return %_CallFunction(receiver, a[1], b[1], comparefn) } );
949 var c01 = %_CallFunction(receiver, v0, v1, comparefn);
956 var c02 = %_CallFunction(receiver, v0, v2, comparefn);
965 var c12 = %_CallFunction(receiver, v1, v2, comparefn);
986 var order = %_CallFunction(receiver, element, pivot, comparefn);
[all...]
/external/v8/src/
H A Darray.js737 function ArraySort(comparefn) {
746 if (!IS_SPEC_FUNCTION(comparefn)) { function
747 comparefn = function (x, y) {
758 var receiver = %GetDefaultReceiver(comparefn);
765 var order = %_CallFunction(receiver, tmp, element, comparefn);
787 var c01 = %_CallFunction(receiver, v0, v1, comparefn);
794 var c02 = %_CallFunction(receiver, v0, v2, comparefn);
803 var c12 = %_CallFunction(receiver, v1, v2, comparefn);
824 var order = %_CallFunction(receiver, element, pivot, comparefn);
834 order = %_CallFunction(receiver, top_elem, pivot, comparefn);
[all...]

Completed in 32 milliseconds