Home
last modified time | relevance | path

Searched refs:ConstRef (Results 1 – 25 of 31) sorted by relevance

12

/external/libchrome/mojo/public/cpp/bindings/lib/
Darray_internal.h47 using ConstRef = const T&; member
60 static ConstRef ToConstRef(const StorageType* storage, size_t offset) { in ToConstRef()
94 using ConstRef = bool;
264 using ConstRef = typename Traits::ConstRef;
355 ConstRef at(size_t offset) const {
/external/llvm-project/clang/test/CodeCompletion/
Dmember-access.cpp227 void testConstLValue(const Overloads& ConstRef) { in testConstLValue() argument
228 ConstRef. in testConstLValue()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dperformance-unnecessary-value-param-delayed.cpp56 void positiveAndNegative(const ExpensiveToCopyType ConstCopy, const ExpensiveToCopyType& ConstRef, …
58 void positiveAndNegative(const ExpensiveToCopyType ConstCopy, const ExpensiveToCopyType& ConstRef, … in positiveAndNegative() argument
Dperformance-unnecessary-value-param.cpp96 void positiveAndNegative(const ExpensiveToCopyType ConstCopy, const ExpensiveToCopyType& ConstRef, …
98 void positiveAndNegative(const ExpensiveToCopyType ConstCopy, const ExpensiveToCopyType& ConstRef, … in positiveAndNegative() argument
Dperformance-no-automatic-move.cpp74 StatusOr<Obj> ConstRef() { in ConstRef() function
/external/openscreen/discovery/mdns/
Dmdns_publisher.cc162 std::vector<MdnsRecord::ConstRef> MdnsPublisher::GetRecords( in GetRecords()
168 std::vector<MdnsRecord::ConstRef> records; in GetRecords()
185 std::vector<MdnsRecord::ConstRef> MdnsPublisher::GetPtrRecords(DnsClass clazz) { in GetPtrRecords()
186 std::vector<MdnsRecord::ConstRef> records; in GetPtrRecords()
Dmdns_publisher.h175 std::vector<MdnsRecord::ConstRef> GetRecords(const DomainName& name,
178 std::vector<MdnsRecord::ConstRef> GetPtrRecords(DnsClass clazz) override;
Dmdns_responder.h55 virtual std::vector<MdnsRecord::ConstRef> GetRecords(const DomainName& name,
60 virtual std::vector<MdnsRecord::ConstRef> GetPtrRecords(DnsClass clazz) = 0;
Dmdns_responder_unittest.cc79 std::vector<MdnsRecord::ConstRef> GetRecords(const DomainName& name, in GetRecords()
82 std::vector<MdnsRecord::ConstRef> records; in GetRecords()
92 std::vector<MdnsRecord::ConstRef> GetPtrRecords(DnsClass clazz) override { in GetPtrRecords()
93 std::vector<MdnsRecord::ConstRef> records; in GetPtrRecords()
Dmdns_querier_unittest.cc123 const std::vector<MdnsRecord::ConstRef>& records, in CreatePacketWithRecords()
124 std::vector<MdnsRecord::ConstRef> additional_records) { in CreatePacketWithRecords()
140 const std::vector<MdnsRecord::ConstRef>& records) { in CreatePacketWithRecords()
145 return CreatePacketWithRecords({MdnsRecord::ConstRef(record)}); in CreatePacketWithRecord()
/external/tensorflow/tensorflow/core/kernels/linalg/
Dcholesky_grad.cc38 using ConstRef = Eigen::Ref<const Matrix>; typedef in tensorflow::CholeskyGrad
122 void CholeskyGradUnblocked(const ConstRef& l_block, Ref grad_block) { in CholeskyGradUnblocked()
/external/llvm-project/llvm/unittests/Support/
DBinaryStreamTest.cpp279 BinaryStreamRef ConstRef(Stream); in TEST_F() local
280 EXPECT_EQ(0U, ConstRef.getLength()); in TEST_F()
286 EXPECT_EQ(2U, ConstRef.getLength()); in TEST_F()
296 BinaryStreamRef Dropped = ConstRef.drop_front(1); in TEST_F()
300 EXPECT_EQ(4U, ConstRef.getLength()); in TEST_F()
307 EXPECT_EQ(6U, ConstRef.getLength()); in TEST_F()
314 EXPECT_EQ(8U, ConstRef.getLength()); in TEST_F()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DHoverTests.cpp917 {"int_by_const_ref([[^int_x]]);", PassMode::ConstRef, false}, in TEST()
919 {"int_by_const_ref([[^int_ref]]);", PassMode::ConstRef, false}, in TEST()
920 {"int_by_const_ref([[^int_ref]]);", PassMode::ConstRef, false}, in TEST()
921 {"int_by_const_ref([[^int_const_ref]]);", PassMode::ConstRef, false}, in TEST()
924 {"base_by_const_ref([[^base]]);", PassMode::ConstRef, false}, in TEST()
925 {"base_by_const_ref([[^base_const_ref]]);", PassMode::ConstRef, false}, in TEST()
929 {"base_by_const_ref([[^derived]]);", PassMode::ConstRef, false}, in TEST()
937 {"custom_by_value([[^base]]);", PassMode::ConstRef, true}, in TEST()
2369 HI.CallPassType->PassBy = PassMode::ConstRef; in TEST()
/external/llvm-project/clang-tools-extra/clangd/
DHover.h85 enum PassMode { Ref, ConstRef, Value }; enumerator
DHover.cpp753 PassType.PassBy = HoverInfo::PassType::ConstRef; in maybeAddCalleeArgInfo()
767 ? HoverInfo::PassType::ConstRef in maybeAddCalleeArgInfo()
950 if (CallPassType->PassBy == HoverInfo::PassType::ConstRef) in present()
/external/libchrome/base/
Dbind_unittest.cc658 RepeatingCallback<int()> const_ref_cb = BindRepeating(&Identity, ConstRef(n)); in TEST_F()
671 BindRepeating(&GetCopies, ConstRef(counter)); in TEST_F()
683 OnceCallback<int()> const_ref_cb = BindOnce(&Identity, ConstRef(n)); in TEST_F()
694 BindOnce(&GetCopies, ConstRef(counter)); in TEST_F()
977 base::ConstRef(refptr), 1); in TYPED_TEST()
1456 auto const_ref = ConstRef(p); in TEST_F()
Dbind.h361 static inline internal::ConstRefWrapper<T> ConstRef(const T& o) {
/external/llvm/lib/Target/Hexagon/
DBitTracker.cpp115 bool ConstRef = false; // A sequence of refs to the same bit. in operator <<() local
127 ConstRef = (V.RefI.Pos == SV.RefI.Pos); in operator <<()
131 if (ConstRef && V.RefI.Pos == SV.RefI.Pos) in operator <<()
150 SeqRef = ConstRef = false; in operator <<()
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-port.h1021 struct ConstRef { typedef const T& type; }; argument
1023 struct ConstRef<T&> { typedef T& type; };
1027 typename ::testing::internal::ConstRef<T>::type
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DBitTracker.cpp124 bool ConstRef = false; // A sequence of refs to the same bit. in operator <<() local
136 ConstRef = (V.RefI.Pos == SV.RefI.Pos); in operator <<()
140 if (ConstRef && V.RefI.Pos == SV.RefI.Pos) in operator <<()
159 SeqRef = ConstRef = false; in operator <<()
/external/llvm-project/llvm/lib/Target/Hexagon/
DBitTracker.cpp124 bool ConstRef = false; // A sequence of refs to the same bit. in operator <<() local
136 ConstRef = (V.RefI.Pos == SV.RefI.Pos); in operator <<()
140 if (ConstRef && V.RefI.Pos == SV.RefI.Pos) in operator <<()
159 SeqRef = ConstRef = false; in operator <<()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/internal/
Dgtest-port.h1055 struct ConstRef { typedef const T& type; };
1057 struct ConstRef<T&> { typedef T& type; };
1061 typename ::testing::internal::ConstRef<T>::type
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-port.h1011 struct ConstRef { struct
1015 struct ConstRef<T &> { argument
1021 typename ::testing::internal::ConstRef<T>::type
/external/googletest/googletest/include/gtest/internal/
Dgtest-port.h1038 struct ConstRef { typedef const T& type; }; struct
1040 struct ConstRef<T&> { typedef T& type; };
1044 typename ::testing::internal::ConstRef<T>::type
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-port.h1425 struct ConstRef { typedef const T& type; };
1427 struct ConstRef<T&> { typedef T& type; };
1431 typename ::testing::internal::ConstRef<T>::type

12