Searched refs:capacity (Results 1 - 4 of 4) sorted by relevance

/sdk/emulator/opengl/shared/emugl/common/
H A Did_to_object_map.cpp37 // Return a number that indicates if the current |capacity| is appropriate
39 // -1 -> the capacity is too small and needs to be increased.
40 // 0 -> the capacity is ok.
41 // +1 -> the capacity is too large and needs to be decreased.
43 size_t capacity = 1U << shift; local
47 // size / capacity < minLoad
48 // capacity * minLoad > size
49 if (capacity * kMinLoad > size * kLoadScale)
55 // size / capacity > maxLoad
56 // capacity * maxLoa
115 size_t capacity = 1U << mShift; local
[all...]
H A Did_to_object_map.h48 inline size_t capacity() const { return 1U << mShift; } function in class:emugl::IdToObjectMapBase
141 size_t n = capacity();
H A Dpod_vector.h38 // determine the best capacity.
149 // Return the current capacity in the current PodVector<T> instance.
152 size_t capacity() const { function in class:emugl::PodVector
156 // Return the maximum capacity of any PodVector<T> instance.
175 // or capacity of the vector. Can be NULL if the vector is empty.
182 // size of capacity of the vector.
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
H A DGLUtils.java49 StringBuilder sb = new StringBuilder(bb.capacity() * 3);
63 StringBuilder sb = new StringBuilder(bb.capacity() * 3);
77 StringBuilder sb = new StringBuilder(bb.capacity() * 3);
95 StringBuilder sb = new StringBuilder(bb.capacity() * 3);

Completed in 49 milliseconds