Home
last modified time | relevance | path

Searched refs:ByRef (Results 1 – 17 of 17) sorted by relevance

/external/chromium/testing/gmock/test/
Dgmock-actions_test.cc59 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 …]
Dgmock-generated-actions_test.cc56 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()
Dgmock-matchers_test.cc78 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/
Dvisual-basic.txt86 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/
Dgtest-tuple.h.pump91 // 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
Dgtest-tuple.h117 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/
Dgtest-tuple.h.pump91 // 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
Dgtest-tuple.h117 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/
Dgtest-tuple.h.pump90 // 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
Dgtest-tuple.h116 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/
Dgmock-generated-actions.h.pump96 // 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
Dgmock-actions.h1070 inline internal::ReferenceWrapper<T> ByRef(T& l_value) { // NOLINT in ByRef() function
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-tuple.h117 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/
DSemaExpr.cpp10624 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()
DSemaDeclAttr.cpp2329 type = BlocksAttr::ByRef; in handleBlocksAttr()
/external/clang/include/clang/Basic/
DAttr.td200 let Args = [EnumArgument<"Type", "BlockType", ["byref"], ["ByRef"]>];
/external/clang/lib/CodeGen/
DCodeGenFunction.h1378 llvm::Value *GetAddrOfBlockDecl(const VarDecl *var, bool ByRef);