Lines Matching defs:comparefn
737 function ArraySort(comparefn) {
746 if (!IS_SPEC_FUNCTION(comparefn)) {
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);