/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
H A D | OutputStreamWriterTest.java | 425 int capacity = 65536; 426 byte[] bytes = new byte[capacity]; 441 char[] outChars = new char[capacity];
|
/external/chromium/net/http/ |
H A D | http_stream_parser.cc | 348 read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); 405 DCHECK_LE(read_buf_->offset(), read_buf_->capacity()); 534 if (read_buf_->capacity() < save_amount + additional_save_amount) {
|
/external/icu4c/i18n/ |
H A D | digitlst.cpp | 577 int32_t capacity = 0; 578 char *buffer = str.clear().getAppendBuffer(maxLength, 0, capacity, status); 582 U_ASSERT(capacity >= maxLength);
|
H A D | msgfmt.cpp | 320 * Allocate argTypes[] to at least the given capacity and return 326 UBool MessageFormat::allocateArgTypes(int32_t capacity, UErrorCode& status) { argument 330 if (argTypeCapacity >= capacity) { 333 if (capacity < DEFAULT_INITIAL_CAPACITY) { 334 capacity = DEFAULT_INITIAL_CAPACITY; 335 } else if (capacity < 2*argTypeCapacity) { 336 capacity = 2*argTypeCapacity; 339 uprv_realloc(argTypes, sizeof(*argTypes) * capacity); 345 argTypeCapacity = capacity;
|
/external/icu4c/tools/icuswap/ |
H A D | icuswap.cpp | 290 char pkg[], int32_t capacity, 309 if(len>=capacity) { 311 (long)capacity); 289 extractPackageName(const UDataSwapper *ds, const char *filename, char pkg[], int32_t capacity, UErrorCode *pErrorCode) argument
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | RefPtrHashMap.h | 77 int capacity() const; 136 inline int HashMap<RefPtr<T>, U, V, W, X>::capacity() const function in class:WTF::HashMap 138 return m_impl.capacity();
|
/external/icu4c/common/ |
H A D | uniset_props.cpp | 332 len(0), capacity(START_EXTRA), list(0), bmpSet(0), buffer(0), 337 list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity); 361 len(0), capacity(START_EXTRA), list(0), bmpSet(0), buffer(0), 366 list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity); 382 len(0), capacity(START_EXTRA), list(0), bmpSet(0), buffer(0), 387 list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity);
|
H A D | utrie.c | 740 utrie_serialize(UNewTrie *trie, void *dt, int32_t capacity, argument 755 if(trie==NULL || capacity<0 || (capacity>0 && dt==NULL)) { 793 if(length>capacity) {
|
H A D | uvector.h | 102 int32_t capacity; member in class:UVector
|
/external/llvm/lib/Support/Windows/ |
H A D | PathV2.inc | 102 DWORD len = ::GetTempPathW(result.capacity(), result.begin()); 107 if (len > result.capacity()) { 135 DWORD len = ::GetCurrentDirectoryW(cur_path.capacity(), cur_path.data()); 143 if (len > cur_path.capacity()) {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
H A D | StringBufferTest.java | 126 int origCapacity = buffer.capacity(); 128 int trimCapacity = buffer.capacity(); 129 assertTrue("Assert 0: capacity must be smaller.", trimCapacity < origCapacity);
|
/external/chromium/base/ |
H A D | stl_util-inl.h | 33 if (obj->capacity() >= limit) { 42 // This function avoid the copy if we already have capacity 44 if (obj->capacity() < new_size) // increase capacity
|
H A D | string_piece.h | 134 size_type capacity() const { return length_; } function in class:base::StringPiece
|
/external/clang/include/clang/AST/ |
H A D | ASTVector.h | 170 /// capacity - Return the total number of elements in the currently allocated 172 size_t capacity() const { return Capacity - Begin; } function in class:clang::ASTVector 339 if (this->capacity() < N)
|
/external/llvm/unittests/ADT/ |
H A D | SmallVectorTest.cpp | 153 bool RequiresGrowth = this->theVector.capacity() < 3; 456 EXPECT_LE(4u, this->theVector.capacity());
|
/external/webkit/Source/WebKit/mac/Misc/ |
H A D | WebCoreStatistics.mm | 201 size_t heapFree = JSDOMWindow::commonJSGlobalData()->heap.capacity() - heapSize;
|
/external/webkit/Source/WebKit2/Shared/mac/ |
H A D | WebMemorySampler.mac.mm | 120 size_t jscHeapBytesCommitted = JSDOMWindow::commonJSGlobalData()->heap.capacity();
|
/external/icu4c/test/intltest/ |
H A D | ustrtest.cpp | 208 errln("UnicodeString.setTo(buffer, length, capacity) does not work with length==-1"); 211 errln("UnicodeString(buffer, length, capacity) does not work with length==-1"); 224 errln("UnicodeString.setTo(buffer without NUL, length, capacity) does not work with length==-1"); 227 errln("UnicodeString(buffer without NUL, length, capacity) does not work with length==-1"); 1275 errln((UnicodeString)"UnicodeString.setTo(UChar*, length, capacity) does not work correctly\n" + prettify(*test)); 1288 // test the (new) capacity constructor 1294 errln("The UnicodeString capacity constructor does not work with an ASCII filler"); 1302 errln("The UnicodeString capacity constructor does not work with a 0x10ff2a filler"); 1307 errln("The UnicodeString capacity constructor does not work with a 0x10ff2a filler"); 1851 TestCheckedArrayByteSink(char* outbuf, int32_t capacity) argument 2046 int32_t capacity=-1; local [all...] |
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
H A D | CharsetDecoderTest.java | 332 assertEquals(out.capacity(), 100); 345 assertEquals(out.capacity(), 100); 358 assertEquals(out.remaining(), out.capacity() - out.position()); 359 assertEquals(out.capacity(), 100);
|
/external/chromium/chrome/browser/sync/glue/ |
H A D | session_model_associator.h | 262 inline size_t capacity() const { return tab_syncid_pool_.size(); } function in class:browser_sync::SessionModelAssociator::TabNodePool
|
/external/chromium/chrome/common/ |
H A D | render_messages.h | 123 IPC_STRUCT_TRAITS_MEMBER(capacity) 136 size_t /* capacity */)
|
/external/clang/include/clang/Analysis/Support/ |
H A D | BumpVector.h | 183 /// capacity - Return the total number of elements in the currently allocated 185 size_t capacity() const { return Capacity - Begin; } function in class:clang::BumpVector
|
/external/icu4c/i18n/unicode/ |
H A D | timezone.h | 676 * @param capacity The size of the output buffer. 684 char *region, int32_t capacity, UErrorCode& status);
|
/external/icu4c/io/unicode/ |
H A D | ustdio.h | 292 * @param capacity The number of code units available for use in stringBuf 301 int32_t capacity,
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
H A D | PQTorus.java | 209 for (int i = 0, len = sib.capacity(); i < len; i++) {
|