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()
85 _Rep_base* rep = static_cast<_Rep_base *>(::operator new(sizeof(*rep) + len + 1)); in __libcpp_refstring() local
86 rep->len = len; in __libcpp_refstring()
87 rep->cap = len; in __libcpp_refstring()
88 rep->count = 0; in __libcpp_refstring()
89 char *data = data_from_rep(rep); in __libcpp_refstring()
122 _Rep_base* rep = rep_from_data(__imp_); in ~__libcpp_refstring() local
123 if (__libcpp_atomic_add(&rep->count, count_t(-1)) < 0) { in ~__libcpp_refstring()
124 ::operator delete(rep); in ~__libcpp_refstring()