Home
last modified time | relevance | path

Searched refs:Return (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock-generated-function-mockers_test.cc69 using testing::Return;
201 .WillOnce(Return(1)); in TEST_F()
220 .WillOnce(Return(3)); in TEST_F()
229 .WillOnce(Return(5)); in TEST_F()
265 .WillOnce(Return(1)); in TEST_F()
421 .WillOnce(Return(0)) in TEST()
422 .WillOnce(Return(1)) in TEST()
487 .WillOnce(Return(0)) in TEST()
488 .WillOnce(Return(1)) in TEST()
565 .WillOnce(Return(1)) in TEST()
[all …]
H A Dgmock-spec-builders_test.cc90 using testing::Return;
351 .WillOnce(Return()) in TEST()
362 .WillOnce(Return()); in TEST()
365 .WillOnce(Return()) in TEST()
443 .WillOnce(Return()) in TEST()
469 .WillOnce(Return()); in TEST()
480 .WillOnce(Return()) in TEST()
481 .WillOnce(Return()) in TEST()
482 .WillOnce(Return()); in TEST()
501 .WillOnce(Return()); in TEST()
[all …]
H A Dgmock_link_test.h169 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()
479 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
494 ON_CALL(mock, VoidFromString(Eq(p))).WillByDefault(Return()); in TEST()
496 .WillByDefault(Return()); in TEST()
529 ON_CALL(mock, VoidFromIntRef(Ref(a))).WillByDefault(Return()); in TEST()
[all …]
H A Dgmock_output_test_.cc53 using testing::Return;
95 .WillOnce(Return(false)); in TEST_F()
214 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
216 .WillByDefault(Return(false)); // Default action #2 in TEST_F()
226 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
228 .WillByDefault(Return(false)); // Default action #2 in TEST_F()
241 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
243 .WillByDefault(Return(false)); // Default action #2 in TEST_F()
251 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
255 .WillOnce(Return(false)); in TEST_F()
[all …]
H A Dgmock_leak_test_.cc40 using ::testing::Return;
74 ON_CALL(*foo, DoThis()).WillByDefault(Return()); in TEST()
87 ON_CALL(*foo1, DoThis()).WillByDefault(Return()); in TEST()
H A Dgmock_stress_test.cc151 .WillByDefault(Return(1)); in TestConcurrentMockObjects()
153 .WillByDefault(Return('b')); in TestConcurrentMockObjects()
155 .WillByDefault(Return('a')); in TestConcurrentMockObjects()
161 .WillOnce(Return('z')) in TestConcurrentMockObjects()
202 .WillByDefault(Return(1)); in TestConcurrentCallsOnSameObject()
205 .WillRepeatedly(Return('a')); in TestConcurrentCallsOnSameObject()
H A Dgmock-actions_test.cc70 using testing::Return;
534 Action<int()> ret = Return(1); // NOLINT in TEST()
537 ret = Return(-5); in TEST()
543 Action<const char*()> a1 = Return("Hello"); in TEST()
583 Action<Base*()> ret = Return(&base); in TEST()
586 ret = Return(&derived); in TEST()
614 Action<ToType()> action(Return(x)); in TEST()
780 .WillByDefault(Return(2)); in TEST()
1193 Return(ByMove(std::move(i))))); in TEST()
1235 .WillOnce(Return(-7)) in TEST()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DThunk.h161 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-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DArgumentsAdjusters.cpp121 CommandLineArguments Return(Args); in getInsertArgumentAdjuster() local
125 I = std::find(Return.begin(), Return.end(), "--"); in getInsertArgumentAdjuster()
127 I = Return.begin(); in getInsertArgumentAdjuster()
131 Return.insert(I, Extra.begin(), Extra.end()); in getInsertArgumentAdjuster()
132 return Return; in getInsertArgumentAdjuster()
/freebsd-13.1/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc436 .WillByDefault(::testing::Return(Guid(123))); in SetUp()
438 .WillByDefault(::testing::Return(Guid(456))); in SetUp()
533 .WillRepeatedly(::testing::Return(true)); in TEST_F()
582 .WillRepeatedly(::testing::Return(true)); in TEST_F()
645 .WillByDefault(::testing::Return(Guid(123))); in SetUp()
647 .WillByDefault(::testing::Return(Guid(456))); in SetUp()
651 .WillByDefault(::testing::Return(Guid(123))); in SetUp()
653 .WillByDefault(::testing::Return(Guid(789))); in SetUp()
733 .WillRepeatedly(::testing::Return(false)); in TEST_F()
754 .WillRepeatedly(::testing::Return(false)); in TEST_F()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerUnion.h27 using Return = T; member
41 using Return = typename PointerUnionTypeSelectorReturn<RET_NE>::Return; member
46 using Return = typename PointerUnionTypeSelectorReturn<RET_EQ>::Return;
52 using Return =
53 typename PointerUnionTypeSelector<T1, T2, RET_EQ, RET_NE>::Return;
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DClangCommentCommandInfoEmitter.cpp67 std::string Return; in EmitClangCommentCommandInfo() local
68 raw_string_ostream(Return) << "return &Commands[" << i << "];"; in EmitClangCommentCommandInfo()
69 Matches.emplace_back(std::move(Name), std::move(Return)); in EmitClangCommentCommandInfo()
/freebsd-13.1/sys/dev/ofw/
H A Dofw_if.m52 * @brief Return next sibling of node.
62 * @brief Return parent of node.
72 * @brief Return first child of node.
82 * @brief Return package corresponding to instance.
92 * @brief Return length of node property.
166 * @brief Return phandle for named device.
176 * @brief Return path for node instance.
190 * @brief Return path for node.
/freebsd-13.1/contrib/ntp/ntpd/
H A Dcheck_y2k.c112 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-13.1/sys/contrib/openzfs/tests/zfs-tests/include/
H A Dmath.shlib17 # 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
47 # Return 0 if value is within +/-tolerance of target.
48 # Return 1 if value exceeds our tolerance.
70 # Return 0 if the human readable string of the form <value>[suffix] can
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRRegisterInfo.td126 // Return value and argument registers.
144 // Return value and arguments.
161 // Return value and arguments.
183 // Return value and arguments.
192 // Return value and arguments.
212 // Return value and arguments.
224 // Return value and arguments.
235 // Return value and arguments.
/freebsd-13.1/contrib/file/src/
H A Dmagic.h.in37 #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-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp48 enum class IPOGrouping { Register, Return, Memory }; enumerator
135 case IPOGrouping::Return: in ComputeLatticeVal()
207 else if (Key.getInt() == IPOGrouping::Return) in PrintLatticeKey()
246 auto RetF = CVPLatticeKey(F, IPOGrouping::Return); in visitReturn()
279 auto RetF = CVPLatticeKey(F, IPOGrouping::Return); in visitCallBase()
/freebsd-13.1/sys/dev/bhnd/bhndb/
H A Dbhndb_bus_if.m78 * Return a generic hardware configuration to be used by
106 * Return the hardware specification table to be used when identifying the
118 * Return the hardware priority table to be used when allocating bridge
130 * Return true if the hardware required by @p core is unpopulated or
/freebsd-13.1/sys/powerpc/powerpc/
H A Dplatform_if.m120 * @brief Return the system's physical memory map.
141 * @brief Return the system's physical memory map.
156 * @brief Return the maximum address accessible in real mode
233 * @brief Return SMP topology
265 * @brief Return the NUMA domain for the given device tree node. Always returns
/freebsd-13.1/sys/dev/pci/
H A Dpcib_if.m56 # Return the number of slots on the attached PCI bus.
64 # Return the number of functions on the attached PCI bus.
170 # Return the device power state to be used during a system sleep state
180 # Return the PCI Routing Identifier (RID) for the device.
199 # Return non-zero if PCI ARI is enabled, or zero otherwise
/freebsd-13.1/share/examples/ppp/
H A Dchap-auth67 bind .$n.value <Return> {done};
88 bind .k.value <Return> {done};
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFRegisterInfo.td41 W0, // Return value
48 R0, // Return value
/freebsd-13.1/usr.sbin/bsdconfig/usermgmt/share/
H A Duser_input.subr251 # Return to previous menu if user either
269 # Return to previous menu if user either
392 # Return if user either pressed ESC or chose Cancel/No
406 # Return if user either pressed ESC or chose Cancel/No
602 # Return to menu if either ESC or Cancel/No
624 # Return to menu if either ESC or Cancel/No
637 # Return to menu if either ESC or Cancel/No
745 # Return to menu if either ESC or Cancel/No
767 # Return to menu if either ESC or Cancel/No
780 # Return to menu if either ESC or Cancel/No
[all …]
/freebsd-13.1/contrib/googletest/googlemock/docs/
H A DForDummies.md220 using ::testing::Return;
224 .WillOnce(Return(100))
225 .WillOnce(Return(150))
285 using ::testing::Return;
288 .WillOnce(Return(100))
296 using ::testing::Return;
324 using ::testing::Return;
328 .WillOnce(Return(100));
398 using ::testing::Return;
411 using ::testing::Return;
[all …]

12345678910>>...12