Searched refs:capacity (Results 226 - 250 of 461) sorted by relevance

1234567891011>>

/external/icu4c/tools/genrb/
H A Dwrtxml.cpp416 int32_t capacity = 0; local
425 capacity = src->fLength;
426 note = (UChar*) uprv_malloc(U_SIZEOF_UCHAR * capacity);
434 noteLen = getAt(src->fChars,src->fLength, &note, capacity, i, UPC_NOTE, status);
480 int32_t capacity = src->fLength + 1; local
483 UChar* desc = (UChar*) uprv_malloc(U_SIZEOF_UCHAR * capacity);
484 UChar* trans = (UChar*) uprv_malloc(U_SIZEOF_UCHAR * capacity);
494 descLen = getDescription(src->fChars,src->fLength, &desc, capacity, status);
495 transLen = getTranslate(src->fChars,src->fLength, &trans, capacity, status);
/external/icu4c/common/
H A Duresbund.cpp854 int32_t capacity; local
871 capacity = (int32_t)uprv_strlen(parent->fResPath) + 1;
873 capacity = 0;
875 if(capacity < len) {
876 capacity = len;
878 if(capacity <= (int32_t)sizeof(stackAlias)) {
879 capacity = (int32_t)sizeof(stackAlias);
882 chAlias = (char *)uprv_malloc(capacity);
959 if(len > capacity) {
960 capacity
1188 int32_t capacity; local
[all...]
H A Dubrk.cpp272 ubrk_getRuleStatusVec(UBreakIterator *bi, int32_t *fillInVec, int32_t capacity, UErrorCode *status) argument
274 return ((RuleBasedBreakIterator *)bi)->RuleBasedBreakIterator::getRuleStatusVec(fillInVec, capacity, *status);
H A Ddictbe.cpp703 AutoBuffer(size_t size) : buffer(stackBuffer), capacity(N) {
706 capacity = size;
728 if (size <= capacity)
733 capacity = size;
740 size_t capacity; member in class:AutoBuffer
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/
H A DMappedByteBufferTest.java40 * A regression test for failing to correctly set capacity of underlying
49 int len = mmb.capacity();
83 // check capacity is 0
84 int len = mmb.capacity();
85 assertEquals("MappedByteBuffer created from empty file should have 0 capacity",
/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-objc.h117 extern CFMutableDictionaryRef CFDictionaryCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
123 extern CFMutableStringRef CFStringCreateMutableWithExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity, CFAllocatorRef externalCharactersAllocator);
/external/clang/test/SemaTemplate/
H A Dexample-dynarray.cpp49 unsigned capacity() const { return End - Start; } function in class:dynarray
97 unsigned NewCapacity = capacity() * 2;
/external/icu4c/common/unicode/
H A Dutf16.h302 * @param i string offset, must be i<capacity
303 * @param capacity size of the string buffer
309 #define U16_APPEND(s, i, capacity, c, isError) { \
312 } else if((uint32_t)(c)<=0x10ffff && (i)+1<(capacity)) { \
/external/icu4c/i18n/unicode/
H A Dtblcoll.h449 * @param capacity capacity of the destination buffer
455 int32_t cloneBinary(uint8_t *buffer, int32_t capacity, UErrorCode &status);
547 * buffer will be filled to capacity.
562 * buffer will be filled to capacity.
803 * @param capacity capacity of the buffer
813 int32_t capacity,
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
H A DTextureUtil.java242 mipSizes = new int[]{ data.capacity() };
257 data.capacity(),
/external/jmonkeyengine/engine/src/core/com/jme3/util/
H A DSkyFactory.java120 int size = data != null ? data.capacity() : 0;
135 if (data2.capacity() != size) {
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
H A DFlyweightMapStorage.java142 if (phoneNumberPrefixes == null || phoneNumberPrefixes.capacity() < numOfEntries) {
145 if (descriptionIndexes == null || descriptionIndexes.capacity() < numOfEntries) {
/external/libusb_aah/libusb/
H A Dcore.c480 ret->capacity = DISCOVERED_DEVICES_SIZE_STEP;
491 size_t capacity; local
494 if (len < discdevs->capacity) {
500 /* exceeded capacity, need to grow */
501 usbi_dbg("need to increase capacity");
502 capacity = discdevs->capacity + DISCOVERED_DEVICES_SIZE_STEP;
504 sizeof(*discdevs) + (sizeof(void *) * capacity));
506 discdevs->capacity = capacity;
[all...]
/external/libvorbis/doc/
H A Dfooter.tex19 public or corporate capacity. However, the Xiph.org Foundation and
/external/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_impl_lite.cc157 if (old_size < target_->capacity()) {
158 // Resize the string to match its capacity, since we can get away
160 STLStringResizeUninitialized(target_, target_->capacity());
162 // Size has reached capacity, so double the size. Also make sure
/external/qemu/block/
H A Dvmdk.c49 int64_t capacity; member in struct:__anon11195
185 int64_t gd_offset, rgd_offset, capacity, gt_size; local
262 (uint32_t)header.capacity, real_filename);
276 capacity = header.capacity * SECTOR_SIZE; // Extent size
286 gde_entries = (uint32_t)(capacity / gt_size); // number of gde/rgde
389 bs->total_sectors = le64_to_cpu(header.capacity);
722 header.capacity = cpu_to_le64(total_size);
/external/webkit/Source/JavaScriptCore/icu/unicode/
H A Dutf16.h296 * @param capacity size of the string buffer
302 #define U16_APPEND(s, i, capacity, c, isError) { \
305 } else if((uint32_t)(c)<=0x10ffff && (i)+1<(capacity)) { \
/external/webkit/Source/JavaScriptGlue/icu/unicode/
H A Dutf16.h296 * @param capacity size of the string buffer
302 #define U16_APPEND(s, i, capacity, c, isError) { \
305 } else if((uint32_t)(c)<=0x10ffff && (i)+1<(capacity)) { \
/external/webkit/Source/WebCore/icu/unicode/
H A Dutf16.h296 * @param capacity size of the string buffer
302 #define U16_APPEND(s, i, capacity, c, isError) { \
305 } else if((uint32_t)(c)<=0x10ffff && (i)+1<(capacity)) { \
/external/webkit/Source/WebCore/platform/graphics/gpu/
H A DSharedGraphicsContext3D.h80 void enable(GC3Denum capacity);
81 void disable(GC3Denum capacity);
/external/webkit/Source/WebKit/mac/icu/unicode/
H A Dutf16.h296 * @param capacity size of the string buffer
302 #define U16_APPEND(s, i, capacity, c, isError) { \
305 } else if((uint32_t)(c)<=0x10ffff && (i)+1<(capacity)) { \
/external/webkit/Source/WebKit/win/
H A DWebBackForwardList.cpp235 HRESULT STDMETHODCALLTYPE WebBackForwardList::capacity( function in class:WebBackForwardList
238 *result = (int)m_backForwardList->capacity();
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
H A DStringBuilderTest.java36 assertEquals(16, sb.capacity());
45 assertEquals(24, sb.capacity());
64 assertEquals("fixture".length() + 16, sb.capacity());
68 assertEquals("fixture".length() + 16, sb.capacity());
84 assertEquals("fixture".length() + 16, sb.capacity());
383 * @tests java.lang.StringBuilder.capacity()'
387 assertEquals(16, sb.capacity());
389 assertTrue(sb.capacity() > 16);
631 assertEquals(5, sb.capacity());
633 assertEquals(12, sb.capacity());
[all...]
/external/icu4c/io/
H A Dustdio.c107 file->fTranslit->capacity = 0;
156 if(newlen > f->fTranslit->capacity)
170 f->fTranslit->capacity = newlen;
191 f->fTranslit->capacity,
211 f->fTranslit->capacity,
/external/icu4c/tools/toolutil/
H A Dxmlparser.cpp170 int32_t fileLength, bytesLength, length, capacity; local
212 // unexpected failure to reserve some string capacity
270 capacity=fileLength; // estimated capacity
271 src.getBuffer(capacity);
279 buffer=src.getBuffer(capacity);
281 // unexpected failure to reserve some string capacity
294 capacity=(3*src.getCapacity())/2; // increase capacity by 50%

Completed in 650 milliseconds

1234567891011>>