Home
last modified time | relevance | path

Searched refs:const_reference (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DContinuousRangeMap.h41 using const_reference = const value_type &; variable
51 bool operator ()(const_reference L, Int R) const { in operator()
54 bool operator ()(Int L, const_reference R) const { in operator()
60 bool operator ()(const_reference L, const_reference R) const { in operator()
107 const_reference back() const { return Rep.back(); } in back()
124 [](const_reference A, const_reference B) { in ~Builder()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dilist.h117 typedef typename base_list_type::const_reference const_reference;
128 static bool op_less(const_reference L, const_reference R) { return L < R; }
129 static bool op_equal(const_reference L, const_reference R) { return L == R; }
170 iterator insert(iterator where, const_reference New) {
184 for (const_reference V : L2)
304 const_pointer getPrevNode(const_reference N) const {
316 const_pointer getNextNode(const_reference N) const {
H A Dsimple_ilist.h94 using const_reference = typename OptionsT::const_reference; variable
145 const_reference front() const { return *begin(); } in push_back()
147 const_reference back() const { return *rbegin(); }
181 for (const_reference V : L2) in remove()
H A Dilist_iterator.h34 using reference = typename OptionsT::const_reference;
102 using const_reference = typename OptionsT::const_reference;
236 using const_reference = typename OptionsT::const_reference;
H A DIndexedMap.h52 typename StorageT::const_reference operator[](IndexT n) const {
H A DSetVector.h66 using const_reference = const value_type &; variable
155 const_reference operator[](size_type n) const {
H A DEnumeratedArray.h36 using const_reference = const ValueType &; variable
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Support/
H A DBumpVector.h96 using const_reference = const T &; variable
121 const_reference operator[](unsigned idx) const {
129 const_reference front() const { in front()
136 const_reference back() const { in back()
168 void push_back(const_reference Elt, BumpVectorContext &C) { in push_back()
181 iterator insert(iterator I, size_t Cnt, const_reference E, in insert()
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dcompressed_pair.h46 using const_reference = const _Tp&; member
63 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR const_reference __get() const _NOEXCEPT { return __value_;… in __get()
73 using const_reference = const _Tp&;
92 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR const_reference __get() const _NOEXCEPT { return *this; }
133 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR typename _Base1::const_reference first() const _NOEXCEPT {
141 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR typename _Base2::const_reference second() const _NOEXCEPT {
H A Dallocator.h141 _LIBCPP_DEPRECATED_IN_CXX17 typedef const _Tp& const_reference;
151 …_LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI const_pointer address(const_reference __x) const…
222 _LIBCPP_DEPRECATED_IN_CXX17 typedef const _Tp& const_reference;
229 …_LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI const_pointer address(const_reference __x) const…
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstrBundleIterator.h120 using const_reference = typename instr_iterator::const_reference;
211 const_reference R) {
214 friend bool operator==(const_reference L,
246 const_reference R) {
249 friend bool operator!=(const_reference L,
/freebsd/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h346 typedef const type& const_reference; typedef
348 static const_reference ConstReference(const RawContainer& container) { in ConstReference()
367 typedef const type const_reference; typedef
369 static const_reference ConstReference(const Element (&array)[N]) { in ConstReference()
388 typedef const type const_reference; typedef
390 static const_reference ConstReference( in ConstReference()
/freebsd/contrib/llvm-project/libcxx/include/
H A Darray23 typedef const T & const_reference;
61 const_reference operator[](size_type n) const; // constexpr in C++14
63 const_reference at(size_type n) const; // constexpr in C++14
66 const_reference front() const; // constexpr in C++14
68 const_reference back() const; // constexpr in C++14
176 using const_reference = const value_type&;
242 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 const_reference operator[](size_type __n) cons…
253 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 const_reference at(size_type __n) const {
260 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 const_reference front() const _NOEXCEPT { retu…
262 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 const_reference back() const _NOEXCEPT {
[all …]
H A Dvector28 typedef typename allocator_type::const_reference const_reference;
92 const_reference operator[](size_type n) const;
94 const_reference at(size_type n) const;
97 const_reference front() const;
99 const_reference back() const;
163 class const_reference
166 const_reference(const reference&) noexcept;
224 const_reference operator[](size_type n) const;
226 const_reference at(size_type n) const;
229 const_reference front() const;
[all …]
H A Dinitializer_list25 typedef const E& const_reference;
69 typedef const _Ep& const_reference;
H A D__split_buffer61 using const_reference = const value_type&;
151 …_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reference front() const { return *__begi…
153 …_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reference back() const { return *(__end_…
157 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void push_front(const_reference __x);
158 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void push_back(const_reference __x);
169 …EXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __construct_at_end(size_type __n, const_reference __x);
271 __split_buffer<_Tp, _Allocator>::__construct_at_end(size_type __n, const_reference __x) {
464 _LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp, _Allocator>::push_front(const_reference __x)…
509 __split_buffer<_Tp, _Allocator>::push_back(const_reference __x) {
H A Dstack26 typedef typename container_type::const_reference const_reference;
59 const_reference top() const;
158 typedef typename container_type::const_reference const_reference;
237 _LIBCPP_HIDE_FROM_ABI const_reference top() const { return c.back(); }
H A Dqueue26 typedef typename container_type::const_reference const_reference;
66 const_reference front() const;
68 const_reference back() const;
135 typedef typename container_type::const_reference const_reference;
192 const_reference top() const;
304 typedef typename container_type::const_reference const_reference;
379 _LIBCPP_HIDE_FROM_ABI const_reference front() const { return c.front(); }
381 _LIBCPP_HIDE_FROM_ABI const_reference back() const { return c.back(); }
520 typedef typename container_type::const_reference const_reference;
654 _LIBCPP_HIDE_FROM_ABI const_reference top() const { return c.front(); }
H A Dbitset188 typedef __bit_const_reference<__bitset> const_reference;
198 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR const_reference __make_ref(size_t __pos) const _NOEXCEPT {
199 …return const_reference(__first_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_per…
450 typedef __bit_const_reference<__bitset> const_reference;
460 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR const_reference __make_ref(size_t __pos) const _NOEXCEPT {
461 return const_reference(&__first_, __storage_type(1) << __pos);
565 typedef __bit_const_reference<__bitset> const_reference;
575 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR const_reference __make_ref(size_t) const _NOEXCEPT {
576 return const_reference(nullptr, 1);
618 typedef typename base::const_reference const_reference;
[all …]
H A Dstring_view80 typedef const charT& const_reference;
119 constexpr const_reference operator[](size_type pos) const;
120 constexpr const_reference at(size_type pos) const;
121 constexpr const_reference front() const;
122 constexpr const_reference back() const;
282 using const_reference = const _CharT&;
401 …_LIBCPP_CONSTEXPR _LIBCPP_HIDE_FROM_ABI const_reference operator[](size_type __pos) const _NOEXCEP…
405 _LIBCPP_CONSTEXPR _LIBCPP_HIDE_FROM_ABI const_reference at(size_type __pos) const {
409 _LIBCPP_CONSTEXPR _LIBCPP_HIDE_FROM_ABI const_reference front() const _NOEXCEPT {
413 _LIBCPP_CONSTEXPR _LIBCPP_HIDE_FROM_ABI const_reference back() const _NOEXCEPT {
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTVector.h92 using const_reference = const T &; variable
115 const_reference operator[](unsigned idx) const {
123 const_reference front() const { in front()
130 const_reference back() const { in back()
162 void push_back(const_reference Elt, const ASTContext &C) { in push_back()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculateAnalyses.cpp108 llvm::sort(BBFreqs, [](decltype(BBFreqs)::const_reference BBF, in operator ()()
109 decltype(BBFreqs)::const_reference BBS) { in operator ()()
250 llvm::sort(BBFreqs, [](decltype(BBFreqs)::const_reference Bbf, in queryCFG()
251 decltype(BBFreqs)::const_reference Bbs) { in queryCFG()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DErrorOr.h68 using const_reference = const std::remove_reference_t<T> &; variable
150 const_reference get() const { return const_cast<ErrorOr<T> *>(this)->get(); } in get()
166 const_reference operator*() const { return *getStorage(); }
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dadt.h36 typedef const T &const_reference; typedef
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVSupport.h203 for (typename LVFirstMapType::const_reference FirstEntry : FirstMap) { in find()
205 for (typename LVSecondMapType::const_reference SecondEntry : SecondMap) in find()

123