Home
last modified time | relevance | path

Searched refs:Functor (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h291 template <class Container, typename Functor>
292 void ForEach(const Container& c, Functor functor) { in ForEach()
/freebsd-12.1/contrib/libc++/include/
H A Dthread284 // _Fp = std::tuple< unique_ptr<__thread_struct>, Functor, Args...>
/freebsd-12.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h2607 template <typename Functor>
2609 typedef Functor StorageType;
2611 static void CheckIsValid(Functor /* functor */) {}
2615 static auto Invoke(Functor f, T arg) -> decltype(f(arg)) { return f(arg); }
2617 typedef typename Functor::result_type ResultType;
2619 static ResultType Invoke(Functor f, T arg) { return f(arg); }
/freebsd-12.1/contrib/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc351 TEST(InvokeTest, Functor) { in TEST() argument
H A Dgmock-actions_test.cc957 TEST(InvokeWithoutArgsTest, Functor) { in TEST() argument
H A Dgmock-matchers_test.cc4589 struct Functor : public ::std::unary_function<int, std::string> { struct
4596 Matcher<int> matcher = ResultOf(Functor(), Eq(std::string("foo"))); in TEST()
/freebsd-12.1/contrib/googletest/googlemock/docs/
H A DCheatSheet.md282 ## Matching the Result of a Function or Functor ##
386 ## Using a Function or a Functor as an Action ##
H A DCookBook.md1863 ## Invoking a Function/Method/Functor Without Arguments ##
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp438 template<typename Functor>
439 void forEachSummary(Functor Callback) { in forEachSummary()
461 template <typename Functor> void forEachModule(Functor Callback) { in forEachModule()