Home
last modified time | relevance | path

Searched refs:ArgumentTuple (Results 1 – 25 of 27) sorted by relevance

12

/external/google-breakpad/src/testing/include/gmock/
Dgmock-actions.h255 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
264 virtual Result Perform(const ArgumentTuple& args) = 0;
283 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
312 Result Perform(const ArgumentTuple& args) const { in Perform()
366 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
370 virtual Result Perform(const ArgumentTuple& args) { in Perform()
412 typedef typename internal::Function<F1>::ArgumentTuple ArgumentTuple; typedef
416 virtual Result Perform(const ArgumentTuple& args) { in Perform()
483 typedef typename Function<F>::ArgumentTuple ArgumentTuple; typedef
495 virtual Result Perform(const ArgumentTuple&) { return value_; } in Perform() argument
[all …]
Dgmock-spec-builders.h283 typedef typename Function<F>::ArgumentTuple ArgumentTuple; typedef
296 extra_matcher_(A<const ArgumentTuple&>()) { in OnCallSpec()
300 OnCallSpec& With(const Matcher<const ArgumentTuple&>& m) { in With()
325 bool Matches(const ArgumentTuple& args) const { in Matches()
352 Matcher<const ArgumentTuple&> extra_matcher_;
871 typedef typename Function<F>::ArgumentTuple ArgumentTuple; typedef
885 extra_matcher_(A<const ArgumentTuple&>()), in TypedExpectation()
899 TypedExpectation& With(const Matcher<const ArgumentTuple&>& m) { in With()
1045 const Matcher<const ArgumentTuple&>& extra_matcher() const { in extra_matcher()
1077 bool Matches(const ArgumentTuple& args) const in Matches()
[all …]
Dgmock-generated-function-mockers.h65 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
76 return this->InvokeWith(ArgumentTuple()); in Invoke()
85 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
97 return this->InvokeWith(ArgumentTuple(a1)); in Invoke()
106 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
118 return this->InvokeWith(ArgumentTuple(a1, a2)); in Invoke()
127 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
140 return this->InvokeWith(ArgumentTuple(a1, a2, a3)); in Invoke()
149 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
162 return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4)); in Invoke()
[all …]
Dgmock-generated-actions.h50 template <typename Result, typename ArgumentTuple>
409 template <typename Result, typename ArgumentTuple, int k1, int k2, int k3,
413 typedef Result type(GMOCK_FIELD_(ArgumentTuple, k1),
414 GMOCK_FIELD_(ArgumentTuple, k2), GMOCK_FIELD_(ArgumentTuple, k3),
415 GMOCK_FIELD_(ArgumentTuple, k4), GMOCK_FIELD_(ArgumentTuple, k5),
416 GMOCK_FIELD_(ArgumentTuple, k6), GMOCK_FIELD_(ArgumentTuple, k7),
417 GMOCK_FIELD_(ArgumentTuple, k8), GMOCK_FIELD_(ArgumentTuple, k9),
418 GMOCK_FIELD_(ArgumentTuple, k10));
419 typedef typename Function<type>::ArgumentTuple SelectedArgs;
420 static SelectedArgs Select(const ArgumentTuple& args) { in Select()
[all …]
Dgmock-more-actions.h59 template <typename Result, typename ArgumentTuple>
60 Result Perform(const ArgumentTuple& args) { in Perform()
61 return InvokeHelper<Result, ArgumentTuple>::Invoke(function_impl_, args); in Perform()
77 template <typename Result, typename ArgumentTuple>
78 Result Perform(const ArgumentTuple& args) const { in Perform()
79 return InvokeHelper<Result, ArgumentTuple>::InvokeMethod( in Perform()
Dgmock-generated-actions.h.pump54 template <typename Result, typename ArgumentTuple>
148 // SelectArgs<Result, ArgumentTuple, k1, k2, ..., k_n>::type is the
150 // k{i}-th (0-based) field of ArgumentTuple, which must be a tuple
155 // SelectArgs<Result, ArgumentTuple, k1, k2, ..., k_n>::Select(args)
166 template <typename Result, typename ArgumentTuple, $for i, [[int k$i]]>
169 typedef Result type($for i, [[GMOCK_FIELD_(ArgumentTuple, k$i)]]);
170 typedef typename Function<type>::ArgumentTuple SelectedArgs;
171 static SelectedArgs Select(const ArgumentTuple& args) {
181 template <typename Result, typename ArgumentTuple$for j1[[, int k$j1]]>
182 class SelectArgs<Result, ArgumentTuple,
[all …]
Dgmock-generated-function-mockers.h.pump76 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple;
92 return this->InvokeWith(ArgumentTuple($as));
136 tn ::testing::internal::Function<F>::ArgumentTuple>::value == $i, \
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-actions.h330 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple;
339 virtual Result Perform(const ArgumentTuple& args) = 0;
358 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple;
387 Result Perform(const ArgumentTuple& args) const {
441 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple;
445 virtual Result Perform(const ArgumentTuple& args) {
487 typedef typename internal::Function<F1>::ArgumentTuple ArgumentTuple;
491 virtual Result Perform(const ArgumentTuple& args) {
566 typedef typename Function<F>::ArgumentTuple ArgumentTuple;
579 virtual Result Perform(const ArgumentTuple&) { return value_; }
[all …]
Dgmock-spec-builders.h287 typedef typename Function<F>::ArgumentTuple ArgumentTuple; typedef
300 extra_matcher_(A<const ArgumentTuple&>()) { in OnCallSpec()
304 OnCallSpec& With(const Matcher<const ArgumentTuple&>& m) { in With()
329 bool Matches(const ArgumentTuple& args) const { in Matches()
356 Matcher<const ArgumentTuple&> extra_matcher_;
879 typedef typename Function<F>::ArgumentTuple ArgumentTuple; typedef
893 extra_matcher_(A<const ArgumentTuple&>()), in TypedExpectation()
907 TypedExpectation& With(const Matcher<const ArgumentTuple&>& m) { in With()
1053 const Matcher<const ArgumentTuple&>& extra_matcher() const { in extra_matcher()
1085 bool Matches(const ArgumentTuple& args) const in Matches()
[all …]
Dgmock-generated-actions.h50 template <typename Result, typename ArgumentTuple>
293 template <typename Result, typename ArgumentTuple, int k1, int k2, int k3,
297 typedef Result type(GMOCK_FIELD_(ArgumentTuple, k1),
298 GMOCK_FIELD_(ArgumentTuple, k2), GMOCK_FIELD_(ArgumentTuple, k3),
299 GMOCK_FIELD_(ArgumentTuple, k4), GMOCK_FIELD_(ArgumentTuple, k5),
300 GMOCK_FIELD_(ArgumentTuple, k6), GMOCK_FIELD_(ArgumentTuple, k7),
301 GMOCK_FIELD_(ArgumentTuple, k8), GMOCK_FIELD_(ArgumentTuple, k9),
302 GMOCK_FIELD_(ArgumentTuple, k10));
303 typedef typename Function<type>::ArgumentTuple SelectedArgs;
304 static SelectedArgs Select(const ArgumentTuple& args) { in Select()
[all …]
Dgmock-generated-function-mockers.h69 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
80 return this->InvokeWith(ArgumentTuple()); in Invoke()
89 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
101 return this->InvokeWith(ArgumentTuple(a1)); in Invoke()
110 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
122 return this->InvokeWith(ArgumentTuple(a1, a2)); in Invoke()
131 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
144 return this->InvokeWith(ArgumentTuple(a1, a2, a3)); in Invoke()
153 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple; typedef
166 return this->InvokeWith(ArgumentTuple(a1, a2, a3, a4)); in Invoke()
[all …]
Dgmock-more-actions.h59 template <typename Result, typename ArgumentTuple>
60 Result Perform(const ArgumentTuple& args) { in Perform()
61 return InvokeHelper<Result, ArgumentTuple>::Invoke(function_impl_, args); in Perform()
77 template <typename Result, typename ArgumentTuple>
78 Result Perform(const ArgumentTuple& args) const { in Perform()
79 return InvokeHelper<Result, ArgumentTuple>::InvokeMethod( in Perform()
/external/googletest/googlemock/include/gmock/
Dgmock-actions.h318 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple;
327 virtual Result Perform(const ArgumentTuple& args) = 0;
357 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple;
390 Result Perform(ArgumentTuple args) const {
441 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple;
445 Result Perform(const ArgumentTuple& args) override {
551 typedef typename Function<F>::ArgumentTuple ArgumentTuple;
564 Result Perform(const ArgumentTuple&) override { return value_; }
583 typedef typename Function<F>::ArgumentTuple ArgumentTuple;
588 Result Perform(const ArgumentTuple&) override {
[all …]
Dgmock-spec-builders.h294 typedef typename Function<F>::ArgumentTuple ArgumentTuple; typedef
306 extra_matcher_(A<const ArgumentTuple&>()) {} in OnCallSpec()
309 OnCallSpec& With(const Matcher<const ArgumentTuple&>& m) { in With()
334 bool Matches(const ArgumentTuple& args) const { in Matches()
361 Matcher<const ArgumentTuple&> extra_matcher_;
886 typedef typename Function<F>::ArgumentTuple ArgumentTuple; typedef
899 extra_matcher_(A<const ArgumentTuple&>()), in TypedExpectation()
913 TypedExpectation& With(const Matcher<const ArgumentTuple&>& m) { in With()
1059 const Matcher<const ArgumentTuple&>& extra_matcher() const { in extra_matcher()
1089 bool Matches(const ArgumentTuple& args) const in Matches()
[all …]
Dgmock-generated-actions.h664 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
725 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
772 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
825 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
883 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
948 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
1021 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
1099 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
1183 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
1275 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
[all …]
Dgmock-function-mocker.h60 __VA_ARGS__>::ArgumentTuple>::value == _N, \
Dgmock-generated-actions.h.pump396 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
483 typedef typename ::testing::internal::Function<F>::ArgumentTuple\
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/internal/
Dgmock-generated-internal-utils.h159 typedef ::testing::tuple<> ArgumentTuple;
160 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
169 typedef ::testing::tuple<A1> ArgumentTuple;
170 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
179 typedef ::testing::tuple<A1, A2> ArgumentTuple;
180 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
189 typedef ::testing::tuple<A1, A2, A3> ArgumentTuple;
190 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
199 typedef ::testing::tuple<A1, A2, A3, A4> ArgumentTuple;
200 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
[all …]
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-generated-internal-utils.h159 typedef ::std::tr1::tuple<> ArgumentTuple;
160 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
169 typedef ::std::tr1::tuple<A1> ArgumentTuple;
170 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
179 typedef ::std::tr1::tuple<A1, A2> ArgumentTuple;
180 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
189 typedef ::std::tr1::tuple<A1, A2, A3> ArgumentTuple;
190 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
199 typedef ::std::tr1::tuple<A1, A2, A3, A4> ArgumentTuple;
200 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
[all …]
Dgmock-generated-internal-utils.h.pump91 // ArgumentTuple: the tuple type consisting of all parameters of F.
105 typedef ::std::tr1::tuple<> ArgumentTuple;
106 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
124 typedef ::std::tr1::tuple<$As> ArgumentTuple;
125 typedef typename MatcherTuple<ArgumentTuple>::type ArgumentMatcherTuple;
/external/google-breakpad/src/testing/test/
Dgmock-generated-internal-utils_test.cc77 CompileAssertTypesEqual<tuple<>, F::ArgumentTuple>(); in TEST()
87 CompileAssertTypesEqual<tuple<bool>, F::ArgumentTuple>(); in TEST()
99 CompileAssertTypesEqual<tuple<bool, const long&>, F::ArgumentTuple>(); // NOLINT in TEST()
116 F::ArgumentTuple>(); in TEST()
Dgmock-actions_test.cc422 template <typename Result, typename ArgumentTuple>
423 Result Perform(const ArgumentTuple& args) { return get<1>(args); } in Perform()
/external/googletest/googlemock/test/
Dgmock-internal-utils_test.cc699 CompileAssertTypesEqual<std::tuple<>, F::ArgumentTuple>(); in TEST()
710 CompileAssertTypesEqual<std::tuple<bool>, F::ArgumentTuple>(); in TEST()
725 F::ArgumentTuple>(); in TEST()
745 F::ArgumentTuple>(); in TEST()
/external/googletest/googlemock/docs/
DDesignDoc.md34 template <typename Result, typename ArgumentTuple>
35 Result Perform(const ArgumentTuple& args) const {
/external/googletest/googlemock/include/gmock/internal/
Dgmock-internal-utils.h555 using ArgumentTuple = std::tuple<Args...>;

12