Home
last modified time | relevance | path

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

/freebsd-13.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-13.1/contrib/kyua/utils/process/
H A Dexecutor.ipp46 /// Functor to execute a hook in a child process.
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DConfigManager.cpp507 using Functor = std::function<void()>; in parseNewSymbolInfo() typedef
510 static_cast<Functor>( in parseNewSymbolInfo()
511 StringSwitch<Functor>(Flags[I]) in parseNewSymbolInfo()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dthread287 // _Fp = tuple< unique_ptr<__thread_struct>, Functor, Args...>
/freebsd-13.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-13.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-13.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-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp453 template<typename Functor>
454 void forEachSummary(Functor Callback) { in forEachSummary()
476 template <typename Functor> void forEachModule(Functor Callback) { in forEachModule()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td348 // Functor that appends the suffix to the base flag definition.