Searched refs:capacity (Results 101 - 125 of 372) sorted by relevance

1234567891011>>

/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Duvector.cpp32 capacity(0),
42 capacity(0),
52 capacity(0),
62 capacity(0),
82 capacity = initialCapacity;
334 if (capacity < minimumCapacity) {
335 if (capacity > (INT32_MAX - 1) / 2) { // integer overflow check
339 int32_t newCap = capacity * 2;
355 capacity = newCap;
H A Duscript_props.cpp219 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode) { argument
221 if(capacity < 0 || (capacity > 0 && dest == NULL)) {
231 if(length <= capacity) {
236 return u_terminateUChars(dest, capacity, length, pErrorCode);
H A Dustrenum.cpp81 StringEnumeration::ensureCharsCapacity(int32_t capacity, UErrorCode &status) { argument
82 if(U_SUCCESS(status) && capacity>charsCapacity) {
83 if(capacity<(charsCapacity+charsCapacity/2)) {
85 capacity=charsCapacity+charsCapacity/2;
90 chars=(char *)uprv_malloc(capacity);
96 charsCapacity=capacity;
/macosx-10.9.5/Security-55471.14.18/sec/SOSCircle/SecureObjectSync/
H A DSOSTransport.c20 #define VECTOR_GROW(vector, count, capacity) \
22 if ((count) > capacity) { \
23 capacity = ((capacity) + 16) * 3 / 2; \
24 if (capacity < (count)) \
25 capacity = (count); \
26 vector = realloc((vector), sizeof(*(vector)) * capacity); \
31 VECTOR_GROW(dv->digest, count, dv->capacity);
82 dv->capacity = 0;
H A DSOSTransport.h41 #define SOSDigestVectorInit { .digest = NULL, .count = 0, .capacity = 0, .is_sorted = false }
46 size_t capacity; member in struct:SOSDigestVector
/macosx-10.9.5/CF-855.17/
H A DCFStringScanner.c185 SInt32 capacity = STACK_BUFFER_SIZE; // in chars local
233 if (numChars >= capacity - 1) {
234 capacity += ALLOC_CHUNK_SIZE;
237 charPtr = (char *)CFAllocatorAllocate(tmpAlloc, capacity * sizeof(char), 0);
240 charPtr = (char *)CFAllocatorReallocate(tmpAlloc, charPtr, capacity * sizeof(char), 0);
H A DCFArray.h228 @param capacity A hint about the number of values that will be held
231 operations. An array's actual capacity is only limited by
262 CFMutableArrayRef CFArrayCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFArrayCallBacks *callBacks);
272 @param capacity A hint about the number of values that will be held
275 operations. An array's actual capacity is only limited by
292 CFMutableArrayRef CFArrayCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFArrayRef theArray);
H A DCFDictionary.h336 @param capacity A hint about the number of values that will be held
339 operations. A dictionary's actual capacity is only limited by
398 CFMutableDictionaryRef CFDictionaryCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
409 @param capacity A hint about the number of values that will be held
412 operations. A dictionary's actual capacity is only limited by
431 CFMutableDictionaryRef CFDictionaryCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFDictionaryRef theDict);
/macosx-10.9.5/JavaScriptCore-7537.78.1/heap/
H A DCopiedSpace.cpp220 double markedSpaceBytes = m_heap->objectSpace().capacity();
278 size_t CopiedSpace::capacity() function in class:JSC::CopiedSpace
283 calculatedCapacity += block->capacity();
286 calculatedCapacity += block->capacity();
289 calculatedCapacity += block->capacity();
/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/
H A DSparseArrayValueMap.cpp81 size_t capacity = m_map.capacity(); local
82 if (capacity != m_reportedCapacity) {
83 Heap::heap(array)->reportExtraMemoryCost((capacity - m_reportedCapacity) * (sizeof(unsigned) + sizeof(WriteBarrier<Unknown>)));
84 m_reportedCapacity = capacity;
/macosx-10.9.5/Security-55471.14.18/include/security_cdsa_client/
H A Dmultidldb.cpp43 MultiDLDbDbCursorImpl(const MultiDLDb &parent, uint32 capacity, Allocator &allocator);
131 MultiDLDbImpl::newDbCursor(uint32 capacity, Allocator &allocator) argument
133 return new MultiDLDbDbCursorImpl(MultiDLDb(this), capacity, allocator);
159 uint32 capacity, Allocator &allocator)
160 : DbCursorImpl(parent, capacity, allocator)
158 MultiDLDbDbCursorImpl(const MultiDLDb &parent, uint32 capacity, Allocator &allocator) argument
/macosx-10.9.5/Security-55471.14.18/include/security_cryptkit/
H A Dckutilities.c155 printf("sign=%d cap=%d n[]=", x->sign, x->capacity);
166 printf("sign=%d cap=%d n[]=", x->sign, x->capacity);
182 printf("sign=%d cap=%d n[]=", x->sign, x->capacity);
328 if(numBytes > (g->capacity * GIANT_BYTES_PER_DIGIT)) {
386 if(numBytes > (g->capacity * GIANT_BYTES_PER_DIGIT)) {
/macosx-10.9.5/Security-55471.14.18/libsecurity_cdsa_client/lib/
H A Dmultidldb.cpp43 MultiDLDbDbCursorImpl(const MultiDLDb &parent, uint32 capacity, Allocator &allocator);
131 MultiDLDbImpl::newDbCursor(uint32 capacity, Allocator &allocator) argument
133 return new MultiDLDbDbCursorImpl(MultiDLDb(this), capacity, allocator);
159 uint32 capacity, Allocator &allocator)
160 : DbCursorImpl(parent, capacity, allocator)
158 MultiDLDbDbCursorImpl(const MultiDLDb &parent, uint32 capacity, Allocator &allocator) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_cryptkit/lib/
H A Dckutilities.c155 printf("sign=%d cap=%d n[]=", x->sign, x->capacity);
166 printf("sign=%d cap=%d n[]=", x->sign, x->capacity);
182 printf("sign=%d cap=%d n[]=", x->sign, x->capacity);
328 if(numBytes > (g->capacity * GIANT_BYTES_PER_DIGIT)) {
386 if(numBytes > (g->capacity * GIANT_BYTES_PER_DIGIT)) {
/macosx-10.9.5/ICU-511.35/icuSources/common/unicode/
H A Dunorm2.h272 * @param capacity number of UChars that can be written to dest
283 UChar *dest, int32_t capacity,
343 * @param capacity number of UChars that can be written to decomposition
353 UChar32 c, UChar *decomposition, int32_t capacity,
377 * @param capacity number of UChars that can be written to decomposition
387 UChar32 c, UChar *decomposition, int32_t capacity,
H A Duscript.h409 * If required capacity is greater than capacity of the destination buffer then the error code
410 * is set to U_BUFFER_OVERFLOW_ERROR and the required capacity is returned
418 * @param capacity the capacity (size) fo UScriptCode buffer passed in.
424 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err);
491 * If there are more than capacity script codes to be written, then
499 * @param capacity capacity of the scripts array
505 * written to scripts unless U_BUFFER_OVERFLOW_ERROR indicates insufficient capacity
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/libDER/Tests/
H A DDER_Ticket.c71 memset(derSet->byTag, 0, derSet->capacity);
76 if (element.tag >= derSet->capacity) return DR_UnexpectedTag;
93 if (tagNumber > derSet->capacity)
/macosx-10.9.5/IOSCSIParallelFamily-300.0.2/TestTools/AppleSCSIHBAEmulator/
H A DAppleSCSIPDT00Emulator.cpp104 AppleSCSIPDT00Emulator::WithCapacity ( UInt64 capacity )
110 STATUS_LOG ( ( "AppleSCSIPDT00Emulator::WithCapacity, capacity = %qd\n", capacity ) );
115 result = logicalUnit->InitWithCapacity ( capacity );
140 AppleSCSIPDT00Emulator::InitWithCapacity ( UInt64 capacity )
146 capacity,
152 fBufferSize = capacity;
/macosx-10.9.5/WebKit-7537.78.2/mac/Panels/
H A DWebPanelAuthenticationHandler.m52 windowToPanel = [[NSMapTable alloc] initWithKeyOptions:NSPointerFunctionsStrongMemory valueOptions:NSPointerFunctionsStrongMemory capacity:0];
53 challengeToWindow = [[NSMapTable alloc] initWithKeyOptions:NSPointerFunctionsStrongMemory valueOptions:NSPointerFunctionsStrongMemory capacity:0];
54 windowToChallengeQueue = [[NSMapTable alloc] initWithKeyOptions:NSPointerFunctionsStrongMemory valueOptions:NSPointerFunctionsStrongMemory capacity:0];
/macosx-10.9.5/ICU-511.35/icuSources/tools/toolutil/
H A Ddenseranges.cpp87 * Does it make sense to write 1..capacity ranges?
94 * @param capacity Maximum number of ranges.
95 * @return Minimum number of ranges (at most capacity) that have the desired density,
101 int32_t ranges[][2], int32_t capacity) {
119 // See if we can split [minValue, maxValue] into 2..capacity ranges,
120 // divided by the 1..(capacity-1) largest gaps.
121 LargestGaps gaps(capacity-1);
138 // The values are too sparse for capacity or fewer ranges
99 uprv_makeDenseRanges(const int32_t values[], int32_t length, int32_t density, int32_t ranges[][2], int32_t capacity) argument
/macosx-10.9.5/IOFireWireFamily-455.4.0/IOFireWireLib.CFPlugInProj/
H A DIOFireWireLibVectorCommand.h98 static IOReturn SEnsureCapacity( IOFireWireLibVectorCommandRef self, UInt32 capacity );
99 virtual IOReturn EnsureCapacity( UInt32 capacity );
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/
H A DJSVirtualMachine.mm51 globalWrapperCache = [[NSMapTable alloc] initWithKeyOptions:keyOptions valueOptions:valueOptions capacity:0];
107 m_contextCache = [[NSMapTable alloc] initWithKeyOptions:keyOptions valueOptions:valueOptions capacity:0];
111 m_externalObjectGraph = [[NSMapTable alloc] initWithKeyOptions:weakIDOptions valueOptions:strongIDOptions capacity:0];
158 ownedObjects = [[NSMapTable alloc] initWithKeyOptions:weakIDOptions valueOptions:integerOptions capacity:1];
/macosx-10.9.5/JavaScriptCore-7537.78.1/icu/unicode/
H A Dunorm2.h202 * @param capacity number of UChars that can be written to dest
213 UChar *dest, int32_t capacity,
270 * @param capacity number of UChars that can be written to decomposition
280 UChar32 c, UChar *decomposition, int32_t capacity,
H A Duscript.h229 * If required capacity is greater than capacity of the destination buffer then the error code
230 * is set to U_BUFFER_OVERFLOW_ERROR and the required capacity is returned
238 * @param capacity the capacity (size) fo UScriptCode buffer passed in.
244 uscript_getCode(const char* nameOrAbbrOrLocale,UScriptCode* fillIn,int32_t capacity,UErrorCode *err);
304 * If there are more than capacity script codes to be written, then
312 * @param capacity capacity of the scripts array
318 * written to scripts unless U_BUFFER_OVERFLOW_ERROR indicates insufficient capacity
[all...]
/macosx-10.9.5/WebCore-7537.78.1/icu/unicode/
H A Dunorm2.h202 * @param capacity number of UChars that can be written to dest
213 UChar *dest, int32_t capacity,
270 * @param capacity number of UChars that can be written to decomposition
280 UChar32 c, UChar *decomposition, int32_t capacity,

Completed in 297 milliseconds

1234567891011>>