/external/icu4c/common/unicode/ |
H A D | utrace.h | 307 * @param capacity Length of the output buffer. 313 * If buffer capacity is insufficient, the required capacity is returned. 317 utrace_vformat(char *outBuf, int32_t capacity, 328 * @param capacity Length of the output buffer. 334 * If buffer capacity is insufficient, the required capacity is returned. 338 utrace_format(char *outBuf, int32_t capacity,
|
H A D | strenum.h | 239 * 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/icu4c/layoutex/layout/ |
H A D | RunArrays.h | 171 * @param capacity is the initial size of the data array. 177 virtual void init(le_int32 capacity); 185 * @param capacity is the initial size of the data array. 191 virtual void grow(le_int32 capacity); 365 virtual void init(le_int32 capacity); 366 virtual void grow(le_int32 capacity); 502 virtual void init(le_int32 capacity); 503 virtual void grow(le_int32 capacity); 639 virtual void init(le_int32 capacity); 640 virtual void grow(le_int32 capacity); [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
H A D | ByteBufferHelper.java | 39 nuSamples.get(lastIndex).limit() == nuSamples.get(lastIndex).capacity() - buffer.capacity()) {
|
/external/srec/portable/src/ |
H A D | ArrayListImpl.c | 60 impl->capacity = minCapacity; 78 if (impl->size >= impl->capacity) 81 size_t newCapacity = impl->capacity * 2; 86 impl->capacity = newCapacity; 122 if (impl->capacity > impl->minCapacity && 123 impl->size <= impl->capacity / 4) 126 size_t newCapacity = impl->capacity / 2; 132 impl->capacity = newCapacity;
|
H A D | phashtable.c | 91 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/webkit/Source/JavaScriptCore/runtime/ |
H A D | ArgList.cpp | 54 // capacity, all our values are allocated on the stack, and 56 // our Vector's inline capacity, though, our values move to the 68 if (m_vector.size() < m_vector.capacity()) { 75 m_vector.reserveCapacity(m_vector.capacity() * 4);
|
/external/webkit/Source/WebCore/history/ |
H A D | BackForwardListImpl.h | 64 int capacity(); 85 virtual bool isActive() { return enabled() && capacity(); }
|
/external/icu4c/common/ |
H A D | charstr.cpp | 110 UBool CharString::ensureCapacity(int32_t capacity, argument 116 if(capacity>buffer.getCapacity()) { 118 desiredCapacityHint=capacity+buffer.getCapacity(); 120 if( (desiredCapacityHint<=capacity || buffer.resize(desiredCapacityHint, len+1)==NULL) && 121 buffer.resize(capacity, len+1)==NULL
|
H A D | uts46.cpp | 608 int32_t capacity=dest.getCapacity(); local 620 if(length==capacity) { 627 capacity=dest.getCapacity(); 701 UChar *unicodeBuffer=fromPunycode.getBuffer(-1); // capacity==-1: most labels should fit 703 // Should never occur if we used capacity==-1 which uses the internal buffer. 1305 void *dest, int32_t capacity, 1316 (dest==NULL ? capacity!=0 : capacity<0) || 1336 UChar *dest, int32_t capacity, 1338 if(!checkArgs(label, length, dest, capacity, pInf 1304 checkArgs(const void *label, int32_t length, void *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument 1334 uidna_labelToASCII(const UIDNA *idna, const UChar *label, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument 1350 uidna_labelToUnicode(const UIDNA *idna, const UChar *label, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument 1366 uidna_nameToASCII(const UIDNA *idna, const UChar *name, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument 1382 uidna_nameToUnicode(const UIDNA *idna, const UChar *name, int32_t length, UChar *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument 1398 uidna_labelToASCII_UTF8(const UIDNA *idna, const char *label, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument 1414 uidna_labelToUnicodeUTF8(const UIDNA *idna, const char *label, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument 1430 uidna_nameToASCII_UTF8(const UIDNA *idna, const char *name, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument 1446 uidna_nameToUnicodeUTF8(const UIDNA *idna, const char *name, int32_t length, char *dest, int32_t capacity, UIDNAInfo *pInfo, UErrorCode *pErrorCode) argument [all...] |
/external/icu4c/i18n/ |
H A D | bocsu.cpp | 101 int32_t capacity; local 106 char *buffer=sink.GetAppendBuffer(1, length*2, scratch, (int32_t)sizeof(scratch), &capacity); 108 // We must have capacity>=SLOPE_MAX_BYTES in case u_writeDiff() writes that much, 111 if(capacity<16) { 113 capacity=(int32_t)sizeof(scratch); 116 uint8_t *lastSafe=p+capacity-SLOPE_MAX_BYTES;
|
H A D | udatpg.cpp | 59 UChar *bestPattern, int32_t capacity, 63 bestPattern, capacity, pErrorCode); 70 UChar *bestPattern, int32_t capacity, 81 return result.extract(bestPattern, capacity, *pErrorCode); 87 UChar *skeleton, int32_t capacity, 98 return result.extract(skeleton, capacity, *pErrorCode); 104 UChar *skeleton, int32_t capacity, 115 return result.extract(skeleton, capacity, *pErrorCode); 122 UChar *conflictingPattern, int32_t capacity, int32_t *pLength, 135 int32_t length=conflictingPatternString.extract(conflictingPattern, capacity, *pErrorCod 57 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t length, UChar *bestPattern, int32_t capacity, UErrorCode *pErrorCode) argument 67 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t length, UDateTimePatternMatchOptions options, UChar *bestPattern, int32_t capacity, UErrorCode *pErrorCode) argument 85 udatpg_getSkeleton(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) argument 102 udatpg_getBaseSkeleton(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) argument 119 udatpg_addPattern(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, UBool override, UChar *conflictingPattern, int32_t capacity, int32_t *pLength, UErrorCode *pErrorCode) argument [all...] |
/external/icu4c/i18n/unicode/ |
H A D | udatpg.h | 203 * @param capacity the capacity of bestPattern. 212 UChar *bestPattern, int32_t capacity, 237 * @param capacity 238 * the capacity of bestPattern. 249 UChar *bestPattern, int32_t capacity, 266 * @param capacity the capacity of skeleton. 275 UChar *skeleton, int32_t capacity, 295 * @param capacity th [all...] |
/external/stlport/stlport/stl/debug/ |
H A D | _string.h | 76 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/v8/src/ |
H A D | unicode-inl.h | 161 unsigned capacity, unsigned& offset) { 162 if (offset >= capacity) return false; 169 unsigned capacity, unsigned& offset) { 171 if ((aligned + sizeof(uchar)) > capacity) 185 bool CharacterStream::EncodeCharacter(uchar c, byte* buffer, unsigned capacity, argument 188 return EncodeAsciiCharacter(c, buffer, capacity, offset); 190 return EncodeNonAsciiCharacter(c, buffer, capacity, offset); 160 EncodeAsciiCharacter(uchar c, byte* buffer, unsigned capacity, unsigned& offset) argument 168 EncodeNonAsciiCharacter(uchar c, byte* buffer, unsigned capacity, unsigned& offset) argument
|
H A D | list.h | 53 INLINE(explicit List(int capacity)) { Initialize(capacity); } argument 82 INLINE(int capacity() const) { return capacity_; } 142 INLINE(void Initialize(int capacity)); 152 // Increase the capacity of a full list, and add an element.
|
/external/chromium/chrome/browser/renderer_host/ |
H A D | web_cache_manager.cc | 129 entry->second.capacity = stats.capacity; 177 stats->capacity += elmt->second.capacity; 286 // This is the capacity this renderer has been allocated. 287 size_t capacity = allocation->second; local 296 // capacity lower. 297 size_t max_dead_capacity = capacity; 301 capacity)); 332 active.capacity / 102 [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
H A D | WriterTest.java | 107 MockWriter(int capacity) { argument 108 contents = new char[capacity]; 109 length = capacity;
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | Vector.h | 313 size_t capacity() const { return m_capacity; } function in class:WTF::VectorBufferBase 330 VectorBufferBase(T* buffer, size_t capacity) argument 332 , m_capacity(capacity) 357 VectorBuffer(size_t capacity) argument 361 if (capacity) 362 allocateBuffer(capacity); 384 using Base::capacity; 403 VectorBuffer(size_t capacity) argument 406 if (capacity > inlineCapacity) 407 Base::allocateBuffer(capacity); 532 size_t capacity() const { return m_buffer.capacity(); } function in class:WTF::Vector [all...] |
/external/apache-http/src/org/apache/http/util/ |
H A D | CharArrayBuffer.java | 50 public CharArrayBuffer(int capacity) { argument 52 if (capacity < 0) { 53 throw new IllegalArgumentException("Buffer capacity may not be negative"); 55 this.buffer = new char[capacity]; 176 public int capacity() { method in class:CharArrayBuffer
|
/external/clang/test/SemaCXX/ |
H A D | flexible-array-test.cpp | 62 unsigned capacity; member in struct:rdar9065507::StorageBase
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | Queues.java | 52 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 D | LinkedHashMultiset.java | 41 * capacity. 80 super(new LinkedHashMap<E, Count>(Maps.capacity(distinctElements)));
|
/external/javassist/src/main/javassist/bytecode/ |
H A D | LongVector.java | 38 public int capacity() { return objects.length * ASIZE; } method in class:LongVector
|
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
H A D | AudioBuffer.java | 73 return (float) audioData.capacity() / bytesPerSec;
|