Lines Matching refs:rep
39 inline char * data_from_rep(_Rep_base *rep) noexcept { in data_from_rep() argument
40 char *data = reinterpret_cast<char *>(rep); in data_from_rep()
41 return data + sizeof(*rep); in data_from_rep()
73 _Rep_base* rep = static_cast<_Rep_base *>(::operator new(sizeof(*rep) + len + 1)); in __libcpp_refstring() local
74 rep->len = len; in __libcpp_refstring()
75 rep->cap = len; in __libcpp_refstring()
76 rep->count = 0; in __libcpp_refstring()
77 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()