Home | History | Annotate | Download | only in src

Lines Matching refs:elements

72   var elements = new InternalArray(keys.length * 2);
79 elements[i * 2] = key;
80 elements[i * 2 + 1] = e;
84 return %SparseJoinWithSeparator(elements, len, separator);
94 var elements = new InternalArray(keys_length);
102 elements[elements_length++] = e;
106 return %StringBuilderConcat(elements, elements_length, '');
129 // Attempt to convert the elements.
146 // Construct an array for the elements.
147 var elements = new InternalArray(length);
155 elements[elements_length++] = e;
157 elements.length = elements_length;
158 var result = %_FastAsciiArrayJoin(elements, '');
160 return %StringBuilderConcat(elements, elements_length, '');
164 // remaining elements are also likely to be numbers.
169 elements[i] = e;
179 elements[i] = e;
182 var result = %_FastAsciiArrayJoin(elements, separator);
185 return %StringBuilderJoin(elements, length, separator);
218 // Move deleted elements to a new array (the return value from splice).
291 // know we are not deleting or moving a lot of elements.
308 // Move the existing elements after the elements to be deleted
488 // Returns an array containing the array elements of the object followed
489 // by the array elements of each argument in order. See ECMA-262,
759 // given as a request to delete all the elements from the start.
795 // place of the deleted elements.
814 // Return the deleted elements.
866 // place of the deleted elements.
875 // Return the deleted elements.
977 var low_end = from + 1; // Upper bound of elements lower than pivot.
978 var high_start = to - 1; // Lower bound of elements greater than pivot.
982 // From low_end to i are elements equal to pivot.
983 // From i to high_start are elements that haven't been compared yet.
1018 // Copy elements in the range 0..length from obj's prototype chain
1050 // elements in that range.
1075 // Copy defined elements from the end to fill in all holes and undefineds
1110 // of defined elements.
1119 // For compatability with Webkit, do not expose elements in the prototype.
1127 // Return the number of defined elements.
1137 // For compatibility with JSC, we also sort elements inherited from
1140 // local elements. This is not very efficient, but sorting with
1141 // inherited elements happens very, very rarely, if at all.
1161 // For compatibility with JSC, we shadow any elements in the prototype
1172 // or delete elements from the array.