Searched refs:Perform (Results 1 - 17 of 17) sorted by relevance

/external/chromium/testing/gmock/test/
H A Dgmock-generated-actions_test.cc172 EXPECT_EQ(1, a.Perform(make_tuple(2, &Nullary)));
178 EXPECT_EQ(1, a.Perform(make_tuple(UnaryFunctor())));
185 EXPECT_EQ(12345, a.Perform(make_tuple(&SumOf5)));
192 EXPECT_EQ(12345, a.Perform(make_tuple(SumOf5Functor())));
199 EXPECT_EQ(123456, a.Perform(make_tuple(&SumOf6)));
206 EXPECT_EQ(123456, a.Perform(make_tuple(SumOf6Functor())));
215 EXPECT_EQ("1234567", a.Perform(make_tuple(&Concat7)));
224 EXPECT_EQ("12345678", a.Perform(make_tuple(&Concat8)));
233 EXPECT_EQ("123456789", a.Perform(make_tuple(&Concat9)));
243 EXPECT_EQ("1234567890", a.Perform(make_tupl
371 virtual int Perform(const tuple<int, int>& args) { function in class:testing::gmock_generated_actions_test::SubstractAction
[all...]
H A Dgmock-actions_test.cc324 // Perform method.
330 virtual int Perform(const tuple<bool, int>& args) { function in class:__anon3129::MyActionImpl
343 // When exercising the Perform() method of Action<F>, we must pass
345 // types. For example, if F is int(), then Perform() takes a
346 // 0-tuple; if F is void(bool, int), then Perform() takes a
348 EXPECT_EQ(5, action.Perform(make_tuple(true, 5)));
361 EXPECT_EQ(5, action.Perform(make_tuple(true, 5)));
362 EXPECT_EQ(0, action.Perform(make_tuple(false, 1)));
371 EXPECT_EQ(5, a1.Perform(make_tuple(true, 5)));
372 EXPECT_EQ(0, a1.Perform(make_tupl
394 virtual bool Perform(const tuple<int>& arg) { function in class:__anon3129::IsNotZero
423 Result Perform(const ArgumentTuple& args) { return get<1>(args); } function in class:__anon3129::ReturnSecondArgumentAction
438 Result Perform(const tuple<>&) const { return 0; } function in class:__anon3129::ReturnZeroFromNullaryFunctionAction
[all...]
H A Dgmock-more-actions_test.cc235 EXPECT_EQ(1, a.Perform(make_tuple()));
241 EXPECT_FALSE(a.Perform(make_tuple(1)));
242 EXPECT_TRUE(a.Perform(make_tuple(-1)));
249 EXPECT_EQ(p + 2, a.Perform(make_tuple(p, Short(2))));
255 EXPECT_EQ(6, a.Perform(make_tuple(1, '\2', Short(3))));
261 EXPECT_EQ(1234, a.Perform(make_tuple(1000, 200, 30, 4)));
267 EXPECT_EQ(12345, a.Perform(make_tuple(10000, 2000, 300, 40, 5)));
273 EXPECT_EQ(123456, a.Perform(make_tuple(100000, 20000, 3000, 400, 50, 6)));
286 a.Perform(make_tuple(CharPtr("1"), CharPtr("2"), CharPtr("3"),
297 a.Perform(make_tupl
[all...]
/external/chromium/testing/gmock/include/gmock/
H A Dgmock-actions.h262 virtual Result Perform(const ArgumentTuple& args) = 0;
310 Result Perform(const ArgumentTuple& args) const { function in class:testing::Action
318 return impl_->Perform(args);
333 // implementation class that has a Perform() method template:
338 // Result Perform(const ArgumentTuple& args) const {
368 virtual Result Perform(const ArgumentTuple& args) { function in class:testing::PolymorphicAction::MonomorphicImpl
369 return impl_.template Perform<Result>(args);
414 virtual Result Perform(const ArgumentTuple& args) { function in class:testing::internal::ActionAdaptor
415 return impl_->Perform(args);
493 virtual Result Perform(cons function in class:testing::internal::ReturnAction::Impl
513 static Result Perform(const ArgumentTuple&) { function in class:testing::internal::ReturnNullAction
525 static void Perform(const ArgumentTuple&) { function in class:testing::internal::ReturnVoidAction
562 virtual Result Perform(const ArgumentTuple&) { function in class:testing::internal::ReturnRefAction::Impl
611 virtual Result Perform(const ArgumentTuple&) { function in class:testing::internal::ReturnRefOfCopyAction::Impl
643 void Perform(const ArgumentTuple& /* args */) const { function in class:testing::internal::AssignAction
665 Result Perform(const ArgumentTuple& /* args */) const { function in class:testing::internal::SetErrnoAndReturnAction
691 void Perform(const ArgumentTuple& args) const { function in class:testing::internal::SetArgumentPointeeAction
714 void Perform(const ArgumentTuple& args) const { function in class:testing::internal::SetArgumentPointeeAction
741 Result Perform(const ArgumentTuple&) { return function_impl_(); } function in class:testing::internal::InvokeWithoutArgsAction
757 Result Perform(const ArgumentTuple&) const { function in class:testing::internal::InvokeMethodWithoutArgsAction
801 virtual void Perform(const ArgumentTuple& args) { function in class:testing::internal::IgnoreResultAction::Impl
876 virtual Result Perform(const ArgumentTuple& args) { function in class:testing::internal::DoBothAction::Impl
[all...]
H A Dgmock-more-actions.h60 Result Perform(const ArgumentTuple& args) { function in class:testing::internal::InvokeAction
78 Result Perform(const ArgumentTuple& args) const { function in class:testing::internal::InvokeMethodAction
H A Dgmock-generated-actions.h605 virtual Result Perform(const ArgumentTuple& args) { function in class:testing::internal::WithArgsAction::Impl
606 return action_.Perform(SelectArgs<Result, ArgumentTuple, k1, k2, k3, k4,
642 static Result Perform(Impl* impl, const ::std::tr1::tuple<>& args) { function in class:testing::internal::ActionHelper
651 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0>& args) { function in class:testing::internal::ActionHelper
660 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1>& args) { function in class:testing::internal::ActionHelper
669 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2>& args) { function in class:testing::internal::ActionHelper
678 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, function in class:testing::internal::ActionHelper
688 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, A3, function in class:testing::internal::ActionHelper
699 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, A3, A4, function in class:testing::internal::ActionHelper
710 static Result Perform(Imp function in class:testing::internal::ActionHelper
721 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, A3, A4, function in class:testing::internal::ActionHelper
732 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, A3, A4, function in class:testing::internal::ActionHelper
743 static Result Perform(Impl* impl, const ::std::tr1::tuple<A0, A1, A2, A3, A4, function in class:testing::internal::ActionHelper
[all...]
H A Dgmock-spec-builders.h1343 return new ActionResultHolder(action.Perform(args));
1376 action.Perform(args);
1430 return spec->GetAction().Perform(args);
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp143 // Perform lookup into the current scope (only).
864 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, exprs);
1394 ExprResult FullInit = InitSeq.Perform(*this, Entity, Kind,
1634 // Perform template argument deduction to try to match the
2058 // Perform lvalue-to-rvalue cast, if needed.
2090 // We have a single conversion to a pointer-to-object type. Perform
2395 /// PerformImplicitConversion - Perform an implicit conversion of the
2485 /// PerformImplicitConversion - Perform an implicit conversion of the
2543 // Perform the first implicit conversion.
2574 // Perform th
[all...]
H A DSemaDeclCXX.cpp249 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Arg);
1338 // we're going to produce a diagnostic. Perform the derived-to-base
1717 Init = Seq.Perform(*this, Entity, Kind, MultiExprArg(Inits, NumInits));
2226 ExprResult MemberInit = InitSeq.Perform(*this, MemberEntity, Kind,
2295 ExprResult DelegationInit = InitSeq.Perform(*this, DelegationEntity, Kind,
2433 ExprResult BaseInit = InitSeq.Perform(*this, BaseEntity, Kind,
2502 BaseInit = InitSeq.Perform(SemaRef, InitEntity, InitKind, MultiExprArg());
2541 BaseInit = InitSeq.Perform(SemaRef, InitEntity, InitKind,
2697 = InitSeq.Perform(SemaRef, Entities.back(), InitKind,
2734 InitSeq.Perform(SemaRe
[all...]
H A DSemaInit.cpp323 = InitSeq.Perform(SemaRef, MemberEntity, Kind, MultiExprArg());
432 = InitSeq.Perform(SemaRef, ElementEntity, Kind, MultiExprArg());
792 Seq.Perform(SemaRef, Entity, Kind, MultiExprArg(&expr, 1));
1701 // name. Perform another lookup for this name, which may find
2801 // Perform overload resolution and return the result.
3239 // Perform overload resolution. If it fails, return the failed result.
3783 // Perform overload resolution. If it fails, return the failed result.
4223 // Perform initialization
4443 // Perform overload resolution using the class's copy/move constructors.
4561 // Perform overloa
4771 InitializationSequence::Perform(Sema &S, function in class:InitializationSequence
[all...]
H A DSemaCast.cpp1334 ExprResult Result = InitSeq.Perform(Self, Entity, InitKind, SrcExprRaw);
H A DSemaStmt.cpp424 // Perform a conversion to the promoted condition type if needed.
1449 // Perform normal l-value conversion.
2175 /// \brief Perform the initialization of a potentially-movable value, which
2236 Res = Seq.Perform(*this, Entity, Kind, MultiExprArg(&Value, 1));
H A DSemaExpr.cpp1722 // Perform the required lookup.
1895 /// detected that we're currently inside an ObjC method. Perform some
2677 // Perform literal operator lookup to determine if we're building a raw
3267 // Perform default conversions.
3460 Result = InitSeq.Perform(*this, Entity, Kind, ResultE);
4166 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, LiteralExpr,
8231 ExprResult Init = InitSeq.Perform(*this, Entity, Kind, RHSExpr);
9697 // Perform array-to-pointer decay if necessary.
10483 Result = Init.Perform(S, Entities.back(), InitKind, Ref);
10950 /// \brief Perform referenc
[all...]
H A DSemaExprObjC.cpp348 return Seq.Perform(S, Entity, Kind, Element);
353 // Perform lvalue-to-rvalue conversion.
598 // Perform lvalue-to-rvalue conversion on the base.
H A DSemaDecl.cpp190 // Perform "qualified" name lookup into the declaration context we
206 // Perform unqualified name lookup.
605 // Perform lookup for Objective-C instance variables (including automatically
656 // Perform typo correction to determine if there is another name that is
1403 // Perform typo correction at the given location, but only if we
4006 /// ActOnTypedefNameDecl - Perform semantic checking for a declaration which
4530 /// \brief Perform semantic checking on a newly-created variable
5558 // Perform semantic checking on the function declaration.
5673 // Perform semantic checking on the function declaration.
5886 /// \brief Perform semanti
[all...]
/external/clang/include/clang/Sema/
H A DInitialization.h561 /// \brief Perform a derived-to-base cast, producing an rvalue.
563 /// \brief Perform a derived-to-base cast, producing an xvalue.
565 /// \brief Perform a derived-to-base cast, producing an lvalue.
575 /// \brief Perform a user-defined conversion, either via a conversion
578 /// \brief Perform a qualification conversion, producing an rvalue.
580 /// \brief Perform a qualification conversion, producing an xvalue.
582 /// \brief Perform a qualification conversion, producing an lvalue.
584 /// \brief Perform an implicit conversion sequence.
586 /// \brief Perform list-initialization without a constructor
588 /// \brief Perform lis
[all...]
/external/v8/tools/gcmole/
H A Dgcmole.lua40 -- Perform dead variable analysis (generates many false positives).

Completed in 288 milliseconds