Lines Matching defs:index
167 bool OSOrderedSet::setObject(unsigned int index, const OSMetaClassBase *anObject)
172 if ((index > count) || !anObject)
183 if (index != count) {
184 for (i = count; i > index; i--)
187 array[index].obj = anObject;
188 // array[index].pri = pri;
259 OSObject *OSOrderedSet::getObject( unsigned int index ) const
261 if (index >= count)
265 // *pri = array[index].pri;
267 return( const_cast<OSObject *>((const OSObject *) array[index].obj) );
342 unsigned int index = (*iteratorP)++;
344 if (index < count)
345 *ret = const_cast<OSObject *>((const OSObject *) array[index].obj);