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

/xnu-2422.115.4/iokit/IOKit/
H A DIODataQueue.h79 * @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.
96 * @function initWithCapacity
102 virtual Boolean initWithCapacity(UInt32 size);
H A DIOInterleavedMemoryDescriptor.h65 /*! @function initWithCapacity
72 virtual bool initWithCapacity( IOByteCount capacity,
H A DIOSharedDataQueue.h72 * @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.
89 * @function initWithCapacity
95 virtual Boolean initWithCapacity(UInt32 size);
/xnu-2422.115.4/iokit/Kernel/
H A DIODataQueue.cpp52 if (!dataQueue->initWithCapacity(size)) {
75 Boolean IODataQueue::initWithCapacity(UInt32 size) function in class:IODataQueue
117 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
H A DIOSharedDataQueue.cpp51 if (!dataQueue->initWithCapacity(size)) {
74 Boolean IOSharedDataQueue::initWithCapacity(UInt32 size) function in class:IOSharedDataQueue
H A DIOMemoryDescriptor.cpp2349 else if (!_memoryEntries->initWithCapacity(dataSize))
/xnu-2422.115.4/libkern/libkern/c++/
H A DOSSerialize.h274 virtual bool initWithCapacity(unsigned int inCapacity);
H A DOSArray.h202 * @function initWithCapacity
223 virtual bool initWithCapacity(unsigned int capacity);
H A DOSData.h222 * @function initWithCapacity
244 virtual bool initWithCapacity(unsigned int capacity);
H A DOSOrderedSet.h190 * @function initWithCapacity
232 virtual bool initWithCapacity(
H A DOSSet.h240 * @function initWithCapacity
262 virtual bool initWithCapacity(unsigned int capacity);
H A DOSDictionary.h278 * @function initWithCapacity
300 virtual bool initWithCapacity(unsigned int capacity);
/xnu-2422.115.4/libkern/c++/
H A DOSSerialize.cpp146 bool OSSerialize::initWithCapacity(unsigned int inCapacity) function in class:OSSerialize
182 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
96 if (!objects || !initWithCapacity(initCapacity))
126 if (me && !me->initWithCapacity(capacity)) {
H A DOSData.cpp65 bool OSData::initWithCapacity(unsigned int inCapacity) function in class:OSData
96 if ((inLength && !bytes) || !initWithCapacity(inLength))
138 if (me && !me->initWithCapacity(inCapacity)) {
H A DOSDictionary.cpp64 bool OSDictionary::initWithCapacity(unsigned int inCapacity) function in class:OSDictionary
104 if (!initWithCapacity(newCapacity))
134 if (!initWithCapacity(newCapacity))
172 if (!initWithCapacity(newCapacity))
198 if (me && !me->initWithCapacity(capacity)) {
H A DOSOrderedSet.cpp63 initWithCapacity(unsigned int inCapacity, function in class:OSOrderedSet
94 if (me && !me->initWithCapacity(capacity, ordering, orderingRef)) {

Completed in 144 milliseconds