/external/tinyxml/ |
tinystr.cpp | 43 if (cap > capacity()) 55 size_type cap = capacity(); 75 if (newsize > capacity()) 77 reserve (newsize + capacity());
|
/external/valgrind/main/drd/ |
drd_vc.c | 52 vc->capacity = 0; 189 if (new_size > result->capacity) 290 * - size <= capacity. 298 tl_assert(vc->size <= vc->capacity); 307 * Changes capacity, but does not change size. If the size of the memory 314 tl_assert(vc->capacity > VC_PREALLOCATED 318 if (new_capacity > vc->capacity) 320 if (vc->vc && vc->capacity > VC_PREALLOCATED) 324 && vc->capacity > VC_PREALLOCATED); 332 && vc->capacity <= VC_PREALLOCATED) [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
ScriptGCEvent.cpp | 48 totalHeapSize = globalData->heap.capacity();
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
virtio_blk.h | 15 /* The capacity (in 512-byte sectors). */ 16 __le64 capacity; member in struct:virtio_blk_config
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
virtio_blk.h | 15 /* The capacity (in 512-byte sectors). */ 16 __le64 capacity; member in struct:virtio_blk_config
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
virtio_blk.h | 15 /* The capacity (in 512-byte sectors). */ 16 __le64 capacity; member in struct:virtio_blk_config
|
/cts/suite/audio_quality/lib/src/ |
RWBuffer.h | 28 RWBuffer(int capacity) 29 : mCapacity(capacity), 32 mBuffer = new char[capacity];
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
InterfaceCollection.java | 99 InterfaceCollection (final int capacity) 101 m_interfaces = capacity < 0 ? new IntVector () : new IntVector (capacity);
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
DeclaredExceptionTable.java | 97 DeclaredExceptionTable (final int capacity) 99 m_exceptions = capacity < 0 ? new IntVector () : new IntVector (capacity);
|
ExceptionHandlerTable.java | 103 ExceptionHandlerTable (final int capacity) 105 m_exceptions = capacity < 0 ? new ArrayList () : new ArrayList (capacity);
|
/external/icu4c/common/ |
bytestream.cpp | 29 CheckedArrayByteSink::CheckedArrayByteSink(char* outbuf, int32_t capacity) 30 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity),
|
unistr_case.cpp | 113 int32_t capacity; local 115 capacity = US_STACKBUF_SIZE; 117 capacity = oldLength + 20; 120 if(!cloneArrayIfNeeded(capacity, capacity, FALSE, &bufferToDelete, TRUE)) {
|
uvectr32.cpp | 29 capacity(0), 38 capacity(0), 62 capacity = initialCapacity; 203 if (capacity >= minimumCapacity) { 210 if (capacity > (INT32_MAX - 1) / 2) { // integer overflow check 214 int32_t newCap = capacity * 2; 233 capacity = newCap; 243 // Something is very wrong, don't realloc, leave capacity and maxCapacity unchanged 247 if (capacity <= maxCapacity || maxCapacity == 0) { 248 // Current capacity is within the new limit [all...] |
/external/icu4c/tools/toolutil/ |
toolutil.cpp | 216 int32_t capacity, maxCapacity, size, idx; member in struct:UToolMemory 237 mem->capacity=initialCapacity; 267 utm_hasCapacity(UToolMemory *mem, int32_t capacity) { 268 if(mem->capacity<capacity) { 271 if(mem->maxCapacity<capacity) { 278 if(capacity>=2*mem->capacity) { 279 newCapacity=capacity; 280 } else if(mem->capacity<=mem->maxCapacity/3) [all...] |
/external/webkit/Source/WebCore/platform/text/ |
AtomicStringKeyedMRUCache.h | 33 template<typename T, size_t capacity = 4> 55 if (m_cache.size() == capacity) 67 typedef Vector<Entry, capacity> Cache;
|
/frameworks/av/include/media/stagefright/foundation/ |
ABuffer.h | 32 ABuffer(size_t capacity); 33 ABuffer(void *data, size_t capacity); 39 size_t capacity() const { return mCapacity; } function in struct:android::ABuffer
|
/dalvik/vm/test/ |
TestIndirectRefTable.cpp | 118 if (irt.capacity() != 0) { 150 if (irt.capacity() != 0) { 168 if (irt.capacity() != 3) { 169 ALOGE("expected 3 entries, found %d", irt.capacity()); 190 if (irt.capacity() != 0) { 214 if (irt.capacity() != 4) { 222 if (irt.capacity() != 3) { 230 if (irt.capacity() != 0) { 252 if (irt.capacity() != 0) { 276 if (irt.capacity() != 0) [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
StrictLineReader.java | 64 * Constructs a new {@code StrictLineReader} with the default capacity and charset. 74 * Constructs a new {@code LineReader} with the specified capacity and the default charset. 77 * @param capacity the capacity of the buffer. 79 * @throws IllegalArgumentException for negative or zero {@code capacity}. 81 public StrictLineReader(InputStream in, int capacity) { 82 this(in, capacity, US_ASCII); 86 * Constructs a new {@code LineReader} with the specified charset and the default capacity. 99 * Constructs a new {@code LineReader} with the specified capacity and charset. 102 * @param capacity the capacity of the buffer [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
LinkedBlockingQueue.java | 34 * <p> The optional capacity bound constructor argument serves as a 35 * way to prevent excessive queue expansion. The capacity, if unspecified, 38 * queue above capacity. 105 /** The capacity bound, or Integer.MAX_VALUE if none */ 106 private final int capacity; field in class:LinkedBlockingQueue 215 * Creates a {@code LinkedBlockingQueue} with a capacity of 223 * Creates a {@code LinkedBlockingQueue} with the given (fixed) capacity. 225 * @param capacity the capacity of this queue 226 * @throws IllegalArgumentException if {@code capacity} is not greate [all...] |
/libcore/luni/src/main/java/libcore/io/ |
StrictLineReader.java | 63 * Constructs a new {@code StrictLineReader} with the default capacity and charset. 73 * Constructs a new {@code LineReader} with the specified capacity and the default charset. 76 * @param capacity the capacity of the buffer. 78 * @throws IllegalArgumentException for negative or zero {@code capacity}. 80 public StrictLineReader(InputStream in, int capacity) { 81 this(in, capacity, Charsets.US_ASCII); 85 * Constructs a new {@code LineReader} with the specified charset and the default capacity. 98 * Constructs a new {@code LineReader} with the specified capacity and charset. 101 * @param capacity the capacity of the buffer [all...] |
/libcore/luni/src/main/java/java/nio/ |
ByteBuffer.java | 46 * @param capacity 47 * the capacity of the new buffer 50 * if {@code capacity < 0}. 52 public static ByteBuffer allocate(int capacity) { 53 if (capacity < 0) { 54 throw new IllegalArgumentException("capacity < 0: " + capacity); 56 return new ByteArrayBuffer(new byte[capacity]); 62 * @param capacity 63 * the capacity of the new buffe [all...] |
/external/qemu/hw/ |
goldfish_mmc.c | 233 uint64_t capacity; local 238 capacity = sector_count * 512; 239 if (capacity > 2147483648U) { 243 // CSD bits borrowed from a real SDHC card, with capacity bits zeroed out 249 // stuff in the real capacity 251 m = (uint32_t)(capacity / (512*1024)) - 1; 254 fprintf(stderr, "SD card too big (%lld bytes). Maximum SDHC card size is 128 gigabytes.\n", (long long)capacity); 266 // CSD bits borrowed from a real SD card, with capacity bits zeroed out 272 // stuff in the real capacity 275 // csd->capacity = (1 + m) << (e + 2) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/src/ |
string.cpp | 372 s.resize(s.capacity()); 389 s.resize(s.capacity()); 406 s.resize(s.capacity()); 423 s.resize(s.capacity()); 440 s.resize(s.capacity()); 457 s.resize(s.capacity()); 474 s.resize(s.capacity()); 491 s.resize(s.capacity()); 508 s.resize(s.capacity()); 528 s.resize(s.capacity()); [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
IntMap.java | 50 private int size, mask, capacity, threshold; field in class:IntMap 70 capacity = 1; 71 while (capacity < initialCapacity){ 72 capacity <<= 1; 75 this.threshold = (int) (capacity * loadFactor); 76 this.table = new Entry[capacity]; 77 this.mask = capacity - 1; 142 int newCapacity = 2 * capacity; 160 capacity = newCapacity; 162 mask = capacity - 1 [all...] |
/external/qemu/android/utils/ |
intmap.c | 30 int capacity; member in struct:AIntMap 46 map->capacity = 4; 63 map->capacity = 0; 99 int oldCapacity = map->capacity; 120 map->capacity = newCapacity; 142 if (map->size >= map->capacity)
|