Home | History | Annotate | Download | only in ADT

Lines Matching defs:SMS

225     SMSPtrTy SMS;
230 : SMS(P), Idx(I), SparseIdx(SI) {}
237 assert(Idx < SMS->Dense.size() && "Out of range, non-INVALID Idx?");
242 bool isKeyed() const { return SparseIdx < SMS->Universe; }
244 unsigned Prev() const { return SMS->Dense[Idx].Prev; }
245 unsigned Next() const { return SMS->Dense[Idx].Next; }
247 void setPrev(unsigned P) { SMS->Dense[Idx].Prev = P; }
248 void setNext(unsigned N) { SMS->Dense[Idx].Next = N; }
258 assert(isKeyed() && SMS->sparseIndex(SMS->Dense[Idx].Data) == SparseIdx &&
261 return SMS->Dense[Idx].Data;
268 if (SMS == RHS.SMS && Idx == RHS.Idx) {
284 assert((isEnd() || !SMS->isHead(SMS->Dense[Idx])) &&
289 Idx = SMS->findIndex(SparseIdx).Prev();
382 return const_iterator(I.SMS, I.Idx, KeyIndexOf(Key));