| /freebsd-14.2/contrib/googletest/googlemock/test/ |
| H A D | gmock-spec-builders_test.cc | 247 ON_CALL(a, DoA(5)).WillByDefault(Return()).WillByDefault(Return()); in TEST() 318 EXPECT_CALL(a, DoA(2)).WillOnce(Return()).WillRepeatedly(Return()); in TEST() 446 EXPECT_CALL(a, DoA(2)).WillOnce(Return()).WillRepeatedly(Return()); in TEST() 542 Return(2)); in TEST() 758 EXPECT_CALL(b, DoB()).WillOnce(Return(1)).WillOnce(Return(2)); in TEST() 767 EXPECT_CALL(b, DoB()).WillOnce(Return(1)).WillOnce(Return(2)); in TEST() 775 EXPECT_CALL(b, DoB()).WillOnce(Return(1)).WillOnce(Return(2)); in TEST() 786 EXPECT_CALL(b, DoB()).WillOnce(Return(1)).WillRepeatedly(Return(2)); in TEST() 793 EXPECT_CALL(b, DoB()).WillOnce(Return(1)).WillRepeatedly(Return(2)); in TEST() 858 Return(3)); in TEST() [all …]
|
| H A D | gmock_link_test.h | 168 using testing::Return; 250 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST() 259 EXPECT_CALL(mock, StringFromString(_)).WillOnce(Return(&ch)); in TEST() 267 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST() 389 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST() 398 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST() 474 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST() 489 ON_CALL(mock, VoidFromString(Eq(p))).WillByDefault(Return()); in TEST() 497 ON_CALL(mock, VoidFromFloat(Lt(1.0f))).WillByDefault(Return()); in TEST() 523 ON_CALL(mock, VoidFromIntRef(Ref(a))).WillByDefault(Return()); in TEST() [all …]
|
| H A D | gmock-function-mocker_test.cc | 66 using testing::Return; 305 .WillOnce(Return(1)); in TYPED_TEST() 330 .WillOnce(Return(5)); in TYPED_TEST() 363 .WillOnce(Return(1)); in TYPED_TEST() 596 .WillOnce(Return(0)) in TYPED_TEST() 597 .WillOnce(Return(1)) in TYPED_TEST() 685 .WillOnce(Return(0)) in TYPED_TEST() 686 .WillOnce(Return(1)) in TYPED_TEST() 789 EXPECT_CALL(foo, Call()).WillOnce(Return(1)).WillOnce(Return(2)); in TEST() 802 EXPECT_CALL(foo, Call(false, 42)).WillOnce(Return(1)).WillOnce(Return(2)); in TEST() [all …]
|
| H A D | gmock_output_test_.cc | 49 using testing::Return; 90 EXPECT_CALL(foo_, Bar2(_, _)).Times(2).WillOnce(Return(false)); in TEST_F() 201 ON_CALL(foo_, Bar2(_, _)).WillByDefault(Return(true)); // Default action #1 in TEST_F() 202 ON_CALL(foo_, Bar2(1, _)).WillByDefault(Return(false)); // Default action #2 in TEST_F() 211 ON_CALL(foo_, Bar2(_, _)).WillByDefault(Return(true)); // Default action #1 in TEST_F() 212 ON_CALL(foo_, Bar2(1, _)).WillByDefault(Return(false)); // Default action #2 in TEST_F() 224 ON_CALL(foo_, Bar2(_, _)).WillByDefault(Return(true)); // Default action #1 in TEST_F() 225 ON_CALL(foo_, Bar2(1, _)).WillByDefault(Return(false)); // Default action #2 in TEST_F() 232 ON_CALL(foo_, Bar2(_, _)).WillByDefault(Return(true)); // Default action #1 in TEST_F() 234 EXPECT_CALL(foo_, Bar2(_, _)).Times(2).WillOnce(Return(false)); in TEST_F() [all …]
|
| H A D | gmock_stress_test.cc | 69 ON_CALL(foo, Bar(_)).WillByDefault(Return(1)); in TestConcurrentMockObjects() 70 ON_CALL(foo, Baz(_, _)).WillByDefault(Return('b')); in TestConcurrentMockObjects() 71 ON_CALL(foo, Baz(_, "you")).WillByDefault(Return('a')); in TestConcurrentMockObjects() 76 .WillOnce(Return('z')) in TestConcurrentMockObjects() 116 ON_CALL(foo, Bar(_)).WillByDefault(Return(1)); in TestConcurrentCallsOnSameObject() 117 EXPECT_CALL(foo, Baz(_, "b")).Times(kRepeat).WillRepeatedly(Return('a')); in TestConcurrentCallsOnSameObject()
|
| H A D | gmock_leak_test_.cc | 39 using ::testing::Return; 74 ON_CALL(*foo, DoThis()).WillByDefault(Return()); in TEST() 87 ON_CALL(*foo1, DoThis()).WillByDefault(Return()); in TEST()
|
| H A D | gmock-actions_test.cc | 665 Action<int()> ret = Return(1); // NOLINT in TEST() 668 ret = Return(-5); in TEST() 674 Action<const char*()> a1 = Return("Hello"); in TEST() 677 Action<std::string()> a2 = Return("world"); in TEST() 754 EXPECT_CALL(mock, Call).WillOnce(Return(17)).WillRepeatedly(Return(19)); in TEST() 785 using RA = decltype(Return(std::string())); in TEST() 824 Action<Base*()> ret = Return(&base); in TEST() 827 ret = Return(&derived); in TEST() 853 Action<ToType()> action(Return(x)); in TEST() 1838 .WillOnce(Return(-7)) in TEST() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Thunk.h | 161 ReturnAdjustment Return; member 172 ThunkInfo(const ThisAdjustment &This, const ReturnAdjustment &Return, 174 : This(This), Return(Return), Method(Method) {} in This() 177 return LHS.This == RHS.This && LHS.Return == RHS.Return && 182 return This.isEmpty() && Return.isEmpty() && Method == nullptr; in isEmpty()
|
| /freebsd-14.2/cddl/usr.sbin/zfsd/tests/ |
| H A D | zfsd_unittest.cc | 434 .WillByDefault(::testing::Return(Guid(123))); in SetUp() 438 .WillByDefault(::testing::Return(Guid(456))); in SetUp() 533 .WillRepeatedly(::testing::Return(true)); in TEST_F() 599 .WillRepeatedly(::testing::Return(true)); in TEST_F() 648 .WillRepeatedly(::testing::Return(true)); in TEST_F() 711 .WillByDefault(::testing::Return(Guid(123))); in SetUp() 713 .WillByDefault(::testing::Return(Guid(456))); in SetUp() 717 .WillByDefault(::testing::Return(Guid(123))); in SetUp() 799 .WillRepeatedly(::testing::Return(false)); in TEST_F() 820 .WillRepeatedly(::testing::Return(false)); in TEST_F() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | ArgumentsAdjusters.cpp | 121 CommandLineArguments Return(Args); in getInsertArgumentAdjuster() local 125 I = llvm::find(Return, "--"); in getInsertArgumentAdjuster() 127 I = Return.begin(); in getInsertArgumentAdjuster() 131 Return.insert(I, Extra.begin(), Extra.end()); in getInsertArgumentAdjuster() 132 return Return; in getInsertArgumentAdjuster()
|
| /freebsd-14.2/contrib/googletest/docs/reference/ |
| H A D | actions.md | 11 | `Return()` | Return from a `void` mock function. | 12 | `Return(value)` | Return `value`. If the type of `value` is different to th… 13 | `ReturnArg<N>()` | Return the `N`-th (0-based) argument. | 14 | `ReturnNew<T>(a1, ..., ak)` | Return `new T(a1, ..., ak)`; a different object is creat… 15 | `ReturnNull()` | Return a null pointer. | 16 | `ReturnPointee(ptr)` | Return the value pointed to by `ptr`. | 17 | `ReturnRef(variable)` | Return a reference to `variable`. | 18 | `ReturnRefOfCopy(value)` | Return a reference to a copy of `value`; the copy lives as l…
|
| H A D | mocking.md | 243 using ::testing::Return; 246 .WillOnce(Return(1)) 247 .WillOnce(Return(2)) 248 .WillOnce(Return(3)); 276 using ::testing::Return; 279 .WillRepeatedly(Return("John Doe")); // Return "John Doe" on all calls 282 .WillOnce(Return(42)) // Return 42 on the first call 283 .WillRepeatedly(Return(7)); // Return 7 on all subsequent calls 368 using ::testing::Return; 372 .WillByDefault(Return(true)); [all …]
|
| /freebsd-14.2/sys/dev/ofw/ |
| H A D | ofw_if.m | 51 * @brief Return next sibling of node. 61 * @brief Return parent of node. 71 * @brief Return first child of node. 81 * @brief Return package corresponding to instance. 91 * @brief Return length of node property. 165 * @brief Return phandle for named device. 175 * @brief Return path for node instance. 189 * @brief Return path for node.
|
| /freebsd-14.2/contrib/ntp/ntpd/ |
| H A D | check_y2k.c | 112 long Return; in Days() local 114 Return = Year * 365; /* first aproximation to the value */ in Days() 118 Return += (Year+3) / 4; /* add in (too many) leap days */ in Days() 119 Return -= (Year-1) / 100; /* reduce by (too many) centurys */ in Days() 120 Return += (Year-1) / 400; /* get final answer */ in Days() 123 return Return; in Days()
|
| /freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangCommentCommandInfoEmitter.cpp | 68 std::string Return; in EmitClangCommentCommandInfo() local 69 raw_string_ostream(Return) << "return &Commands[" << i << "];"; in EmitClangCommentCommandInfo() 70 Matches.emplace_back(std::move(Name), std::move(Return)); in EmitClangCommentCommandInfo()
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/include/ |
| H A D | math.shlib | 17 # Return 0 if the percentage difference between $a and $b is $percent or 18 # greater. Return 1 if the percentage is lower or if we would divide by 44 # Return 0 if value is within +/-tolerance of target. 45 # Return 1 if value exceeds our tolerance. 65 # Return 0 if the human readable string of the form <value>[suffix] can
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/builtins/avr/ |
| H A D | divmodhi4.S | 49 ret ; Return quotient via R23:R22 and remainder via R25:R24. 57 ret ; Return quotient via R23:R22 and remainder via R25:r24.
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRRegisterInfo.td | 116 // Return value and argument registers. 132 // Return value and arguments. 146 // Return value and arguments. 165 // Return value and arguments. 173 // Return value and arguments. 184 // Return value and arguments. 194 // Return value and arguments.
|
| /freebsd-14.2/contrib/file/src/ |
| H A D | magic.h.in | 37 #define MAGIC_MIME_TYPE 0x0000010 /* Return the MIME type */ 38 #define MAGIC_CONTINUE 0x0000020 /* Return all matches */ 43 #define MAGIC_MIME_ENCODING 0x0000400 /* Return the MIME encoding */ 45 #define MAGIC_APPLE 0x0000800 /* Return the Apple creator/type */ 46 #define MAGIC_EXTENSION 0x1000000 /* Return a /-separated list of
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | CalledValuePropagation.cpp | 49 enum class IPOGrouping { Register, Return, Memory }; enumerator 136 case IPOGrouping::Return: in ComputeLatticeVal() 208 else if (Key.getInt() == IPOGrouping::Return) in PrintLatticeKey() 247 auto RetF = CVPLatticeKey(F, IPOGrouping::Return); in visitReturn() 280 auto RetF = CVPLatticeKey(F, IPOGrouping::Return); in visitCallBase()
|
| /freebsd-14.2/sys/dev/bhnd/bhndb/ |
| H A D | bhndb_bus_if.m | 77 * Return a generic hardware configuration to be used by 105 * Return the hardware specification table to be used when identifying the 117 * Return the hardware priority table to be used when allocating bridge 129 * Return true if the hardware required by @p core is unpopulated or
|
| /freebsd-14.2/sys/dev/pci/ |
| H A D | pcib_if.m | 55 # Return the number of slots on the attached PCI bus. 63 # Return the number of functions on the attached PCI bus. 169 # Return the device power state to be used during a system sleep state 179 # Return the PCI Routing Identifier (RID) for the device. 198 # Return non-zero if PCI ARI is enabled, or zero otherwise
|
| /freebsd-14.2/sys/powerpc/powerpc/ |
| H A D | platform_if.m | 119 * @brief Return the system's physical memory map. 140 * @brief Return the system's physical memory map. 155 * @brief Return the maximum address accessible in real mode 232 * @brief Return SMP topology 264 * @brief Return the NUMA domain for the given device tree node. Always returns
|
| /freebsd-14.2/share/examples/ppp/ |
| H A D | chap-auth | 66 bind .$n.value <Return> {done}; 87 bind .k.value <Return> {done};
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFRegisterInfo.td | 41 W0, // Return value 48 R0, // Return value
|