Home
last modified time | relevance | path

Searched refs:_Rep_base (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/llvm/libcxx/src/include/
H A Drefstring.h40 struct _Rep_base { struct
46 inline _Rep_base* rep_from_data(const char *data_) noexcept { in rep_from_data() argument
48 return reinterpret_cast<_Rep_base *>(data - sizeof(_Rep_base)); in rep_from_data()
51 inline char * data_from_rep(_Rep_base *rep) noexcept { in data_from_rep()
66 return data_from_rep(reinterpret_cast<_Rep_base *>(sym)); in compute_gcc_empty_string_storage()
85 _Rep_base* rep = static_cast<_Rep_base *>(::operator new(sizeof(*rep) + len + 1)); in __libcpp_refstring()
105 struct _Rep_base *old_rep = rep_from_data(__imp_);
122 _Rep_base* rep = rep_from_data(__imp_); in ~__libcpp_refstring()
/openbsd-src/gnu/gcc/libstdc++-v3/include/bits/
H A Dbasic_string.tcc64 _Rep::_S_max_size = (((npos - sizeof(_Rep_base))/sizeof(_CharT)) - 1) / 4;
80 (sizeof(_Rep_base) + sizeof(_CharT) + sizeof(size_type) - 1) /
429 const size_type __size = sizeof(_Rep_base) + in _M_destroy()
H A Dbasic_string.h147 struct _Rep_base in _GLIBCXX_BEGIN_NAMESPACE() struct
154 struct _Rep : _Rep_base in _GLIBCXX_BEGIN_NAMESPACE()