Lines Matching refs:rep
51 inline char* data_from_rep(_Rep_base* rep) noexcept { in data_from_rep() argument
52 char* data = reinterpret_cast<char*>(rep); in data_from_rep()
53 return data + sizeof(*rep); in data_from_rep()
80 _Rep_base* rep = static_cast<_Rep_base*>(::operator new(sizeof(*rep) + len + 1)); in __libcpp_refstring() local
81 rep->len = len; in __libcpp_refstring()
82 rep->cap = len; in __libcpp_refstring()
83 rep->count = 0; in __libcpp_refstring()
84 char* data = data_from_rep(rep); in __libcpp_refstring()
110 _Rep_base* rep = rep_from_data(__imp_); in ~__libcpp_refstring() local
111 if (__libcpp_atomic_add(&rep->count, count_t(-1)) < 0) { in ~__libcpp_refstring()
112 ::operator delete(rep); in ~__libcpp_refstring()