/external/chromium_org/third_party/icu/source/common/ |
H A D | unorm_it.c | 51 * capacity: length of allocated arrays 53 int32_t capacity; member in struct:UNormIterator 79 api->start=api->index=api->limit=uni->capacity; 84 api->start=api->index=api->limit=uni->capacity/2; 90 reallocArrays(UNormIterator *uni, int32_t capacity, UBool addAtStart) { argument 98 states=(uint32_t *)uprv_malloc((capacity+1)*4+capacity*2); 103 chars=(UChar *)(states+(capacity+1)); 104 uni->capacity=capacity; 195 int32_t limit, capacity, room; local 265 int32_t start, capacity, room; local [all...] |
H A D | uenum.c | 31 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 D | cmemory.h | 191 * must be no more than the capacity of the old array, 243 * Provides an internal array with fixed capacity. Can alias another array 258 MaybeStackArray() : ptr(stackArray), capacity(stackCapacity), needToRelease(FALSE) {} 264 * Returns the array capacity (number of T items). 265 * @return array capacity 267 int32_t getCapacity() const { return capacity; } 277 T *getArrayLimit() const { return getAlias()+capacity; } 304 capacity=otherCapacity; 313 * @param newCapacity can be less than or greater than the current capacity; 324 * and capacity o 332 int32_t capacity; member in class:MaybeStackArray 510 int32_t capacity; member in class:MaybeStackHeaderAndArray [all...] |
H A D | bytestream.cpp | 29 CheckedArrayByteSink::CheckedArrayByteSink(char* outbuf, int32_t capacity) argument 30 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity),
|
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebCache.h | 45 size_t capacity; member in struct:blink::WebCache::UsageStats 72 size_t capacity);
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
H A D | uidna.h | 218 * @param capacity Destination buffer capacity 230 UChar *dest, int32_t capacity, 245 * @param capacity Destination buffer capacity 257 UChar *dest, int32_t capacity, 274 * @param capacity Destination buffer capacity 286 UChar *dest, int32_t capacity, 301 * @param capacity Destinatio [all...] |
/external/icu/icu4c/source/common/ |
H A D | uenum.c | 31 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 D | cmemory.h | 191 * must be no more than the capacity of the old array, 243 * Provides an internal array with fixed capacity. Can alias another array 258 MaybeStackArray() : ptr(stackArray), capacity(stackCapacity), needToRelease(FALSE) {} 264 * Returns the array capacity (number of T items). 265 * @return array capacity 267 int32_t getCapacity() const { return capacity; } 277 T *getArrayLimit() const { return getAlias()+capacity; } 304 capacity=otherCapacity; 313 * @param newCapacity can be less than or greater than the current capacity; 324 * and capacity o 332 int32_t capacity; member in class:MaybeStackArray 510 int32_t capacity; member in class:MaybeStackHeaderAndArray [all...] |
/external/icu/icu4c/source/common/unicode/ |
H A D | uidna.h | 218 * @param capacity Destination buffer capacity 230 UChar *dest, int32_t capacity, 245 * @param capacity Destination buffer capacity 257 UChar *dest, int32_t capacity, 274 * @param capacity Destination buffer capacity 286 UChar *dest, int32_t capacity, 301 * @param capacity Destinatio [all...] |
/external/skia/tests/ |
H A D | DynamicHashTest.cpp | 27 int capacity() const { return this->INHERITED::capacity(); } function in class:__anon30785::Hash 46 ASSERT(hash.capacity() == 0); 49 ASSERT(hash.capacity() == 4); 52 ASSERT(hash.capacity() == 4); 55 ASSERT(hash.capacity() == 4); 58 ASSERT(hash.capacity() == 8); 61 ASSERT(hash.capacity() == 8);
|
/external/bluetooth/bluedroid/osi/include/ |
H A D | fixed_queue.h | 28 // Creates a new fixed queue with the given |capacity|. If more elements than 29 // |capacity| are added to the queue, the caller is blocked until space is 32 fixed_queue_t *fixed_queue_new(size_t capacity); 49 // the caller. If the queue capacity would be exceeded by adding one more
|
/external/chromium_org/components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/ |
H A D | ChunkedWritableByteChannelTest.java | 33 int capacity = 100; 34 mChannel.setCapacity(capacity); 35 assertEquals("Bytebuffer capacity wasn't set properly", capacity, 36 mChannel.getByteBuffer().capacity());
|
/external/chromium_org/sdch/open-vcdiff/src/ |
H A D | output_string_test.cc | 58 const size_t initial_capacity = string_.capacity(); 59 string_.resize(string_.capacity()); 60 EXPECT_EQ(initial_capacity, string_.capacity()); 62 EXPECT_LE(initial_capacity + 1, string_.capacity());
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | TerminatedArray.h | 76 static PassPtr create(size_t capacity) argument 78 return adoptPtr(static_cast<TerminatedArray*>(fastMalloc(capacity * sizeof(T)))); 81 static PassPtr resize(PassPtr ptr, size_t capacity) argument 83 return adoptPtr(static_cast<TerminatedArray*>(fastRealloc(ptr.leakPtr(), capacity * sizeof(T))));
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_system.cpp | 62 size_t capacity = 128; local 64 result.Resize(capacity); 65 if (getcwd(&result[0], capacity)) 67 capacity *= 2;
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | nfrlist.h | 39 NFRuleList(uint32_t capacity = 10) 40 : fStuff(capacity ? (NFRule**)uprv_malloc(capacity * sizeof(NFRule*)) : NULL) 42 , fCapacity(capacity) {}
|
/external/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/ |
H A D | tinystr.cpp | 39 if (cap > capacity()) 51 size_type cap = capacity(); 71 if (newsize > capacity()) 73 reserve (newsize + capacity());
|
/external/icu/icu4c/source/i18n/ |
H A D | nfrlist.h | 39 NFRuleList(uint32_t capacity = 10) 40 : fStuff(capacity ? (NFRule**)uprv_malloc(capacity * sizeof(NFRule*)) : NULL) 42 , fCapacity(capacity) {}
|
/external/sfntly/cpp/src/test/tinyxml/ |
H A D | tinystr.cpp | 39 if (cap > capacity()) 51 size_type cap = capacity(); 71 if (newsize > capacity()) 73 reserve (newsize + capacity());
|
/external/tinyxml/ |
H A D | tinystr.cpp | 43 if (cap > capacity()) 55 size_type cap = capacity(); 75 if (newsize > capacity()) 77 reserve (newsize + capacity());
|
/external/valgrind/main/drd/ |
H A D | 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 < [all...] |
/external/chromium_org/chrome/browser/ui/tabs/ |
H A D | tab_utils.h | 37 // indicator) of a tab should be shown, given current state. |capacity| 40 // Precedence rules for deciding what to show when capacity is insufficient to 48 bool ShouldTabShowFavicon(int capacity, 53 bool ShouldTabShowMediaIndicator(int capacity, 58 bool ShouldTabShowCloseButton(int capacity,
|
/external/chromium_org/components/web_cache/renderer/ |
H A D | web_cache_render_process_observer.cc | 65 size_t capacity) { 69 pending_cache_capacity_ = capacity; 74 min_dead_capacity, max_dead_capacity, capacity); 62 OnSetCacheCapacities( size_t min_dead_capacity, size_t max_dead_capacity, size_t capacity) argument
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
H A D | toolutil.cpp | 238 int32_t capacity, maxCapacity, size, idx; member in struct:UToolMemory 259 mem->capacity=initialCapacity; 289 utm_hasCapacity(UToolMemory *mem, int32_t capacity) { argument 290 if(mem->capacity<capacity) { 293 if(mem->maxCapacity<capacity) { 300 if(capacity>=2*mem->capacity) { 301 newCapacity=capacity; 302 } else if(mem->capacity< [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/ |
H A D | InterfaceCollection.java | 99 InterfaceCollection (final int capacity) argument 101 m_interfaces = capacity < 0 ? new IntVector () : new IntVector (capacity);
|