Searched defs:capacity (Results 1 - 25 of 198) sorted by relevance

12345678

/external/qemu/
H A Dqstring.h11 size_t capacity; member in struct:QString
/external/chromium/net/base/
H A Dio_buffer.cc22 void GrowableIOBuffer::SetCapacity(int capacity) { argument
23 DCHECK(capacity >= 0);
25 real_data_.reset(static_cast<char*>(realloc(real_data_.release(), capacity)));
26 capacity_ = capacity;
27 if (offset_ > capacity)
28 set_offset(capacity);
/external/chromium/third_party/icu/source/common/
H A Dustrfmt.c18 * @param capacity capacity of buffer
23 * capacity.
28 uprv_itou (UChar * buffer, int32_t capacity, argument
40 } while(i && length<capacity);
46 if(length<capacity){
H A Dbytestream.cpp27 CheckedArrayByteSink::CheckedArrayByteSink(char* outbuf, int32_t capacity) argument
28 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity), size_(0), overflowed_(false) {
H A Dpropsvec.h161 int32_t capacity; member in struct:UPVecToUTrieContext
H A Duenum.c31 or reallocating it if at least 'capacity' bytes are not available. */
32 static void* _getBuffer(UEnumeration* en, int32_t capacity) { argument
35 if (((_UEnumBuffer*) en->baseContext)->len < capacity) {
36 capacity += PAD;
38 sizeof(int32_t) + capacity);
42 ((_UEnumBuffer*) en->baseContext)->len = capacity;
45 capacity += PAD;
46 en->baseContext = uprv_malloc(sizeof(int32_t) + capacity);
50 ((_UEnumBuffer*) en->baseContext)->len = capacity;
H A Duscript.c30 int32_t capacity,
40 if(nameOrAbbrOrLocale==NULL || fillIn == NULL || capacity<0){
65 if(numFilled<=capacity){
88 if(numFilled<=capacity){
28 uscript_getCode(const char* nameOrAbbrOrLocale, UScriptCode* fillIn, int32_t capacity, UErrorCode* err) argument
/external/chromium/third_party/icu/source/test/intltest/
H A Dtextfile.h57 UBool ensureCapacity(int32_t capacity);
64 int32_t capacity; member in class:TextFile
/external/emma/core/java12/com/vladium/jcd/cls/attribute/
H A DAttributeElementFactory.java20 public static IExceptionHandlerTable newExceptionHandlerTable (final int capacity) argument
22 return new ExceptionHandlerTable (capacity);
H A DDeclaredExceptionTable.java97 DeclaredExceptionTable (final int capacity) argument
99 m_exceptions = capacity < 0 ? new IntVector () : new IntVector (capacity);
H A DExceptionHandlerTable.java103 ExceptionHandlerTable (final int capacity) argument
105 m_exceptions = capacity < 0 ? new ArrayList () : new ArrayList (capacity);
/external/icu4c/common/
H A Dustrfmt.c18 * @param capacity capacity of buffer
23 * capacity.
28 uprv_itou (UChar * buffer, int32_t capacity, argument
40 } while(i && length<capacity);
46 if(length<capacity){
H A Dbytestream.cpp27 CheckedArrayByteSink::CheckedArrayByteSink(char* outbuf, int32_t capacity) argument
28 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity), size_(0), overflowed_(false) {
/external/icu4c/test/intltest/
H A Dtextfile.h57 UBool ensureCapacity(int32_t capacity);
64 int32_t capacity; member in class:TextFile
/external/srec/portable/include/
H A DArrayListImpl.h52 * Actual capacity of the array.
54 size_t capacity; member in struct:ArrayListImpl_t
57 * Min capacity of the array.
H A Dphashtable.h30 * The default initial capacity of a hash table.
59 * The HashTable is implemented using an array of linked lists. The capacity
62 * vs the capacity of the table. The lower the load factor, the faster the
63 * look-up is. However, a lower load factor calls for a bigger capacity,
66 * When the load factor exceeds the maximum load factor, the capacity of the
68 * on the new capacity.
99 * Total capacity.
101 size_t capacity; member in struct:PHashTableArgs_t
121 * Creates an hash table. The hash table is created with specified capacity
/external/chromium/third_party/icu/source/i18n/
H A Ducol_cnt.h55 int32_t capacity; member in struct:CntTable
/external/emma/core/java12/com/vladium/jcd/cls/
H A DElementFactory.java21 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...]
H A DInterfaceCollection.java99 InterfaceCollection (final int capacity) argument
101 m_interfaces = capacity < 0 ? new IntVector () : new IntVector (capacity);
/external/icu4c/i18n/
H A Ducol_cnt.h55 int32_t capacity; member in struct:CntTable
/external/srec/shared/include/
H A DCircularBuffer.h50 * 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/v8/src/
H A Dlist.h52 INLINE(explicit List(int capacity)) { Initialize(capacity); } argument
81 INLINE(int capacity() const) { return capacity_; }
125 INLINE(void Initialize(int capacity));
135 // Increase the capacity of a full list, and add an element.
/external/webkit/WebCore/history/
H A DPageCache.h45 int capacity() { return m_capacity; } function in class:WebCore::PageCache
47 void add(PassRefPtr<HistoryItem>, PassRefPtr<CachedPage>); // Prunes if capacity() is exceeded.
/external/webkit/WebKit/chromium/src/
H A DWebCache.cpp57 size_t minDeadCapacity, size_t maxDeadCapacity, size_t capacity)
63 static_cast<unsigned int>(capacity));
76 unsigned capacity = cache->m_capacity; local
78 cache->setCapacities(minDeadCapacity, maxDeadCapacity, capacity);
90 result->capacity = cache->m_capacity;
56 setCapacities( size_t minDeadCapacity, size_t maxDeadCapacity, size_t capacity) argument
/external/zlib/contrib/dotzlib/DotZLib/
H A DCircularBuffer.cs27 public CircularBuffer(int capacity) argument
29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;

Completed in 333 milliseconds

12345678