Home | History | Annotate | Download | only in src

Lines Matching defs:Capacity

1727   // capacity?
1742 // Computes the new capacity when expanding the elements of a JSObject.
1824 // capacity. Update the length for JSArrays. Returns the new backing
1827 int capacity,
1831 int capacity,
1959 capacity for holding these properties.
2172 // Gets the current elements capacity and the number of used elements.
2173 void GetElementsCapacityAndUsage(int* capacity, int* used);
2733 // Returns the capacity of the hash table.
2734 int Capacity() {
2758 // Computes the required capacity for a table holding the given
2798 // Maximal capacity of HashTable. Based on maximal length of underlying
2828 // Sets the capacity of the hash table.
2829 void SetCapacity(int capacity) {
2831 // use bit-wise AND with a mask, so the capacity must be positive
2833 ASSERT(capacity > 0);
2834 ASSERT(capacity <= kMaxCapacity);
2835 set(kCapacityIndex, Smi::FromInt(capacity));
7053 unsigned capacity,
7058 unsigned capacity,
7106 capacity(capacity_),
7111 unsigned capacity;
7935 // Initialize the array with the given capacity. The function may
7937 // capacity is non-zero.
7938 MUST_USE_RESULT MaybeObject* Initialize(int capacity);