Searched refs:capacity (Results 251 - 275 of 372) sorted by relevance

<<1112131415

/macosx-10.9.5/WebCore-7537.78.1/history/
H A DPageCache.cpp220 PCLOG(" -The back/forward list is disabled or has 0 capacity");
372 void PageCache::setCapacity(int capacity) argument
374 ASSERT(capacity >= 0);
375 m_capacity = max(capacity, 0);
/macosx-10.9.5/objc4-551.1/runtime/
H A Dobjc-runtime-new.h50 mask_t capacity() { function in struct:cache_t
53 void setCapacity(uint32_t capacity) { argument
54 uint32_t newmask = (capacity - 1) << MASK_SHIFT;
/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/db/
H A DDatabaseEntry.java293 setDataNIO(data, 0, (data == null) ? 0 : data.capacity());
/macosx-10.9.5/CF-855.17/
H A DCFBasicHash.h114 void CFBasicHashSetCapacity(CFBasicHashRef ht, CFIndex capacity);
H A DCFBurstTrie.c329 static void traverseFromMapCursor(CFBurstTrieRef trie, CompactMapCursor *cursor, UInt8* bytes, uint32_t capacity, uint32_t length, Boolean *stop, void *ctx, CFBurstTrieTraversalCallback callback);
822 uint32_t capacity = MAX_KEY_LENGTH; local
829 traverseFromMapCursor(cursor->trie, &tempCursor, bytes, capacity,length, &stop, ctx, callback);
1454 static void traverseFromMapCursorMappedLevel(CFBurstTrieRef trie, CompactMapCursor *cursor, UInt8* bytes, uint32_t capacity, uint32_t length, Boolean *stop, void *ctx, CFBurstTrieTraversalCallback callback) argument
1463 if (length >= capacity)
1473 traverseFromMapCursor(trie, cursor, bytes, capacity - 1, length + 1, stop, ctx, callback);
1479 static void traverseFromMapCursorCompactMappedLevel(CFBurstTrieRef trie, CompactMapCursor *cursor, UInt8* bytes, uint32_t capacity, uint32_t length, Boolean *stop, void *ctx, CFBurstTrieTraversalCallback callback) argument
1488 if (length >= capacity)
1507 traverseFromMapCursor(trie, cursor, bytes, capacity - 1, length + 1, stop, ctx, callback);
1514 static void traverseFromMapCursorMappedPageWithPrefixCompression(Page *page, CompactMapCursor *cursor, UInt8* bytes, uint32_t capacity, uint32_ argument
1550 traverseFromMapCursorMappedPageSortedByKey(Page *page, CompactMapCursor *cursor, UInt8* bytes, uint32_t capacity, uint32_t length, Boolean *stop, void *ctx, CFBurstTrieTraversalCallback callback) argument
1590 traverseFromMapCursorMappedPage(CFBurstTrieRef trie, CompactMapCursor *cursor, UInt8* bytes, uint32_t capacity, uint32_t length, Boolean *stop, void *ctx, CFBurstTrieTraversalCallback callback) argument
1599 traverseFromMapCursor(CFBurstTrieRef trie, CompactMapCursor *cursor, UInt8* bytes, uint32_t capacity, uint32_t length, Boolean *stop, void *ctx, CFBurstTrieTraversalCallback callback) argument
[all...]
H A DCFXMLParser.c45 UInt32 capacity; member in struct:__CFXMLParser
152 if (parser->capacity > 0)
215 parser->capacity = 0;
300 parser->capacity = 16;
640 CFIndex capacity = 8; local
660 if (capacity == attListData.numberOfAttributes) {
661 capacity = 2*capacity;
663 attributes = (CFXMLAttributeDeclarationInfo *)CFAllocatorReallocate(CFGetAllocator(parser), attributes, capacity * sizeof(CFXMLAttributeDeclarationInfo), 0);
665 attributes = (CFXMLAttributeDeclarationInfo *)CFAllocatorAllocate(CFGetAllocator(parser), capacity * sizeo
[all...]
H A DCFString.c150 CFIndex capacity; // Capacity in bytes member in struct:__notInlineMutable
198 Cap, DesCap = capacity
369 // If capacity is provided externally, we only change it when we need to grow beyond it
375 CF_INLINE CFIndex __CFStrCapacity(CFStringRef str) {return str->variants.notInlineMutable.capacity;}
376 CF_INLINE void __CFStrSetCapacity(CFMutableStringRef str, CFIndex cap) {str->variants.notInlineMutable.capacity = cap;}
378 // "Desired capacity" is in number of characters; it is the client requested capacity; if fixed, it is the upper bound on the mutable string backing store.
622 /* Basic algorithm is to shrink memory when capacity is SHRINKFACTOR times the required capacity or to allocate memory when the capacity i
637 __CFStrNewCapacity(CFMutableStringRef str, unsigned long reqCapacity, CFIndex capacity, Boolean leaveExtraRoom, CFIndex charSize) argument
686 CFIndex capacity; // Capacity (if capacity == count, need to realloc to add another) member in struct:_CFStringStackInfo
1888 CFStringCreateMutableWithExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity, CFAllocatorRef externalCharactersAllocator) argument
3291 CFIndex capacity = 0; // Number of CFRange, CFDataRef element slots in rangeStorage local
4072 CFStringSetExternalCharactersNoCopy(CFMutableStringRef string, UniChar *chars, CFIndex length, CFIndex capacity) argument
4252 CFIndex capacity = MAX_RANGES_ON_STACK; local
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/common/unicode/
H A Drbbi.h541 * If the capacity of the output array is insufficient to hold the data,
546 * @param capacity the length of the supplied vector. A length of zero causes
558 virtual int32_t getRuleStatusVec(int32_t *fillInVec, int32_t capacity, UErrorCode &status);
/macosx-10.9.5/JavaScriptCore-7537.78.1/heap/
H A DHeapStatistics.cpp234 dataLogF("capacity: %ldkB\n", static_cast<long>(heap->capacity() / KB));
H A DMarkedBlock.h145 size_t capacity();
314 inline size_t MarkedBlock::capacity() function in class:JSC::MarkedBlock
H A DHeap.cpp627 size_t Heap::capacity() function in class:JSC::Heap
629 return m_objectSpace.capacity() + m_storageSpace.capacity();
/macosx-10.9.5/Security-55471.14.18/include/security_cdsa_client/
H A Dsecurestorage.cpp203 SSDbImpl::newDbCursor(uint32 capacity, Allocator &allocator) argument
205 return new SSDbCursorImpl(Db(this), capacity, allocator);
396 SSDbCursorImpl::SSDbCursorImpl(const Db &db, uint32 capacity, argument
398 : DbDbCursorImpl(db, capacity, allocator)
/macosx-10.9.5/Security-55471.14.18/libsecurity_cdsa_client/lib/
H A Dsecurestorage.cpp203 SSDbImpl::newDbCursor(uint32 capacity, Allocator &allocator) argument
205 return new SSDbCursorImpl(Db(this), capacity, allocator);
396 SSDbCursorImpl::SSDbCursorImpl(const Db &db, uint32 capacity, argument
398 : DbDbCursorImpl(db, capacity, allocator)
/macosx-10.9.5/WebCore-7537.78.1/loader/cache/
H A DMemoryCache.h53 // with a min dead resource capacity of 25% and a max dead resource capacity of 50%:
177 unsigned capacity() const { return m_capacity; } function in class:WebCore::MemoryCache
/macosx-10.9.5/dyld-239.4/src/
H A Ddyld_gdb.cpp56 if ( sImageUUIDs.capacity() == 0 )
/macosx-10.9.5/Security-55471.14.18/sec/Security/
H A DSecCertificateRequest.c247 uint32_t capacity; member in struct:make_general_names_context
270 if (!gn->names || (gn->count == gn->capacity)) {
271 uint32_t capacity = gn->capacity; local
272 if (capacity)
273 capacity *= 2;
275 capacity = 10;
277 void * new_array = PORT_ArenaZNewArray(gn->poolp, SecAsn1Item, capacity);
279 memcpy(new_array, gn->names, gn->capacity);
281 gn->capacity
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/tools/toolutil/
H A Dpackage.cpp178 char pkg[], int32_t capacity) {
191 if(len>=capacity) {
193 basename, (long)capacity);
252 char *filename, int32_t capacity) {
257 if((int32_t)(strlen(path)+1)>=capacity) {
273 if((int32_t)((s-filename)+strlen(name))>=capacity) {
283 char *filename, int32_t capacity) {
287 makeFullFilename(path, name, filename, capacity);
177 extractPackageName(const char *filename, char pkg[], int32_t capacity) argument
251 makeFullFilename(const char *path, const char *name, char *filename, int32_t capacity) argument
282 makeFullFilenameAndDirs(const char *path, const char *name, char *filename, int32_t capacity) argument
/macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/bits/
H A Dstl_bvector.h520 if (__x.size() > capacity())
591 capacity() const function in class:vector
635 if (this->capacity() < __n)
907 if (capacity() - size() >= __n)
951 if (capacity() - size() >= __n)
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Ddigitlst.cpp586 int32_t capacity = 0;
587 char *buffer = str.clear().getAppendBuffer(maxLength, 0, capacity, status);
591 U_ASSERT(capacity >= maxLength);
/macosx-10.9.5/ICU-511.35/icuSources/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
/macosx-10.9.5/Security-55471.14.18/include/security_cryptkit/
H A DgiantFFT.c189 if (abs(x->sign) > x->capacity) NSGiantRaise("addsignal overflow");
213 if (abs(gx->sign) > gx->capacity) NSGiantRaise("GiantFFTSquare overflow");
243 if (abs(x->sign) > x->capacity) NSGiantRaise("GiantFFTMul overflow");
/macosx-10.9.5/Security-55471.14.18/libsecurity_cryptkit/lib/
H A DgiantFFT.c189 if (abs(x->sign) > x->capacity) NSGiantRaise("addsignal overflow");
213 if (abs(gx->sign) > gx->capacity) NSGiantRaise("GiantFFTSquare overflow");
243 if (abs(x->sign) > x->capacity) NSGiantRaise("GiantFFTMul overflow");
/macosx-10.9.5/WebKit-7537.78.2/blackberry/WebKitSupport/
H A DAboutData.cpp262 builder.append(numberToHTMLTr("Total used memory (malloc + JSC)", mallocInfo.m_small_allocmem + mallocInfo.m_allocmem + jscMemoryStat.stackBytes + jscMemoryStat.JITBytes + mainHeap.capacity()));
282 builder.append(numberToHTMLTr("Main heap capacity", mainHeap.capacity()));
393 unsigned totalUsedMemory = static_cast<unsigned>(mallocInfo.m_small_allocmem + mallocInfo.m_allocmem + jscMemoryStat.stackBytes + jscMemoryStat.JITBytes + mainHeap.capacity());
/macosx-10.9.5/llvmCore-3425.0.33/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()) {
/macosx-10.9.5/BerkeleyDB-21/db/libdb_java/
H A Djava_typemaps.i120 jlong capacity;
172 capacity = (*jenv)->GetDirectBufferCapacity(jenv,
174 if (capacity > (jlong)UINT32_MAX)
178 ldbt->array_len = (u_int32_t)capacity;

Completed in 340 milliseconds

<<1112131415