Lines Matching refs:TO
13 // contributors may be used to endorse or promote products derived
18 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
111 // Attempt to convert the elements.
144 // remaining elements are also likely to be numbers.
166 // Make sure to remove the last element of the visited array no
198 // special array operations to handle sparse arrays in a sensible fashion.
200 // Move deleted elements to a new array (the return value from splice).
241 // special array operations to handle sparse arrays in a sensible fashion.
243 // Move data to new array.
320 // Move the existing elements after the elements to be deleted
321 // to the right position in the resulting array.
407 // Appends the arguments to the end of the array and returns the new
598 // given as a request to delete all the elements from the start.
614 // Number of elements to add.
624 // array then the simple version is going to be faster, because it
673 function InsertionSort(a, from, to) {
674 for (var i = from + 1; i < to; i++) {
689 function QuickSort(a, from, to) {
691 if (to - from <= 10) {
692 InsertionSort(a, from, to);
697 var v1 = a[to - 1];
698 var middle_index = from + ((to - from) >> 1);
726 a[to - 1] = v2;
729 var high_start = to - 1; // Lower bound of elements greater than pivot.
733 // From low_end to i are elements equal to pivot.
734 // From i to high_start are elements that haven't been compared yet.
756 QuickSort(a, high_start, to);
760 // to obj itself, if obj has holes. Return one more than the maximal index
791 // Set a value of "undefined" on all indices in the range from..to
794 function ShadowPrototypeElements(obj, from, to) {
796 var indices = %GetArrayKeys(proto, to);
820 // Copy defined elements from the end to fill in all holes and undefineds
853 // points to one past the last defined element. Make this true if
884 // We do this by copying them to this object and sorting only
896 // undefineds to the end using a Javascript function that is safe
905 // chain that has become exposed by sort moving a hole to its position.
914 // preserving the semantics, since the calls to the receiver function can add
920 // Pull out the length so that modifications to the length in the
941 // Pull out the length so that modifications to the length in the
959 // Pull out the length so that modifications to the length in the
976 // Pull out the length so that modifications to the length in the
992 // Pull out the length so that modifications to the length in the
1032 // Fall through to loop below.
1088 // Fall through to loop below.
1122 // Pull out the length so that modifications to the length in the
1205 // Manipulate the length of some of the functions to meet
1233 // The internal Array prototype doesn't need to be fancy, since it's never
1234 // exposed to user code, so no hidden prototypes or DONT_ENUM attributes