Lines Matching refs:End
58 T *Begin, *End, *Capacity;
60 void setEnd(T *P) { this->End = P; }
64 ASTVector() : Begin(NULL), End(NULL), Capacity(NULL) { }
67 : Begin(NULL), End(NULL), Capacity(NULL) {
74 destroy_range(Begin, End);
95 iterator end() { return End; }
96 const_iterator end() const { return End; }
104 bool empty() const { return Begin == End; }
105 size_type size() const { return End-Begin; }
108 assert(Begin + idx < End);
112 assert(Begin + idx < End);
131 --End;
132 End->~T();
143 destroy_range(Begin, End);
145 End = Begin;
159 if (End < Capacity) {
161 new (End) T(Elt);
162 ++End;
223 if (this->End < this->Capacity) {
385 std::uninitialized_copy(Begin, End, NewElts);
387 destroy_range(Begin, End);
396 End = NewElts+CurSize;