/external/v8/src/ |
spaces.cc | 309 bool MemoryAllocator::Setup(intptr_t capacity, intptr_t capacity_executable) { 310 capacity_ = RoundUp(capacity, Page::kPageSize); 375 "V8 Executable Allocation capacity exceeded")); 718 PrintF(" capacity: %" V8_PTR_PREFIX "d" 841 ASSERT(Capacity() <= max_capacity_); 860 return (Capacity() > 0); 1010 ASSERT(Capacity() % Page::kObjectAreaSize == 0); 1012 if (Capacity() == max_capacity_) return false; 1014 ASSERT(Capacity() < max_capacity_); 1019 static_cast<int>((max_capacity_ - Capacity()) / Page::kObjectAreaSize) [all...] |
/libcore/luni/src/main/java/java/lang/ |
StringBuffer.java | 57 * Constructs a new StringBuffer using the default capacity which is 16. 63 * Constructs a new StringBuffer using the specified capacity. 65 * @param capacity 66 * the initial capacity. 68 public StringBuffer(int capacity) { 69 super(capacity); 74 * string. The capacity of the new buffer will be the length of the 75 * {@code String} plus the default capacity. 88 * specified {@code CharSequence}. The capacity of the new buffer will be 89 * the length of the {@code CharSequence} plus the default capacity [all...] |
/dalvik/vm/ |
IndirectRefTable.h | 204 explicit iref_iterator(Object** table, size_t i, size_t capacity) 205 : table_(table), i_(i), capacity_(capacity) 341 size_t capacity() const { function in struct:IndirectRefTable 346 return iterator(table_, 0, capacity()); 350 return iterator(table_, capacity(), capacity());
|
/external/astl/include/ |
vector | 56 // TODO: Use the stack for the default constructor. When the capacity 109 // Change the capacity to new_size. 0 means shrink to fit. The 110 // extra memory is not initialized when the capacity is grown. 117 size_type capacity() const { return mCapacity; } 170 // and capacity are both 0 on return. If you want to keep the 466 // Grow the capacity. Use exponential until kExponentialLimit then
|
/external/chromium/chrome/browser/sync/ |
profile_sync_service_session_unittest.cc | 381 ASSERT_EQ(0U, model_associator_->tab_pool_.capacity()); 390 ASSERT_EQ(num_ids, model_associator_->tab_pool_.capacity()); 396 ASSERT_EQ(num_ids, model_associator_->tab_pool_.capacity()); 413 ASSERT_EQ(num_starting_nodes, model_associator_->tab_pool_.capacity()); 422 ASSERT_EQ(num_ids, model_associator_->tab_pool_.capacity()); 428 ASSERT_EQ(num_ids, model_associator_->tab_pool_.capacity());
|
/frameworks/base/core/jni/ |
android_database_CursorWindow.cpp | 250 jsize capacity = env->GetArrayLength(dataObj); local 251 if (size_t(capacity) < size) { 257 jsize capacity = size; local 258 if (capacity < 64) { 259 capacity = 64; 261 dataObj = env->NewCharArray(capacity); // might throw OOM
|
/development/samples/GlobalTime/src/com/android/globaltime/ |
Shape.java | 138 return mIndexBuffer.capacity() / 3; 140 return mIndexBuffer.capacity() - 2; 266 mNumIndices > 0 ? mNumIndices : mIndexBuffer.capacity(),
|
/external/chromium/chrome/common/ |
time_format.cc | 298 int capacity = time_string.length() + 1; local 301 WriteInto(&result, capacity)), 302 capacity, error);
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
AttributeCollection.java | 198 AttributeCollection (final int capacity) 200 m_attributes = capacity < 0 ? new ArrayList () : new ArrayList (capacity);
|
/external/harfbuzz/src/ |
harfbuzz-shaper.h | 277 hb_uint32 num_glyphs; /* input: capacity of output arrays <glyphs>, <attributes>, <advances>, <offsets>, and <log_clusters>; */ 278 /* output: required capacity (may be larger than actual capacity) */
|
/external/icu4c/common/unicode/ |
ures.h | 387 * @param dest Destination buffer. Can be NULL only if capacity=*length==0. 388 * @param length Input: Capacity of destination buffer. 391 * Can be NULL, meaning capacity=0 and the string length is not 407 * length==capacity (in which case U_STRING_NOT_TERMINATED_WARNING is set). 653 * @param dest Destination buffer. Can be NULL only if capacity=*length==0. 654 * @param pLength Input: Capacity of destination buffer. 657 * Can be NULL, meaning capacity=0 and the string length is not 673 * length==capacity (in which case U_STRING_NOT_TERMINATED_WARNING is set). 746 * @param dest Destination buffer. Can be NULL only if capacity=*length==0. 747 * @param pLength Input: Capacity of destination buffer [all...] |
/external/icu4c/io/ |
ufile.c | 155 int32_t capacity, 160 if (capacity < 0) { 172 result->str.fLimit = stringBuf+capacity;
|
/external/stlport/stlport/stl/ |
_vector.c | 63 if (capacity() < __n) { 187 if (__xlen > capacity()) { 211 if (__n > capacity()) {
|
/external/webkit/Source/JavaScriptCore/wtf/ |
HashSet.h | 58 int capacity() const; 125 inline int HashSet<T, U, V>::capacity() const function in class:WTF::HashSet 127 return m_impl.capacity();
|
/external/webkit/Source/WebCore/history/ |
BackForwardListImpl.cpp | 179 int BackForwardListImpl::capacity() function in class:BackForwardListImpl 212 int capacity = m_capacity; local 214 setCapacity(capacity);
|
/external/webkit/Source/WebCore/loader/cache/ |
MemoryCache.h | 50 // with a min dead resource capacity of 25% and a max dead resource capacity of 50%: 139 pruneDeadResources(); // Prune dead first, in case it was "borrowing" capacity from live.
|
/external/webkit/Source/WebKit/mac/History/ |
WebBackForwardList.mm | 250 - (int)capacity 252 return core(self)->capacity(); 303 return [kit(core(self)->page()) usesPageCache] ? pageCache()->capacity() : 0;
|
/frameworks/base/core/java/android/database/ |
MatrixCursor.java | 23 * {@link #newRow()} to add rows. Automatically expands internal capacity 34 * Constructs a new cursor with the given initial capacity. 169 /** Ensures that this cursor has enough capacity. */
|
/libcore/luni/src/main/java/java/nio/ |
MappedByteBufferAdapter.java | 54 public MappedByteBufferAdapter(MemoryBlock block, int capacity, int offset, MapMode mode) { 55 super(block, capacity, offset, mode); 114 limit(capacity);
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_vector.c | 63 if (capacity() < __n) { 187 if (__xlen > capacity()) { 211 if (__n > capacity()) {
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/ |
_vector.c | 63 if (capacity() < __n) { 187 if (__xlen > capacity()) { 211 if (__n > capacity()) {
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/ |
_vector.c | 63 if (capacity() < __n) { 187 if (__xlen > capacity()) { 211 if (__n > capacity()) {
|
/bionic/libc/kernel/common/linux/mmc/ |
card.h | 37 unsigned int capacity; member in struct:mmc_csd
|
/development/ndk/platforms/android-3/include/linux/mmc/ |
card.h | 37 unsigned int capacity; member in struct:mmc_csd
|
/device/samsung/maguro/overlay/frameworks/base/core/res/res/xml/ |
power_profile.xml | 35 <item name="battery.capacity">1750</item>
|