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

/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);
/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
H A DIOSharedDataQueue.cpp51 if (!dataQueue->initWithCapacity(size)) {
74 Boolean IOSharedDataQueue::initWithCapacity(UInt32 size) function in class:IOSharedDataQueue
H A DIOMemoryDescriptor.cpp3009 else if (!_memoryEntries->initWithCapacity(dataSize))
/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)) {
H A DOSDictionary.cpp64 bool OSDictionary::initWithCapacity(unsigned int inCapacity) function in class:OSDictionary
106 if (!initWithCapacity(newCapacity))
136 if (!initWithCapacity(newCapacity))
174 if (!initWithCapacity(newCapacity))
200 if (me && !me->initWithCapacity(capacity)) {
H A DOSOrderedSet.cpp63 initWithCapacity(unsigned int inCapacity, function in class:OSOrderedSet
97 if (me && !me->initWithCapacity(capacity, ordering, orderingRef)) {
/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);

Completed in 71 milliseconds