Lines Matching refs:elements
73 var elements = new InternalArray(keys.length * 2);
80 elements[i * 2] = key;
81 elements[i * 2 + 1] = e;
85 return %SparseJoinWithSeparator(elements, len, separator);
95 var elements = new InternalArray(keys_length);
103 elements[elements_length++] = e;
107 return %StringBuilderConcat(elements, elements_length, '');
130 // Attempt to convert the elements.
147 // Construct an array for the elements.
148 var elements = new InternalArray(length);
156 elements[elements_length++] = e;
158 elements.length = elements_length;
159 var result = %_FastAsciiArrayJoin(elements, '');
161 return %StringBuilderConcat(elements, elements_length, '');
165 // remaining elements are also likely to be numbers.
170 elements[i] = e;
180 elements[i] = e;
183 var result = %_FastAsciiArrayJoin(elements, separator);
186 return %StringBuilderJoin(elements, length, separator);
219 // Move deleted elements to a new array (the return value from splice).
323 // know we are not deleting or moving a lot of elements.
340 // Move the existing elements after the elements to be deleted
680 // given as a request to delete all the elements from the start.
696 // Number of elements to add.
723 // place of the deleted elements.
732 // Return the deleted elements.
815 var low_end = from + 1; // Upper bound of elements lower than pivot.
816 var high_start = to - 1; // Lower bound of elements greater than pivot.
820 // From low_end to i are elements equal to pivot.
821 // From i to high_start are elements that haven't been compared yet.
850 // Copy elements in the range 0..length from obj's prototype chain
884 // elements in that range.
911 // Copy defined elements from the end to fill in all holes and undefineds
946 // of defined elements.
955 // For compatability with Webkit, do not expose elements in the prototype.
963 // Return the number of defined elements.
973 // For compatibility with JSC, we also sort elements inherited from
976 // local elements. This is not very efficient, but sorting with
977 // inherited elements happens very, very rarely, if at all.
995 // For compatibility with JSC, we shadow any elements in the prototype
1006 // or delete elements from the array.