Home
last modified time | relevance | path

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

12

/external/libchrome/base/trace_event/
Dmemory_allocator_dump_unittest.cc22 using testing::ByRef;
65 EXPECT_THAT(dump->entries(), Contains(Eq(ByRef(expected)))); in CheckString()
73 EXPECT_THAT(dump->entries(), Contains(Eq(ByRef(expected)))); in CheckScalar()
143 EXPECT_THAT(dump->entries(), ElementsAre(Eq(ByRef(expected_scalar)), in TEST()
144 Eq(ByRef(expected_string)))); in TEST()
/external/libchrome/mojo/core/
Dhandle_table_unittest.cc22 using testing::ByRef;
49 EXPECT_THAT(mad->entries(), Contains(Eq(ByRef(expected)))); in CheckNameAndValue()
/external/rust/crates/libz-sys/src/zlib/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/googletest/googlemock/test/
Dgmock-actions_test.cc64 using ::testing::ByRef;
1218 auto ref_wrapper = ByRef(s1); in TEST()
1223 ref_wrapper = ByRef(s2); in TEST()
1227 auto ref_wrapper1 = ByRef(s1); in TEST()
1239 const int& const_ref = ByRef(n); in TEST()
1248 int& ref = ByRef(n); in TEST()
1252 const int& const_ref = ByRef(n); in TEST()
1259 const int& r1 = ByRef<const int>(n); in TEST()
1266 Derived& r2 = ByRef<Derived>(d); in TEST()
1269 const Derived& r3 = ByRef<const Derived>(d); in TEST()
[all …]
Dgmock-more-actions_test.cc796 InvokeArgument<0>(ByRef(g_double)); in TEST()
801 a = InvokeArgument<0>(ByRef(x)); // This calls ByRef() on a non-const. in TEST()
Dgmock-matchers_test.cc1086 EXPECT_CALL(helper, Call(Eq(ByRef(m)))); in TEST()
1088 EXPECT_CALL(helper, Call(Ne(ByRef(m)))); in TEST()
1090 EXPECT_CALL(helper, Call(Le(ByRef(m)))); in TEST()
1092 EXPECT_CALL(helper, Call(Lt(ByRef(m)))); in TEST()
1094 EXPECT_CALL(helper, Call(Ge(ByRef(m)))); in TEST()
1096 EXPECT_CALL(helper, Call(Gt(ByRef(m)))); in TEST()
4856 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
4865 const Matcher<NotCopyable&> m = Ge(ByRef(value2)); in TEST()
/external/libcppbor/tests/
Dcppbor_test.cpp31 using ::testing::ByRef;
1404 EXPECT_CALL(mpc, item(MatchesItem(ByRef(*val[0])), pos, pos + 1, pos + 6)) in TEST()
1407 EXPECT_CALL(mpc, item(MatchesItem(ByRef(*val[1])), pos, pos + 1, pos + 1)) in TEST()
1414 EXPECT_CALL(mpc, item(MatchesItem(ByRef(*interior[0])), pos, pos + 1, pos + 1)) in TEST()
1417 EXPECT_CALL(mpc, item(MatchesItem(ByRef(*interior[1])), pos, pos + 1, pos + 8)) in TEST()
1423 EXPECT_CALL(mpc, item(MatchesItem(ByRef(*val[3])), pos, pos + 9, pos + 9)) in TEST()
1454 EXPECT_CALL(mpc, item(MatchesItem(ByRef(*array[0])), pos, pos + 1, pos + 1)) in TEST()
1457 EXPECT_CALL(mpc, item(MatchesItem(ByRef(*array[1])), pos, pos + 1, pos + 3)) in TEST()
1488 EXPECT_CALL(mpc, item(MatchesItem(ByRef(*val[0].first)), pos, pos + 1, pos + 6)) in TEST()
1491 EXPECT_CALL(mpc, item(MatchesItem(ByRef(*val[0].second)), pos, pos + 1, pos + 1)) in TEST()
[all …]
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-tuple.h.pump100 // ByRef<T>::type is T if T is a reference; otherwise it's const T&.
102 struct ByRef { typedef const T& type; }; // NOLINT
104 struct ByRef<T&> { typedef T& type; }; // NOLINT
106 // A handy wrapper for ByRef.
107 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
Dgtest-tuple.h128 struct ByRef { typedef const T& type; }; // NOLINT struct
130 struct ByRef<T&> { typedef T& type; }; // NOLINT
133 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
/external/clang/lib/CodeGen/
DABIInfo.h116 getNaturalAlignIndirect(QualType Ty, bool ByRef = true,
/external/clang/include/clang/Sema/
DScopeInfo.h451 Capture(VarDecl *Var, bool Block, bool ByRef, bool IsNested, in Capture() argument
456 Cpy, !Var ? Cap_VLA : Block ? Cap_Block : ByRef ? Cap_ByRef in Capture()
/external/llvm-project/llvm/lib/IR/
DAttributes.cpp180 return get(Context, ByRef, Ty); in getWithByRefType()
471 const bool IsByRef = hasAttribute(Attribute::ByRef); in getAsString()
865 case Attribute::ByRef: in get()
961 if (auto A = findEnumAttribute(Attribute::ByRef)) in getByRefType()
1602 else if (Kind == Attribute::ByRef) in addAttribute()
1632 else if (Val == Attribute::ByRef) in removeAttribute()
1731 Attrs[Attribute::ByRef] = true; in addByRefAttr()
DVerifier.cpp1709 AttrCount += Attrs.hasAttribute(Attribute::ByRef); in verifyParameterAttrs()
1767 !Attrs.hasAttribute(Attribute::ByRef) && in verifyParameterAttrs()
1780 if (Attrs.hasAttribute(Attribute::ByRef)) { in verifyParameterAttrs()
1798 Assert(!Attrs.hasAttribute(Attribute::ByRef), in verifyParameterAttrs()
1831 !RetAttrs.hasAttribute(Attribute::ByRef) && in verifyFunctionAttrs()
2353 if (Attrs.hasParamAttribute(i, Attribute::ByRef)) { in visitFunction()
3247 Attribute::Preallocated, Attribute::ByRef}; in getParameterABIAttributes()
3257 Attrs.hasParamAttribute(I, Attribute::ByRef))) in getParameterABIAttributes()
DFunction.cpp109 return hasAttribute(Attribute::ByRef); in hasByRefAttr()
147 Attrs.hasParamAttribute(getArgNo(), Attribute::ByRef); in hasPointeeInMemoryValueAttr()
/external/llvm-project/clang/include/clang/Sema/
DScopeInfo.h576 Capture(VarDecl *Var, bool Block, bool ByRef, bool IsNested, in Capture() argument
581 Kind(Block ? Cap_Block : ByRef ? Cap_ByRef : Cap_ByCopy), in Capture()
/external/rust/crates/itertools/tests/
Dtest_std.rs253 struct ByRef<'r, I: ?Sized>(&'r mut I) ; in trait_pointers() struct
255 impl<'r, X, I: ?Sized> Iterator for ByRef<'r, I> where in trait_pointers() implementation
274 let mut r = ByRef(jt); in trait_pointers()
/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/llvm-project/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-tuple.h127 struct ByRef { typedef const T& type; }; // NOLINT argument
129 struct ByRef<T&> { typedef T& type; }; // NOLINT
132 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
/external/llvm-project/llvm/include/llvm/IR/
DAttributes.td55 def ByRef : TypeAttr<"byref">;
/external/clang/lib/Sema/
DSemaLambda.cpp706 bool ByRef, in buildLambdaInitCaptureInitialization() argument
715 if (ByRef) { in buildLambdaInitCaptureInitialization()
DSemaExpr.cpp13295 bool ByRef = false; in captureInBlock() local
13322 ByRef = true; in captureInBlock()
13370 BSI->addCapture(Var, HasBlocksAttr, ByRef, Nested, Loc, in captureInBlock()
13388 bool ByRef = true; in captureInCapturedRegion() local
13393 ByRef = S.IsOpenMPCapturedByRef(Var, RSI->OpenMPLevel); in captureInCapturedRegion()
13396 if (ByRef) in captureInCapturedRegion()
13424 RSI->addCapture(Var, /*isBlock*/false, ByRef, RefersToCapturedVariable, Loc, in captureInCapturedRegion()
13463 bool ByRef = false; in captureInLambda() local
13465 ByRef = (Kind == Sema::TryCapture_ExplicitByRef); in captureInLambda()
13467 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda()
[all …]
/external/llvm-project/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-actions.h1202 inline internal::ReferenceWrapper<T> ByRef(T& l_value) { // NOLINT
/external/llvm-project/clang/lib/Sema/
DSemaLambda.cpp790 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, in buildLambdaInitCaptureInitialization() argument
799 if (ByRef) { in buildLambdaInitCaptureInitialization()
/external/rust/crates/syn/tests/common/
Deq.rs347 spanless_eq_enum!(BindingMode; ByRef(0) ByValue(0));
/external/llvm-project/llvm/lib/Transforms/Utils/
DValueMapper.cpp901 {Attribute::ByVal, Attribute::StructRet, Attribute::ByRef}) { in remapInstruction()

12