Searched refs:capacity (Results 276 - 300 of 443) sorted by relevance

<<1112131415161718

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DOutputStreamWriterTest.java425 int capacity = 65536;
426 byte[] bytes = new byte[capacity];
441 char[] outChars = new char[capacity];
/external/chromium/net/http/
H A Dhttp_stream_parser.cc348 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 Ddigitlst.cpp577 int32_t capacity = 0;
578 char *buffer = str.clear().getAppendBuffer(maxLength, 0, capacity, status);
582 U_ASSERT(capacity >= maxLength);
H A Dmsgfmt.cpp320 * 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 Dicuswap.cpp290 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 DRefPtrHashMap.h77 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 Duniset_props.cpp332 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 Dutrie.c740 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 Duvector.h102 int32_t capacity; member in class:UVector
/external/llvm/lib/Support/Windows/
H A DPathV2.inc102 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 DStringBufferTest.java126 int origCapacity = buffer.capacity();
128 int trimCapacity = buffer.capacity();
129 assertTrue("Assert 0: capacity must be smaller.", trimCapacity < origCapacity);
/external/chromium/base/
H A Dstl_util-inl.h33 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 Dstring_piece.h134 size_type capacity() const { return length_; } function in class:base::StringPiece
/external/clang/include/clang/AST/
H A DASTVector.h170 /// 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 DSmallVectorTest.cpp153 bool RequiresGrowth = this->theVector.capacity() < 3;
456 EXPECT_LE(4u, this->theVector.capacity());
/external/webkit/Source/WebKit/mac/Misc/
H A DWebCoreStatistics.mm201 size_t heapFree = JSDOMWindow::commonJSGlobalData()->heap.capacity() - heapSize;
/external/webkit/Source/WebKit2/Shared/mac/
H A DWebMemorySampler.mac.mm120 size_t jscHeapBytesCommitted = JSDOMWindow::commonJSGlobalData()->heap.capacity();
/external/icu4c/test/intltest/
H A Dustrtest.cpp208 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 DCharsetDecoderTest.java332 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 Dsession_model_associator.h262 inline size_t capacity() const { return tab_syncid_pool_.size(); } function in class:browser_sync::SessionModelAssociator::TabNodePool
/external/chromium/chrome/common/
H A Drender_messages.h123 IPC_STRUCT_TRAITS_MEMBER(capacity)
136 size_t /* capacity */)
/external/clang/include/clang/Analysis/Support/
H A DBumpVector.h183 /// 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 Dtimezone.h676 * @param capacity The size of the output buffer.
684 char *region, int32_t capacity, UErrorCode& status);
/external/icu4c/io/unicode/
H A Dustdio.h292 * @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 DPQTorus.java209 for (int i = 0, len = sib.capacity(); i < len; i++) {

Completed in 745 milliseconds

<<1112131415161718