Home
last modified time | relevance | path

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

1234

/external/clang/include/clang/Serialization/
DContinuousRangeMap.h40 typedef const value_type &const_reference; typedef
49 bool operator ()(const_reference L, Int R) const { in operator()
52 bool operator ()(Int L, const_reference R) const { in operator()
58 bool operator ()(const_reference L, const_reference R) const { in operator()
105 const_reference back() const { return Rep.back(); } in back()
121 [](const_reference A, const_reference B) { in ~Builder()
/external/clang/include/clang/Analysis/Support/
DBumpVector.h84 typedef const T& const_reference; typedef
107 const_reference operator[](unsigned idx) const {
115 const_reference front() const { in front()
122 const_reference back() const { in back()
154 void push_back(const_reference Elt, BumpVectorContext &C) { in push_back()
167 iterator insert(iterator I, size_t Cnt, const_reference E, in insert()
/external/libcxx/test/support/
Dnasty_containers.hpp23 typedef typename nested_container::const_reference const_reference; typedef in nasty_vector
74 const_reference operator[](size_type n) const { return v_[n]; } in operator []()
76 const_reference at(size_type n) const { return v_.at(n); } in at()
79 const_reference front() const { return v_.front(); } in front()
81 const_reference back() const { return v_.back(); } in back()
144 typedef typename nested_container::const_reference const_reference; typedef in nasty_list
194 const_reference front() const { return l_.front(); } in front()
196 const_reference back() const { return l_.back(); } in back()
Dtest_allocator.h52 typedef typename std::add_lvalue_reference<const value_type>::type const_reference; typedef
64 const_pointer address(const_reference x) const {return &x;} in address()
112 typedef typename std::add_lvalue_reference<const value_type>::type const_reference; typedef
124 const_pointer address(const_reference x) const {return &x;} in address()
/external/libcxx/include/experimental/
Ddynarray28 typedef const T& const_reference;
78 const_reference operator[](size_type n) const;
81 const_reference front() const;
83 const_reference back() const;
85 const_reference at(size_type n) const;
127 typedef const value_type& const_reference;
203 …inline _LIBCPP_INLINE_VISIBILITY const_reference operator[](size_type __n) const { return data()[_…
206 inline _LIBCPP_INLINE_VISIBILITY const_reference front() const { return data()[0]; }
208 inline _LIBCPP_INLINE_VISIBILITY const_reference back() const { return data()[__size_-1]; }
210 inline _LIBCPP_INLINE_VISIBILITY const_reference at(size_type __n) const;
[all …]
/external/libcxx/test/std/containers/container.adaptors/stack/stack.defn/
Dtypes.pass.cpp44 typedef const int& const_reference; typedef
54 …static_assert((std::is_same<std::stack<int>::const_reference, std::deque<int>::const_reference>::v… in main()
/external/libcxx/test/std/containers/container.adaptors/queue/queue.defn/
Dtypes.pass.cpp43 typedef const int& const_reference; typedef
53 …static_assert((std::is_same<std::queue<int>::const_reference, std::deque<int>::const_reference>::v… in main()
/external/libcxx/test/std/containers/container.adaptors/priority.queue/
Dtypes.pass.cpp45 typedef const int& const_reference; typedef
55 …tic_assert((std::is_same<std::priority_queue<int>::const_reference, std::vector<int>::const_refere… in main()
/external/libchrome/base/memory/
Dscoped_vector.h33 typedef typename std::vector<T*>::const_reference const_reference; typedef
51 const_reference operator[](size_t index) const { return v_[index]; }
66 const_reference front() const { return v_.front(); } in front()
68 const_reference back() const { return v_.back(); } in back()
/external/libcxx/test/std/containers/sequences/list/
Dtypes.pass.cpp37 …static_assert((std::is_same<std::list<int>::const_reference, std::allocator<int>::const_reference>… in main()
44 …static_assert((std::is_same<std::list<int, min_allocator<int>>::const_reference, const int&>::valu… in main()
/external/webrtc/webrtc/system_wrappers/include/
Dscoped_vector.h35 typedef typename std::vector<T*>::const_reference const_reference; typedef
67 const_reference operator[](size_t index) const { return v_[index]; }
82 const_reference front() const { return v_.front(); } in front()
84 const_reference back() const { return v_.back(); } in back()
/external/libcxx/include/
Darray24 typedef const T & const_reference;
62 const_reference operator[](size_type n) const; // constexpr in C++14
63 const_reference at(size_type n) const; // constexpr in C++14
67 const_reference front() const; // constexpr in C++14
69 const_reference back() const; // constexpr in C++14
127 typedef const value_type& const_reference;
184 …_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 const_reference operator[](size_type __n) …
186 _LIBCPP_CONSTEXPR_AFTER_CXX11 const_reference at(size_type __n) const;
189 …_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 const_reference front() const {return __el…
191 …_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 const_reference back() const {return __el…
[all …]
Dqueue27 typedef typename container_type::const_reference const_reference;
60 const_reference front() const;
62 const_reference back() const;
102 typedef typename container_type::const_reference const_reference;
148 const_reference top() const;
199 typedef typename container_type::const_reference const_reference;
279 const_reference front() const {return c.front();}
283 const_reference back() const {return c.back();}
393 typedef typename container_type::const_reference const_reference;
482 const_reference top() const {return c.front();}
Dvector27 typedef typename allocator_type::const_reference const_reference;
87 const_reference operator[](size_type n) const;
89 const_reference at(size_type n) const;
92 const_reference front() const;
94 const_reference back() const;
154 class const_reference
157 const_reference(const reference&) noexcept;
211 const_reference operator[](size_type n) const;
213 const_reference at(size_type n) const;
216 const_reference front() const;
[all …]
Dstack27 typedef typename container_type::const_reference const_reference;
54 const_reference top() const;
113 typedef typename container_type::const_reference const_reference;
191 const_reference top() const {return c.back();}
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-internal-utils.h383 typedef const type& const_reference;
385 static const_reference ConstReference(const RawContainer& container) {
405 typedef const type const_reference;
407 static const_reference ConstReference(const Element (&array)[N]) {
446 typedef const type const_reference;
448 static const_reference ConstReference(
/external/gmock/include/gmock/internal/
Dgmock-internal-utils.h396 typedef const type& const_reference;
398 static const_reference ConstReference(const RawContainer& container) {
418 typedef const type const_reference;
420 static const_reference ConstReference(const Element (&array)[N]) {
459 typedef const type const_reference;
461 static const_reference ConstReference(
/external/libcxx/test/std/containers/sequences/vector/
Dtypes.pass.cpp54 …static_assert((std::is_same<typename C::const_reference, typename Allocator::const_reference>::val… in test()
82 …static_assert((std::is_same<std::vector<int, min_allocator<int>>::const_reference, const int&>::va… in main()
/external/libcxx/test/std/containers/sequences/deque/
Dtypes.pass.cpp52 …static_assert((std::is_same<typename C::const_reference, typename Allocator::const_reference>::val… in test()
82 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
/external/libcxx/test/std/containers/sequences/array/
Dindexing.pass.cpp44 C::const_reference r1 = c[0]; in main()
46 C::const_reference r2 = c[2]; in main()
Dfront_back.pass.cpp45 C::const_reference r1 = c.front(); in main()
48 C::const_reference r2 = c.back(); in main()
Dat.pass.cpp47 C::const_reference r1 = c.at(0); in main()
50 C::const_reference r2 = c.at(2); in main()
/external/libcxx/test/std/containers/sequences/forwardlist/
Dtypes.pass.cpp42 static_assert((std::is_same<C::const_reference, const char&>::value), ""); in main()
54 static_assert((std::is_same<C::const_reference, const char&>::value), ""); in main()
/external/v8/src/
Dzone-allocator.h21 typedef const T& const_reference; typedef
37 const_pointer address(const_reference x) const {return &x;} in address()
/external/clang/include/clang/AST/
DASTVector.h87 typedef const T& const_reference; typedef
110 const_reference operator[](unsigned idx) const {
118 const_reference front() const { in front()
125 const_reference back() const { in back()
157 void push_back(const_reference Elt, const ASTContext &C) { in push_back()

1234