Searched refs:capacity (Results 151 - 175 of 732) sorted by relevance

1234567891011>>

/external/srec/portable/src/
H A Dphashtable.c91 tmp->args.capacity = PHASH_TABLE_DEFAULT_CAPACITY;
106 tmp->entries = NEW_ARRAY(PHashTableEntry *, tmp->args.capacity, memTag);
114 for (i = tmp->args.capacity; i > 0;)
121 tmp->threshold = (unsigned int)(tmp->args.capacity * tmp->args.maxLoadFactor);
218 idx = hashCode % table->args.capacity;
265 idx = hashCode % table->args.capacity;
277 unsigned int oldCapacity = table->args.capacity;
290 table->args.capacity = newCapacity;
349 idx = hashCode % table->args.capacity;
365 idx = hashCode % table->args.capacity;
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Duts46.cpp606 int32_t capacity=dest.getCapacity(); local
618 if(length==capacity) {
625 capacity=dest.getCapacity();
699 UChar *unicodeBuffer=fromPunycode.getBuffer(-1); // capacity==-1: most labels should fit
701 // Should never occur if we used capacity==-1 which uses the internal buffer.
1303 void *dest, int32_t capacity,
1314 (dest==NULL ? capacity!=0 : capacity<0) ||
1334 UChar *dest, int32_t capacity,
1336 if(!checkArgs(label, length, dest, capacity, pInf
1302 checkArgs(const void *label, int32_t length, void *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1332 uidna_labelToASCII(const UIDNA *idna, const UChar *label, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1348 uidna_labelToUnicode(const UIDNA *idna, const UChar *label, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1364 uidna_nameToASCII(const UIDNA *idna, const UChar *name, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1380 uidna_nameToUnicode(const UIDNA *idna, const UChar *name, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1396 uidna_labelToASCII_UTF8(const UIDNA *idna, const char *label, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1412 uidna_labelToUnicodeUTF8(const UIDNA *idna, const char *label, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1428 uidna_nameToASCII_UTF8(const UIDNA *idna, const char *name, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1444 uidna_nameToUnicodeUTF8(const UIDNA *idna, const char *name, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
[all...]
/external/icu/icu4c/source/common/
H A Duts46.cpp604 int32_t capacity=dest.getCapacity(); local
616 if(length==capacity) {
623 capacity=dest.getCapacity();
697 UChar *unicodeBuffer=fromPunycode.getBuffer(-1); // capacity==-1: most labels should fit
699 // Should never occur if we used capacity==-1 which uses the internal buffer.
1301 void *dest, int32_t capacity,
1312 (dest==NULL ? capacity!=0 : capacity<0) ||
1332 UChar *dest, int32_t capacity,
1334 if(!checkArgs(label, length, dest, capacity, pInf
1300 checkArgs(const void *label, int32_t length, void *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1330 uidna_labelToASCII(const UIDNA *idna, const UChar *label, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1346 uidna_labelToUnicode(const UIDNA *idna, const UChar *label, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1362 uidna_nameToASCII(const UIDNA *idna, const UChar *name, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1378 uidna_nameToUnicode(const UIDNA *idna, const UChar *name, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1394 uidna_labelToASCII_UTF8(const UIDNA *idna, const char *label, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1410 uidna_labelToUnicodeUTF8(const UIDNA *idna, const char *label, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1426 uidna_nameToASCII_UTF8(const UIDNA *idna, const char *name, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
1442 uidna_nameToUnicodeUTF8(const UIDNA *idna, const char *name, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument
[all...]
/external/stlport/stlport/stl/debug/
H A D_string.h76 if (this->capacity() > __old_capacity) {
193 // Size, capacity, etc.
199 if (__n > capacity())
206 size_type capacity() const { return _M_non_dbg_impl.capacity(); } function in class:basic_string
209 if (__s > capacity()) _Invalidate_all();
246 size_type __old_capacity = capacity();
258 size_type __old_capacity = capacity();
266 size_type __old_capacity = capacity();
274 size_type __old_capacity = capacity();
[all...]
/external/qemu/hw/android/goldfish/
H A Dbattery.c48 int capacity; member in struct:goldfish_battery_state
66 QFIELD_INT32(capacity),
114 return s->capacity;
169 s->capacity = 50; // 50% charged
174 s->capacity = 0;
215 battery_state->capacity = value;
281 snprintf(buffer, sizeof buffer, "capacity: %d\r\n", battery_state->capacity);
/external/chromium_org/components/web_cache/browser/
H A Dweb_cache_manager.cc131 entry->second.capacity = stats.capacity;
195 stats->capacity += elmt->second.capacity;
305 // This is the capacity this renderer has been allocated.
306 size_t capacity = allocation->second; local
313 // We allow the dead objects to consume up to half of the cache capacity.
314 size_t max_dead_capacity = capacity / 2;
321 capacity));
355 active.capacity / 102
[all...]
/external/chromium_org/v8/test/cctest/
H A Dtest-dictionary.cc129 int capacity() { function in class:__anon17401::ObjectHashTableTest
143 int capacity = t->capacity(); local
144 for (int i = 0; i < capacity - 1; i++) {
148 for (int i = 0; i < capacity - 1; i++) {
156 int capacity = t->capacity(); local
157 for (int i = 0; i < capacity / 2; i++) {
161 for (int i = 0; i < capacity / 2; i++) {
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DObserverList.java177 private int capacity() { method in class:ObserverList
192 mListEndMarker = ObserverList.this.capacity();
199 mListEndMarker = ObserverList.this.capacity();
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/
H A DChunkedWritableByteChannel.java31 public void setCapacity(int capacity) { argument
36 mInitialBuffer = ByteBuffer.allocateDirect(capacity);
77 } else if (mBuffer != null && mSize == mBuffer.capacity()) {
/external/apache-http/src/org/apache/http/util/
H A DCharArrayBuffer.java55 public CharArrayBuffer(int capacity) { argument
57 if (capacity < 0) {
58 throw new IllegalArgumentException("Buffer capacity may not be negative");
60 this.buffer = new char[capacity];
181 public int capacity() { method in class:CharArrayBuffer
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dinode_pool.h49 size_t capacity() const { return max_nodes_; } function in class:nacl_io::INodePool
/external/chromium_org/net/server/
H A Dhttp_connection.cc24 return base_->capacity();
27 void HttpConnection::ReadIOBuffer::SetCapacity(int capacity) { argument
28 DCHECK_LE(GetSize(), capacity); local
29 base_->SetCapacity(capacity);
35 LOG(ERROR) << "Too large read data is pending: capacity=" << GetCapacity()
77 // If capacity is too big, reduce it.
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DHashSetTest.cpp47 // Initial capacity is null.
48 EXPECT_EQ(0UL, testSet.capacity());
50 // Adding items up to size should never change the capacity.
53 EXPECT_EQ(initialCapacity, testSet.capacity());
56 // Adding items up to less than half the capacity should not change the capacity.
60 EXPECT_EQ(initialCapacity, testSet.capacity());
63 // Adding one more item increase the capacity.
65 EXPECT_GT(testSet.capacity(), initialCapacity);
H A DSizeLimits.cpp69 unsigned capacity; member in struct:WTF::SameSizeAsVectorWithInlineCapacity
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dstrenum.h239 * Ensures that chars is at least as large as the requested capacity.
242 * @param capacity Requested capacity.
246 void ensureCharsCapacity(int32_t capacity, UErrorCode &status);
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
H A Dcache.h9 // capacity. For example, a cache where the values are variable
28 // Create a new cache with a fixed size capacity. This implementation
30 extern Cache* NewLRUCache(size_t capacity);
44 // the specified charge against the total cache capacity.
/external/chromium_org/third_party/leveldatabase/src/util/
H A Darena.h30 return blocks_memory_ + blocks_.capacity() * sizeof(char*);
/external/chromium_org/ui/base/l10n/
H A Dtime_format.cc108 const int capacity = time_string.length() + 1; local
109 DCHECK_GT(capacity, 1);
112 time_string.extract(static_cast<UChar*>(WriteInto(&result, capacity)),
113 capacity, error);
/external/deqp/framework/delibs/depool/
H A DdePoolArray.c67 if (size >= arr->capacity)
101 int pageTableNdx = arr->capacity >> DE_ARRAY_ELEMENTS_PER_PAGE_LOG2;
126 arr->capacity = pageTableNdx << DE_ARRAY_ELEMENTS_PER_PAGE_LOG2;
127 DE_ASSERT(arr->capacity >= newCapacity);
136 * \brief Set the size of the array (also reserves capacity).
/external/guava/guava/src/com/google/common/collect/
H A DQueues.java52 public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) { argument
53 return new ArrayBlockingQueue<E>(capacity);
99 * Creates a {@code LinkedBlockingQueue} with the given (fixed) capacity.
101 * @param capacity the capacity of this queue
103 * @throws IllegalArgumentException if {@code capacity} is less than 1
105 public static <E> LinkedBlockingQueue<E> newLinkedBlockingQueue(int capacity) { argument
106 return new LinkedBlockingQueue<E>(capacity);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DLinkedHashMultiset.java41 * capacity.
80 super(new LinkedHashMap<E, Count>(Maps.capacity(distinctElements)));
/external/icu/icu4c/source/common/unicode/
H A Dstrenum.h239 * Ensures that chars is at least as large as the requested capacity.
242 * @param capacity Requested capacity.
246 void ensureCharsCapacity(int32_t capacity, UErrorCode &status);
/external/javassist/src/main/javassist/bytecode/
H A DLongVector.java38 public int capacity() { return objects.length * ASIZE; } method in class:LongVector
/external/kernel-headers/original/uapi/linux/
H A Dvirtio_blk.h52 /* The capacity (in 512-byte sectors). */
53 __u64 capacity; member in struct:virtio_blk_config
/external/libcxx/test/strings/basic.string/string.cons/
H A Dchar_assignment.pass.cpp28 assert(s1.capacity() >= s1.size());

Completed in 648 milliseconds

1234567891011>>