Searched refs:initWithCapacity (Results 1 - 25 of 67) sorted by relevance

123

/macosx-10.10.1/Security-57031.1.35/Security/Keychain Circle Notification/
H A DNSArray+mapWithBlock.m31 NSMutableArray *mapped = [[NSMutableArray alloc] initWithCapacity:self.count];
/macosx-10.10.1/xnu-2782.1.97/iokit/IOKit/
H A DIODataQueue.h88 * @discussion The actual size of the entire data queue memory region (to be shared into a user process) is equal to the capacity plus the IODataQueueMemory overhead. This overhead value can be determined from the DATA_QUEUE_MEMORY_HEADER_SIZE macro in <IOKit/IODataQueueShared.h>. The size of the data queue memory region must include space for the overhead of each IODataQueueEntry. This entry overhead can be determined from the DATA_QUEUE_ENTRY_HEADER_SIZE macro in <IOKit/IODataQueueShared.h>.<br> This method allocates a new IODataQueue instance and then calls initWithCapacity() with the given size parameter. If the initWithCapacity() fails, the new instance is released and zero is returned.
105 * @function initWithCapacity
111 virtual Boolean initWithCapacity(UInt32 size);
H A DIOInterleavedMemoryDescriptor.h65 /*! @function initWithCapacity
72 virtual bool initWithCapacity( IOByteCount capacity,
H A DIOSharedDataQueue.h90 * @discussion The actual size of the entire data queue memory region (to be shared into a user process) is equal to the capacity plus the IODataQueueMemory overhead. This overhead value can be determined from the DATA_QUEUE_MEMORY_HEADER_SIZE macro in <IOKit/IODataQueueShared.h>. The size of the data queue memory region must include space for the overhead of each IODataQueueEntry. This entry overhead can be determined from the DATA_QUEUE_ENTRY_HEADER_SIZE macro in <IOKit/IODataQueueShared.h>.<br> This method allocates a new IODataQueue instance and then calls initWithCapacity() with the given size parameter. If the initWithCapacity() fails, the new instance is released and zero is returned.
107 * @function initWithCapacity
113 virtual Boolean initWithCapacity(UInt32 size);
/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/
H A DIODataQueue.cpp57 if (!dataQueue->initWithCapacity(size)) {
80 Boolean IODataQueue::initWithCapacity(UInt32 size) function in class:IODataQueue
129 return (initWithCapacity((numEntries + 1) * (DATA_QUEUE_ENTRY_HEADER_SIZE + entrySize)));
H A DIOInterleavedMemoryDescriptor.cpp47 if ( me && !me->initWithCapacity(
58 bool IOInterleavedMemoryDescriptor::initWithCapacity( function in class:IOInterleavedMemoryDescriptor
/macosx-10.10.1/WebKit-7600.1.25/mac/WebCoreSupport/
H A DSearchPopupMenuMac.mm62 RetainPtr<NSMutableArray> items = adoptNS([[NSMutableArray alloc] initWithCapacity:searchItems.size()]);
H A DWebApplicationCache.mm103 NSMutableArray *webOrigins = [[[NSMutableArray alloc] initWithCapacity:coreOrigins.size()] autorelease];
/macosx-10.10.1/IONetworkingFamily-101/
H A DIOPacketQueue.cpp64 bool IOPacketQueue::initWithCapacity(UInt32 capacity) function in class:IOPacketQueue
93 if (queue && !queue->initWithCapacity(capacity))
H A DIOPacketQueue.h95 /*! @function initWithCapacity
103 virtual bool initWithCapacity(UInt32 capacity =
/macosx-10.10.1/xnu-2782.1.97/libkern/c++/
H A DOSSerialize.cpp169 bool OSSerialize::initWithCapacity(unsigned int inCapacity) function in class:OSSerialize
205 if (me && !me->initWithCapacity(inCapacity)) {
H A DOSSet.cpp50 bool OSSet::initWithCapacity(unsigned int inCapacity) function in class:OSSet
75 if (!inObjects || !initWithCapacity(capacity))
109 if (me && !me->initWithCapacity(capacity)) {
H A DOSArray.cpp61 bool OSArray::initWithCapacity(unsigned int inCapacity) function in class:OSArray
100 if (!objects || !initWithCapacity(initCapacity))
130 if (me && !me->initWithCapacity(capacity)) {
H A DOSData.cpp59 bool OSData::initWithCapacity(unsigned int inCapacity) function in class:OSData
90 if ((inLength && !bytes) || !initWithCapacity(inLength))
132 if (me && !me->initWithCapacity(inCapacity)) {
/macosx-10.10.1/Security-57031.1.35/Security/Keychain/
H A DKDSecCircle.m58 NSMutableArray *newApplicants = [[NSMutableArray alloc] initWithCapacity:peerInfos.count];
64 NSMutableArray *newPeers = [[NSMutableArray alloc] initWithCapacity:peerInfos.count];
/macosx-10.10.1/xnu-2782.1.97/libkern/libkern/c++/
H A DOSArray.h203 * @function initWithCapacity
224 virtual bool initWithCapacity(unsigned int capacity);
H A DOSData.h238 * @function initWithCapacity
260 virtual bool initWithCapacity(unsigned int capacity);
H A DOSOrderedSet.h190 * @function initWithCapacity
232 virtual bool initWithCapacity(
H A DOSSerialize.h302 virtual bool initWithCapacity(unsigned int inCapacity);
H A DOSSet.h241 * @function initWithCapacity
263 virtual bool initWithCapacity(unsigned int capacity);
H A DOSDictionary.h279 * @function initWithCapacity
301 virtual bool initWithCapacity(unsigned int capacity);
/macosx-10.10.1/IOFireWireSBP2-425/IOFireWireSBP2/
H A DIOFireWireSBP2LSIWorkaroundDescriptor.h139 virtual bool initWithCapacity
/macosx-10.10.1/IOHIDFamily-606.1.7/IOHIDFamily/
H A DIOHIDEventServiceQueue.cpp42 if (!dataQueue->initWithCapacity(size)) {
/macosx-10.10.1/WebKit-7600.1.25/mac/Misc/
H A DWebElementDictionary.mm166 _cache = [[NSMutableDictionary alloc] initWithCapacity:lookupTableCount];
170 _nilValues = [[NSMutableSet alloc] initWithCapacity:lookupTableCount];
/macosx-10.10.1/WebKit-7600.1.25/mac/Storage/
H A DWebDatabaseManager.mm94 NSMutableArray *webOrigins = [[NSMutableArray alloc] initWithCapacity:coreOrigins.size()];
111 NSMutableArray *names = [[NSMutableArray alloc] initWithCapacity:nameVector.size()];

Completed in 154 milliseconds

123