/external/emma/core/java12/com/vladium/jcd/cls/ |
H A D | ElementFactory.java | 21 public static IAttributeCollection newAttributeCollection (final int capacity) argument 23 return new AttributeCollection (capacity); 26 public static IConstantCollection newConstantCollection (final int capacity) argument 28 return new ConstantCollection (capacity); 31 public static IFieldCollection newFieldCollection (final int capacity) argument 33 return new FieldCollection (capacity); 36 public static IInterfaceCollection newInterfaceCollection (final int capacity) argument 38 return new InterfaceCollection (capacity); 41 public static IMethodCollection newMethodCollection (final int capacity) argument 43 return new MethodCollection (capacity); [all...] |
/external/libcxx/test/containers/sequences/vector/vector.capacity/ |
H A D | capacity.pass.cpp | 12 // size_type capacity() const; 23 assert(v.capacity() == 0); 27 assert(v.capacity() == 100); 29 assert(v.capacity() > 101); 34 assert(v.capacity() == 0); 38 assert(v.capacity() == 100); 40 assert(v.capacity() > 101);
|
H A D | reserve.pass.cpp | 24 assert(v.capacity() >= 10); 28 assert(v.capacity() == 100); 31 assert(v.capacity() == 100); 34 assert(v.capacity() == 150); 38 assert(v.capacity() == 100); 41 assert(v.capacity() == 100); 44 assert(v.capacity() == 150); 50 assert(v.capacity() >= 10); 54 assert(v.capacity() == 100); 57 assert(v.capacity() [all...] |
H A D | resize_size.pass.cpp | 27 assert(v.capacity() == 100); 30 assert(v.capacity() >= 200); 36 assert(v.capacity() == 100); 39 assert(v.capacity() >= 200); 46 assert(v.capacity() == 100); 49 assert(v.capacity() >= 200); 55 assert(v.capacity() == 100); 58 assert(v.capacity() >= 200); 66 assert(v.capacity() == 100); 69 assert(v.capacity() > [all...] |
H A D | Android.mk | 17 test_makefile := external/libcxx/test/containers/sequences/vector/vector.capacity/Android.mk 19 test_name := containers/sequences/vector/vector.capacity/shrink_to_fit 23 test_name := containers/sequences/vector/vector.capacity/swap 27 test_name := containers/sequences/vector/vector.capacity/resize_size_value 31 test_name := containers/sequences/vector/vector.capacity/capacity 32 test_src := capacity.pass.cpp 35 test_name := containers/sequences/vector/vector.capacity/reserve 39 test_name := containers/sequences/vector/vector.capacity/resize_size
|
H A D | swap.pass.cpp | 26 assert(v1.capacity() == 200); 28 assert(v2.capacity() == 100); 36 assert(v1.capacity() == 200); 38 assert(v2.capacity() == 100);
|
H A D | resize_size_value.pass.cpp | 25 assert(v.capacity() == 100); 29 assert(v.capacity() >= 200); 39 assert(v.capacity() == 100); 42 assert(v.capacity() >= 200); 49 assert(v.capacity() == 100); 53 assert(v.capacity() >= 200); 63 assert(v.capacity() == 100); 66 assert(v.capacity() >= 200);
|
/external/libcxx/test/containers/sequences/vector.bool/ |
H A D | capacity.pass.cpp | 13 // size_type capacity() const; 24 assert(v.capacity() == 0); 28 assert(v.capacity() >= 100); 30 assert(v.capacity() >= 101); 35 assert(v.capacity() == 0); 39 assert(v.capacity() >= 100); 41 assert(v.capacity() >= 101);
|
H A D | reserve.pass.cpp | 25 assert(v.capacity() >= 10); 29 assert(v.capacity() >= 100); 32 assert(v.capacity() >= 100); 35 assert(v.capacity() >= 150); 41 assert(v.capacity() >= 10); 45 assert(v.capacity() >= 100); 48 assert(v.capacity() >= 100); 51 assert(v.capacity() >= 150);
|
H A D | resize_size.pass.cpp | 26 assert(v.capacity() >= 100); 29 assert(v.capacity() >= 200); 36 assert(v.capacity() >= 100); 39 assert(v.capacity() >= 200);
|
H A D | shrink_to_fit.pass.cpp | 26 assert(v.capacity() >= 101); 34 assert(v.capacity() >= 101);
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
H A D | AttributeElementFactory.java | 20 public static IExceptionHandlerTable newExceptionHandlerTable (final int capacity) argument 22 return new ExceptionHandlerTable (capacity);
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | utrace.c | 88 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { argument 93 * 3. When preflighting buffer len (buffer capacity is exceeded), when 100 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */ 101 (c=='\n' && *outIx>=capacity)) /* case 3 */ 105 if (*outIx < capacity) { 112 if (*outIx < capacity) { 124 char *outBuf, int32_t *outIx, int32_t capacity) { 129 outputChar(c, outBuf, outIx, capacity, 0); 134 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { argument 148 outputHexBytes(*p, 2, outBuf, outIx, capacity); 123 outputHexBytes(int64_t val, int32_t charsToOutput, char *outBuf, int32_t *outIx, int32_t capacity) argument 153 outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) argument 167 outputUString(const UChar *s, int32_t len, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) argument 187 utrace_vformat(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, va_list args) argument 381 utrace_format(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, ...) argument [all...] |
/external/icu/icu4c/source/common/ |
H A D | utrace.c | 88 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { argument 93 * 3. When preflighting buffer len (buffer capacity is exceeded), when 100 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */ 101 (c=='\n' && *outIx>=capacity)) /* case 3 */ 105 if (*outIx < capacity) { 112 if (*outIx < capacity) { 124 char *outBuf, int32_t *outIx, int32_t capacity) { 129 outputChar(c, outBuf, outIx, capacity, 0); 134 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { argument 148 outputHexBytes(*p, 2, outBuf, outIx, capacity); 123 outputHexBytes(int64_t val, int32_t charsToOutput, char *outBuf, int32_t *outIx, int32_t capacity) argument 153 outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) argument 167 outputUString(const UChar *s, int32_t len, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) argument 187 utrace_vformat(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, va_list args) argument 381 utrace_format(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, ...) argument [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_device/android/ |
H A D | single_rw_fifo.h | 26 explicit SingleRwFifo(int capacity); 35 int capacity() const { return capacity_; } function in class:webrtc::SingleRwFifo
|
H A D | single_rw_fifo.cc | 15 static int UpdatePos(int pos, int capacity) { argument 16 return (pos + 1) % capacity; 53 SingleRwFifo::SingleRwFifo(int capacity) argument 54 : capacity_(capacity), 70 const int free_slots = capacity() - size(); 81 write_pos_ = UpdatePos(write_pos_, capacity()); 96 read_pos_ = UpdatePos(read_pos_, capacity());
|
/external/icu/icu4c/source/layoutex/ |
H A D | RunArrays.cpp | 50 void RunArray::init(le_int32 capacity) argument 52 fLimits = LE_NEW_ARRAY(le_int32, capacity); 92 void FontRuns::init(le_int32 capacity) argument 94 RunArray::init(capacity); 95 fFonts = LE_NEW_ARRAY(const LEFontInstance *, capacity); 98 void FontRuns::grow(le_int32 capacity) argument 100 RunArray::grow(capacity); 101 fFonts = (const LEFontInstance **) LE_GROW_ARRAY(fFonts, capacity); 144 void LocaleRuns::init(le_int32 capacity) argument 146 RunArray::init(capacity); 150 grow(le_int32 capacity) argument 196 init(le_int32 capacity) argument 202 grow(le_int32 capacity) argument [all...] |
/external/srec/shared/include/ |
H A D | CircularBuffer.h | 50 * Total buffer capacity. 52 size_t capacity; member in struct:CircularBuffer_t 73 * Creates a circular buffer of the specified capacity. 75 * @param capacity the capacity in number of bytes of the data buffer. 79 ESR_SHARED_API ESR_ReturnCode CircularBufferCreate(size_t capacity, const LCHAR* mtag, CircularBuffer** buffer); 82 * Returns the capacity of the buffer. 84 #define CircularBufferGetCapacity(buffer) ((buffer)->capacity + 0) 99 #define CircularBufferIsFull(buffer) ((buffer)->size == (buffer)->capacity) 109 * Determines the residual capacity o [all...] |
/external/libcxx/test/strings/basic.string/string.capacity/ |
H A D | Android.mk | 17 test_makefile := external/libcxx/test/strings/basic.string/string.capacity/Android.mk 19 test_name := strings/basic.string/string.capacity/length 23 test_name := strings/basic.string/string.capacity/resize_size_char 27 test_name := strings/basic.string/string.capacity/shrink_to_fit 31 test_name := strings/basic.string/string.capacity/clear 35 test_name := strings/basic.string/string.capacity/size 39 test_name := strings/basic.string/string.capacity/max_size 43 test_name := strings/basic.string/string.capacity/capacity 44 test_src := capacity [all...] |
/external/chromium_org/native_client_sdk/src/libraries/xray/ |
H A D | hashtable.c | 23 int capacity; member in struct:XRayHashTable 32 int32_t capacity); 55 return table->capacity; 67 uint32_t m = table->capacity - 1; 96 uint32_t m = table->capacity - 1; 109 ratio = (float)table->count / (float)table->capacity; 110 /* Double the capacity of the symtable if we've hit the ratio. */ 127 if ((i < 0) || (i >= table->capacity)) 133 /* Grows the hash table by doubling its capacity, */ 137 int old_capacity = table->capacity; 153 XRayHashTableInit(struct XRayHashTable* table, int32_t capacity) argument 175 XRayHashTableCreate(int capacity) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | PurgeableVector.cpp | 61 void PurgeableVector::reserveCapacity(size_t capacity) argument 66 if (reservePurgeableCapacity(capacity, UseExactCapacity)) 71 if (!m_vector.capacity()) { 73 // exact specified capacity to avoid consuming too much memory for small resources. 74 m_vector.reserveInitialCapacity(capacity); 76 m_vector.reserveCapacity(capacity); 206 bool PurgeableVector::reservePurgeableCapacity(size_t capacity, PurgeableAllocationStrategy allocationStrategy) argument 210 if (m_discardable && m_discardableCapacity >= capacity) { 211 ASSERT(!m_vector.capacity()); 215 if (capacity < minimumDiscardableAllocationSiz [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_dynarray.h | 36 * Also, size <= capacity and data != 0 if and only if capacity != 0 37 * capacity will always be the allocation size of data 43 unsigned capacity; member in struct:util_dynarray 67 if(newsize > buf->capacity) 69 unsigned newcap = buf->capacity << 1; 72 buf->data = REALLOC(buf->data, buf->capacity, newcap); 73 buf->capacity = newcap; 90 if (buf->size != buf->capacity) { 92 buf->data = REALLOC(buf->data, buf->capacity, bu [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_dynarray.h | 36 * Also, size <= capacity and data != 0 if and only if capacity != 0 37 * capacity will always be the allocation size of data 43 unsigned capacity; member in struct:util_dynarray 67 if(newsize > buf->capacity) 69 unsigned newcap = buf->capacity << 1; 72 buf->data = REALLOC(buf->data, buf->capacity, newcap); 73 buf->capacity = newcap; 90 if (buf->size != buf->capacity) { 92 buf->data = REALLOC(buf->data, buf->capacity, bu [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | ArrayBufferBuilder.h | 49 // Creates an ArrayBufferBuilder using the default capacity. 52 ArrayBufferBuilder(unsigned capacity) argument 56 m_buffer = ArrayBuffer::create(capacity, 1); 83 unsigned capacity() const function in class:WTF::ArrayBufferBuilder 95 // If set to false, the capacity won't be expanded and when appended data
|
/external/libcxx/test/containers/sequences/list/list.capacity/ |
H A D | Android.mk | 17 test_makefile := external/libcxx/test/containers/sequences/list/list.capacity/Android.mk 19 test_name := containers/sequences/list/list.capacity/resize_size_value 23 test_name := containers/sequences/list/list.capacity/resize_size
|