Searched refs:Functor (Results 1 – 9 of 9) sorted by relevance
| /freebsd-12.1/contrib/googletest/googletest/src/ |
| H A D | gtest-internal-inl.h | 291 template <class Container, typename Functor> 292 void ForEach(const Container& c, Functor functor) { in ForEach()
|
| /freebsd-12.1/contrib/libc++/include/ |
| H A D | thread | 284 // _Fp = std::tuple< unique_ptr<__thread_struct>, Functor, Args...>
|
| /freebsd-12.1/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-matchers.h | 2607 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 D | gmock-more-actions_test.cc | 351 TEST(InvokeTest, Functor) { in TEST() argument
|
| H A D | gmock-actions_test.cc | 957 TEST(InvokeWithoutArgsTest, Functor) { in TEST() argument
|
| H A D | gmock-matchers_test.cc | 4589 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 D | CheatSheet.md | 282 ## Matching the Result of a Function or Functor ## 386 ## Using a Function or a Functor as an Action ##
|
| H A D | CookBook.md | 1863 ## Invoking a Function/Method/Functor Without Arguments ##
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 438 template<typename Functor> 439 void forEachSummary(Functor Callback) { in forEachSummary() 461 template <typename Functor> void forEachModule(Functor Callback) { in forEachModule()
|