/external/libchrome/base/trace_event/ |
D | memory_allocator_dump_unittest.cc | 22 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/ |
D | handle_table_unittest.cc | 22 using testing::ByRef; 49 EXPECT_THAT(mad->entries(), Contains(Eq(ByRef(expected)))); in CheckNameAndValue()
|
/external/rust/crates/libz-sys/src/zlib/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/googletest/googlemock/test/ |
D | gmock-actions_test.cc | 64 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 …]
|
D | gmock-more-actions_test.cc | 796 InvokeArgument<0>(ByRef(g_double)); in TEST() 801 a = InvokeArgument<0>(ByRef(x)); // This calls ByRef() on a non-const. in TEST()
|
D | gmock-matchers_test.cc | 1086 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/ |
D | cppbor_test.cpp | 31 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/ |
D | gtest-tuple.h.pump | 100 // 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
|
D | gtest-tuple.h | 128 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/ |
D | ABIInfo.h | 116 getNaturalAlignIndirect(QualType Ty, bool ByRef = true,
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 451 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/ |
D | Attributes.cpp | 180 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()
|
D | Verifier.cpp | 1709 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()
|
D | Function.cpp | 109 return hasAttribute(Attribute::ByRef); in hasByRefAttr() 147 Attrs.hasParamAttribute(getArgNo(), Attribute::ByRef); in hasPointeeInMemoryValueAttr()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | ScopeInfo.h | 576 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/ |
D | test_std.rs | 253 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/ |
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/llvm-project/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-tuple.h | 127 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/ |
D | Attributes.td | 55 def ByRef : TypeAttr<"byref">;
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 706 bool ByRef, in buildLambdaInitCaptureInitialization() argument 715 if (ByRef) { in buildLambdaInitCaptureInitialization()
|
D | SemaExpr.cpp | 13295 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/ |
D | gmock-actions.h | 1202 inline internal::ReferenceWrapper<T> ByRef(T& l_value) { // NOLINT
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaLambda.cpp | 790 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, in buildLambdaInitCaptureInitialization() argument 799 if (ByRef) { in buildLambdaInitCaptureInitialization()
|
/external/rust/crates/syn/tests/common/ |
D | eq.rs | 347 spanless_eq_enum!(BindingMode; ByRef(0) ByValue(0));
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 901 {Attribute::ByVal, Attribute::StructRet, Attribute::ByRef}) { in remapInstruction()
|