Home
last modified time | relevance | path

Searched refs:_Element (Results 1 – 2 of 2) sorted by relevance

/xnu-11215/libkern/c++/
H A DOSOrderedSet.cpp50 struct _Element { struct
66 if (inCapacity > (UINT_MAX / sizeof(_Element))) { in initWithCapacity() argument
70 array = kallocp_type_container(_Element, &inCapacity, Z_WAITOK_ZERO); in initWithCapacity()
81 OSCONTAINER_ACCUMSIZE(sizeof(_Element) * inCapacity); in initWithCapacity()
130 kfree_type(_Element, capacity, array); in free()
131 OSCONTAINER_ACCUMSIZE( -(sizeof(_Element) * capacity)); in free()
162 _Element *newArray; in ensureCapacity()
176 newArray = kreallocp_type_container(_Element, array, in ensureCapacity()
179 OSCONTAINER_ACCUMSIZE(sizeof(_Element) * (finalCapacity - capacity)); in ensureCapacity()
/xnu-11215/libkern/libkern/c++/
H A DOSOrderedSet.h131 struct _Element * array;