Lines Matching refs:Index
31 // Type for the index of a block in the array
32 typedef unsigned int Index;
37 Index cap;
39 Index len;
44 NumberlikeArray(Index c) : cap(c), len(0) {
63 void allocate(Index c);
67 void allocateAndCopy(Index c);
76 NumberlikeArray(const Blk *b, Index blen);
79 Index getCapacity() const { return cap; }
80 Index getLength() const { return len; }
81 Blk getBlock(Index i) const { return blk[i]; }
101 void NumberlikeArray<Blk>::allocate(Index c) {
113 void NumberlikeArray<Blk>::allocateAndCopy(Index c) {
121 Index i;
136 Index i;
152 Index i;
158 NumberlikeArray<Blk>::NumberlikeArray(const Blk *b, Index blen)
163 Index i;
175 Index i;