Searched refs:alloc_ (Results 1 – 9 of 9) sorted by relevance
| /onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/include/ |
| H A D | StringOf.cxx | 17 : length_(length), alloc_(length) in String() 29 : ptr_(0), length_(0), alloc_(0) in String() 35 : length_(s.length_), alloc_(s.length_) in String() 49 if (s.length_ > alloc_) { in operator =() 51 ptr_ = new T[alloc_ = s.length_]; in operator =() 64 if (length_ + s.length_ > alloc_) in insert() 76 if (length_ + length > alloc_) in append() 86 size_t newAlloc = alloc_; in grow() 87 if (alloc_ < n) in grow() 90 newAlloc += alloc_; in grow() [all …]
|
| H A D | Vector.cxx | 34 : ptr_(0), size_(0), alloc_(0) in Vector() 41 : ptr_(0), size_(0), alloc_(0) in Vector() 120 size_t tem = alloc_; in swap() 121 alloc_ = v.alloc_; in swap() 122 v.alloc_ = tem; in swap() 151 size_t newAlloc = alloc_*2; in reserve1() 155 alloc_ = newAlloc; in reserve1()
|
| H A D | NCVector.cxx | 35 : ptr_(0), size_(0), alloc_(0) 42 : ptr_(0), size_(0), alloc_(0) 121 size_t tem = alloc_; in swap() 122 alloc_ = v.alloc_; in swap() 123 v.alloc_ = tem; in swap() 152 size_t newAlloc = alloc_*2; in reserve1() 156 alloc_ = newAlloc; in reserve1()
|
| H A D | NCVector.h | 26 NCVector() : ptr_(0), size_(0), alloc_(0) { } in NCVector() 27 NCVector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } in NCVector() 57 void reserve(size_t n) { if (n > alloc_) reserve1(n); } in reserve() 69 size_t alloc_; // allocated size variable
|
| H A D | Vector.h | 25 Vector() : ptr_(0), size_(0), alloc_(0) { } in Vector() 26 Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } in Vector() 56 void reserve(size_t n) { if (n > alloc_) reserve1(n); } in reserve() 68 size_t alloc_; // allocated size variable
|
| H A D | StringOf.h | 44 if (length_ >= alloc_) 69 size_t alloc_; variable
|
| H A D | Event.h | 206 Char *alloc_; variable
|
| /onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/lib/ |
| H A D | Event.cxx | 129 : DataEvent(type, p, length, location), alloc_(0) in ImmediateDataEvent() 137 if (alloc_) in ~ImmediateDataEvent() 138 delete [] alloc_; in ~ImmediateDataEvent() 143 if (!alloc_) { in copyData() 144 alloc_ = new Char[length_]; in copyData() 145 memcpy(alloc_, p_, length_*sizeof(Char)); in copyData() 146 p_ = alloc_; in copyData()
|
| H A D | ArcEngine.cxx | 126 Allocator alloc_; member in SP_NAMESPACE::ArcEngineImpl 185 alloc_(maxSize(sizes, SIZEOF(sizes)), 50), in ArcEngineImpl() 376 alloc_)) { in startElement() 421 .data(new (alloc_) CdataEntityEvent(entity->asInternalEntity(), in data() 425 .data(new (alloc_) ImmediateDataEvent(event->type(), in data() 449 .sdataEntity(new (alloc_) in sdataEntity() 479 .externalDataEntity(new (alloc_) in externalDataEntity() 508 arcProcessors_[i].processEndElement(*event, alloc_); in endElement()
|