/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/ |
short.pass.cpp | 43 str_.resize(str_.capacity());
|
unsigned_int.pass.cpp | 43 str_.resize(str_.capacity());
|
unsigned_long.pass.cpp | 43 str_.resize(str_.capacity());
|
unsigned_long_long.pass.cpp | 43 str_.resize(str_.capacity());
|
unsigned_short.pass.cpp | 43 str_.resize(str_.capacity());
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/output.streams/ostream.manip/ |
endl.pass.cpp | 46 str_.resize(str_.capacity());
|
ends.pass.cpp | 44 str_.resize(str_.capacity());
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/output.streams/ostream.rvalue/ |
CharT_pointer.pass.cpp | 47 str_.resize(str_.capacity());
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/output.streams/ostream.unformatted/ |
put.pass.cpp | 43 str_.resize(str_.capacity());
|
write.pass.cpp | 43 str_.resize(str_.capacity());
|
/libcore/luni/src/main/java/java/util/ |
Vector.java | 64 * Constructs a new vector using the default capacity. 71 * Constructs a new vector using the specified capacity. 73 * @param capacity 74 * the initial capacity of the new vector. 76 * if {@code capacity} is negative. 78 public Vector(int capacity) { 79 this(capacity, 0); 83 * Constructs a new vector using the specified capacity and capacity 86 * @param capacity 235 public synchronized int capacity() { method in class:Vector [all...] |
WeakHashMap.java | 193 * capacity. 195 * @param capacity 196 * the initial capacity of this map. 198 * if the capacity is less than zero. 200 public WeakHashMap(int capacity) { 201 if (capacity < 0) { 202 throw new IllegalArgumentException("capacity < 0: " + capacity); 205 elementData = newEntryArray(capacity == 0 ? 1 : capacity); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.util_1.0.200.v20100503.jar | |
/external/icu4c/i18n/ |
ucol_cnt.cpp | 66 tbl->capacity = INIT_EXP_TABLE_SIZE; 104 if(table->size == table->capacity) { 105 ContractionTable **newElements = (ContractionTable **)uprv_malloc(table->capacity*2*sizeof(ContractionTable *)); 107 /* table->elements = (ContractionTable **)realloc(table->elements, table->capacity*2*sizeof(ContractionTable *));*/ 114 uprv_memcpy(newElements, oldElements, table->capacity*sizeof(ContractionTable *)); 115 uprv_memset(newElements+table->capacity, 0, table->capacity*sizeof(ContractionTable *)); 116 table->capacity *= 2; 272 r->capacity = t->capacity; [all...] |
ucol_sit.cpp | 365 int32_t ucol_sit_dumpSpecs(CollatorSpec *s, char *destination, int32_t capacity, UErrorCode *status) 374 if(len < capacity) { 382 if(len + j < capacity) { 389 if(len < capacity) { 574 static void appendShortStringElement(const char *src, int32_t len, char *result, int32_t *resultSize, int32_t capacity, char arg) 578 if(*resultSize < capacity) { 584 if(*resultSize < capacity) { 595 int32_t capacity, 600 return ((icu::Collator*)coll->delegate)->internalGetShortDefinitionString(locale,dst,capacity,*status); 621 appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSize, languageArg) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
VectorTest.java | 57 assertEquals("Wrong capacity", 10, v.capacity()); 68 assertEquals("Wrong capacity", 100, v.capacity()); 82 assertEquals("Failed to inc capacity by proper amount", 83 12, v.capacity()); 91 assertEquals("Wrong capacity", 6, grow.capacity()); 280 * @tests java.util.Vector#capacity() 283 // Test for method int java.util.Vector.capacity() [all...] |
/external/icu4c/common/ |
normalizer2.cpp | 751 UChar *dest, int32_t capacity, 757 (dest==NULL ? capacity!=0 : capacity<0) || 763 UnicodeString destString(dest, 0, capacity); 779 return destString.extract(dest, capacity, *pErrorCode); 862 UChar32 c, UChar *decomposition, int32_t capacity, 867 if(decomposition==NULL ? capacity!=0 : capacity<0) { 871 UnicodeString destString(decomposition, 0, capacity); 873 return destString.extract(decomposition, capacity, *pErrorCode) [all...] |
bytestriebuilder.cpp | 250 int32_t capacity=strings->length(); local 251 if(capacity<1024) { 252 capacity=1024; 254 if(bytesCapacity<capacity) { 256 bytes=static_cast<char *>(uprv_malloc(capacity)); 262 bytesCapacity=capacity;
|
ucharstriebuilder.cpp | 207 int32_t capacity=strings.length(); local 208 if(capacity<1024) { 209 capacity=1024; 211 if(ucharsCapacity<capacity) { 213 uchars=static_cast<UChar *>(uprv_malloc(capacity*2)); 219 ucharsCapacity=capacity;
|
/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());
|
/external/icu4c/test/cintltst/ |
cucdapi.c | 69 const int32_t capacity = 10; local 73 uscript_getCode(testNames[i],script,capacity, &err); 87 int32_t capacity=0; local 91 int32_t num = uscript_getCode("ja",script,capacity, &err); 95 capacity = 10; 96 num = uscript_getCode("ja",script,capacity, &err); 464 log_err("uscript_getScriptExtensions(U+0640, capacity<0) did not set U_ILLEGAL_ARGUMENT_ERROR - %s\n", 470 log_err("uscript_getScriptExtensions(U+0640, capacity=0: pure preflighting)=%d != 3 - %s\n", 476 log_err("uscript_getScriptExtensions(U+0640, capacity=1: preflighting)=%d != 3 - %s\n", 483 log_err("uscript_getScriptExtensions(U+063F, capacity=0)=%d != 1 - %s\n" [all...] |
/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;
|
/libcore/luni/src/main/java/java/nio/ |
ByteArrayBuffer.java | 40 private ByteArrayBuffer(int capacity, byte[] backingArray, int arrayOffset, boolean isReadOnly) { 41 super(capacity, null); 45 if (arrayOffset + capacity > backingArray.length) { 47 ", capacity=" + capacity + ", arrayOffset=" + arrayOffset); 52 ByteArrayBuffer buf = new ByteArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly); 69 limit = capacity;
|
/bionic/libc/upstream-dlmalloc/ |
malloc.h | 533 given initial capacity, or, if 0, the default granularity size. It 536 lock to control access. The capacity of the space will grow 542 mspace create_mspace(size_t capacity, int locked); 555 space is used for bookkeeping, so the capacity must be at least this 561 mspace create_mspace_with_base(void* base, size_t capacity, int locked);
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
AudioProtocol.java | 269 if (bufferSize > data.capacity()) { 270 bufferSize = data.capacity(); 283 int dataToWrite = (bufferSize < data.capacity())? bufferSize : data.capacity(); 288 int endMarker = data.capacity()/(stereo ? 4 : 2); 290 Log.d(TAG, "start playback id " + id + " len " + data.capacity() + 294 while (dataWritten < data.capacity()) { 295 int dataLeft = data.capacity() - dataWritten;
|