Lines Matching refs:index
44 Returns the index of the item that matches key or
45 a negative number. Then -(index+1) is the insert position
80 int32 &index);
116 int32 index;
118 BinarySearch(key, items, list->CountItems(), index);
119 return index;
126 int32 index;
128 return BinarySearch(key, items, list->CountItems(), index);
156 int32 numItems, int32 &index)
160 index = found - items;
161 if (index != numItems && Compare(key, *found) == 0) {
164 index = -(index + 1);
275 for (int32 index = 0; index < numItems; index++) {
276 result = function(ItemAtFast(index), arg);
364 _PointerList_::ReplaceItem(int32 index, void *newItem)
366 if (index < 0 || index >= CountItems())
370 items[index] = newItem;