Lines Matching defs:entryIdx
115 int entryIdx;
117 entryIdx = this->search(desc);
118 if (entryIdx >= 0) {
119 entry = fEntries[entryIdx];
158 // just before the entry at ~entryIdx (in order to keep fEntries sorted by descriptor).
159 entryIdx = ~entryIdx;
160 if (entryIdx < purgeIdx) {
161 // Let E and P be the entries at index entryIdx and purgeIdx, respectively.
166 size_t copySize = (purgeIdx - entryIdx) * sizeof(Entry*);
167 memmove(fEntries + entryIdx + 1, fEntries + entryIdx, copySize);
168 fEntries[entryIdx] = entry;
169 } else if (purgeIdx < entryIdx) {
174 size_t copySize = (entryIdx - purgeIdx - 1) * sizeof(Entry*);
176 fEntries[entryIdx - 1] = entry;