/macosx-10.9.5/xnu-2422.115.4/iokit/IOKit/ |
H A D | IOBufferMemoryDescriptor.h | 87 vm_size_t capacity, 96 mach_vm_size_t capacity, 131 * hold capacity bytes. The descriptor's length is initially set to the 132 * capacity. 136 vm_size_t capacity, 141 vm_size_t capacity, 158 @param capacity The number of bytes to allocate. 165 vm_size_t capacity, 180 @param capacity The number of bytes to allocate. 187 mach_vm_size_t capacity, [all...] |
H A D | IOInterleavedMemoryDescriptor.h | 58 @param capacity The maximum number of IOMemoryDescriptors that may be subsequently added to this IOInterleavedMemoryDescriptor. 62 static IOInterleavedMemoryDescriptor * withCapacity( IOByteCount capacity, 68 @param capacity The maximum number of IOMemoryDescriptors that may be subsequently added to this IOInterleavedMemoryDescriptor. 72 virtual bool initWithCapacity( IOByteCount capacity, 77 @discussion Clears each IOMemoryDescriptor by completing (if needed) and releasing. The IOInterleavedMemoryDescriptor is then reset and may accept new descriptors up to the capacity specified when it was created.
|
H A D | IORangeAllocator.h | 56 UInt32 capacity; member in class:IORangeAllocator 75 @discussion This method initializes an IORangeAllocator and optionally sets the free list to contain one fragment, from zero to an endOfRange parameter. The capacity in terms of free fragments and locking options are set for the instance. 78 @param capacity Sets the initial size of the free list in number of noncontiguous fragments. This value is also used for the capacityIncrement. 84 UInt32 capacity, 89 @discussion This method allocates and initializes an IORangeAllocator and optionally sets the free list to contain one fragment, from zero to an endOfRange parameter. The capacity in terms of free fragments and locking options are set for the instance. 92 @param capacity Sets the initial size of the free list in number of non-contiguous fragments. This value is also used for the capacityIncrement. 98 UInt32 capacity = 0, 114 @discussion This method returns the current capacity of the free fragment list. 115 @result Returns the current capacity of free fragment list. 122 @discussion This method sets the number of extra fragments the free list will expand to when full. It defaults to the initial capacity [all...] |
/macosx-10.9.5/xnu-2422.115.4/iokit/Kernel/ |
H A D | IOBufferMemoryDescriptor.cpp | 100 vm_size_t capacity, 105 return (initWithPhysicalMask(inTask, options, capacity, alignment, physicalMask)); 112 mach_vm_size_t capacity, 125 if (!capacity) 129 _capacity = capacity; 165 capacity = round_page(capacity); 260 capacity = round_page(capacity); 263 capacity, highestMas 98 initWithOptions( IOOptionBits options, vm_size_t capacity, vm_offset_t alignment, task_t inTask) argument 109 initWithPhysicalMask( task_t inTask, IOOptionBits options, mach_vm_size_t capacity, mach_vm_address_t alignment, mach_vm_address_t physicalMask) argument 375 inTaskWithOptions( task_t inTask, IOOptionBits options, vm_size_t capacity, vm_offset_t alignment) argument 390 inTaskWithPhysicalMask( task_t inTask, IOOptionBits options, mach_vm_size_t capacity, mach_vm_address_t physicalMask) argument 407 initWithOptions( IOOptionBits options, vm_size_t capacity, vm_offset_t alignment) argument 416 withOptions( IOOptionBits options, vm_size_t capacity, vm_offset_t alignment) argument [all...] |
H A D | IOInterleavedMemoryDescriptor.cpp | 36 IOByteCount capacity, 48 /* capacity */ capacity, 59 IOByteCount capacity, 68 assert(capacity); 83 _descriptors = IONew(IOMemoryDescriptor *, capacity); 84 _descriptorOffsets = IONew(IOByteCount, capacity); 85 _descriptorLengths = IONew(IOByteCount, capacity); 90 _descriptorCapacity = capacity; 35 withCapacity( IOByteCount capacity, IODirection direction ) argument 58 initWithCapacity( IOByteCount capacity, IODirection direction ) argument
|
/macosx-10.9.5/IONetworkingFamily-100/ |
H A D | IOMbufQueue.h | 36 uint32_t capacity; member in struct:IOMbufQueue 47 void IOMbufQueueInit( IOMbufQueue * q, uint32_t capacity = 0 ) 52 q->capacity = capacity; 58 if (q->count >= q->capacity) 168 return q->capacity; 172 void IOMbufQueueSetCapacity( IOMbufQueue * q, uint32_t capacity ) 174 q->capacity = capacity;
|
H A D | IOBasicOutputQueue.h | 127 @param capacity The initial capacity of the output queue. 133 UInt32 capacity = 0, 141 @param capacity The initial capacity of the output queue. 146 UInt32 capacity = 0); 153 @param capacity The initial capacity of the output queue. 159 UInt32 capacity, 169 @param capacity Th [all...] |
H A D | IOOutputQueue.cpp | 198 UInt32 capacity, 227 _stats->capacity = capacity; 240 IOMbufQueueInit(&(_primaryQueues[i]), capacity); 241 IOMbufQueueInit(&(_shadowQueues[i]), capacity); 261 UInt32 capacity) 263 return IOBasicOutputQueue::withTarget(target, capacity, 1 /* priorities */); 268 UInt32 capacity, 273 if (queue && !queue->init(target, target->getOutputHandler(), capacity, priorities)) 284 UInt32 capacity) 196 init(OSObject * target, IOOutputAction action, UInt32 capacity, UInt32 priorities) argument 260 withTarget(IONetworkController * target, UInt32 capacity) argument 267 withTarget(IONetworkController * target, UInt32 capacity, UInt32 priorities) argument 282 withTarget(OSObject * target, IOOutputAction action, UInt32 capacity) argument 290 withTarget(OSObject * target, IOOutputAction action, UInt32 capacity, UInt32 priorities) argument 661 setCapacity(UInt32 capacity) argument 797 init(OSObject * target, IOOutputAction action, IOWorkLoop * workloop, UInt32 capacity, UInt32 priorities) argument 837 withTarget(IONetworkController * target, IOWorkLoop * workloop, UInt32 capacity) argument 845 withTarget(IONetworkController * target, IOWorkLoop * workloop, UInt32 capacity, UInt32 priorities) argument 862 withTarget(OSObject * target, IOOutputAction action, IOWorkLoop * workloop, UInt32 capacity) argument 871 withTarget(OSObject * target, IOOutputAction action, IOWorkLoop * workloop, UInt32 capacity, UInt32 priorities) argument [all...] |
H A D | IOPacketQueue.cpp | 64 bool IOPacketQueue::initWithCapacity(UInt32 capacity) argument 76 IOMbufQueueInit(_queue, capacity); 89 IOPacketQueue * IOPacketQueue::withCapacity(UInt32 capacity) argument 93 if (queue && !queue->initWithCapacity(capacity)) 131 // Change the capacity of the queue. 133 bool IOPacketQueue::setCapacity(UInt32 capacity) argument 135 IOMbufQueueSetCapacity(_queue, capacity); 140 // Get the capacity of the queue.
|
H A D | IOPacketQueue.h | 72 @abstract Describes the default capacity of the 74 @discussion The capacity is only observed by the enqueue() method. 76 capacity when other methods, such as prepend(), are used to add packets 87 @param capacity The initial capacity of the queue object. Can be 92 static IOPacketQueue * withCapacity(UInt32 capacity = 97 @discussion This method initializes an IOPacketQueue object with the given capacity. 98 @param capacity The initial capacity of the queue. Can be later changed 103 virtual bool initWithCapacity(UInt32 capacity [all...] |
/macosx-10.9.5/xnu-2422.115.4/libkern/c++/ |
H A D | OSArray.cpp | 74 capacity = inCapacity; 122 OSArray *OSArray::withCapacity(unsigned int capacity) argument 126 if (me && !me->initWithCapacity(capacity)) { 136 unsigned int capacity) 140 if (me && !me->initWithObjects(objects, count, capacity)) { 149 unsigned int capacity) 153 if (me && !me->initWithArray(array, capacity)) { 169 kfree(array, sizeof(const OSMetaClassBase *) * capacity); 170 ACCUMSIZE( -(sizeof(const OSMetaClassBase *) * capacity) ); 178 unsigned int OSArray::getCapacity() const { return capacity; } 134 withObjects(const OSObject *objects[], unsigned int count, unsigned int capacity) argument 148 withArray(const OSArray *array, unsigned int capacity) argument [all...] |
H A D | OSSet.cpp | 66 unsigned int capacity = inCount; local 72 capacity = inCapacity; 75 if (!inObjects || !initWithCapacity(capacity)) 105 OSSet *OSSet::withCapacity(unsigned int capacity) argument 109 if (me && !me->initWithCapacity(capacity)) { 119 unsigned int capacity) 123 if (me && !me->initWithObjects(objects, count, capacity)) { 132 unsigned int capacity) 136 if (me && !me->initWithArray(array, capacity)) { 145 unsigned int capacity) 117 withObjects(const OSObject *objects[], unsigned int count, unsigned int capacity) argument 131 withArray(const OSArray *array, unsigned int capacity) argument 144 withSet(const OSSet *set, unsigned int capacity) argument [all...] |
H A D | OSOrderedSet.cpp | 77 capacity = inCapacity; 89 withCapacity(unsigned int capacity, argument 94 if (me && !me->initWithCapacity(capacity, ordering, orderingRef)) { 108 kfree(array, sizeof(_Element) * capacity); 109 ACCUMSIZE( -(sizeof(_Element) * capacity) ); 116 unsigned int OSOrderedSet::getCapacity() const { return capacity; } 130 if (newCapacity <= capacity) 131 return capacity; 140 oldSize = sizeof(_Element) * capacity; 145 bzero(&newArray[capacity], newSiz [all...] |
/macosx-10.9.5/ICU-511.35/icuSources/common/ |
H A D | unorm_it.c | 51 * capacity: length of allocated arrays 53 int32_t capacity; member in struct:UNormIterator 79 api->start=api->index=api->limit=uni->capacity; 84 api->start=api->index=api->limit=uni->capacity/2; 90 reallocArrays(UNormIterator *uni, int32_t capacity, UBool addAtStart) { argument 98 states=(uint32_t *)uprv_malloc((capacity+1)*4+capacity*2); 103 chars=(UChar *)(states+(capacity+1)); 104 uni->capacity=capacity; 195 int32_t limit, capacity, room; local 265 int32_t start, capacity, room; local [all...] |
H A D | uenum.c | 31 or reallocating it if at least 'capacity' bytes are not available. */ 32 static void* _getBuffer(UEnumeration* en, int32_t capacity) { argument 35 if (((_UEnumBuffer*) en->baseContext)->len < capacity) { 36 capacity += PAD; 38 sizeof(int32_t) + capacity); 42 ((_UEnumBuffer*) en->baseContext)->len = capacity; 45 capacity += PAD; 46 en->baseContext = uprv_malloc(sizeof(int32_t) + capacity); 50 ((_UEnumBuffer*) en->baseContext)->len = capacity;
|
H A D | cmemory.h | 191 * must be no more than the capacity of the old array, 243 * Provides an internal array with fixed capacity. Can alias another array 258 MaybeStackArray() : ptr(stackArray), capacity(stackCapacity), needToRelease(FALSE) {} 264 * Returns the array capacity (number of T items). 265 * @return array capacity 267 int32_t getCapacity() const { return capacity; } 277 T *getArrayLimit() const { return getAlias()+capacity; } 304 capacity=otherCapacity; 313 * @param newCapacity can be less than or greater than the current capacity; 324 * and capacity o 332 int32_t capacity; member in class:MaybeStackArray 510 int32_t capacity; member in class:MaybeStackHeaderAndArray [all...] |
H A D | bytestream.cpp | 29 CheckedArrayByteSink::CheckedArrayByteSink(char* outbuf, int32_t capacity) argument 30 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity),
|
H A D | unistr_case.cpp | 113 int32_t capacity; local 115 capacity = US_STACKBUF_SIZE; 117 capacity = oldLength + 20; 120 if(!cloneArrayIfNeeded(capacity, capacity, FALSE, &bufferToDelete, TRUE)) {
|
H A D | uvectr32.cpp | 29 capacity(0), 38 capacity(0), 62 capacity = initialCapacity; 203 if (capacity >= minimumCapacity) { 210 if (capacity > (INT32_MAX - 1) / 2) { // integer overflow check 214 int32_t newCap = capacity * 2; 233 capacity = newCap; 243 // Something is very wrong, don't realloc, leave capacity and maxCapacity unchanged 247 if (capacity <= maxCapacity || maxCapacity == 0) { 248 // Current capacity i [all...] |
/macosx-10.9.5/ICU-511.35/icuSources/common/unicode/ |
H A D | uidna.h | 218 * @param capacity Destination buffer capacity 230 UChar *dest, int32_t capacity, 245 * @param capacity Destination buffer capacity 257 UChar *dest, int32_t capacity, 274 * @param capacity Destination buffer capacity 286 UChar *dest, int32_t capacity, 301 * @param capacity Destinatio [all...] |
/macosx-10.9.5/WebCore-7537.78.1/icu/unicode/ |
H A D | uidna.h | 202 * @param capacity Destination buffer capacity 214 UChar *dest, int32_t capacity, 229 * @param capacity Destination buffer capacity 241 UChar *dest, int32_t capacity, 258 * @param capacity Destination buffer capacity 270 UChar *dest, int32_t capacity, 285 * @param capacity Destinatio [all...] |
/macosx-10.9.5/WebKit-7537.78.2/mac/icu/unicode/ |
H A D | uidna.h | 202 * @param capacity Destination buffer capacity 214 UChar *dest, int32_t capacity, 229 * @param capacity Destination buffer capacity 241 UChar *dest, int32_t capacity, 258 * @param capacity Destination buffer capacity 270 UChar *dest, int32_t capacity, 285 * @param capacity Destinatio [all...] |
/macosx-10.9.5/ICU-511.35/icuSources/i18n/ |
H A D | nfrlist.h | 39 NFRuleList(uint32_t capacity = 10) 40 : fStuff(capacity ? (NFRule**)uprv_malloc(capacity * sizeof(NFRule*)) : NULL) 42 , fCapacity(capacity) {}
|
/macosx-10.9.5/ICU-511.35/icuSources/tools/toolutil/ |
H A D | toolutil.cpp | 216 int32_t capacity, maxCapacity, size, idx; member in struct:UToolMemory 237 mem->capacity=initialCapacity; 267 utm_hasCapacity(UToolMemory *mem, int32_t capacity) { argument 268 if(mem->capacity<capacity) { 271 if(mem->maxCapacity<capacity) { 278 if(capacity>=2*mem->capacity) { 279 newCapacity=capacity; 280 } else if(mem->capacity< [all...] |
/macosx-10.9.5/WebCore-7537.78.1/platform/text/ |
H A D | AtomicStringKeyedMRUCache.h | 33 template<typename T, size_t capacity = 4> 55 if (m_cache.size() == capacity) 67 typedef Vector<Entry, capacity> Cache;
|