/external/chromium/testing/gmock/test/ |
D | gmock-actions_test.cc | 59 using testing::ByRef; 1229 ::testing::internal::ReferenceWrapper<const std::string> ref_wrapper = ByRef(s1); in TEST() 1234 ref_wrapper = ByRef(s2); in TEST() 1238 ::testing::internal::ReferenceWrapper<const std::string> ref_wrapper1 = ByRef(s1); in TEST() 1250 const int& const_ref = ByRef(n); in TEST() 1259 int& ref = ByRef(n); in TEST() 1263 const int& const_ref = ByRef(n); in TEST() 1270 const int& r1 = ByRef<const int>(n); in TEST() 1277 Derived& r2 = ByRef<Derived>(d); in TEST() 1280 const Derived& r3 = ByRef<const Derived>(d); in TEST() [all …]
|
D | gmock-generated-actions_test.cc | 56 using testing::ByRef; 275 InvokeArgument<0>(ByRef(g_double)); in TEST() 280 a = InvokeArgument<0>(ByRef(x)); // This calls ByRef() on a non-const. in TEST()
|
D | gmock-matchers_test.cc | 78 using testing::ByRef; 3488 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST() 3497 const Matcher<NotCopyable&> m = Ge(ByRef(value2)); in TEST()
|
/external/zlib/src/old/ |
D | visual-basic.txt | 86 Private Declare Function lngfncCpr Lib "zlib.dll" Alias "compress2" (ByRef 87 dest As Any, ByRef destLen As Any, ByRef src As Any, ByVal srcLen As Long, 89 Private Declare Function lngfncUcp Lib "zlib.dll" Alias "uncompress" (ByRef 90 dest As Any, ByRef destLen As Any, ByRef src As Any, ByVal srcLen As Long)
|
/external/gtest/include/gtest/internal/ |
D | gtest-tuple.h.pump | 91 // ByRef<T>::type is T if T is a reference; otherwise it's const T&. 93 struct ByRef { typedef const T& type; }; // NOLINT 95 struct ByRef<T&> { typedef T& type; }; // NOLINT 97 // A handy wrapper for ByRef. 98 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
|
D | gtest-tuple.h | 117 struct ByRef { typedef const T& type; }; // NOLINT struct 119 struct ByRef<T&> { typedef T& type; }; // NOLINT 122 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
|
/external/chromium/testing/gtest/include/gtest/internal/ |
D | gtest-tuple.h.pump | 91 // ByRef<T>::type is T if T is a reference; otherwise it's const T&. 93 struct ByRef { typedef const T& type; }; // NOLINT 95 struct ByRef<T&> { typedef T& type; }; // NOLINT 97 // A handy wrapper for ByRef. 98 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
|
D | gtest-tuple.h | 117 struct ByRef { typedef const T& type; }; // NOLINT argument 119 struct ByRef<T&> { typedef T& type; }; // NOLINT 122 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-tuple.h.pump | 90 // ByRef<T>::type is T if T is a reference; otherwise it's const T&. 92 struct ByRef { typedef const T& type; }; // NOLINT 94 struct ByRef<T&> { typedef T& type; }; // NOLINT 96 // A handy wrapper for ByRef. 97 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
|
D | gtest-tuple.h | 116 struct ByRef { typedef const T& type; }; // NOLINT argument 118 struct ByRef<T&> { typedef T& type; }; // NOLINT 121 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
|
/external/chromium/testing/gmock/include/gmock/ |
D | gmock-generated-actions.h.pump | 96 // ByRef(a2) instead of a2 in the above expression. 767 // pass an argument by reference, wrap it inside ByRef(). For 770 // InvokeArgument<1>(5, string("Hello"), ByRef(foo)) 775 // 2. If the callable takes an argument by reference but ByRef() is
|
D | gmock-actions.h | 1070 inline internal::ReferenceWrapper<T> ByRef(T& l_value) { // NOLINT in ByRef() function
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-tuple.h | 117 struct ByRef { typedef const T& type; }; // NOLINT struct 119 struct ByRef<T&> { typedef T& type; }; // NOLINT 122 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 10624 bool ByRef = false; in tryCaptureVariable() local 10650 ByRef = true; in tryCaptureVariable() 10693 CSI->addCapture(Var, HasBlocksAttr, ByRef, Nested, Loc, in tryCaptureVariable() 10702 bool ByRef = false; in tryCaptureVariable() local 10704 ByRef = (Kind == TryCapture_ExplicitByRef); in tryCaptureVariable() 10706 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in tryCaptureVariable() 10710 if (ByRef) { in tryCaptureVariable() 10762 if (ByRef) in tryCaptureVariable() 10777 CSI->addCapture(Var, /*IsBlock=*/false, ByRef, Nested, Loc, in tryCaptureVariable()
|
D | SemaDeclAttr.cpp | 2329 type = BlocksAttr::ByRef; in handleBlocksAttr()
|
/external/clang/include/clang/Basic/ |
D | Attr.td | 200 let Args = [EnumArgument<"Type", "BlockType", ["byref"], ["ByRef"]>];
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.h | 1378 llvm::Value *GetAddrOfBlockDecl(const VarDecl *var, bool ByRef);
|