lib/third_party/tracing/base/sorted_array_utils.js
function getIntersectingIntervals(ary, mapLoFn, mapWidthFn, loVal, hiVal) {
    var tmp = [];
    iterateOverIntersectingIntervals(ary, mapLoFn, mapWidthFn, loVal, hiVal,
                                     function(d) {
                                       tmp.push(d);
                                     });
    return tmp;
  }
function getIntersectingIntervals(ary, mapLoFn, mapWidthFn, loVal, hiVal) {
    var tmp = [];
    iterateOverIntersectingIntervals(ary, mapLoFn, mapWidthFn, loVal, hiVal,
                                     function(d) {
                                       tmp.push(d);
                                     });
    return tmp;
  }
function getIntersectingIntervals ( ary , mapLoFn , mapWidthFn , loVal , hiVal ) { var tmp = [ ] ; iterateOverIntersectingIntervals ( ary , mapLoFn , mapWidthFn , loVal , hiVal , function ( d ) { tmp . push ( d ) ; } ) ; return tmp ; }
Non iterative version of iterateOverIntersectingIntervals.

@return {Array} Array of elements in ary that intersect loVal, hiVal.
Non iterative version of iterateOverIntersectingIntervals .