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
480 // Returns an array containing the array elements of the object followed
481 // by the array elements of each argument in order. See ECMA-262,
731 // given as a request to delete all the elements from the start.
767 // place of the deleted elements.
786 // Return the deleted elements.
830 // place of the deleted elements.
839 // Return the deleted elements.
941 var low_end = from + 1; // Upper bound of elements lower than pivot.
942 var high_start = to - 1; // Lower bound of elements greater than pivot.
946 // From low_end to i are elements equal to pivot.
947 // From i to high_start are elements that haven't been compared yet.
982 // Copy elements in the range 0..length from obj's prototype chain
1014 // elements in that range.
1039 // Copy defined elements from the end to fill in all holes and undefineds
1074 // of defined elements.
1083 // For compatability with Webkit, do not expose elements in the prototype.
1091 // Return the number of defined elements.
1101 // For compatibility with JSC, we also sort elements inherited from
1104 // local elements. This is not very efficient, but sorting with
1105 // inherited elements happens very, very rarely, if at all.
1125 // For compatibility with JSC, we shadow any elements in the prototype
1136 // or delete elements from the array.