Home
last modified time | relevance | path

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

12345678910>>...20

/external/google-breakpad/src/common/dwarf/
Ddwarf2diehandler_unittest.cc50 using ::testing::Return;
114 .WillOnce(Return(false)); in TEST()
133 .WillOnce(Return(true)); in TEST()
137 .WillOnce(Return(false)); in TEST()
160 .WillOnce(Return(true)); in TEST()
163 .WillOnce(Return(true)); in TEST()
166 .WillOnce(Return(false)); in TEST()
168 .WillOnce(Return()); in TEST()
200 .WillOnce(Return(true)); in TEST()
205 .WillOnce(Return(true)); in TEST()
[all …]
Ddwarf2reader_cfi_unittest.cc82 using testing::Return;
209 .WillOnce(Return()); in TEST_F()
234 .WillOnce(Return()); in TEST_F()
258 .WillOnce(Return()); in TEST_F()
284 .WillOnce(Return()); in TEST_F()
334 .WillOnce(Return(true)); in TEST_F()
335 EXPECT_CALL(handler, End()).WillOnce(Return(true)); in TEST_F()
370 .WillOnce(Return(true)); in TEST_F()
371 EXPECT_CALL(handler, End()).WillOnce(Return(true)); in TEST_F()
377 .WillOnce(Return(true)); in TEST_F()
[all …]
Ddwarf2reader_die_unittest.cc67 using testing::Return;
186 .WillOnce(Return(true)); in TEST_P()
188 .WillOnce(Return(true)); in TEST_P()
192 .WillOnce(Return()); in TEST_P()
194 .WillOnce(Return()); in TEST_P()
262 .WillOnce(Return(true)); in ExpectBeginCompilationUnit()
265 .WillOnce(Return(true)); in ExpectBeginCompilationUnit()
271 .WillOnce(Return()); in ExpectEndCompilationUnit()
307 .WillOnce(Return()); in TEST_P()
325 .WillOnce(Return()); in TEST_P()
[all …]
/external/google-breakpad/src/common/
Dstabs_reader_unittest.cc55 using ::testing::Return;
296 .WillOnce(Return(true)); in TEST_F()
298 .WillOnce(Return(true)); in TEST_F()
301 .WillOnce(Return(true)); in TEST_F()
304 .WillOnce(Return(true)); in TEST_F()
306 .WillOnce(Return(true)); in TEST_F()
308 .WillOnce(Return(true)); in TEST_F()
311 .WillOnce(Return(true)); in TEST_F()
314 .WillOnce(Return(true)); in TEST_F()
316 .WillOnce(Return(true)); in TEST_F()
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-generated-function-mockers_test.cc71 using testing::Return;
177 .WillOnce(Return(1)); in TEST_F()
187 .WillOnce(Return(true)); in TEST_F()
196 .WillOnce(Return(3)); in TEST_F()
205 .WillOnce(Return(5)); in TEST_F()
214 .WillOnce(Return(true)); in TEST_F()
223 .WillOnce(Return("Hello")); in TEST_F()
241 .WillOnce(Return(1)); in TEST_F()
243 .WillOnce(Return(2)); in TEST_F()
252 .WillOnce(Return(1)); in TEST_F()
[all …]
Dgmock-spec-builders_test.cc89 using testing::Return;
203 ON_CALL(cc, Method()).WillByDefault(Return(42)); in TEST()
217 EXPECT_CALL(cc, Method()).WillOnce(Return(42)); in TEST()
247 .WillByDefault(Return()); in TEST()
250 .WillByDefault(Return()); in TEST()
260 .WillByDefault(Return(Result())); in TEST()
278 .WillByDefault(Return()) in TEST()
279 .WillByDefault(Return()); in TEST()
340 .WillOnce(Return()) in TEST()
351 .WillOnce(Return()); in TEST()
[all …]
Dgmock_link_test.h164 using testing::Return;
245 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
254 EXPECT_CALL(mock, StringFromString(_)).WillOnce(Return(&ch)); in TEST()
262 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
374 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(WithoutArgs(Return())); in TEST()
384 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
393 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
402 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(IgnoreResult(Return(42))); in TEST()
474 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
481 ON_CALL(mock, VoidFromString(A<char*>())).WillByDefault(Return()); in TEST()
[all …]
Dgmock_output_test_.cc47 using testing::Return;
88 .WillOnce(Return(false)); in TEST_F()
207 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
209 .WillByDefault(Return(false)); // Default action #2 in TEST_F()
219 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
221 .WillByDefault(Return(false)); // Default action #2 in TEST_F()
234 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
236 .WillByDefault(Return(false)); // Default action #2 in TEST_F()
244 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
248 .WillOnce(Return(false)); in TEST_F()
[all …]
Dgmock_leak_test_.cc41 using ::testing::Return;
75 ON_CALL(*foo, DoThis()).WillByDefault(Return()); in TEST()
88 ON_CALL(*foo1, DoThis()).WillByDefault(Return()); in TEST()
/external/google-breakpad/src/processor/
Dminidump_processor_unittest.cc170 using ::testing::Return;
333 EXPECT_CALL(dump, path()).WillRepeatedly(Return("mock minidump")); in TEST_F()
334 EXPECT_CALL(dump, Read()).WillRepeatedly(Return(true)); in TEST_F()
339 WillOnce(Return(reinterpret_cast<MDRawHeader*>(NULL))). in TEST_F()
340 WillRepeatedly(Return(&fakeHeader)); in TEST_F()
346 WillOnce(Return(reinterpret_cast<MinidumpThreadList*>(NULL))); in TEST_F()
348 WillRepeatedly(Return(reinterpret_cast<MinidumpSystemInfo*>(NULL))); in TEST_F()
367 _, _, _, _)).WillOnce(Return(SymbolSupplier::NOT_FOUND)); in TEST_F()
371 _, _, _, _)).WillRepeatedly(Return(SymbolSupplier::NOT_FOUND)); in TEST_F()
385 _, _, _, _)).WillOnce(Return(SymbolSupplier::NOT_FOUND)); in TEST_F()
[all …]
Dcfi_frame_info_unittest.cc51 using testing::Return;
358 EXPECT_CALL(mock_handler, CFARule("spleen")).WillOnce(Return()); in TEST_F()
363 EXPECT_CALL(mock_handler, RARule("notoriety")).WillOnce(Return()); in TEST_F()
369 .WillOnce(Return()); in TEST_F()
374 EXPECT_CALL(mock_handler, CFARule("cfa expression")).WillOnce(Return()); in TEST_F()
375 EXPECT_CALL(mock_handler, RARule("ra expression")).WillOnce(Return()); in TEST_F()
377 .WillOnce(Return()); in TEST_F()
379 .WillOnce(Return()); in TEST_F()
386 .WillOnce(Return()); in TEST_F()
388 .WillOnce(Return()); in TEST_F()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILUtilityFunctions.h53 #define ExpandCaseTo32bitIntReturn(Instr, Return) \ argument
54 case Instr##_i32: return Return##_i32;
56 #define ExpandCaseToIntReturn(Instr, Return) \ argument
57 ExpandCaseTo32bitIntReturn(Instr, Return)
59 #define ExpandCaseToFloatReturn(Instr, Return) \ argument
60 case Instr##_f32: return Return##_f32;\
62 #define ExpandCaseToAllScalarReturn(Instr, Return) \ argument
63 ExpandCaseToFloatReturn(Instr, Return) \
64 ExpandCaseToIntReturn(Instr, Return)
/external/llvm/test/Analysis/BlockFrequencyInfo/
Ddouble_exit.ll21 %Return.0 = phi i32 [ 0, %entry ], [ %Return.1, %outer.inc ]
33 %Return.1 = phi i32 [ %Return.0, %outer ], [ %call4, %inner.inc ]
50 %call4 = call i32 @logic2(i32 %Return.1, i32 %I.0, i32 %J.0)
65 %Return.2 = phi i32 [ %Return.1, %inner.body ], [ %Return.0, %outer ]
66 ret i32 %Return.2
94 %Return.0 = phi i32 [ 0, %entry ], [ %Return.3, %outer.inc ]
107 %Return.1 = phi i32 [ %Return.0, %outer ], [ %Return.2, %middle.inc ]
119 %Return.2 = phi i32 [ %Return.1, %middle ], [ %call7, %inner.inc ]
136 %call7 = call i32 @logic3(i32 %Return.2, i32 %I.0, i32 %J.0, i32 %K.0)
151 %Return.3 = phi i32 [ %Return.2, %inner.body ], [ %Return.1, %middle ]
[all …]
/external/v8/test/cctest/compiler/
Dtest-branch-combine.cc34 m.Return(m.Int32Constant(eq_constant)); in TEST()
36 m.Return(m.Int32Constant(ne_constant)); in TEST()
61 m.Return(m.Int32Constant(eq_constant)); in TEST()
63 m.Return(m.Int32Constant(ne_constant)); in TEST()
85 m.Return(m.Int32Constant(eq_constant)); in TEST()
87 m.Return(m.Int32Constant(ne_constant)); in TEST()
107 m.Return(m.Int32Constant(eq_constant)); in TEST()
109 m.Return(m.Int32Constant(ne_constant)); in TEST()
129 m.Return(m.Int32Constant(eq_constant)); in TEST()
131 m.Return(m.Int32Constant(ne_constant)); in TEST()
[all …]
Dtest-run-machops.cc29 m.Return(add); in TEST()
79 m.Return(m.NewNode(ops[i], a, b)); in TEST()
94 m.Return(m.Int32Constant(constant)); in TEST()
109 m.Return(m.Int32Constant(constant)); in TEST()
122 m.Return(m.Int32Constant(0 - constant)); in TEST()
124 m.Return(m.Int32Constant(constant)); in TEST()
137 m.Return(m.Int32Constant(constant)); in TEST()
152 m.Return(m.Int32Constant(constant)); in TEST()
169 m.Return(m.Int32Constant(constant)); in TEST()
187 m.Return(m.Int32Constant(constant)); in TEST()
[all …]
/external/clang/test/SemaCXX/
Dreturn-noreturn.cpp153 struct Return { struct
154 ~Return();
163 true ? NoReturn() : Return(); in testTernaryStaticallyConditionalNoretrunOnTrue()
167 true ? Return() : NoReturn(); in testTernaryStaticallyConditionalRetrunOnTrue()
171 false ? Return() : NoReturn(); in testTernaryStaticallyConditionalNoretrunOnFalse()
175 false ? NoReturn() : Return(); in testTernaryStaticallyConditionalRetrunOnFalse()
179 value ? (NoReturn() || NoReturn()) : Return(); in testTernaryConditionalNoreturnTrueBranch()
183 value ? Return() : (NoReturn() || NoReturn()); in testTernaryConditionalNoreturnFalseBranch()
219 (false && (Return() || true)) || (true && NoReturn()); in testConditionallyExecutedComplexLogicalBranch3()
223 false || ((Return() || true) && (true && NoReturn())); in testConditionallyExecutedComplexLogicalBranch4()
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64-unittest.cc237 m.Return((m.*dpi.constructor)(m.Parameter(0), m.Parameter(1))); in TEST_P()
254 m.Return((m.*dpi.constructor)(m.Parameter(0), m.Int32Constant(imm))); in TEST_P()
267 m.Return((m.*dpi.constructor)(m.Int32Constant(imm), m.Parameter(0))); in TEST_P()
295 m.Return((m.*dpi.constructor)(m.Parameter(0), m.Parameter(1))); in TEST_P()
309 m.Return((m.*dpi.constructor)(m.Parameter(0), BuildConstant(m, type, imm))); in TEST_P()
327 m.Return((m.*dpi.constructor)(BuildConstant(m, type, imm), m.Parameter(0))); in TEST_P()
353 m.Return(m.Int32Sub(m.Int32Constant(0), m.Parameter(0))); in TEST_F()
364 m.Return(m.Int64Sub(m.Int64Constant(0), m.Parameter(0))); in TEST_F()
390 m.Return(m.Int32Constant(1)); in TEST_P()
392 m.Return(m.Int32Constant(0)); in TEST_P()
[all …]
/external/v8/src/compiler/arm/
Dinstruction-selector-arm-unittest.cc127 m.Return((m.*dpi.constructor)(m.Parameter(0), m.Parameter(1))); in TEST_P()
141 m.Return((m.*dpi.constructor)(m.Parameter(0), m.Int32Constant(imm))); in TEST_P()
152 m.Return((m.*dpi.constructor)(m.Int32Constant(imm), m.Parameter(0))); in TEST_P()
168 m.Return((m.*dpi.constructor)( in TEST_P()
180 m.Return((m.*dpi.constructor)( in TEST_P()
198 m.Return((m.*dpi.constructor)( in TEST_P()
213 m.Return((m.*dpi.constructor)( in TEST_P()
234 m.Return(m.Int32Constant(1)); in TEST_P()
236 m.Return(m.Int32Constant(0)); in TEST_P()
254 m.Return(m.Int32Constant(1)); in TEST_P()
[all …]
/external/google-breakpad/src/common/linux/
Dgoogle_crashdump_uploader_test.cc40 using ::testing::Return;
63 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(false)); in TEST_F()
87 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); in TEST_F()
88 EXPECT_CALL(m, AddFile(tempfn, _)).WillOnce(Return(true)); in TEST_F()
90 SendRequest("http://foo.com",_,_,_,_)).Times(1).WillOnce(Return(true)); in TEST_F()
109 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); in TEST_F()
/external/clang/include/clang/Basic/
DABI.h184 ReturnAdjustment Return; member
195 ThunkInfo(const ThisAdjustment &This, const ReturnAdjustment &Return,
197 : This(This), Return(Return), Method(Method) {} in This()
200 return LHS.This == RHS.This && LHS.Return == RHS.Return &&
205 return This.isEmpty() && Return.isEmpty() && Method == nullptr; in isEmpty()
/external/clang/lib/Tooling/
DArgumentsAdjusters.cpp59 CommandLineArguments Return(Args); in getInsertArgumentAdjuster() local
63 I = Return.end(); in getInsertArgumentAdjuster()
65 I = Return.begin(); in getInsertArgumentAdjuster()
69 Return.insert(I, Extra.begin(), Extra.end()); in getInsertArgumentAdjuster()
70 return Return; in getInsertArgumentAdjuster()
/external/v8/src/compiler/ia32/
Dinstruction-selector-ia32-unittest.cc23 m.Return(m.Int32Add(m.Parameter(0), m.Parameter(1))); in TEST_F()
34 m.Return(m.Int32Add(m.Parameter(0), m.Int32Constant(imm))); in TEST_F()
43 m.Return(m.Int32Add(m.Int32Constant(imm), m.Parameter(0))); in TEST_F()
56 m.Return(m.Int32Sub(m.Parameter(0), m.Parameter(1))); in TEST_F()
67 m.Return(m.Int32Sub(m.Parameter(0), m.Int32Constant(imm))); in TEST_F()
116 m.Return(m.Load(memacc.type, m.Parameter(0), m.Parameter(1))); in TEST_P()
129 m.Return(m.Load(memacc.type, m.Int32Constant(base), m.Parameter(0))); in TEST_P()
145 m.Return(m.Load(memacc.type, m.Parameter(0), m.Int32Constant(index))); in TEST_P()
161 m.Return(m.Int32Constant(0)); in TEST_P()
175 m.Return(m.Int32Constant(0)); in TEST_P()
[all …]
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
Dpairingsessiontest.cc25 using ::testing::Return;
157 EXPECT_CALL(challenge_, GetGamma(_)).WillOnce(Return(new Gamma(10, 0x5))); in TEST_F()
206 EXPECT_CALL(challenge_, CheckGamma(gamma)).WillOnce(Return(true)); in TEST_F()
208 .WillOnce(Return(new Nonce(nonce))); in TEST_F()
210 .WillOnce(Return(new Alpha(alpha))); in TEST_F()
236 EXPECT_CALL(challenge_, CheckGamma(gamma)).WillOnce(Return(true)); in TEST_F()
238 .WillOnce(Return(new Nonce(nonce))); in TEST_F()
240 .WillOnce(Return(new Alpha(alpha))); in TEST_F()
248 .WillOnce(Return(new Alpha(alpha))); in TEST_F()
251 .WillOnce(Return(new Alpha(alpha))); in TEST_F()
/external/v8/src/compiler/x64/
Dinstruction-selector-x64-unittest.cc17 m.Return(m.ChangeInt32ToInt64(m.Parameter(0))); in TEST_F()
26 m.Return(m.ChangeUint32ToUint64(m.Parameter(0))); in TEST_F()
35 m.Return(m.TruncateInt64ToInt32(m.Parameter(0))); in TEST_F()
83 m.Return(m.Load(memacc.type, m.Parameter(0), m.Parameter(1))); in TEST_P()
96 m.Return(m.Int32Constant(0)); in TEST_P()
/external/llvm/include/llvm/ADT/
DPointerUnion.h26 typedef T Return; typedef
36 typedef typename PointerUnionTypeSelectorReturn<RET_NE>::Return Return; typedef
41 typedef typename PointerUnionTypeSelectorReturn<RET_EQ>::Return Return;
47 typedef typename PointerUnionTypeSelector<T1, T2, RET_EQ, RET_NE>::Return
48 Return;
122 UNION_DOESNT_CONTAIN_TYPE<T> > >::Return Ty;
289 >::Return Ty;
302 >::Return Ty;
403 >::Return Ty;
417 >::Return Ty;

12345678910>>...20