14 Pair* stop = fList.
end();
22bool SkPtrSet::Less(
const Pair&
a,
const Pair&
b) {
23 return (
char*)
a.fPtr < (
char*)
b.fPtr;
35 int index = SkTSearch<Pair, Less>(fList.
begin(),
count, pair,
sizeof(pair));
39 return fList[index].fIndex;
51 int index = SkTSearch<Pair, Less>(fList.
begin(),
count, pair,
sizeof(pair));
55 pair.fIndex =
count + 1;
56 *fList.
insert(index) = pair;
59 return fList[index].fIndex;
67 const Pair*
p = fList.
begin();
70 int index =
p[
i].fIndex - 1;
72 array[index] =
p[
i].fPtr;
virtual void incPtr(void *)
uint32_t find(void *) const
void copyToArray(void *array[]) const
virtual void decPtr(void *)