Lines Matching refs:index
34 int index = SkTSearch<Pair>(fList.begin(), count, pair, sizeof(pair), &Cmp);
35 if (index < 0) {
38 return fList[index].fIndex;
50 int index = SkTSearch<Pair>(fList.begin(), count, pair, sizeof(pair), &Cmp);
51 if (index < 0) {
52 index = ~index; // turn it back into an index for insertion
55 *fList.insert(index) = pair;
58 return fList[index].fIndex;
69 int index = p[i].fIndex - 1;
70 SkASSERT((unsigned)index < (unsigned)count);
71 array[index] = p[i].fPtr;