Searched refs:NumRefs (Results 1 – 2 of 2) sorted by relevance
238 VectorData() : NumRefs(1) { } in VectorData()239 VectorData(const VectorData &VD) : NumRefs(1), Vect(VD.Vect) { } in VectorData()241 unsigned NumRefs; variable258 bool writable() const { return Data && Data->NumRefs == 1; } in writable()271 if (Data->NumRefs <= 1) in destroy()274 --Data->NumRefs; in destroy()284 if (Data->NumRefs == 1) in makeWritable()286 --Data->NumRefs; in makeWritable()343 ++Data->NumRefs; in CopyOnWriteVector()
415 unsigned NumRefs = 0; in remove() local425 ++NumRefs; in remove()432 AS.RefCount -= NumRefs; in remove()